[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JP5445745B2 - Projector, program, information storage medium, and trapezoidal distortion correction method - Google Patents

Projector, program, information storage medium, and trapezoidal distortion correction method Download PDF

Info

Publication number
JP5445745B2
JP5445745B2 JP2009140120A JP2009140120A JP5445745B2 JP 5445745 B2 JP5445745 B2 JP 5445745B2 JP 2009140120 A JP2009140120 A JP 2009140120A JP 2009140120 A JP2009140120 A JP 2009140120A JP 5445745 B2 JP5445745 B2 JP 5445745B2
Authority
JP
Japan
Prior art keywords
boundary line
projection
projector
coordinate information
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2009140120A
Other languages
Japanese (ja)
Other versions
JP2010288064A (en
Inventor
志紀 古井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2009140120A priority Critical patent/JP5445745B2/en
Publication of JP2010288064A publication Critical patent/JP2010288064A/en
Application granted granted Critical
Publication of JP5445745B2 publication Critical patent/JP5445745B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Projection Apparatus (AREA)
  • Transforming Electric Information Into Light Information (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

本発明は、プロジェクター、プログラム、情報記憶媒体および台形歪み補正方法に関する。   The present invention relates to a projector, a program, an information storage medium, and a trapezoidal distortion correction method.

プロジェクターが台形歪み補正(台形補正、キーストーン補正等とも呼ばれる。)を行う方式として、例えば、特開2005−347790号公報に記載されているように、イメージセンサーを用いて撮像することにより、投写対象物の周囲の境界線の情報を取得して補正する方式等が提案されている。   As a method in which the projector performs trapezoidal distortion correction (also called keystone correction, keystone correction, etc.), for example, as described in JP-A-2005-347790, projection is performed by imaging using an image sensor. A method of acquiring and correcting information on the boundary line around the object has been proposed.

特開2005−347790号公報JP 2005-347790 A

しかし、投写対象物の周囲の境界線の情報を取得する方式の場合、プロジェクターは、プロジェクターの前方にある机の縁等を境界線として識別すると正確に台形歪み補正できない場合がある。これは、机の縁等がスクリーンの矩形に対して平行ではない場合があるからである。   However, in the method of acquiring information about the boundary line around the projection object, the projector may not be able to accurately correct the trapezoidal distortion if the edge of the desk in front of the projector is identified as the boundary line. This is because the edge of the desk may not be parallel to the screen rectangle.

また、例えば、プロジェクターが、スクリーンの下辺を境界線として識別した場合も正確に台形歪み補正できない場合がある。これは、スクリーンの下辺はプロジェクターとほぼ同じ高さにあり、スクリーンが垂直方向を回転軸として傾いている場合には撮像時にスクリーンの傾きの検出が困難であるため、投写角度等の演算のための十分な精度が得られないからである。   Further, for example, when the projector identifies the lower side of the screen as a boundary line, it may not be possible to correct the trapezoidal distortion accurately. This is because the bottom side of the screen is almost the same height as the projector, and it is difficult to detect the screen tilt during imaging when the screen is tilted with the vertical direction as the rotation axis. This is because sufficient accuracy cannot be obtained.

本発明にかかるいくつかの態様は、上記課題を解決することにより、より正確な台形歪み補正を行うことが可能なプロジェクター、プログラム、情報記憶媒体および台形歪み補正方法を提供するものである。   Some aspects according to the present invention provide a projector, a program, an information storage medium, and a trapezoidal distortion correction method capable of performing more accurate trapezoidal distortion correction by solving the above problems.

本発明の態様の1つであるプロジェクターは、投写対象物を撮像して撮像画像を生成する撮像部と、前記撮像画像に含まれる前記投写対象物の境界線の座標情報を生成する情報生成部と、前記投写対象物の下側以外の境界線の座標情報を用いて前記境界線の形状に応じて不足部分を補完する補完処理を実行することによって補正目標領域を設定し、前記補正目標領域に基づき、台形歪み補正を行う台形歪み補正部と、を含むことを特徴とする。   A projector that is one aspect of the present invention includes an imaging unit that captures a projection target and generates a captured image, and an information generation unit that generates coordinate information of a boundary line of the projection target included in the captured image A correction target area is set by executing a complementing process that complements a deficient portion according to the shape of the boundary line using coordinate information of a boundary line other than the lower side of the projection target, and the correction target area And a trapezoidal distortion correction unit that performs trapezoidal distortion correction.

また、本発明の態様の1つであるプロジェクターは、投写対象物を撮像して撮像画像を生成する撮像部と、前記撮像画像に含まれる前記投写対象物の境界線の座標情報を生成する情報生成部と、前記情報生成部によって前記座標情報が生成された境界線のうち、下側の境界線を除く少なくとも1つの境界線の前記座標情報に基づき、当該少なくとも1つの境界線によって規定される形状に応じて不足部分を補完する補完処理を実行することによって補正目標領域を設定し、前記補正目標領域に基づき、台形歪み補正を行う台形歪み補正部と、を含むことを特徴とする。   According to another aspect of the present invention, a projector includes an imaging unit that captures a projection target and generates a captured image, and information that generates coordinate information of a boundary line of the projection target included in the captured image. Based on the coordinate information of at least one boundary line excluding the lower boundary line among the boundary lines for which the coordinate information has been generated by the generation unit and the information generation unit, is defined by the at least one boundary line And a trapezoidal distortion correction unit that sets a correction target area by executing a complementing process that complements the deficient part according to the shape, and performs trapezoidal distortion correction based on the correction target area.

また、本発明の態様の1つであるプログラムは、プロジェクターの有するコンピューターに、撮像装置に投写対象物を撮像させて撮像画像を生成させ、前記撮像画像に含まれる前記投写対象物の境界線の座標情報を生成させ、前記座標情報に基づき、前記投写対象物の下側以外の境界線の座標情報を用いて前記境界線の形状に応じて不足部分を補完する補完処理を実行することによって補正目標領域を設定し、前記補正目標領域に基づき、台形歪み補正を行わせることを特徴とする。   In addition, a program that is one aspect of the present invention causes a computer included in a projector to cause an imaging device to capture an image of a projection target and generate a captured image, and to detect a boundary line of the projection target included in the captured image. Correction is performed by generating coordinate information and executing a complementing process for complementing the deficient portion according to the shape of the boundary line using the coordinate information of the boundary line other than the lower side of the projection target based on the coordinate information A target area is set, and keystone distortion correction is performed based on the correction target area.

また、本発明の態様の1つである情報記憶媒体は、プロジェクターの有するコンピューターにより読み取り可能なプログラムを記憶した情報記憶媒体であって、上記プログラムを記憶したことを特徴とする。   An information storage medium according to one aspect of the present invention is an information storage medium that stores a program readable by a computer included in a projector, and stores the program.

また、本発明の態様の1つである台形歪み補正方法は、プロジェクターが、撮像装置に投写対象物を撮像させて撮像画像を生成させ、前記撮像画像に含まれる前記投写対象物の境界線の座標情報を生成し、前記座標情報に基づき、前記投写対象物の下側以外の境界線の座標情報を用いて前記境界線の形状に応じて不足部分を補完する補完処理を実行することによって補正目標領域を設定し、前記補正目標領域に基づき、台形歪み補正を行うことを特徴とする。   Further, according to the trapezoidal distortion correction method which is one of the aspects of the present invention, the projector causes the imaging device to capture the projection target to generate a captured image, and the boundary line of the projection target included in the captured image is detected. Correction is performed by generating coordinate information and executing a complementing process for complementing the deficient portion according to the shape of the boundary line using the coordinate information of the boundary line other than the lower side of the projection target based on the coordinate information A target area is set, and keystone distortion correction is performed based on the correction target area.

本発明によれば、プロジェクターは、撮像画像に含まれる投写対象物の下側の境界線の座標情報を用いないことにより、机の縁等の誤検出をなくすことができるため、より正確に台形歪み補正を行うことができる。   According to the present invention, since the projector can eliminate erroneous detection of the edge of the desk or the like by not using the coordinate information of the lower boundary line of the projection target included in the captured image, the trapezoid more accurately. Distortion correction can be performed.

また、前記プロジェクターは、台形歪み補正用のキャリブレーション画像を投写する投写部を含み、前記情報生成部は、前記投写部の画像形成領域または当該画像形成領域に対応した仮想領域における前記キャリブレーション画像内の複数点の位置と、前記撮像画像内の前記複数点の位置との対応を示す位置情報を生成し、前記位置情報に基づき、前記画像形成領域または前記仮想領域の座標と前記撮像画像の座標との変換式を示す変換情報を生成し、前記台形歪み補正部は、前記座標情報と、前記変換情報とに基づき、前記境界線に関する無限遠点を前記画像形成領域または前記仮想領域の座標系に射影した消失点の座標を演算することにより、前記補完処理を実行してもよい。   The projector includes a projection unit that projects a calibration image for correcting trapezoidal distortion, and the information generation unit includes the calibration image in an image formation region of the projection unit or a virtual region corresponding to the image formation region. Position information indicating the correspondence between the positions of a plurality of points in the captured image and the positions of the plurality of points in the captured image, and based on the position information, coordinates of the image forming region or the virtual region and the captured image The keystone distortion correction unit generates conversion information indicating a conversion equation with coordinates, and the trapezoidal distortion correction unit sets the infinity point related to the boundary line as the coordinates of the image forming region or the virtual region based on the coordinate information and the conversion information. You may perform the said complementation process by calculating the coordinate of the vanishing point projected on the system.

これによれば、プロジェクターは、座標の変換等を行うことにより、より正確に台形歪み補正を行うことができる。   According to this, the projector can perform trapezoidal distortion correction more accurately by performing coordinate conversion and the like.

また、前記プロジェクターは、前記変換情報に基づき、前記投写対象物の全境界線が前記画像形成領域または前記仮想領域の範囲内にあるかどうかを判定する判定部を含み、前記補台形歪み補正部は、前記投写対象物の全境界線が前記範囲内にある場合は前記境界線の形状に沿った領域を前記補正目標領域として設定し、前記投写対象物の全境界線が前記範囲内にない場合は前記補完処理を実行することによって前記補正目標領域を設定してもよい。   In addition, the projector includes a determination unit that determines, based on the conversion information, whether all the boundaries of the projection target are within the range of the image formation region or the virtual region, and the complementary trapezoidal distortion correction unit If the entire boundary line of the projection object is within the range, an area along the shape of the boundary line is set as the correction target area, and the entire boundary line of the projection object is not within the range. In this case, the correction target area may be set by executing the complementing process.

これによれば、プロジェクターは、投写対象物の全境界線が表示可能な範囲内にあるかどうかに応じた設定を行うことにより、より正確に台形歪み補正を行うことができる。   According to this, the projector can perform the trapezoidal distortion correction more accurately by performing the setting according to whether or not the entire boundary line of the projection target is within the displayable range.

第1の実施例におけるプロジェクターの機能ブロック図である。It is a functional block diagram of the projector in a 1st Example. 第1の実施例における台形歪み補正手順を示すフローチャートである。It is a flowchart which shows the trapezoid distortion correction | amendment procedure in a 1st Example. 第1の実施例におけるキャリブレーション画像の一例を示す図である。It is a figure which shows an example of the calibration image in a 1st Example. 第1の実施例における補正目標領域設定手順を示すフローチャートである。It is a flowchart which shows the correction target area | region setting procedure in a 1st Example. 第1の実施例における3次元空間内の消失点を示す模式図である。It is a schematic diagram which shows the vanishing point in the three-dimensional space in a 1st Example. 第1の実施例における仮想領域の座標系における消失点の一例を示す模式図である。It is a schematic diagram which shows an example of the vanishing point in the coordinate system of the virtual area in a 1st Example. 第1の実施例における仮想領域の座標系における消失点の他の一例を示す模式図である。It is a schematic diagram which shows another example of the vanishing point in the coordinate system of the virtual area in a 1st Example.

以下、本発明をプロジェクターに適用した実施例について、図面を参照しつつ説明する。なお、以下に示す実施例は、特許請求の範囲に記載された発明の内容を何ら限定するものではない。また、以下の実施例に示す構成のすべてが、特許請求の範囲に記載された発明の解決手段として必須であるとは限らない。   Embodiments in which the present invention is applied to a projector will be described below with reference to the drawings. In addition, the Example shown below does not limit the content of the invention described in the claim at all. In addition, all the configurations shown in the following embodiments are not necessarily essential as means for solving the invention described in the claims.

(第1の実施例)
図1は、第1の実施例におけるプロジェクター100の機能ブロック図である。プロジェクター100は、キャリブレーション画像等を撮像して撮像画像を生成する撮像部110と、PC(Personal Computer)等から画像情報(例えば、RGB信号等)を入力する画像入力部120と、座標情報等を生成する情報生成部130と、種々の判定を行う判定部140と、画像情報等に基づいて画像を生成する画像生成部150と、画像を投写する投写部190を含んで構成されている。なお、画像生成部150は、台形歪み補正を行う台形歪み補正部としての機能も有する。
(First embodiment)
FIG. 1 is a functional block diagram of a projector 100 according to the first embodiment. The projector 100 includes an imaging unit 110 that captures a calibration image or the like to generate a captured image, an image input unit 120 that inputs image information (for example, an RGB signal) from a PC (Personal Computer) or the like, coordinate information, and the like. Information generation unit 130 for generating image, determination unit 140 for making various determinations, image generation unit 150 for generating an image based on image information and the like, and projection unit 190 for projecting an image. The image generation unit 150 also has a function as a trapezoidal distortion correction unit that performs keystone distortion correction.

また、プロジェクター100は、以下のハードウェアを用いてこれらの各部として機能してもよい。例えば、プロジェクター100は、撮像部110はCCDカメラ等、画像入力部120は画像信号入力ポート、コンバーター等、情報生成部130、判定部140はCPU等、画像生成部150は画像処理回路等、投写部190はランプ、液晶パネル、液晶駆動回路、投写レンズ等を用いてもよい。   The projector 100 may function as each of these units using the following hardware. For example, in the projector 100, the imaging unit 110 is a CCD camera, the image input unit 120 is an image signal input port, a converter, the information generation unit 130, the determination unit 140 is a CPU, the image generation unit 150 is an image processing circuit, or the like. The unit 190 may use a lamp, a liquid crystal panel, a liquid crystal driving circuit, a projection lens, or the like.

また、プロジェクター100の有するコンピューターは、情報記憶媒体200に記憶されたプログラムを読み取って情報生成部130等として機能してもよい。このような情報記憶媒体200としては、例えば、CD−ROM、DVD−ROM、ROM、RAM、HDD等を適用できる。   The computer included in the projector 100 may function as the information generation unit 130 by reading a program stored in the information storage medium 200. As such an information storage medium 200, for example, a CD-ROM, DVD-ROM, ROM, RAM, HDD, or the like can be applied.

次に、これらの各部を用いた台形歪み補正手順について説明する。図2は、第1の実施例における台形歪み補正手順を示すフローチャートである。   Next, a trapezoidal distortion correction procedure using these units will be described. FIG. 2 is a flowchart showing the trapezoidal distortion correction procedure in the first embodiment.

撮像部110は、画像の投写されていない状態または黒色の画像が投写された状態で投写対象物の一種であるスクリーンを撮像して第1の撮像画像を生成する(ステップS1)。情報生成部130は、第1の撮像画像に基づき、撮像画像におけるスクリーンの境界線の座標を示す座標情報を生成する(ステップS2)。   The imaging unit 110 captures a screen, which is a type of projection target, in a state where no image is projected or a black image is projected, and generates a first captured image (step S1). The information generation unit 130 generates coordinate information indicating the coordinates of the boundary line of the screen in the captured image based on the first captured image (step S2).

なお、スクリーンは、例えば、矩形状の白色の領域と、白色の領域の周囲に設けられた黒色の領域とを有してもよい。この場合、白色の領域が投写された画像を表示可能な領域であり、白色の領域と黒色の領域の境目が境界線に該当する。また、座標情報は、例えば、各境界線の端点の座標を示す情報、各境界線における少なくとも1点の座標と各境界線の傾きを示す情報等であってもよい。   Note that the screen may have, for example, a rectangular white area and a black area provided around the white area. In this case, the white area is an area where the projected image can be displayed, and the boundary between the white area and the black area corresponds to the boundary line. The coordinate information may be, for example, information indicating the coordinates of the end points of each boundary line, information indicating the coordinates of at least one point on each boundary line, and the inclination of each boundary line, and the like.

画像生成部150は、台形歪み補正用のキャリブレーション画像を生成する。投写部190は当該キャリブレーション画像を投写する。撮像部110は、スクリーンに投写された当該キャリブレーション画像を撮像して第2の撮像画像を生成する(ステップS3)。   The image generation unit 150 generates a calibration image for trapezoidal distortion correction. The projection unit 190 projects the calibration image. The imaging unit 110 captures the calibration image projected on the screen and generates a second captured image (step S3).

図3は、第1の実施例におけるキャリブレーション画像300の一例を示す図である。キャリブレーション画像300は、4つの矩形が2行2列で接続して配置された形状のパターン画像を含む。すなわち、当該パターン画像は、垂直方向に平行かつ等間隔で配置された3本の直線と、水平方向に平行かつ等間隔で配置された3本の直線が直交した状態で形成されており、合計9個の交点(基準点)を有する。なお、この間隔は、例えば、液晶パネルが1024×768ピクセルである場合、200ピクセル以上であってもよい。このように、プロジェクター100は、パターンを構成する各線の間隔を空けておくことにより、輝度値等を測定する際に、隣の線との干渉を抑制することができる。   FIG. 3 is a diagram illustrating an example of the calibration image 300 in the first embodiment. The calibration image 300 includes a pattern image having a shape in which four rectangles are arranged in two rows and two columns. That is, the pattern image is formed in a state in which three straight lines arranged in parallel in the vertical direction and at equal intervals and three straight lines arranged in parallel in the horizontal direction at equal intervals are orthogonal to each other. Nine intersections (reference points). In addition, this space | interval may be 200 pixels or more, for example, when a liquid crystal panel is 1024x768 pixels. As described above, the projector 100 can suppress interference with an adjacent line when measuring a luminance value or the like by keeping an interval between lines forming the pattern.

また、パターン画像に含まれる直線は、線の中心部が最も明るく線の外縁部が最も暗いグラデーション状である。例えば、図3に示すキャリブレーション画像300では、線の中心部に白色の領域が設けられ、当該白色の領域を挟む形で薄いグレーの領域が設けられ、当該薄いグレーの領域を挟む形で濃いグレーの領域が設けられている。   Further, the straight line included in the pattern image has a gradation that is brightest at the center of the line and darkest at the outer edge of the line. For example, in the calibration image 300 shown in FIG. 3, a white region is provided at the center of the line, a light gray region is provided so as to sandwich the white region, and a dark region is provided so as to sandwich the light gray region. A gray area is provided.

なお、各領域の幅は、例えば、それぞれ4ピクセル以上であってもよい。また、パターン画像の背景は、パターン画像の外縁部の領域(本実施例では濃いグレーの領域)とは異なる階調を有する領域(例えば、白色、黒色等の領域)である。パターン画像の背景が、パターン画像の外縁部の領域よりも暗い階調(例えば、黒色)を有する場合、キャリブレーション画像300はパターン画像および背景を含む全体で4つの異なる階調を有する。また、キャリブレーション画像300は、パターン画像および背景画像を含む全体で3つの異なる階調を有していてもよく、白色の領域および薄いグレーの領域から形成されるパターン画像並びに濃いグレーの領域から形成される背景画像を含む画像であってもよい。換言すると、キャリブレーション画像300は、第1の階調を有する第1の領域(白色の領域)、第1の階調よりも暗い第2の階調を有する第2の領域(濃いグレーの領域)および第1の階調よりも暗くかつ第2の階調よりも明るい第3の階調を有し、第1の領域および第3の領域の間に設けられた第3の領域(薄いグレーの領域)を含む画像であってもよい。   The width of each region may be 4 pixels or more, for example. Further, the background of the pattern image is a region (for example, a region of white, black, etc.) having a gradation different from the region of the outer edge portion of the pattern image (dark gray region in this embodiment). When the background of the pattern image has a darker gradation (for example, black) than the region of the outer edge of the pattern image, the calibration image 300 has four different gradations in total including the pattern image and the background. Further, the calibration image 300 may have three different gradations including the pattern image and the background image as a whole, from the pattern image formed from the white region and the light gray region and the dark gray region. It may be an image including a background image to be formed. In other words, the calibration image 300 includes a first area having a first gradation (white area) and a second area having a second gradation darker than the first gradation (dark gray area). ) And a third region (light gray) provided between the first region and the third region, which has a third gradation that is darker than the first gradation and brighter than the second gradation. The image may include an area).

情報生成部130は、第2の撮像画像における(撮像座標系における)複数の基準点の位置と投写座標系における各基準点の位置との対応を示す位置情報を生成する(ステップS4)。また、情報生成部130は、当該位置情報に基づき、投写座標系の座標と撮像座標系の座標との変換式を示す変換情報を生成する(ステップS5)。   The information generation unit 130 generates position information indicating the correspondence between the positions of a plurality of reference points (in the imaging coordinate system) in the second captured image and the positions of the reference points in the projection coordinate system (step S4). Further, the information generation unit 130 generates conversion information indicating a conversion formula between the coordinates of the projection coordinate system and the coordinates of the imaging coordinate system based on the position information (step S5).

なお、この変換式は、例えば、射影変換等の変換式である。また、投写座標系は、例えば、液晶パネルの画像形成領域の座標系または後述する当該画像形成領域と同一形状の仮想領域の座標系である。   This conversion formula is a conversion formula such as projective conversion. The projection coordinate system is, for example, a coordinate system of an image forming area of a liquid crystal panel or a virtual area coordinate system having the same shape as the image forming area described later.

また、情報生成部130は、第2の撮像画像の輝度情報等を用いて放物線近似演算や重心演算等を行うことにより、第2の撮像画像に含まれる上記9個の基準点である白色の領域の座標を決定してもよい。なお、この座標は、例えば、撮像部110の結像領域(撮像座標系)における2次元座標である。   In addition, the information generation unit 130 performs parabolic approximation calculation, centroid calculation, and the like using the luminance information of the second captured image and the like, and the white reference points that are the nine reference points included in the second captured image are displayed. The coordinates of the area may be determined. This coordinate is, for example, a two-dimensional coordinate in the imaging region (imaging coordinate system) of the imaging unit 110.

判定部140は、スクリーンの境界線の座標情報と、変換情報に基づき、投写レンズの主点を原点とする投写座標系における境界線の位置を決定し、4本の境界線のすべてがプロジェクター100によって画像を表示することが可能な範囲内にあるかどうかを判定する(ステップS6)。   The determination unit 140 determines the position of the boundary line in the projection coordinate system with the principal point of the projection lens as the origin based on the coordinate information of the boundary line of the screen and the conversion information, and all four boundary lines are the projector 100. To determine whether the image is within a displayable range (step S6).

全境界線がプロジェクター100によって画像を表示することが可能な範囲内にある場合、画像生成部150は、座標情報と、変換情報に基づき、液晶パネルの画像形成領域における台形歪み補正後の画像表示領域を示す補正目標領域を設定する。また、画像生成部150は、設定した補正目標領域に基づき、入力される画像情報に対して台形歪み補正を行う(ステップS7)。   When the entire boundary line is within a range in which an image can be displayed by the projector 100, the image generation unit 150 displays the image after the trapezoidal distortion correction in the image forming area of the liquid crystal panel based on the coordinate information and the conversion information. A correction target area indicating the area is set. The image generation unit 150 performs trapezoidal distortion correction on the input image information based on the set correction target area (step S7).

一方、境界線の少なくとも一部がプロジェクター100によって画像を表示することが可能な範囲外にある場合、情報生成部130は、変換情報等に基づき、第2の撮像画像における基準点の2次元座標を投写座標系の3次元座標に変換する(ステップS8)。また、情報生成部130は、当該3次元座標に基づき、プロジェクター100に対するスクリーンの傾きである投写角度を示す投写角度情報を生成する(ステップS9)。より具体的には、例えば、情報生成部130は、上記9個の基準点の3次元座標のうち、少なくとも3個の3次元座標を用いて投写光とスクリーン10との相対的な垂直方向および水平方向の傾きを示す投写角度情報を生成してもよい。   On the other hand, when at least a part of the boundary line is outside the range in which an image can be displayed by the projector 100, the information generation unit 130 determines the two-dimensional coordinates of the reference point in the second captured image based on the conversion information or the like. Is converted into the three-dimensional coordinates of the projection coordinate system (step S8). Further, the information generation unit 130 generates projection angle information indicating a projection angle that is a tilt of the screen with respect to the projector 100 based on the three-dimensional coordinates (step S9). More specifically, for example, the information generation unit 130 uses the at least three three-dimensional coordinates among the nine reference points of the nine reference points, and the relative vertical direction of the projection light and the screen 10 and You may generate | occur | produce the projection angle information which shows the inclination of a horizontal direction.

また、この場合、画像生成部150は、投写角度情報と座標情報に基づき、補正目標領域を設定し(ステップS10)、台形歪み補正を行う(ステップS11)。   In this case, the image generation unit 150 sets a correction target area based on the projection angle information and the coordinate information (step S10), and performs trapezoidal distortion correction (step S11).

ここで、ステップS10における補正目標領域の設定手順についてより詳細に説明する。図4は、第1の実施例における補正目標領域設定手順を示すフローチャートである。   Here, the procedure for setting the correction target area in step S10 will be described in more detail. FIG. 4 is a flowchart showing a correction target area setting procedure in the first embodiment.

判定部140は、座標情報等に基づき、全境界線のうちどの境界線の情報を検出できているかを判定する。より具体的には、例えば、判定部140は、全境界線のうち上側の境界線(上辺)、左側の境界線(左辺)および右側の境界線(右辺)を検出できたかどうかを判定する(ステップS21)。なお、判定部140は、例えば、座標情報等に基づき、境界線の位置と基準点の位置との関係(例えば、境界線の位置が最も上の基準点の位置よりも上にあれば上辺)、境界線の接続関係等を判定することにより、各境界線がどの辺に対応しているか判定することが可能である。   The determination unit 140 determines which boundary line information of all the boundary lines has been detected based on the coordinate information or the like. More specifically, for example, the determination unit 140 determines whether or not the upper boundary line (upper side), the left boundary line (left side), and the right boundary line (right side) among all the boundary lines have been detected ( Step S21). Note that the determination unit 140 determines the relationship between the position of the boundary line and the position of the reference point based on, for example, coordinate information (for example, the upper side if the position of the boundary line is above the position of the uppermost reference point). By determining the connection relation of the boundary lines, it is possible to determine which side each boundary line corresponds to.

上辺、左辺および右辺を検出できた場合、画像生成部150は、左辺または右辺の無限遠点から垂直消失点を決定し、上辺の無限遠点から水平消失点を決定する(ステップS22)。   When the upper side, the left side, and the right side can be detected, the image generation unit 150 determines a vertical vanishing point from the infinity point on the left side or the right side, and determines a horizontal vanishing point from the infinity point on the upper side (step S22).

図5は、第1の実施例における3次元空間内の消失点を示す模式図である。例えば、図5に示すようにスクリーン10にある上辺(図5のスクリーン10内の実線部分)の延長線上に無限遠点Hiが存在する。また、左辺および右辺の延長線上に無限遠点Viが存在する。また、上辺に垂直な直線の延長線上にも無限遠点Viが存在する。   FIG. 5 is a schematic diagram showing vanishing points in the three-dimensional space in the first embodiment. For example, as shown in FIG. 5, an infinite point Hi exists on the extended line of the upper side (solid line part in the screen 10 of FIG. 5) in the screen 10. Further, an infinite point Vi exists on the extension line of the left side and the right side. There is also an infinite point Vi on an extension of a straight line perpendicular to the upper side.

なお、実際には、無限遠点は無限遠方にあるが、図5では説明をわかりやすくするため、無限遠点を模式的に示している。また、本実施例では、右側の無限遠点Hiと上側の無限遠点Viを使用して各消失点を決定する方式を採用しているが、左側の無限遠点と下側の無限遠点を使用して各消失点を決定する方式を採用してもよい。どちらの方式を採用した場合であっても各消失点の位置は変わらない。また、実際には、液晶パネルは投写レンズの主点Oよりも手前側(−Z方向)にあるが、説明を簡単にするため、例えば、液晶パネルの画像形成領域と平行かつ同一形状の仮想領域20が、Z=1にXY平面と平行に配置されているものとする。   Actually, the infinity point is located at infinity, but FIG. 5 schematically shows the infinity point for easy understanding. In this embodiment, a method of determining each vanishing point using the right infinity point Hi and the upper infinity point Vi is employed, but the left infinity point and the lower infinity point are employed. You may employ | adopt the system which determines each vanishing point using. Regardless of which method is used, the position of each vanishing point does not change. In practice, the liquid crystal panel is on the near side (−Z direction) with respect to the principal point O of the projection lens. However, for the sake of simplicity, for example, the virtual panel is parallel to the image forming area of the liquid crystal panel and has the same shape. It is assumed that the region 20 is arranged in parallel with the XY plane at Z = 1.

これらの無限遠点を仮想領域20の平面に射影することにより、仮想領域20の座標系(投写座標系)における垂直消失点Vp、水平消失点Hpを決定することができる。   By projecting these infinite points onto the plane of the virtual region 20, the vertical vanishing point Vp and the horizontal vanishing point Hp in the coordinate system (projection coordinate system) of the virtual region 20 can be determined.

判定部140は、ステップS21の判定結果が偽である場合、全境界線のうち左辺と右辺を検出できたかどうかを判定する(ステップS23)。左辺と右辺を検出できた場合、画像生成部150は、検出辺(左辺および右辺)の無限遠点から垂直消失点を決定し、検出辺に垂直な直線の無限遠点から水平消失点を決定する(ステップS24)。   If the determination result of step S21 is false, the determination unit 140 determines whether the left side and the right side of all the boundary lines have been detected (step S23). When the left side and the right side can be detected, the image generation unit 150 determines the vertical vanishing point from the infinity point of the detection side (left side and right side), and determines the horizontal vanishing point from the infinity point of the straight line perpendicular to the detection side. (Step S24).

また、判定部140は、ステップS23の判定結果が偽である場合、全境界線のうち左辺または右辺を検出できたかどうかを判定し(ステップS25)、当該判定結果が真である場合、上辺を検出できたかどうかを判定する(ステップS26)。   Moreover, the determination part 140 determines whether the left side or right side was detected among all the boundary lines, when the determination result of step S23 is false (step S25), and when the determination result is true, the upper side is determined. It is determined whether or not it has been detected (step S26).

ステップS26の判定結果が真である場合、すなわち、左辺または右辺と上辺を検出できた場合、画像生成部150は、左辺または右辺の無限遠点から垂直消失点を決定し、上辺の無限遠点から水平消失点を決定する(ステップS27)。   When the determination result of step S26 is true, that is, when the left side or the right side and the upper side can be detected, the image generation unit 150 determines the vertical vanishing point from the infinity point on the left side or the right side, and the infinity point on the upper side The horizontal vanishing point is determined from (step S27).

一方、ステップS26の判定結果が偽である場合、すなわち、左辺または右辺のみ検出できた場合、画像生成部150は、検出辺(左辺または右辺)の無限遠点から垂直消失点を決定し、検出辺に垂直な直線の無限遠点から水平消失点を決定する(ステップS24)。   On the other hand, when the determination result in step S26 is false, that is, when only the left side or the right side can be detected, the image generation unit 150 determines the vertical vanishing point from the infinity point of the detection side (left side or right side) and detects it. A horizontal vanishing point is determined from the infinity point of a straight line perpendicular to the side (step S24).

また、ステップS25の判定結果が偽である場合、判定部140は、全境界線のうち上辺を検出できたかどうかを判定する(ステップS28)。上辺を検出できた場合、画像生成部150は、上辺に垂直な直線の無限遠点から垂直消失点を決定し、上辺の無限遠点から水平消失点を決定する(ステップS29)。   Moreover, when the determination result of step S25 is false, the determination part 140 determines whether the upper side was detected among all the boundary lines (step S28). If the upper side can be detected, the image generation unit 150 determines the vertical vanishing point from the infinity point of the straight line perpendicular to the upper side, and determines the horizontal vanishing point from the infinity point of the upper side (step S29).

各消失点を決定した場合(ステップS22、S24、S27、S29のいずれかの場合)、画像生成部150は、各消失点の座標に基づき、消失点を経由する直線上の線分を、不足している境界線として補完することにより、液晶パネルにおける補正目標領域を設定する(ステップS30)。   When each vanishing point is determined (in the case of any of steps S22, S24, S27, and S29), the image generation unit 150 lacks a line segment on the straight line passing through the vanishing point based on the coordinates of each vanishing point. The correction target area in the liquid crystal panel is set by complementing as the boundary line that is being performed (step S30).

図6は、第1の実施例における仮想領域20の座標系における消失点の一例を示す模式図である。また、図7は、第1の実施例における仮想領域20の座標系における消失点の他の一例を示す模式図である。   FIG. 6 is a schematic diagram illustrating an example of a vanishing point in the coordinate system of the virtual region 20 in the first embodiment. FIG. 7 is a schematic diagram illustrating another example of the vanishing point in the coordinate system of the virtual region 20 in the first embodiment.

例えば、図6に示すように、1つの境界線のみ検出できた場合、画像生成部150は、当該境界線の座標と、各消失点の座標を用いて、各消失点を経由する直線を設定することによって不足辺を補う補完処理を実行することにより、所定の条件を満たすように仮想領域20における目標領域ABCDの4隅の座標を決定し、液晶パネルにおける補正目標領域を設定する。   For example, as illustrated in FIG. 6, when only one boundary line can be detected, the image generation unit 150 sets a straight line passing through each vanishing point using the coordinates of the boundary line and the coordinates of each vanishing point. By executing a complementing process that compensates for the missing edge, the coordinates of the four corners of the target area ABCD in the virtual area 20 are determined so as to satisfy a predetermined condition, and correction target areas in the liquid crystal panel are set.

なお、目標領域ABCDは、液晶パネルにおける補正目標領域に対応した仮想領域20上の領域である。また、上記所定の条件としては、例えば、補正後の画像が所定のアスペクト比(例えば、4:3、16:9)を満たすという条件、液晶パネルを最大限使用するという条件等が該当する。   The target area ABCD is an area on the virtual area 20 corresponding to the correction target area in the liquid crystal panel. The predetermined condition includes, for example, a condition that the corrected image satisfies a predetermined aspect ratio (for example, 4: 3, 16: 9), a condition that the liquid crystal panel is used to the maximum.

また、例えば、図7に示すように、2つ以上の境界線が検出できた場合、画像生成部150は、各境界線の座標と、各消失点の座標を用いて、各消失点を経由する直線を設定することによって不足辺を補う補完処理を実行することにより、目標領域ABCDを決定し、液晶パネルにおける補正目標領域を設定する。画像生成部150は、スクリーンの上側の境界線、左側の境界線および右側の境界線のうち、情報生成部130によって座標情報が生成された境界線の座標情報のみに基づき、境界線の形状に応じた補正目標領域を設定している。   Further, for example, as illustrated in FIG. 7, when two or more boundary lines can be detected, the image generation unit 150 uses the coordinates of each boundary line and the coordinates of each vanishing point to pass through each vanishing point. The target area ABCD is determined by executing a complementing process that compensates for the missing side by setting a straight line to be corrected, and a correction target area in the liquid crystal panel is set. The image generation unit 150 changes the shape of the boundary line based only on the coordinate information of the boundary line generated by the information generation unit 130 among the upper boundary line, the left boundary line, and the right boundary line of the screen. Corresponding correction target areas are set.

上辺、左辺、右辺のいずれも検出できなかった場合、画像生成部150は、投写角度情報に基づき、液晶パネルにおける補正目標領域を設定する(ステップS31)。より具体的には、例えば、画像生成部150は、垂直方向および水平方向の投写角度と補正目標領域の座標とが対応付けられたデータ等を用いて投写角度に応じて補正目標領域を設定してもよい。なお、本実施例では、プロジェクター100は、下辺の情報は使用しない。   If none of the upper side, the left side, and the right side can be detected, the image generation unit 150 sets a correction target area in the liquid crystal panel based on the projection angle information (step S31). More specifically, for example, the image generation unit 150 sets the correction target area according to the projection angle using data in which the vertical and horizontal projection angles are associated with the coordinates of the correction target area. May be. In this embodiment, the projector 100 does not use information on the lower side.

以上のように、本実施例によれば、プロジェクター100は、撮像画像に含まれるスクリーン10の下側の境界線の座標情報を用いないことにより、机の縁等の誤検出や撮像画像における下辺の傾きが得られないことによる測定精度の低下等をなくすことができるため、より正確に台形歪み補正を行うことができる。   As described above, according to the present embodiment, the projector 100 does not use the coordinate information of the lower boundary line of the screen 10 included in the captured image, so that erroneous detection of the edges of the desk or the lower side of the captured image is performed. As a result, it is possible to eliminate a decrease in measurement accuracy due to the fact that the tilt of the angle cannot be obtained, so that trapezoidal distortion correction can be performed more accurately.

また、本実施例によれば、プロジェクター100は、全境界線が表示可能な範囲内にあるかどうかに応じた設定を行うことにより、より正確に台形歪み補正を行うことができる。   Further, according to the present embodiment, the projector 100 can perform the trapezoidal distortion correction more accurately by performing the setting according to whether or not all the boundary lines are within the displayable range.

また、プロジェクター100は、キャリブレーション画像300として、グラデーション状のパターン画像を用いることにより、適切にフォーカス調整されていない状態であっても基準点の座標等を正確に決定することができる。   Further, the projector 100 can accurately determine the coordinates and the like of the reference point even when the focus adjustment is not properly performed by using the gradation pattern image as the calibration image 300.

(その他の実施例)
なお、本発明の適用は上述した実施例に限定されず、種々の変形が可能である。例えば、投写対象物は、スクリーンに限定されず、黒板、ホワイトボード、壁、柱、机等であってもよく、下辺が机の縁で残りの3辺がスクリーンで構成されるような複数の物体で構成されるものであってもよい。
(Other examples)
In addition, application of this invention is not limited to the Example mentioned above, A various deformation | transformation is possible. For example, the projection object is not limited to a screen, and may be a blackboard, a white board, a wall, a pillar, a desk, or the like, and a plurality of objects whose lower side is the edge of the desk and the remaining three sides are the screen. It may be composed of an object.

また、キャリブレーション画像300は上述した実施例に限定されない。例えば、キャリブレーション画像300のパターン画像は、各直線が図3に示すパターン画像の外周線からはみ出した状態(例えば、パターン画像が四角形の場合は♯等)の画像であってもよい。   The calibration image 300 is not limited to the above-described embodiment. For example, the pattern image of the calibration image 300 may be an image in a state where each straight line protrudes from the outer peripheral line of the pattern image shown in FIG. 3 (for example, # when the pattern image is a square).

また、上述したパターン画像は3階調であるが、4階調以上であってもよい。また、上述したパターン画像は白色の領域の両側に同一階調の領域が配置されているが、片側にのみ異なる階調の領域が配置されてもよい。例えば、パターン画像は、最も左が濃いグレーの領域、中央が薄いグレーの領域、最も右が白色の領域の線状の画像であってもよい。   The pattern image described above has three gradations, but may have four or more gradations. Further, in the above-described pattern image, regions having the same gradation are arranged on both sides of the white region, but regions having different gradations may be arranged only on one side. For example, the pattern image may be a linear image having a dark gray area on the left, a light gray area on the center, and a white area on the right.

また、情報生成部130は、位置情報や変換情報を生成しなくてもよい。例えば、投写レンズと撮像レンズがほぼ同じ位置にある場合、プロジェクター100は、撮像座標系における2次元座標をそのまま用いて上述した処理を実行してもよい。   Moreover, the information generation part 130 does not need to generate | occur | produce position information and conversion information. For example, when the projection lens and the imaging lens are substantially at the same position, the projector 100 may execute the above-described processing using the two-dimensional coordinates in the imaging coordinate system as they are.

また、プロジェクター100は、非投写状態で撮像することにより、スクリーンの境界線の座標情報を生成しているが、台形歪み補正用のキャリブレーション画像がスクリーンの境界線も検出可能な画像である場合、キャリブレーション画像の撮像画像に基づいてスクリーンの境界線の座標情報を生成してもよい。   Further, the projector 100 generates coordinate information of the screen boundary line by capturing an image in a non-projection state, but the calibration image for correcting the trapezoidal distortion is an image that can also detect the screen boundary line. Alternatively, coordinate information of the boundary line of the screen may be generated based on the captured image of the calibration image.

また、プロジェクター100は、例えば、天吊りの状態で設置される場合、撮像部110も上下が逆になるため、現実の3次元空間における投写対象物の上辺(撮像画像の座標系では下側の辺)の座標情報を用いないで上述した台形歪み補正を行ってもよい。   In addition, when the projector 100 is installed in a ceiling-mounted state, for example, the imaging unit 110 is also turned upside down, so the upper side of the projection target in the actual three-dimensional space (the lower side in the coordinate system of the captured image) The trapezoidal distortion correction described above may be performed without using the coordinate information of the side.

また、プロジェクター100は、液晶プロジェクター(透過型、LCOS等の反射型)に限定されず、例えば、DMD(Digital Micromirror Device)を用いたプロジェクター等であってもよい。なお、DMDは米国テキサス・インスツルメンツ社の商標である。また、プロジェクター100の機能を複数の装置(例えば、PCとプロジェクター、外付けのカメラとプロジェクター等)に分散してもよい。   Further, the projector 100 is not limited to a liquid crystal projector (transmission type, reflection type such as LCOS), and may be a projector using DMD (Digital Micromirror Device), for example. DMD is a trademark of Texas Instruments Incorporated. Further, the function of the projector 100 may be distributed to a plurality of devices (for example, a PC and a projector, an external camera and a projector, etc.).

10 スクリーン、20 仮想領域、100 プロジェクター、110 撮像部、120 画像入力部、130 情報生成部、140 判定部、150 画像生成部(台形歪み補正部)、190 投写部、200 情報記憶媒体、300 キャリブレーション画像   10 screens, 20 virtual areas, 100 projectors, 110 imaging units, 120 image input units, 130 information generation units, 140 determination units, 150 image generation units (trapezoidal distortion correction units), 190 projection units, 200 information storage media, 300 calibration Image

Claims (13)

投写対象物を撮像して撮像画像を生成する撮像部と、
前記撮像画像に含まれる前記投写対象物の境界線の座標情報を生成する情報生成部と、
前記投写対象物の下側以外の境界線の座標情報を用いて前記境界線の形状に応じて不足部分を補完する補完処理を実行することによって補正目標領域を設定し、前記補正目標領域に基づき、台形歪み補正を行う台形歪み補正部と、
を含み、
前記台形歪み補正部は、
前記情報生成部によって生成された前記投写対象物の下側の境界線の座標情報を用いずに前記補完処理を実行する、
プロジェクター。
An imaging unit that images a projection target and generates a captured image;
An information generating unit that generates coordinate information of a boundary line of the projection target included in the captured image;
A correction target area is set by executing a complementing process that complements a deficient portion according to the shape of the boundary line using coordinate information of a boundary line other than the lower side of the projection target, and based on the correction target area A trapezoidal distortion correction unit for correcting the keystone distortion;
Only including,
The trapezoidal distortion correction unit is
Performing the complementing process without using coordinate information of the lower boundary line of the projection object generated by the information generation unit;
projector.
投写対象物を撮像して撮像画像を生成する撮像部と、
前記撮像画像に含まれる前記投写対象物の境界線の座標情報を生成する情報生成部と、
前記情報生成部によって前記座標情報が生成された境界線のうち、下側の境界線を除く少なくとも1つの境界線の前記座標情報に基づき、当該少なくとも1つの境界線によって規定される形状に応じて不足部分を補完する補完処理を実行することによって補正目標領域を設定し、前記補正目標領域に基づき、台形歪み補正を行う台形歪み補正部と、
を含み、
前記台形歪み補正部は、
前記情報生成部によって生成された前記投写対象物の下側の境界線の座標情報を用いずに前記補完処理を実行する、
プロジェクター。
An imaging unit that images a projection target and generates a captured image;
An information generating unit that generates coordinate information of a boundary line of the projection target included in the captured image;
Based on the coordinate information of at least one boundary line excluding the lower boundary line among the boundary lines for which the coordinate information is generated by the information generation unit, according to the shape defined by the at least one boundary line A trapezoidal distortion correction unit that sets a correction target area by executing a complementing process that complements the deficient part, and performs trapezoidal distortion correction based on the correction target area;
Only including,
The trapezoidal distortion correction unit is
Performing the complementing process without using coordinate information of the lower boundary line of the projection object generated by the information generation unit;
projector.
請求項1、2のいずれかに記載のプロジェクターにおいて、The projector according to claim 1,
前記台形歪み補正部は、The trapezoidal distortion correction unit is
前記投写対象物の右側の境界線及び左側の境界線の少なくとも一方の座標情報を用いて前記補完処理を実行する、Performing the complementing process using coordinate information of at least one of the right boundary line and the left boundary line of the projection object;
プロジェクター。projector.
請求項1、2のいずれかに記載のプロジェクターにおいて、The projector according to claim 1,
前記台形歪み補正部は、The trapezoidal distortion correction unit is
前記投写対象物の右側の境界線又は左側の境界線の座標情報と上側の境界線の座標情報とを用いて前記補完処理を実行する、Performing the complementing process using the coordinate information of the right boundary line or the left boundary line of the projection object and the coordinate information of the upper boundary line;
プロジェクター。projector.
請求項1〜4のいずれかに記載のプロジェクターにおいて、
台形歪み補正用のキャリブレーション画像を投写する投写部を含み、
前記情報生成部は、
前記投写部の画像形成領域または当該画像形成領域に対応した仮想領域における前記キャリブレーション画像内の複数点の位置と、前記撮像画像内の前記複数点の位置との対応を示す位置情報を生成し、
前記位置情報に基づき、前記画像形成領域または前記仮想領域の座標と前記撮像画像の座標との変換式を示す変換情報を生成し、
前記台形歪み補正部は、前記座標情報と、前記変換情報とに基づき、前記境界線に関する無限遠点を前記画像形成領域または前記仮想領域の座標系に射影した消失点の座標を演算することにより、前記補完処理を実行する、
プロジェクター。
In the projector in any one of Claims 1-4 ,
Including a projection unit for projecting a calibration image for correcting keystone distortion,
The information generator is
Generating position information indicating correspondence between positions of the plurality of points in the calibration image in the image forming area of the projection unit or a virtual area corresponding to the image forming area and the positions of the plurality of points in the captured image; ,
Based on the position information, generating conversion information indicating a conversion formula between the coordinates of the image forming region or the virtual region and the coordinates of the captured image,
Based on the coordinate information and the conversion information, the trapezoidal distortion correction unit calculates the coordinates of the vanishing point obtained by projecting the infinity point related to the boundary line to the coordinate system of the image forming region or the virtual region. , Execute the complementing process,
projector.
請求項に記載のプロジェクターにおいて、
前記変換情報に基づき、前記投写対象物の全境界線が前記画像形成領域または前記仮想領域の範囲内にあるかどうかを判定する判定部を含み、
記台形歪み補正部は、前記投写対象物の全境界線が前記範囲内にある場合は前記境界線の形状に沿った領域を前記補正目標領域として設定し、前記投写対象物の全境界線が前記範囲内にない場合は前記補完処理を実行することによって前記補正目標領域を設定する、
プロジェクター。
The projector according to claim 5 , wherein
Based on the conversion information, including a determination unit that determines whether all the boundaries of the projection object are within the range of the image formation region or the virtual region,
Before Symbol table Katachiyugami correction unit, when the entire perimeter of the projection target is in the range sets the area along the shape of the boundary line as the correction target region, all the boundaries of the projection target If the line is not within the range, the correction target area is set by executing the complement process,
projector.
プロジェクターの有するコンピューターに、
撮像装置に投写対象物を撮像させて撮像画像を生成させ、
前記撮像画像に含まれる前記投写対象物の境界線の座標情報を生成させ、
前記座標情報に基づき、前記投写対象物の下側以外の境界線の座標情報を用いて前記境界線の形状に応じて不足部分を補完する補完処理を実行することによって補正目標領域を設定し、
前記補正目標領域に基づき、台形歪み補正を行わせ
生成された前記投写対象物の下側の境界線の座標情報を用いずに前記補完処理を実行させる、プログラム。
To computer which projector has,
Causing the imaging device to capture an image of the projection target and generate a captured image;
Generating coordinate information of a boundary line of the projection object included in the captured image;
Based on the coordinate information, the correction target region is set by executing a complementing process that complements the deficient portion according to the shape of the boundary line using the coordinate information of the boundary line other than the lower side of the projection target,
Based on the correction target area, trapezoidal distortion correction is performed ,
A program for executing the complementing process without using coordinate information of the generated lower boundary line of the projection object .
プロジェクターの有するコンピューターにより読み取り可能なプログラムを記憶した情報記憶媒体であって、
請求項に記載のプログラムを記憶した情報記憶媒体。
An information storage medium storing a program readable by a computer of a projector,
An information storage medium storing the program according to claim 7 .
プロジェクターが、
撮像装置に投写対象物を撮像させて撮像画像を生成させ、
前記撮像画像に含まれる前記投写対象物の境界線の座標情報を生成し、
前記座標情報に基づき、前記投写対象物の下側以外の境界線の座標情報を用いて前記境界線の形状に応じて不足部分を補完する補完処理を実行することによって補正目標領域を設定し、
前記補正目標領域に基づき、台形歪み補正を行い、
生成された前記投写対象物の下側の境界線の座標情報を用いずに前記補完処理を実行する、台形歪み補正方法。
The projector
Causing the imaging device to capture an image of the projection target and generate a captured image;
Generating coordinate information of a boundary line of the projection object included in the captured image;
Based on the coordinate information, the correction target region is set by executing a complementing process that complements the deficient portion according to the shape of the boundary line using the coordinate information of the boundary line other than the lower side of the projection target,
Based on the correction target region, have rows trapezoidal distortion correction,
A trapezoidal distortion correction method for executing the complementing process without using coordinate information of a generated lower boundary line of the projection object .
投写対象物を撮像して撮像画像を生成する撮像部と、
前記投写対象物の境界線が所定の範囲内にあるかどうかを判定する判定部と、
前記撮像画像に含まれる前記投写対象物の境界線の座標情報を生成する情報生成部と、
前記投写対象物の境界線の座標情報を用いて前記境界線の形状に応じて不足部分を補完する補完処理を実行することによって補正目標領域を設定し、前記補正目標領域に基づき、台形歪み補正を行う台形歪み補正部と、
を含み、
前記判定部により、前記投写対象物の下側の境界線と、前記投写対象物の上側、右側、左側の境界線のうちいずれかの1辺または2辺と、が前記所定の範囲内にあると判定された場合、
前記台形歪み補正部は、前記所定の範囲内にあると判定された前記投写対象物の上側、右側、左側の境界線のうちいずれかの1辺または2辺の境界線の座標情報を用いて前記境界線の形状に応じて不足部分を補完する、
プロジェクター。
An imaging unit that images a projection target and generates a captured image;
A determination unit for determining whether or not a boundary line of the projection object is within a predetermined range;
An information generating unit that generates coordinate information of a boundary line of the projection target included in the captured image;
Using said coordinate information of the boundary boundary lines of projection target sets the correction target region by performing the complementary processing to supplement the insufficient portion in accordance with the shape of the boundary line, on the basis of the correction target region, trapezoidal distortion correction A trapezoidal distortion correction unit for performing
Only including,
The determination unit causes the lower boundary line of the projection object and one or two sides of the upper, right, and left boundary lines of the projection object to be within the predetermined range. Is determined,
The trapezoidal distortion correction unit uses coordinate information of one or two of the boundary lines on the upper side, the right side, and the left side of the projection target determined to be within the predetermined range. Complementing the deficient part according to the shape of the boundary line,
projector.
請求項10に記載のプロジェクターにおいて、
記台形歪み補正部は、前記投写対象物の全境界線が前記所定の範囲内にあると判定された場合は前記境界線の形状に沿った領域を前記補正目標領域として設定する、
プロジェクター。
The projector according to claim 10 .
Prior Symbol table Katachiyugami correction unit, Ru set Teisu the area along the shape of the boundary line as the correction target region if the entire perimeter of the projection target is determined to be within the predetermined range ,
projector.
請求項11に記載のプロジェクターにおいて、
台形歪み補正用のキャリブレーション画像を投写する投写部を含み、
前記情報生成部は、
前記投写部の画像形成領域または当該画像形成領域に対応した仮想領域における前記キャリブレーション画像内の複数点の位置と、前記撮像画像内の前記複数点の位置との対応を示す位置情報を生成し、
前記位置情報に基づき、前記画像形成領域または前記仮想領域の座標と前記撮像画像の座標との変換式を示す変換情報を生成し、
前記台形歪み補正部は、前記座標情報と、前記変換情報とに基づき、前記境界線に関する無限遠点を前記画像形成領域または前記仮想領域の座標系に射影した消失点の座標を演算することにより、前記補完処理を実行する、
プロジェクター。
The projector according to claim 11 ,
Including a projection unit for projecting a calibration image for correcting keystone distortion,
The information generator is
Generating position information indicating correspondence between positions of the plurality of points in the calibration image in the image forming area of the projection unit or a virtual area corresponding to the image forming area and the positions of the plurality of points in the captured image; ,
Based on the position information, generating conversion information indicating a conversion formula between the coordinates of the image forming region or the virtual region and the coordinates of the captured image,
Based on the coordinate information and the conversion information, the trapezoidal distortion correction unit calculates the coordinates of the vanishing point obtained by projecting the infinity point related to the boundary line to the coordinate system of the image forming region or the virtual region. , Execute the complementing process,
projector.
プロジェクターが、
撮像装置に投写対象物を撮像させて撮像画像を生成させ、
前記投写対象物の境界線が所定の範囲内にあるかどうかを判定し、
前記撮像画像に含まれる前記投写対象物の境界線の座標情報を生成し、
前記座標情報に基づき、前記投写対象物の境界線の座標情報を用いて前記境界線の形状に応じて不足部分を補完する補完処理を実行することによって補正目標領域を設定し、
前記補正目標領域に基づき、台形歪み補正を行い、
前記判定で、前記投写対象物の下側の境界線と、前記投写対象物の上側、右側、左側の境界線のうちいずれかの1辺または2辺と、が前記所定の範囲内にあると判定された場合、
前記台形歪み補正では、前記所定の範囲内にあると判定された前記投写対象物の上側、右側、左側の境界線のうちいずれかの1辺または2辺の境界線の座標情報を用いて前記境界線の形状に応じて不足部分を補完する、
台形歪み補正方法。
The projector
Causing the imaging device to capture an image of the projection target and generate a captured image;
Determining whether a boundary line of the projection object is within a predetermined range;
Generating coordinate information of a boundary line of the projection object included in the captured image;
Wherein based on the coordinate information, set the correction target region by performing the complementary processing to supplement the insufficient portion in accordance with the shape of the boundary line with the coordinate information of the boundary boundary lines of the projection target,
Based on the correction target region, have rows trapezoidal distortion correction,
In the determination, when a lower boundary line of the projection object and one or two sides of the upper, right, and left boundary lines of the projection object are within the predetermined range. If determined,
In the trapezoidal distortion correction, the coordinate information of one or two of the boundary lines on the upper side, the right side, and the left side of the projection object determined to be within the predetermined range is used. Complement the missing part according to the shape of the boundary line,
Trapezoidal distortion correction method.
JP2009140120A 2009-06-11 2009-06-11 Projector, program, information storage medium, and trapezoidal distortion correction method Active JP5445745B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009140120A JP5445745B2 (en) 2009-06-11 2009-06-11 Projector, program, information storage medium, and trapezoidal distortion correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009140120A JP5445745B2 (en) 2009-06-11 2009-06-11 Projector, program, information storage medium, and trapezoidal distortion correction method

Publications (2)

Publication Number Publication Date
JP2010288064A JP2010288064A (en) 2010-12-24
JP5445745B2 true JP5445745B2 (en) 2014-03-19

Family

ID=43543453

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009140120A Active JP5445745B2 (en) 2009-06-11 2009-06-11 Projector, program, information storage medium, and trapezoidal distortion correction method

Country Status (1)

Country Link
JP (1) JP5445745B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI786856B (en) * 2020-10-26 2022-12-11 日商住友重機械工業股份有限公司 Distortion aberration correction processing device, distortion aberration correction method and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3925521B2 (en) * 2004-08-19 2007-06-06 セイコーエプソン株式会社 Keystone correction using part of the screen edge
JP5187480B2 (en) * 2007-02-23 2013-04-24 セイコーエプソン株式会社 Projector, program, information storage medium, and image generation method
JP5067536B2 (en) * 2007-02-23 2012-11-07 セイコーエプソン株式会社 Projector, program, information storage medium, and image generation method
JP4340923B2 (en) * 2007-02-23 2009-10-07 セイコーエプソン株式会社 Projector, program, and information storage medium
JP5194578B2 (en) * 2007-06-18 2013-05-08 セイコーエプソン株式会社 Image processing device, projector

Also Published As

Publication number Publication date
JP2010288064A (en) 2010-12-24

Similar Documents

Publication Publication Date Title
JP5257616B2 (en) Projector, program, information storage medium, and trapezoidal distortion correction method
JP4340923B2 (en) Projector, program, and information storage medium
JP3925521B2 (en) Keystone correction using part of the screen edge
JP3844076B2 (en) Image processing system, projector, program, information storage medium, and image processing method
KR100644211B1 (en) Image processing system, projector, information storage medium and image processing method
CN101656858B (en) Projection display apparatus and display method
JP4055010B2 (en) Image processing system, projector, program, information storage medium, and image processing method
JP4232042B2 (en) Projection control system, projector, program, information storage medium, and projection control method
US8449121B2 (en) Image processing system, projector, method and computer program product
JP5652596B2 (en) Projector, program, information storage medium, and image projection method
JP5257618B2 (en) Projector, program, information storage medium, and exposure adjustment method
JP5067536B2 (en) Projector, program, information storage medium, and image generation method
JP5561503B2 (en) Projector, program, information storage medium, and trapezoidal distortion correction method
JP5187480B2 (en) Projector, program, information storage medium, and image generation method
JP5515405B2 (en) Video processing device, video display device, and video processing method
JP5445745B2 (en) Projector, program, information storage medium, and trapezoidal distortion correction method
JP3882928B2 (en) Image processing system, projector, and image processing method
JP2010288062A (en) Projector, program, information storage medium, and image projection method
JP5093517B2 (en) Projector, program, information storage medium, and image generation method
JP3882927B2 (en) Image processing system, projector, and image processing method
JP5354163B2 (en) Projector, program and information storage medium
JP2008211353A (en) Projector, program, information storage medium, and image distortion correction method
JP2006217370A (en) Image processing system, projector, program, information storage medium, and image processing method
TW201701661A (en) Testing system and testing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120412

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130313

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130422

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: 20131127

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131210

R150 Certificate of patent or registration of utility model

Ref document number: 5445745

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350