JP2017212638A - Display device, control method for display device, and program - Google Patents

Display device, control method for display device, and program Download PDF

Info

Publication number
JP2017212638A
JP2017212638A JP2016105256A JP2016105256A JP2017212638A JP 2017212638 A JP2017212638 A JP 2017212638A JP 2016105256 A JP2016105256 A JP 2016105256A JP 2016105256 A JP2016105256 A JP 2016105256A JP 2017212638 A JP2017212638 A JP 2017212638A
Authority
JP
Japan
Prior art keywords
test pattern
image
unit
display
display device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2016105256A
Other languages
Japanese (ja)
Inventor
伸一 砂川
Shinichi Sunakawa
伸一 砂川
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2016105256A priority Critical patent/JP2017212638A/en
Publication of JP2017212638A publication Critical patent/JP2017212638A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To make it possible to reduce power consumption relating to a deformation correction process for a projection display image, using a test pattern.SOLUTION: In a projector with a camera, a display control section 9 projects and displays a test pattern onto a screen 2 from a display panel 10. A difference extraction section 12 extracts a test pattern from a photographic image obtained by photographing with a camera 11 a projection surface on which the test pattern is projected and displayed. Based on an image component of the extracted test pattern, a valid determination section 15 determines whether the test pattern is valid. In a case where it is determined that the test pattern is valid, a deformation correction control section 16 causes a test pattern analyzing section 13 to analyze the test pattern and detect a deformation of a video. On the basis of the detected deformation, a deformation control section 8 corrects deformation of a video projected and displayed.SELECTED DRAWING: Figure 1

Description

本発明は、投射型の表示装置、表示装置の制御方法、及びプログラムに関する。   The present invention relates to a projection-type display device, a display device control method, and a program.

近年、カメラを内蔵又は接続可能な投射型の表示装置(例えば液晶プロジェクタ)が実現されている。また、この液晶プロジェクタにおいては、投射表示したテストパターンをカメラで撮影して、その撮影画像から抽出したテストパターンの投射形状の歪みを検出し、その投射形状の歪みに基づいて投射表示映像の歪みを補正する機能も実現されている。   In recent years, a projection type display device (for example, a liquid crystal projector) capable of incorporating or connecting a camera has been realized. Also, in this liquid crystal projector, the projected test pattern is photographed by a camera, the distortion of the projection shape of the test pattern extracted from the photographed image is detected, and the distortion of the projected display image is based on the distortion of the projection shape. A function to correct the above is also realized.

また、特許文献1には、入力映像に対し、テストパターンを重畳した第1の映像とテストパターンのみの輝度レベルを反転させた第2の映像とをそれぞれ投射して撮影し、それらの撮影画像からテストパターンを抽出する技術が開示されている。具体的には、特許文献1に記載のプロジェクタは、第1の映像を撮影した撮影画像と、第2の映像を撮影した撮影画像の輝度レベルを白黒反転させた映像とを、加算演算することにより、テストパターンを抽出する。そして、特許文献1のプロジェクトは、抽出したテストパターンを解析して歪みを検出して、投射表示映像の歪みを補正する。   Further, in Patent Document 1, a first video obtained by superimposing a test pattern and a second video obtained by inverting the luminance level of only the test pattern are respectively projected and shot with respect to an input video, and these shot images are taken. A technique for extracting a test pattern from an image is disclosed. Specifically, the projector described in Patent Document 1 adds and calculates a captured image obtained by capturing the first video and a video obtained by reversing the luminance level of the captured image obtained by capturing the second video. To extract a test pattern. And the project of patent document 1 analyzes the extracted test pattern, detects distortion, and correct | amends distortion of a projection display image | video.

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

しかしながら、前述したカメラを内蔵又は接続可能な表示装置は、例えば、外光が突発的に画面に入射したり、人物が画面前を横切ったりする等の外乱により、撮影が失敗することがある。撮影が失敗した場合、撮影画像からテストパターンを抽出できなくなり、その結果、投射表示映像の歪みの補正が出来なくなる。また、表示装置は、テストパターンの解析処理を終えるまで、撮影が失敗したか否かを判断できない。このように撮影が失敗した場合、テストパターンの解析に要した処理が無駄になり、その無駄な解析処理が行われることにより、無駄に電力が消費されてしまうことになる。   However, in the above-described display device with a built-in or connectable camera, photographing may fail due to disturbances such as external light suddenly entering the screen or a person crossing the front of the screen. If shooting fails, the test pattern cannot be extracted from the shot image, and as a result, the distortion of the projected display image cannot be corrected. Further, the display device cannot determine whether or not the imaging has failed until the test pattern analysis process is completed. In this way, when shooting fails, processing required for analysis of the test pattern is wasted, and power is wasted due to the wasteful analysis processing.

そこで、本発明は、投射表示映像の歪み補正処理に係る消費電力を低減することを目的とする。   Accordingly, an object of the present invention is to reduce power consumption related to distortion correction processing of a projected display image.

本発明は、テストパターンが投射表示された投射面に対する撮影画像からテストパターンを抽出し、抽出されたテストパターンが有効なテストパターンかどうかを判定して、有効なテストパターンであると判定された場合、その有効と判定されたテストパターンに基づいて、投射表示される映像の歪みを検出する処理を実行し、検出された歪みに基づいて、投射表示される映像の歪みを補正することを特徴とする。   In the present invention, a test pattern is extracted from a captured image on a projection surface on which a test pattern is projected and displayed, and it is determined whether or not the extracted test pattern is a valid test pattern. In this case, a process for detecting distortion of the projected and displayed video is executed based on the test pattern determined to be valid, and the distortion of the projected and displayed video is corrected based on the detected distortion. And

本発明によれば、投射表示映像の歪み補正処理に係る消費電力を低減することが可能となる。   ADVANTAGE OF THE INVENTION According to this invention, it becomes possible to reduce the power consumption which concerns on the distortion correction process of a projection display image | video.

第1の実施形態の液晶プロジェクタの概略構成例を示す図である。It is a figure which shows the example of schematic structure of the liquid crystal projector of 1st Embodiment. テストパターンの挿入と抽出の方法を説明する図である。It is a figure explaining the method of insertion and extraction of a test pattern. テストパターンの生成方法を説明する図である。It is a figure explaining the production | generation method of a test pattern. テストパターンによる位置検出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the position detection process by a test pattern. 第1の実施形態の有効判定部の概略構成を示す図である。It is a figure which shows schematic structure of the validity determination part of 1st Embodiment. 検出ウインドウの設定例を示す図である。It is a figure which shows the example of a setting of a detection window. 有効判定の際の閾値を説明する図である。It is a figure explaining the threshold value in the case of validity determination. 第1の実施形態の歪み補正の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process of distortion correction of 1st Embodiment. 第1の動作例を説明するタイミングチャートである。It is a timing chart explaining the 1st example of operation. 第2の動作例を説明するタイミングチャートである。It is a timing chart explaining the 2nd example of operation. 第2の実施形態の液晶プロジェクタの概略構成例を示す図である。It is a figure which shows the example of schematic structure of the liquid crystal projector of 2nd Embodiment. 第2の実施形態のテストパターンの例を示す図である。It is a figure which shows the example of the test pattern of 2nd Embodiment. 第2の実施形態の有効判定部の概略構成を示す図である。It is a figure which shows schematic structure of the validity determination part of 2nd Embodiment. 第2の実施形態の歪み補正の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process of distortion correction of 2nd Embodiment.

以下、添付の図面を参照して、本発明の好適な実施形態について詳細に説明する。なお、以下の実施形態において示す構成は一例に過ぎず、本発明は図示された構成に限定されるものではない。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. The configurations shown in the following embodiments are merely examples, and the present invention is not limited to the illustrated configurations.

本実施形態の表示装置は、カメラを内蔵又は接続可能な投射型の表示装置(液晶プロジェクタ)である。また、本実施形態の表示装置は、投射表示したテストパターンをカメラで撮影し、その撮影画像から抽出したテストパターンの投射形状の歪みを検出して、その投射形状の歪みに基づいて投射表示映像の歪みを補正する機能を有している。以下の各実施形態では、カメラを内蔵した投射型の液晶プロジェクタにおいて、テストパターンを撮影して投射表示映像の台形歪みを補正する例を説明する。また、詳細は後述するが、本実施形態の液晶プロジェクタは、撮影された画像のテストパターンが有効か否かを判定し、有効な場合にのみテストパターンの解析以降の処理を実行する。   The display device of the present embodiment is a projection type display device (liquid crystal projector) in which a camera can be incorporated or connected. In addition, the display device of the present embodiment shoots a projected test pattern with a camera, detects a distortion in the projection shape of the test pattern extracted from the captured image, and displays a projected display image based on the distortion in the projection shape. It has a function to correct distortion. In the following embodiments, an example will be described in which a projection type liquid crystal projector with a built-in camera captures a test pattern and corrects a trapezoidal distortion of a projected display image. Although details will be described later, the liquid crystal projector according to the present embodiment determines whether or not the test pattern of the photographed image is valid, and executes the process after the analysis of the test pattern only when the test pattern is valid.

<第1の実施形態>
図1は、第1の実施形態のカメラ内蔵型の液晶プロジェクタ1の概略構成例を示す図である。図1に示す本実施形態の液晶プロジェクタ1において、映像入力部3から表示パネル10までがスクリーン2へ映像を投射表示させるための構成である。また、図1に示す本実施形態の液晶プロジェクタ1において、カメラ11から歪み補正制御部16まで、及び、倍速変換部5、テストパターン生成部6、ブレンド部7、歪み補正部8が、映像撮影と歪み補正に関わる構成となされている。
<First Embodiment>
FIG. 1 is a diagram illustrating a schematic configuration example of a camera built-in type liquid crystal projector 1 according to the first embodiment. In the liquid crystal projector 1 of the present embodiment shown in FIG. 1, the video input unit 3 to the display panel 10 are configured to project and display video on the screen 2. Further, in the liquid crystal projector 1 of the present embodiment shown in FIG. 1, the camera 11 to the distortion correction control unit 16, the double speed conversion unit 5, the test pattern generation unit 6, the blend unit 7, and the distortion correction unit 8 are used for video shooting. And a configuration related to distortion correction.

先ず、映像入力部3から表示パネル10までの構成について説明する。
映像入力部3には、外部のソース機器から非圧縮の画像データが供給される。画像データは、HDMI(登録商標)やDVI、ディスプレイポート等のインタフェース規格に従った伝送方式により入力される。画像データは、スクリーン2に投射表示されるコンテンツ映像のデータである。映像入力部3に入力された、コンテンツ映像の画像データは、画像処理部4に送られる。
First, the configuration from the video input unit 3 to the display panel 10 will be described.
The video input unit 3 is supplied with uncompressed image data from an external source device. The image data is input by a transmission method according to interface standards such as HDMI (registered trademark), DVI, and display port. The image data is content video data projected and displayed on the screen 2. The image data of the content video input to the video input unit 3 is sent to the image processing unit 4.

画像処理部4は、コンテンツ映像の画像データに対し、画像の色や輪郭等の補正を行って画像を高画質化する。画像処理部4による処理後の画像データは、倍速変換部5に送られる。倍速変換部5は、画像データのフレームレートを倍速にする。具体的には、倍速変換部5は、画像処理部4から供給された画像データの各画像フレームをそれぞれ連続して二度出し処理することにより、倍速フレームレートの画像データを生成する。本実施形態の場合、画像処理部4からは60fps(フレーム/秒)の画像データが出力され、倍速変換部5は、その60fpsの画像データの各画像フレームをそれぞれ連続して二度出し処理することにより、120fpsの画像データに変換する。倍速変換部5からの倍速フレームレートの画像データは、ブレンド部7に送られる。   The image processing unit 4 corrects the color and contour of the image for the image data of the content video to improve the image quality. The image data processed by the image processing unit 4 is sent to the double speed conversion unit 5. The double speed conversion unit 5 doubles the frame rate of the image data. Specifically, the double-speed conversion unit 5 generates image data at a double-speed frame rate by processing each image frame of the image data supplied from the image processing unit 4 twice in succession. In the case of this embodiment, image data of 60 fps (frames / second) is output from the image processing unit 4, and the double speed conversion unit 5 continuously outputs each image frame of the 60 fps image data twice. Thus, the image data is converted to 120 fps. The double-speed frame rate image data from the double-speed conversion unit 5 is sent to the blending unit 7.

テストパターン生成部6は、投射表示映像の歪みを検出するためのテストパターンの画像データ(以下、テストパターンとのみ表記する。)を生成する。テストパターン生成部6にて生成されたテストパターンは、ブレンド部7に送られる。なお、本実施形態において、テストパターン生成部6によるテストパターンの生成処理には、テストパターンの画像データを実際に生成する処理だけでなく、予め用意されて図示しないメモリ等に記憶されているテストパターンを読み出す処理も含まれる。また、テストパターン生成部6が液晶プロジェクタ1の外部に存在していてもよい。この場合、液晶プロジェクタ1のブレンド部7は、外部のテストパターン生成部6により生成されたテストパターンを取得することになる。   The test pattern generation unit 6 generates image data of a test pattern for detecting distortion of the projected display video (hereinafter, only described as a test pattern). The test pattern generated by the test pattern generation unit 6 is sent to the blend unit 7. In the present embodiment, the test pattern generation process by the test pattern generation unit 6 includes not only a process of actually generating test pattern image data but also a test prepared in advance and stored in a memory (not shown). A process of reading a pattern is also included. In addition, the test pattern generation unit 6 may exist outside the liquid crystal projector 1. In this case, the blend unit 7 of the liquid crystal projector 1 acquires the test pattern generated by the external test pattern generation unit 6.

ブレンド部7は、倍速フレームレートの画像データの例えば8フレーム毎に、コンテンツ映像に対してテストパターン生成部6から供給されたテストパターンを重ね合わせる処理を行う。以下の説明では、コンテンツ映像にテストパターンの重ね合わせることを「重畳」と表記し、重ね合わせの処理を「重畳処理」と表記する。詳細は後述するが、ブレンド部7は、倍速フレームレートの各画像フレームのうち、前述した二度出し処理による同じ二つの画像フレームの一方にはテストパターンを加算し、他方にはテストパターンを減算するような重畳処理を行う。以下の説明では、前述した二度出し処理による同じ二つの画像フレームの一方の画像フレームに対して、テストパターンを加算する重畳処理を行った後の画像フレームを「テストパターン加算画像」と表記する。また、他方の画像フレームに対して、テストパターンを減算する重畳処理を行った後の画像フレームを「テストパターン減算画像」と表記する。テストパターン生成部6によるテストパターンの生成処理と、ブレンド部7における画像フレームに対するテストパターンの重畳処理の詳細については後述する。倍速フレームレートの画像データの8フレーム毎にテストパターンの重畳処理が行われた後の画像データは、歪み補正部8に送られる。   The blending unit 7 performs a process of superimposing the test pattern supplied from the test pattern generating unit 6 on the content video, for example, every 8 frames of the image data at the double frame rate. In the following description, superimposing a test pattern on a content video is referred to as “superimposition”, and the superimposing process is referred to as “superimposition processing”. As will be described in detail later, the blending unit 7 adds a test pattern to one of the same two image frames obtained by the above-described double out of the image frames at the double frame rate, and subtracts the test pattern to the other. Such superposition processing is performed. In the following description, an image frame after performing a superimposition process for adding a test pattern to one image frame of the same two image frames by the above-described double out process will be referred to as a “test pattern addition image”. . An image frame after performing a superimposition process for subtracting a test pattern on the other image frame is referred to as a “test pattern subtracted image”. Details of the test pattern generation processing by the test pattern generation unit 6 and the test pattern superimposition processing for the image frame in the blend unit 7 will be described later. The image data after the test pattern superimposition processing is performed every 8 frames of the image data at the double frame rate is sent to the distortion correction unit 8.

歪み補正部8は、例えば投射表示映像の歪みが無くなるように、コンテンツ映像の画像の形状を変形させるような歪み補正処理を行う。本実施形態では、投射表示映像が例えば台形に歪んでいる例を挙げているため、歪み補正部8は、その台形に歪む投射表示映像が例えば長方形になるような台形歪み補正のための画像処理を、コンテンツ映像の画像データに対して施す。具体的には、歪み補正部8は、後述する補正パラメータ作成部14からの補正パラメータに基づいて、コンテンツ映像の画像データにアフィン変換等の画像処理を施すことによる歪み補正処理を実行する。歪み補正部8による歪み補正処理後の画像データは、表示制御部9に送られる。   The distortion correction unit 8 performs a distortion correction process that deforms the shape of the content video image so that, for example, the distortion of the projected display video is eliminated. In the present embodiment, an example in which the projected display image is distorted into a trapezoid, for example, is given. Therefore, the distortion correction unit 8 performs image processing for correcting trapezoidal distortion so that the projected display image distorted into the trapezoid becomes, for example, a rectangle. Is applied to the image data of the content video. Specifically, the distortion correction unit 8 executes distortion correction processing by performing image processing such as affine transformation on the image data of the content video based on correction parameters from the correction parameter creation unit 14 described later. The image data after the distortion correction processing by the distortion correction unit 8 is sent to the display control unit 9.

表示制御部9は、表示パネル10の表示駆動制御を行う。具体的には、表示制御部9は、映像表示の際の同期信号に合わせて、画像データを表示パネル10に出力する。表示パネル10は、表示制御部9による表示駆動制御の下、画像データに基づく映像をスクリーン2に投射する。表示パネル10は、液晶パネル、パネルドライブ回路、光源ランプ、プリズム、投射レンズ等を有して構成されている。表示制御部9による同期信号に合わせた表示パネル10の表示駆動のタイミング制御等の詳細については後述する。   The display control unit 9 performs display drive control of the display panel 10. Specifically, the display control unit 9 outputs image data to the display panel 10 in accordance with a synchronization signal at the time of video display. The display panel 10 projects an image based on the image data onto the screen 2 under display drive control by the display control unit 9. The display panel 10 includes a liquid crystal panel, a panel drive circuit, a light source lamp, a prism, a projection lens, and the like. Details of the display control timing control of the display panel 10 in accordance with the synchronization signal by the display control unit 9 will be described later.

以下、カメラ11から歪み補正制御部16までの構成について説明する。
カメラ11は、歪み補正制御部16により撮影動作が制御され、スクリーン2の投射面に投射されている表示映像を撮影する。具体的には、カメラ11は、前述したように同じ二枚の画像フレームから生成されたテストパターン加算画像の投射表示映像とテストパターン減算画像の投射表示映像とを撮影する。カメラ11の映像撮影実行のタイミング等の詳細については後述する。カメラ11による撮影画像のデータは、差分抽出部12に送られる。
Hereinafter, the configuration from the camera 11 to the distortion correction control unit 16 will be described.
The camera 11 is imaged by the distortion correction control unit 16 and shoots a display image projected on the projection surface of the screen 2. Specifically, as described above, the camera 11 captures the projection display video of the test pattern addition image and the projection display video of the test pattern subtraction image generated from the same two image frames. Details of the timing of execution of video shooting by the camera 11 will be described later. Data of an image captured by the camera 11 is sent to the difference extraction unit 12.

差分抽出部12は、カメラ11にて撮影された撮影画像の連続する二枚の撮影画像フレームから差分画像を生成する。ここで、差分抽出部12には、前述したテストパターン加算画像とテストパターン減算画像の投射表示映像を、カメラ11がそれぞれ撮影した二枚の撮影画像フレームの画像データが供給される。このため、差分抽出部12から出力される差分画像は、投射表示映像の撮影画像からコンテンツ映像の画像成分が取り除かれた後の画像成分からなる画像であり、それはテストパターンの画像成分に相当する。差分抽出部12は、このようにして生成した差分画像を、抽出したテストパターンのデータとして出力する。なお、撮影画像の連続した二枚の撮影画像フレームが、前述したテストパターン加算画像とテストパターン減算画像ではない場合、つまりコンテンツ映像のみの二つの画像フレームである場合、その差分画像は、画像全面に渡って画素値が略々0となる。このようにして差分抽出部12により撮影画像から抽出されたテストパターンのデータは、テストパターン解析部13と有効判定部15に送られる。   The difference extraction unit 12 generates a difference image from two consecutive captured image frames of captured images captured by the camera 11. Here, the difference extraction unit 12 is supplied with image data of two captured image frames obtained by the camera 11 respectively capturing the projected display images of the test pattern addition image and the test pattern subtraction image. For this reason, the difference image output from the difference extraction unit 12 is an image composed of image components after the image component of the content video is removed from the captured image of the projected display video, which corresponds to the image component of the test pattern. . The difference extraction unit 12 outputs the difference image generated in this way as extracted test pattern data. Note that if the two consecutive captured image frames of the captured image are not the test pattern addition image and the test pattern subtraction image described above, that is, two image frames of only the content video, the difference image is the entire image. The pixel value becomes approximately 0 over the period. The test pattern data extracted from the photographed image by the difference extraction unit 12 in this way is sent to the test pattern analysis unit 13 and the validity determination unit 15.

テストパターン解析部13は、差分抽出部12にて抽出された差分画像(テストパターンの画像成分)に対する解析処理を実行して、投射表示映像の位置を検出し、その位置から投射表示映像の歪みを検出する。テストパターン解析部13における位置検出処理の詳細は後述する。テストパターン解析部13による解析結果の信号は、補正パラメータ作成部14に送られる。補正パラメータ作成部14は、テストパターン解析部13から解析結果の信号を受け取ると、その解析結果に基づいて、歪み補正部8で歪み補正を行う際の補正パラメータを生成する。本実施形態の場合、補正パラメータ作成部14は、解析結果に基づいて、台形に歪んだ投射表示映像が長方形の投射表示映像になるように補正するための補正パラメータを生成する。この補正パラメータが、歪み補正部8に送られる。   The test pattern analysis unit 13 performs an analysis process on the difference image (the image component of the test pattern) extracted by the difference extraction unit 12, detects the position of the projection display image, and distorts the projection display image from the position. Is detected. Details of the position detection process in the test pattern analysis unit 13 will be described later. The signal of the analysis result by the test pattern analysis unit 13 is sent to the correction parameter creation unit 14. When receiving the analysis result signal from the test pattern analysis unit 13, the correction parameter creation unit 14 generates a correction parameter when the distortion correction unit 8 performs distortion correction based on the analysis result. In the case of the present embodiment, the correction parameter creation unit 14 generates a correction parameter for correcting the projection display image distorted into a trapezoid into a rectangular projection display image based on the analysis result. This correction parameter is sent to the distortion correction unit 8.

有効判定部15は、差分抽出部12にて検出されたテストパターンが有効なテストパターンであるかどうかを判定する。以下、有効なテストパターンであると判定されるテストパターンを「有効テストパターン」と表記し、有効でないテストパターンと判定されるテストパターンを「無効テストパターン」と表記する。有効判定部15は、差分抽出部12により撮影画像から抽出された画像成分(差分画像)が、テストパターンを含む投射表示映像の撮影が成功したときに抽出されるべき画像成分であるか否かを判定する。そして、有効判定部15は、撮影画像から抽出された画像成分(差分画像)が、テストパターンを含む投射表示映像の撮影が成功したときに抽出されるべき画像成分であると判定できたときにのみ、そのテストパターンは有効テストパターンであると判定する。有効判定部15における有効判定処理の詳細な説明については後述する。有効判定部15による有効判定結果の信号は、歪み補正制御部16に送られる。   The validity determination unit 15 determines whether or not the test pattern detected by the difference extraction unit 12 is a valid test pattern. Hereinafter, a test pattern that is determined to be an effective test pattern is referred to as an “effective test pattern”, and a test pattern that is determined to be an invalid test pattern is referred to as an “invalid test pattern”. The validity determination unit 15 determines whether the image component (difference image) extracted from the captured image by the difference extraction unit 12 is an image component to be extracted when the projection display image including the test pattern is successfully captured. Determine. When the validity determination unit 15 determines that the image component (difference image) extracted from the captured image is an image component to be extracted when the projection display image including the test pattern is successfully captured. Only the test pattern is determined to be an effective test pattern. The detailed description of the validity determination process in the validity determination unit 15 will be described later. The signal of the validity determination result by the validity determination unit 15 is sent to the distortion correction control unit 16.

歪み補正制御部16は、カメラ11の制御や、テストパターン解析部13の解析処理の実行制御等を行う。特に本実施形態では、歪み補正制御部16は、有効判定部15から有効テストパターンであることの判定結果が送られてきたときには、テストパターン解析部13に対してテストパターン解析処理を実行させるような制御を行う。この場合、テストパターン解析部13から補正パラメータ作成部14にテストパターン解析処理結果の信号が送られ、補正パラメータ作成部14から歪み補正部8に補正パラメータが送られて、歪み補正部8による歪み補正処理が行われることになる。一方、有効判定部15から無効テストパターンであることの判定結果が送られてきた場合、歪み補正制御部16は、テストパターン解析部13によるテストパターン解析処理を実行させないように制御する。また、歪み補正制御部16は、ブレンド部7におけるテストパターンの重畳処理機能の制御も行っている。歪み補正制御部16で行われる処理と制御の詳細については後述する。   The distortion correction control unit 16 performs control of the camera 11, execution control of analysis processing of the test pattern analysis unit 13, and the like. In particular, in this embodiment, the distortion correction control unit 16 causes the test pattern analysis unit 13 to execute test pattern analysis processing when a determination result indicating that the test pattern is an effective test pattern is sent from the validity determination unit 15. Control. In this case, a test pattern analysis processing result signal is sent from the test pattern analysis unit 13 to the correction parameter creation unit 14, and a correction parameter is sent from the correction parameter creation unit 14 to the distortion correction unit 8. Correction processing is performed. On the other hand, when a determination result indicating that the test pattern is invalid is sent from the validity determination unit 15, the distortion correction control unit 16 performs control so that the test pattern analysis process by the test pattern analysis unit 13 is not executed. The distortion correction control unit 16 also controls the superimposition processing function of the test pattern in the blend unit 7. Details of processing and control performed by the distortion correction control unit 16 will be described later.

<テストパターンの重ね合わせの方法及び検出方法>
以下、図2(a)〜図2(d)を用いて、ブレンド部7におけるテストパターンの重ね合わせの方法について説明する。本実施形態では、前述したように、コンテンツ映像の8フレーム毎にテストパターン加算画像とテストパターン減算画像が生成されて、それらが連続するように交互に投射表示される。ここで、それらテストパターン加算画像とテストパターン減算画像とが高速に交互に切り換えられて投射表示された場合、ユーザからは、画像フレームに加算されたテストパターンと減算されたテストパターンとが相殺されて見えなくなる。このように、本実施形態では、テストパターン加算画像とテストパターン減算画像とを高速に交互に切り換えて投射表示することにより、テストパターンをユーザから不可視にしている。
<Test pattern overlay method and detection method>
Hereinafter, a method for overlaying test patterns in the blend unit 7 will be described with reference to FIGS. 2 (a) to 2 (d). In the present embodiment, as described above, a test pattern addition image and a test pattern subtraction image are generated every 8 frames of the content video, and are projected and displayed alternately so that they are continuous. Here, when the test pattern addition image and the test pattern subtraction image are alternately switched at high speed and projected and displayed, the test pattern added to the image frame and the subtracted test pattern are canceled out by the user. Disappear. Thus, in the present embodiment, the test pattern is made invisible to the user by alternately switching the test pattern addition image and the test pattern subtraction image at high speed and projecting and displaying them.

図2(a)は、コンテンツ映像の一例の説明図である。ここでは、コンテンツ映像の画像の一例として、映像全面に渡って輝度が一様な画像を、図1のスクリーン2に投射し、そのスクリーン2上の投射表示映像22をカメラ11で撮影する場合を例に挙げて説明する。映像全面に渡って輝度が一様な画像のみをスクリーン2に投射し、その投射表示映像22をカメラ11にて撮影した場合、図2(a)のグラフに示すような画素値と画素位置の関係を有した撮影画像が得られることになる。図2(a)のグラフにおいて、縦軸は投射表示映像22をカメラ11にて撮影した撮影画像のラインA−A'における画素値を表し、横軸はラインA−A'における各画素の画素位置を表している。この図2(a)に示すように、映像全面の輝度が一様な画像がスクリーン2に投射され、そのスクリーン2上の投射表示映像22をカメラ11で撮影した場合には、各画素値の輝度のレベルが一定の値になった撮影画像が得られる。   FIG. 2A is an explanatory diagram of an example of a content video. Here, as an example of the content video image, a case where an image having a uniform luminance over the entire video surface is projected onto the screen 2 in FIG. 1, and the projected display video 22 on the screen 2 is captured by the camera 11. An example will be described. When only an image with uniform brightness over the entire image is projected onto the screen 2 and the projected display image 22 is captured by the camera 11, the pixel values and pixel positions as shown in the graph of FIG. A photographed image having a relationship is obtained. In the graph of FIG. 2A, the vertical axis represents the pixel value in the line AA ′ of the captured image obtained by capturing the projection display image 22 with the camera 11, and the horizontal axis represents the pixel of each pixel in the line AA ′. Represents the position. As shown in FIG. 2A, when an image having a uniform luminance on the entire image is projected on the screen 2 and the projected display image 22 on the screen 2 is photographed by the camera 11, each pixel value A captured image having a constant luminance level is obtained.

図2(b)は、テストパターンの一例の説明図である。テストパターンは、投射表示映像20の中にランダムに配置される複数の点状の図形21によって形成されている。また、テストパターンの点状の各図形21は、スクリーン2上に投射されたときに、各画素の輝度が所定の値になる画像となされている。ここで、例えばこのテストパターンのみをスクリーン2に投射し、その投射表示映像20をカメラ11にて撮影した場合には、図2(b)のグラフに示すような画素値と画素位置の関係を有した撮影画像が得られることになる。図2(b)のグラフにおいて、縦軸は投射表示映像20をカメラ11にて撮影した撮影画像のラインA−A'における画素値を表し、横軸はラインA−A'における各画素の画素位置を表している。この図2(b)に示すように、テストパターンのみをスクリーン2に投射して、その投射表示映像20をカメラ11で撮影した場合には、テストパターンの図形21に対応した画素位置の画素が所定の輝度の値になった撮影画像が得られる。   FIG. 2B is an explanatory diagram of an example of a test pattern. The test pattern is formed by a plurality of dot-like figures 21 that are randomly arranged in the projected display image 20. In addition, each dot-like figure 21 of the test pattern is an image in which the luminance of each pixel becomes a predetermined value when projected onto the screen 2. Here, for example, when only this test pattern is projected on the screen 2 and the projected display image 20 is photographed by the camera 11, the relationship between the pixel value and the pixel position as shown in the graph of FIG. The captured image is obtained. In the graph of FIG. 2B, the vertical axis represents the pixel value in the line AA ′ of the captured image obtained by capturing the projection display image 20 with the camera 11, and the horizontal axis represents the pixel of each pixel in the line AA ′. Represents the position. As shown in FIG. 2B, when only the test pattern is projected onto the screen 2 and the projected display image 20 is photographed by the camera 11, the pixel at the pixel position corresponding to the graphic 21 of the test pattern is displayed. A captured image having a predetermined luminance value is obtained.

図2(c)は、コンテンツ映像に対してテストパターンを重畳してスクリーン2に投射した場合の説明図である。図2(c)は、コンテンツ映像の画像の画素値にテストパターンの画素値を加算することで生成されるテストパターン加算画像の例を示している。ここで、コンテンツ映像の画像は図2(a)で説明した画像であり、テストパターンは図2(b)で説明した画像であるとする。この例に示すようなテストパターン加算画像をスクリーン2に投射し、その投射表示映像23をカメラ11にて撮影した場合には、図2(c)のグラフに示すような画素値と画素位置の関係を有した撮影画像が得られる。図2(c)のグラフにおいて、縦軸は投射表示映像23をカメラ11にて撮影した撮影画像のラインA−A'における画素値を表し、横軸はラインA−A'における各画素の画素位置を表している。この図2(c)に示すようなテストパターン加算画像の投射表示映像23をカメラ11で撮影した場合には、コンテンツ映像の一定輝度レベルに、テストパターンの図形24による輝度値が加算された撮影画像が得られる。   FIG. 2C is an explanatory diagram when a test pattern is superimposed on the content video and projected onto the screen 2. FIG. 2C shows an example of a test pattern addition image generated by adding the pixel value of the test pattern to the pixel value of the content video image. Here, it is assumed that the content video image is the image described with reference to FIG. 2A and the test pattern is the image described with reference to FIG. When a test pattern addition image as shown in this example is projected onto the screen 2 and the projection display image 23 is taken by the camera 11, the pixel values and pixel positions shown in the graph of FIG. A captured image having a relationship is obtained. In the graph of FIG. 2C, the vertical axis represents the pixel value in line AA ′ of the captured image obtained by photographing the projection display image 23 with the camera 11, and the horizontal axis represents the pixel of each pixel in line AA ′. Represents the position. When the projection display image 23 of the test pattern addition image as shown in FIG. 2C is captured by the camera 11, the luminance value of the test pattern graphic 24 is added to the constant luminance level of the content image. An image is obtained.

図2(d)は、コンテンツ映像に対してテストパターンを重畳してスクリーン2に投射した場合の説明図である。図2(d)は、図2(a)で説明したコンテンツ映像の画像の画素値から、図2(b)で説明したテストパターンの画素値を減算することで生成されるコンテンツ減算画像の例を示している。この図2(d)の例のようなテストパターン減算画像をスクリーン2に投射し、その投射表示映像25をカメラ11にて撮影した場合には、図2(d)のグラフに示すような画素値と画素位置の関係を有した撮影画像が得られる。図2(d)のグラフにおいて、縦軸は投射表示映像25をカメラ11にて撮影した撮影画像のラインA−A'における画素値を表し、横軸はラインA−A'における各画素の画素位置を表している。この図2(d)に示すようなテストパターン減算画像の投射表示映像25をカメラ11で撮影した場合には、コンテンツ映像の一定輝度レベルからテストパターンの図形26による輝度値が減算された撮影画像が得られる。   FIG. 2D is an explanatory diagram when a test pattern is superimposed on the content video and projected onto the screen 2. FIG. 2D shows an example of a content subtraction image generated by subtracting the pixel value of the test pattern described in FIG. 2B from the pixel value of the content video image described in FIG. Is shown. When the test pattern subtraction image as in the example of FIG. 2D is projected on the screen 2 and the projected display image 25 is taken by the camera 11, the pixels shown in the graph of FIG. A captured image having a relationship between the value and the pixel position is obtained. In the graph of FIG. 2D, the vertical axis represents the pixel value in the line AA ′ of the captured image obtained by photographing the projection display image 25 with the camera 11, and the horizontal axis represents the pixel of each pixel in the line AA ′. Represents the position. When the projection display image 25 of the test pattern subtraction image as shown in FIG. 2D is captured by the camera 11, the captured image is obtained by subtracting the luminance value of the test pattern graphic 26 from the constant luminance level of the content image. Is obtained.

本実施形態の液晶プロジェクタは、図2(c)に示したようなテストパターン加算画像と、図2(d)に示したようにテストパターン減算画像とを、高速に切り換えてスクリーン2に投射表示する。そして、液晶プロジェクタは、カメラ11により、図2(c)の投射表示映像23と図2(d)の投射表示映像25とを撮影し、それらの撮影画像からテストパターンを検出する。具体的には、本実施形態の液晶プロジェクタは、図2(c)の投射表示映像23と図2(d)の投射表示映像25とを撮影した二枚の撮影画像の差分をとって、差分画像を生成する。この差分画像は、図2(c)の投射表示映像23と図2(d)の投射表示映像25からコンテンツ映像が除去された画像成分であり、図2(b)のテストパターンに相当する画像となる。そして、本実施形態の液晶プロジェクタは、その検出されたテストパターンを用いて投射表示映像の歪みを補正する。このように、本実施形態によれば、テストパターン加算画像とテストパターン減算画像とを高速に切り換え投射表示することによってテストパターンをユーザから不可視にした状態で、投射表示映像の歪みを補正する。すなわち、本実施形態の液晶プロジェクタは、ユーザがコンテンツ映像を観ている状態でも歪み補正を行うことが可能になっている。   The liquid crystal projector according to the present embodiment switches the test pattern addition image as shown in FIG. 2C and the test pattern subtraction image as shown in FIG. To do. Then, the liquid crystal projector captures the projection display image 23 in FIG. 2C and the projection display image 25 in FIG. 2D with the camera 11, and detects a test pattern from these captured images. Specifically, the liquid crystal projector according to the present embodiment takes a difference between two captured images obtained by capturing the projection display image 23 in FIG. 2C and the projection display image 25 in FIG. Generate an image. This difference image is an image component obtained by removing the content video from the projection display video 23 in FIG. 2C and the projection display video 25 in FIG. 2D, and corresponds to the test pattern in FIG. It becomes. Then, the liquid crystal projector of the present embodiment corrects the distortion of the projected display image using the detected test pattern. As described above, according to the present embodiment, the distortion of the projected display image is corrected in a state in which the test pattern is invisible to the user by switching the test pattern addition image and the test pattern subtraction image at high speed and performing projection display. That is, the liquid crystal projector of the present embodiment can perform distortion correction even when the user is watching the content video.

<テストパターンの作成方法>
以下、テストパターン生成部6におけるテストパターン作成方法について説明する。本実施形態のテストパターンは、前述したようにランダムに配置される点状の図形からなるパターンである。ここで、ランダムに配置される点状の図形からなるテストパターンは、コンテンツ映像に重畳されてスクリーン2に投射された際に、ユーザから見え難いパターンである。例えば、コンテンツ映像にテストパターンを重畳した場合、そのテストパターンの投射映像部分はコントラストが低下等することがあり、コンテンツ映像の投射表示映像の画質に多少影響を及ぼす可能性がある。例えば、幾何形状等のテストパターンを用いた場合には、そのテストパターンに起因した画質低下部分がユーザから視認され易くなるが、点状の図形からなるテストパターンの場合は、ユーザからは視認され難い。また、点状の図形からなるパターンは、スクリーン2が複雑な形状のスクリーンである場合にも対応し易い。例えば、点状の図形からなるテストパターンの場合、スクリーン2上の投射表示映像の任意の座標位置の歪み具合を検出し易いため、スクリーン2として例えばカーテンのような複雑な形状のものが用いられた場合にも対応し易い。本実施形態では、このような理由から、ランダムに配置される点状の図形からなるテストパターンを用いている。
<How to create a test pattern>
Hereinafter, a test pattern creation method in the test pattern generation unit 6 will be described. As described above, the test pattern of the present embodiment is a pattern composed of dot-like figures arranged randomly. Here, the test pattern composed of dot-like figures arranged at random is a pattern that is difficult for the user to see when superimposed on the content video and projected onto the screen 2. For example, when a test pattern is superimposed on a content video, the projected video portion of the test pattern may have a reduced contrast or the like, which may slightly affect the image quality of the projected video of the content video. For example, when a test pattern such as a geometric shape is used, the image quality degradation portion caused by the test pattern is easily visible to the user. hard. Moreover, the pattern which consists of a dotted | punctate figure is easy to respond | correspond also when the screen 2 is a screen of a complicated shape. For example, in the case of a test pattern composed of dot-like figures, it is easy to detect the degree of distortion at an arbitrary coordinate position of the projected display image on the screen 2, so that a screen 2 having a complicated shape such as a curtain is used. It is easy to cope with the case. In the present embodiment, for such a reason, a test pattern composed of dot-like figures arranged at random is used.

図3は、テストパターン生成部6におけるテストパターンの作成方法の説明図である。テストパターン生成部6は、図3に示すように、それぞれ大きさの異なる三つのタイル画像31,33,35を生成する。これら三つのタイル画像31,33,35は、予め用意されていてもよく、また、テストパターンの生成処理の際に作成されてもよい。テストパターン生成部6は、点状の複数の図形がランダムに配置されたパターン30を、それら三つのタイル画像31,33,35に対してそれぞれ書き込む。なお、図3の例では、タイル画像31は縦×横の画素数がl×lのサイズのタイル画像、タイル画像33はm×mのサイズのタイル画像、タイル画像35はn×nのサイズのタイル画像であるとする。これらl,m,nは、l<m<nである。   FIG. 3 is an explanatory diagram of a test pattern creation method in the test pattern generation unit 6. As shown in FIG. 3, the test pattern generation unit 6 generates three tile images 31, 33, and 35 having different sizes. These three tile images 31, 33, and 35 may be prepared in advance or may be created during the test pattern generation process. The test pattern generation unit 6 writes a pattern 30 in which a plurality of dot-like figures are randomly arranged in the three tile images 31, 33, and 35, respectively. In the example of FIG. 3, the tile image 31 is a tile image having a size of 1 × 1 in length × width pixels, the tile image 33 is a tile image of m × m size, and the tile image 35 is of n × n size. Is a tile image. These l, m, and n are l <m <n.

次に、テストパターン生成部6は、前述した大きさ別に、各タイル画像を繰り返し敷き詰めてそれぞれ画像プレーンを作成する。具体的には、テストパターン生成部6は、タイル画像31を繰り返し敷き詰めた画像プレーン32と、タイル画像33を繰り返し敷き詰めた画像プレーン34と、タイル画像35を繰り返し敷き詰めた画像プレーン36との、三つの画像プレーンを作成する。そして、テストパターン生成部6は、それら三つの画像プレーン32,34,36を加算処理38により加算して一つに重ね合わせた画像プレーンを、テストパターン37として生成する。   Next, the test pattern generation unit 6 repeatedly lays down each tile image for each size described above to create an image plane. Specifically, the test pattern generation unit 6 includes an image plane 32 in which tile images 31 are repeatedly laid, an image plane 34 in which tile images 33 are repeatedly laid, and an image plane 36 in which tile images 35 are repeatedly laid. Create two image planes. Then, the test pattern generation unit 6 adds the three image planes 32, 34, and 36 by the addition process 38 and generates an image plane obtained by superimposing them as a test pattern 37.

<テストパターン解析による位置検出方法>
以下、テストパターン解析部13による位置検出の原理について説明する。本実施形態において、図3で説明したテストパターン37の生成の際に使用された三つのタイル画像31,33,35の位相関係は予め判っている。このため、テストパターン解析部13は、撮影画像から検出されたテストパターンについて、それら三つのタイル画像31,33,35の位相関係を満足するオフセット値を求め、そのオフセット値を基に座標位置を検出する。
<Position detection method by test pattern analysis>
Hereinafter, the principle of position detection by the test pattern analysis unit 13 will be described. In the present embodiment, the phase relationship between the three tile images 31, 33, and 35 used in generating the test pattern 37 described in FIG. 3 is known in advance. For this reason, the test pattern analysis unit 13 obtains an offset value that satisfies the phase relationship between the three tile images 31, 33, and 35 for the test pattern detected from the captured image, and determines the coordinate position based on the offset value. To detect.

図4は、テストパターン解析部13による位置検出処理の流れを示すフローチャートである。図4のフローチャートに示した処理は、ハードウェア構成としての図1のテストパターン解析部13により実現されてもよいし、本実施形態に係るプログラムをCPU等で実行することにより実現されてもよい。このプログラムは、不図示のROM等に予め用意されていてもよく、不図示の記録媒体から読み出されてもよく、インターネット等を介してダウンロードされてRAM等にロードされてもよい。図4のフローチャートの処理は、有効判定部15によりテストパターンが有効テストパターンであると判定されて、歪み補正制御部16からテストパターン解析の実行指示がなされたことでスタートする。以下の説明では、フローチャートの各処理のステップS100〜ステップS104をS100〜S104と略記する。これ以降の他のフローチャートにおいても同様とする。   FIG. 4 is a flowchart showing a flow of position detection processing by the test pattern analysis unit 13. The process shown in the flowchart of FIG. 4 may be realized by the test pattern analysis unit 13 of FIG. 1 as a hardware configuration, or may be realized by executing a program according to the present embodiment on a CPU or the like. . This program may be prepared in advance in a ROM (not shown) or the like, read from a recording medium (not shown), or downloaded via the Internet or the like and loaded into a RAM or the like. The process of the flowchart of FIG. 4 starts when the validity determination unit 15 determines that the test pattern is a valid test pattern and the distortion correction control unit 16 issues an instruction to perform test pattern analysis. In the following description, steps S100 to S104 of each process in the flowchart are abbreviated as S100 to S104. The same applies to other flowcharts thereafter.

図4のフローチャートの処理がスタートすると、S100の処理として、テストパターン解析部13は、差分抽出部12より供給された撮影画像の差分画像から、部分画像を切り出す。一例として、テストパターン解析部13は、座標を検出したい位置、例えば差分画像の四隅から、予め決めた大きさの部分画像を切り出す。次に、テストパターン解析部13は、S101の処理として、FFT(高速フーリエ変換)等のアルゴリズムを用いて、部分画像の空間周波数成分を求める。S101の処理後、テストパターン解析部13は、S102に処理を進める。   When the process of the flowchart of FIG. 4 starts, the test pattern analysis unit 13 cuts out a partial image from the difference image of the captured image supplied from the difference extraction unit 12 as a process of S100. As an example, the test pattern analysis unit 13 cuts out a partial image having a predetermined size from a position where coordinates are to be detected, for example, from the four corners of the difference image. Next, the test pattern analysis unit 13 obtains a spatial frequency component of the partial image using an algorithm such as FFT (Fast Fourier Transform) as the process of S101. After the process of S101, the test pattern analysis unit 13 advances the process to S102.

S102では、テストパターン解析部13は、部分画像の空間周波数成分と、前述したタイル画像31,33,35について予め算出済みの空間周波数成分との間の、相互相関を求める。S102の処理後、テストパターン解析部13は、S103に処理を進める。S103では、テストパターン解析部13は、S102で求めた相互相関の値から、3つのタイル画像31,33,35の位相関係を計算する。S103の処理後、テストパターン解析部13は、S104に処理を進める。S104では、テストパターン解析部13は、S103で求めた位相関係を満足するオフセット値を求めることにより、座標位置を算出する。なお、オフセット値は、例えばいわゆる「中国の剰余定理」を使用することで算出可能である。   In S102, the test pattern analysis unit 13 obtains a cross-correlation between the spatial frequency component of the partial image and the spatial frequency component calculated in advance for the tile images 31, 33, and 35 described above. After the process of S102, the test pattern analysis unit 13 advances the process to S103. In S103, the test pattern analysis unit 13 calculates the phase relationship between the three tile images 31, 33, and 35 from the cross-correlation value obtained in S102. After the process of S103, the test pattern analysis unit 13 advances the process to S104. In S104, the test pattern analysis unit 13 calculates a coordinate position by obtaining an offset value that satisfies the phase relationship obtained in S103. The offset value can be calculated, for example, by using a so-called “Chinese remainder theorem”.

<テストパターンの有効判定の仕組み>
以下、図5〜図7を参照しながら、有効判定部15にて行われるテストパターンの有効判定処理について説明する。本実施形態の場合、有効判定部15は、撮影画像から抽出された画像成分(差分画像)が、テストパターンを含む投射表示映像の撮影が成功したときに抽出されるはずの画像成分であるか否かを判定する。そして、有効判定部15は、テストパターンを含む投射表示映像の撮影が成功したときに抽出される画像成分であると判定できたときにのみ、その撮影画像のテストパターンは有効テストパターンであると判定する。例えば、有効判定部15には、テストパターンを含む投射表示映像の撮影が成功したときに抽出されるはずの画像成分として、差分画像内に設定した検出ウインドウ内の画素値の積分値を求める。検出ウインドウの積分値は、その検出ウインドウ内におけるテストパターンの点状の図形の密度に相当する。そして、有効判定部15は、その検出ウインドウ内の積分値が、予め決めた所定の閾値範囲内であるか否かを判定し、所定の閾値範囲内である場合にのみ、テストパターンが有効テストパターンであると判定する。このときの所定の閾値範囲は、テストパターンを含む投射表示映像の撮影が成功したときの検出ウインドウ内のテストパターンの点状の図形の密度に応じた閾値範囲として、予め決められている。
<Test pattern validity judgment mechanism>
Hereinafter, the test pattern validity determination process performed by the validity determination unit 15 will be described with reference to FIGS. In the case of the present embodiment, the validity determination unit 15 determines whether the image component (difference image) extracted from the captured image is an image component that should be extracted when the projection display image including the test pattern is successfully captured. Determine whether or not. Then, the validity determination unit 15 determines that the test pattern of the captured image is an effective test pattern only when it can be determined that the image component is extracted when the projection display image including the test pattern is successfully captured. judge. For example, the validity determination unit 15 obtains an integral value of pixel values in the detection window set in the difference image as an image component that should be extracted when the projection display image including the test pattern is successfully captured. The integral value of the detection window corresponds to the density of dot-like figures of the test pattern in the detection window. Then, the validity determination unit 15 determines whether or not the integral value in the detection window is within a predetermined threshold range that is determined in advance, and only when the test pattern is within the predetermined threshold range, the test pattern is validated. The pattern is determined. The predetermined threshold range at this time is determined in advance as a threshold range corresponding to the density of the dotted pattern of the test pattern in the detection window when the projection display image including the test pattern is successfully captured.

より具体的に説明すると、カメラ11によりスクリーン2の投射表示映像を正常に撮影できた場合、差分抽出部12で求められた差分画像にはテストパターンの画像成分のみが含まれていることになる。またこのときの差分画像の検出ウインドウ内の画素値の積分値は、投射表示映像を正常に撮影できた場合の撮影画像に含まれているテストパターンの点状の図形の密度に応じた値になっているはずである。これに対し、外乱等によりカメラ11による撮影が失敗した場合、差分画像にはコンテンツ映像等のテストパターン以外の画像成分が含まれることになる。この場合、差分画像の検出ウインドウの積分値は、投射表示映像を正常に撮影できた場合のテストパターンの点状の図形の密度に応じた値とは異なる値になっている可能性が高い。したがって、外乱等により撮影が失敗した場合の差分画像の検出ウインドウにおける積分値は、撮影が成功したときの検出ウインドウ内のテストパターンの点状の図形の密度に応じた所定の閾値範囲からは外れている可能性が高い。このようなことから、有効判定部15は、差分画像の検出ウインドウ内の画素値の積分値と、所定の閾値範囲とを比較することで、テストパターンが有効テストパターンであるか否かの判定を行っている。   More specifically, when the projection display image on the screen 2 can be normally captured by the camera 11, the difference image obtained by the difference extraction unit 12 includes only the image component of the test pattern. . In addition, the integrated value of the pixel value in the detection window of the difference image at this time is a value corresponding to the density of the dotted pattern of the test pattern included in the captured image when the projection display image can be captured normally. It should be. On the other hand, when shooting by the camera 11 fails due to disturbance or the like, the difference image includes image components other than the test pattern such as a content video. In this case, the integration value of the detection window for the difference image is likely to be a value different from the value corresponding to the density of the dotted pattern of the test pattern when the projection display image can be normally captured. Therefore, the integral value in the detection window of the difference image when shooting fails due to disturbance or the like deviates from a predetermined threshold range according to the density of the dotted pattern of the test pattern in the detection window when shooting is successful. There is a high possibility. Therefore, the validity determination unit 15 determines whether or not the test pattern is an effective test pattern by comparing the integration value of the pixel values in the detection window of the difference image with a predetermined threshold range. It is carried out.

図5は、有効判定部15の内部構成例を示す図である。
図5の有効判定部15において、ウインドウ制御部50は、検出ウインドウを設定して、差分画像の画素が検出ウインドウの画像領域内の画素であるか否か判定する。具体的には、ウインドウ制御部50は、例えば歪み補正制御部16からカメラ11の同期信号や水平・垂直カウンタの値を取得しており、それらを基に、差分画像の画素が検出ウインドウの画像領域内の画素であるかどうかを判定する。そして、ウインドウ制御部50は、検出ウインドウの画像領域内の画素であると判定した画素値を積分するように積分部51に指示を送る。
FIG. 5 is a diagram illustrating an internal configuration example of the validity determination unit 15.
In the validity determination unit 15 in FIG. 5, the window control unit 50 sets a detection window and determines whether or not the pixel of the difference image is a pixel in the image area of the detection window. Specifically, the window control unit 50 acquires, for example, the synchronization signal of the camera 11 and the value of the horizontal / vertical counter from the distortion correction control unit 16, and based on these, the pixel of the difference image is the image of the detection window. It is determined whether the pixel is in the area. Then, the window control unit 50 sends an instruction to the integration unit 51 so as to integrate the pixel values determined to be pixels in the image area of the detection window.

積分部51は、ウインドウ制御部50からの積分指示に基づいて、検出ウインドウの画像領域内の各画素を積分(積算)し、その積分値を閾値判定部52に送る。閾値判定部52は、積分値と所定の閾値範囲とを比較することにより、テストパターンが有効テストパターンであるか否かを判定する。具体的には、閾値判定部52は、検出ウインドウの画像領域内の画素値の積分値が、所定の閾値範囲内である場合にはテストパターンは有効テストパターンであると判定し、所定の閾値範囲から外れる場合にはテストパターンは無効テストパターンであると判定する。この閾値判定部52の判定結果の信号は、図1の歪み補正制御部16に送られる。   The integration unit 51 integrates (integrates) each pixel in the image area of the detection window based on the integration instruction from the window control unit 50 and sends the integration value to the threshold value determination unit 52. The threshold determination unit 52 determines whether or not the test pattern is an effective test pattern by comparing the integral value with a predetermined threshold range. Specifically, the threshold determination unit 52 determines that the test pattern is an effective test pattern when the integrated value of the pixel values in the image area of the detection window is within a predetermined threshold range, and the predetermined threshold If it is out of range, it is determined that the test pattern is an invalid test pattern. The determination result signal of the threshold value determination unit 52 is sent to the distortion correction control unit 16 in FIG.

図6は、検出ウインドウの設定例の説明図である。図6に示す画像60は、差分抽出部12により撮影画像から生成された差分画像であり、ウインドウ制御部50は、例えばその中央の位置に検出ウインドウ61を設定する。なお、検出ウインドウ61の領域は、差分画像内の任意の位置に設定可能である。   FIG. 6 is an explanatory diagram of a setting example of the detection window. An image 60 shown in FIG. 6 is a difference image generated from the photographed image by the difference extraction unit 12, and the window control unit 50 sets the detection window 61 at the center position, for example. The region of the detection window 61 can be set at an arbitrary position in the difference image.

図7は、所定の閾値範囲の設定例の説明図である。図7に示すように、所定の閾値範囲は、積分値に対する上限閾値(TH_HIGH)71と下限閾値(TH_LOW)72とからなる。閾値判定部52は、検出ウインドウの画像領域内の積分値70(前述した密度)が、上限閾値71と下限閾値72の間の範囲内である場合に、テストパターンは有効テストパターンであると判定する。   FIG. 7 is an explanatory diagram of an example of setting a predetermined threshold range. As shown in FIG. 7, the predetermined threshold range includes an upper limit threshold (TH_HIGH) 71 and a lower limit threshold (TH_LOW) 72 for the integral value. The threshold determination unit 52 determines that the test pattern is an effective test pattern when the integral value 70 (the above-described density) in the image region of the detection window is within the range between the upper threshold 71 and the lower threshold 72. To do.

なお、有効判定部15は、例えば検出ウインドウ61内の点状の図形を計数し、その数が所定の閾値範囲内であるか否かにより有効判定を行ってもよい。この場合の所定の閾値範囲は、検出ウインドウ内のテストパターンにおける点状の図形の数に応じた密度の閾値範囲として、予め決められているとする。検出ウインドウ61内の点状の図形の数を用いた有効判定の詳細については、後述する第2の実施形態において説明する。   The validity determination unit 15 may count, for example, dot-like figures in the detection window 61 and perform the validity determination based on whether or not the number is within a predetermined threshold range. It is assumed that the predetermined threshold range in this case is determined in advance as a threshold range of density corresponding to the number of dotted figures in the test pattern in the detection window. Details of the validity determination using the number of dot-like figures in the detection window 61 will be described in a second embodiment to be described later.

<第1の実施形態における歪み補正の制御の流れ>
図8は、本実施形態の液晶プロジェクタにおいて、歪み補正を行う場合の一連の制御の流れを示すフローチャートである。図8のフローチャートに示した処理は、ハードウェア構成により実現されてもよいし、本実施形態に係るプログラムをCPU等で実行することにより実現されてもよい。本実施形態に係るプログラムは、不図示のROM等に予め用意されていてもよく、不図示の記録媒体から読み出されてもよく、インターネット等を介してダウンロードされてRAM等にロードされてもよい。図8のフローチャートの処理は、例えば、前述した画像データの8フレーム毎に行われる。
<Flow of distortion correction control in the first embodiment>
FIG. 8 is a flowchart showing a flow of a series of control when distortion correction is performed in the liquid crystal projector of this embodiment. The process shown in the flowchart of FIG. 8 may be realized by a hardware configuration, or may be realized by executing a program according to the present embodiment by a CPU or the like. The program according to the present embodiment may be prepared in advance in a ROM (not shown) or the like, read from a recording medium (not shown), downloaded via the Internet or the like, and loaded into a RAM or the like. Good. The process of the flowchart of FIG. 8 is performed, for example, every 8 frames of the image data described above.

図8の制御処理がスタートすると、S110の処理として、歪み補正制御部16は、ブレンド部7におけるテストパターンの重畳処理機能をオンにし、前述した画像データの8フレーム毎にテストパターンの重畳処理を行わせる。これにより、画像データの8フレーム毎に、前述したテストパターン加算画像とテストパターン減算画像がスクリーン2に交互に投射表示されることになる。S110の後、液晶プロジェクタの処理は、カメラ11により行われるS111に進む。   When the control process of FIG. 8 is started, as the process of S110, the distortion correction control unit 16 turns on the test pattern superimposition processing function in the blend unit 7, and performs the test pattern superimposition process every 8 frames of the image data described above. Let it be done. As a result, the test pattern addition image and the test pattern subtraction image described above are alternately projected and displayed on the screen 2 every 8 frames of the image data. After S110, the process of the liquid crystal projector proceeds to S111 performed by the camera 11.

S111では、カメラ11は、歪み補正制御部16による撮影動作制御の下、前述したテストパターン加算画像とテストパターン減算画像の各投射表示映像を撮影する。そして、カメラ11は、それらテストパターン加算画像とテストパターン減算画像の撮影画像を差分抽出部12に送る。S111の後、液晶プロジェクタの処理は、差分抽出部12にて行われるS112に進む。   In S <b> 111, the camera 11 shoots each projection display image of the test pattern addition image and the test pattern subtraction image described above under the shooting operation control by the distortion correction control unit 16. Then, the camera 11 sends the captured images of the test pattern addition image and the test pattern subtraction image to the difference extraction unit 12. After S111, the process of the liquid crystal projector proceeds to S112 performed by the difference extraction unit 12.

S112では、差分抽出部12は、カメラ11から供給されたテストパターン加算画像とテストパターン減算画像の二つの撮影画像の差分画像を生成する。そして、差分抽出部12は、その差分画像のデータをテストパターン解析部13と有効判定部15に送る。S112の後、液晶プロジェクタの処理は、有効判定部15にて行われるS113に進む。   In S <b> 112, the difference extraction unit 12 generates a difference image between two captured images of the test pattern addition image and the test pattern subtraction image supplied from the camera 11. Then, the difference extraction unit 12 sends the difference image data to the test pattern analysis unit 13 and the validity determination unit 15. After S112, the process of the liquid crystal projector proceeds to S113 performed by the validity determination unit 15.

S113では、有効判定部15は、差分画像に対し、前述した検出ウインドウを設定し、次のS114において、その検出ウインドウ内の画素値の積分値が所定の閾値範囲内か否かにより、テストパターンが有効テストパターンであるかどうかを判定する。そして、有効判定部15は、その判定結果を歪み補正制御部16に送る。またこのとき、歪み補正制御部16は、有効判定部15による判定結果に応じて、液晶プロジェクタにおける処理を分岐させる。具体的には、歪み補正制御部16は、S114において有効判定部15によりテストパターンが有効テストパターンであると判定された場合には、テストパターン解析部13にて行われるS115に処理を分岐させる。一方、歪み補正制御部16は、S114において有効判定部15によりテストパターンが無効テストパターンであると判定された場合には、S110のブレンド部7によるテストパターンの重畳処理に戻す。したがって、この場合、テストパターン解析部13によるテストパターン解析処理は実行されないことになる。   In S113, the validity determination unit 15 sets the above-described detection window for the difference image, and in the next S114, the test pattern is determined depending on whether or not the integrated value of the pixel values in the detection window is within a predetermined threshold range. Is a valid test pattern. Then, the validity determination unit 15 sends the determination result to the distortion correction control unit 16. At this time, the distortion correction control unit 16 branches the process in the liquid crystal projector according to the determination result by the validity determination unit 15. Specifically, when the validity determination unit 15 determines that the test pattern is a valid test pattern in S114, the distortion correction control unit 16 branches the process to S115 performed in the test pattern analysis unit 13. . On the other hand, when the validity determination unit 15 determines that the test pattern is an invalid test pattern in S114, the distortion correction control unit 16 returns to the test pattern superimposing process by the blend unit 7 in S110. Therefore, in this case, the test pattern analysis process by the test pattern analysis unit 13 is not executed.

S115の処理に進んだ場合、テストパターン解析部13は、差分抽出部12から供給された差分画像を用いてテストパターンの解析処理を実行する。このS115におけるテストパターンの解析処理は、前述した図4のフローチャートに示した位置検出の処理である。S115の後、テストパターン解析部13は、S116に処理を進める。   When the process proceeds to S <b> 115, the test pattern analysis unit 13 performs test pattern analysis processing using the difference image supplied from the difference extraction unit 12. The test pattern analysis process in S115 is the position detection process shown in the flowchart of FIG. After S115, the test pattern analysis unit 13 advances the process to S116.

S116では、テストパターン解析部13は、S115で検出した位置座標が有効な座標であるかどうかを判定する。具体的には、テストパターン解析部13は、S115で検出した位置座標が投射表示映像における位置座標として存在し得ない位置であった場合には、その位置座標は無効な座標であると判定し、それ以外は有効な座標であると判定する。そして、S115において位置座標が有効な座標であると判定した場合、テストパターン解析部13は、検出した座標位置を補正パラメータ作成部14に送り、液晶プロジェクタの処理は、補正パラメータ作成部14にて行われるS117に進む。一方、S115において位置座標が無効な座標であると判定した場合、テストパターン解析部13は、その判定結果を歪み補正制御部16に送る。位置座標が無効な座標であるとの判定結果を受けた歪み補正制御部16は、S110のブレンド部7によるテストパターンの重畳処理に戻す。   In S116, the test pattern analysis unit 13 determines whether the position coordinates detected in S115 are valid coordinates. Specifically, when the position coordinate detected in S115 is a position that cannot exist as the position coordinate in the projection display image, the test pattern analysis unit 13 determines that the position coordinate is an invalid coordinate. The other coordinates are determined to be valid coordinates. If it is determined in S115 that the position coordinates are valid coordinates, the test pattern analysis unit 13 sends the detected coordinate positions to the correction parameter creation unit 14, and the processing of the liquid crystal projector is performed by the correction parameter creation unit 14. It progresses to S117 performed. On the other hand, when it is determined in S115 that the position coordinates are invalid coordinates, the test pattern analysis unit 13 sends the determination result to the distortion correction control unit 16. The distortion correction control unit 16 that has received the determination result that the position coordinates are invalid coordinates returns to the test pattern superimposing process by the blend unit 7 in S110.

S117の処理に進んだ場合、補正パラメータ作成部14は、テストパターン解析部13から受け取った位置座標を用いて前述した補正パラメータを算出する。S117の後、補正パラメータ作成部14は、S118に処理を進める。S118では、補正パラメータ作成部14は、S117で算出した補正パラメータを歪み補正部8に設定する。これにより、歪み補正部8では、補正パラメータに基づく歪み補正処理が行われることになる。S118の後、液晶プロジェクタにおける図8のフローチャートの処理は終了する。   When the process proceeds to S <b> 117, the correction parameter creation unit 14 calculates the correction parameters described above using the position coordinates received from the test pattern analysis unit 13. After S117, the correction parameter creation unit 14 proceeds to S118. In S118, the correction parameter creation unit 14 sets the correction parameter calculated in S117 in the distortion correction unit 8. As a result, the distortion correction unit 8 performs distortion correction processing based on the correction parameter. After S118, the process of the flowchart of FIG. 8 in the liquid crystal projector ends.

以上のように、本実施形態の液晶プロジェクタでは、画像データの8フレーム毎に、コンテンツ映像にテストパターンを重畳して投射表示し、その撮影画像から検出されたテストパターンが有効テストパターンである場合にのみ、テストパターン解析が行われる。   As described above, in the liquid crystal projector according to the present embodiment, when the test pattern is superimposed on the content video and projected and displayed every 8 frames of the image data, and the test pattern detected from the captured image is an effective test pattern Only the test pattern analysis is performed.

<歪み補正が行われる場合の第1の動作例>
以下、図9に示すタイミングチャートを用いて、歪み補正処理が行われる際の動作例について説明する。本実施形態では、前述したように倍速フレームレートの画像データの8フレーム毎に、テストパターンの重畳と撮影、その撮影画像からテストパターンの抽出と有効判定処理、有効判定結果に応じた歪み補正処理を行っている。図9のタイミングチャートでは、補正処理H1,H2がそれら一連の補正処理のシーケンスを表している。
<First operation example when distortion correction is performed>
Hereinafter, an operation example when the distortion correction processing is performed will be described using the timing chart shown in FIG. In the present embodiment, as described above, test pattern superimposition and shooting every eight frames of image data at the double frame rate, test pattern extraction from the captured image, validity determination processing, and distortion correction processing according to the validity determination result It is carried out. In the timing chart of FIG. 9, the correction processes H1 and H2 represent a series of these series of correction processes.

また、図9のタイミングチャートにおいて、Vsync80は、表示制御部9により表示パネル10の表示駆動制御を行う際の垂直同期信号である。フレーム識別信号81は、前述した二度出しされる同じ二つの画像フレームを識別するための信号であり、レベルLが二度出しされる一枚目の画像フレームを示し、レベルHが二枚目の画像フレームを示している。図9のタイミングチャートでは、Vsync80のタイミング87で補正処理H1のシーケンスが開始され、8フレーム後のタイミング89で補正処理(補正処理H2)のシーケンスが再び開始される例を示している。表示画像データ82は、表示パネル10に表示される画像のデータであり、8フレーム毎に、テストパターン加算画像Posとテストパターン減算画像Negが表示される。シャッター信号83は、カメラ11が投射表示映像を撮影する際にシャッターを開けるタイミングを示す信号であり、歪み補正制御部16からカメラ11に送られる。シャッター信号83は、表示パネル10において8フレーム毎にテストパターン加算画像Posとテストパターン減算画像Negが表示されるタイミングに合わせて、カメラ11のシャッターを開くようなタイミングの信号となされている。撮影画像データ84は、カメラ11により撮影された画像データである。本実施形態の場合、カメラ11は8フレーム毎にテストパターン加算画像Posとテストパターン減算画像Negの投射表示映像を撮影するため、撮影画像データ84は、8フレーム毎のタイミングでカメラ11から出力される。有効判定結果信号85は、有効判定部15の有効判定結果を示す信号である。有効判定部15は、無効テストパターンと判定された場合には無効信号(Invalid)88を出力し、有効テストパターンと判定された場合には有効信号(Valid)90を出力する。位置検出・補正信号86は、テストパターン解析部13によるテストパターン解析処理、及び、歪み補正部8による歪み補正処理の実行期間91を表す信号である。   In the timing chart of FIG. 9, Vsync 80 is a vertical synchronization signal when the display control unit 9 performs display drive control of the display panel 10. The frame identification signal 81 is a signal for identifying the same two image frames issued twice, and indicates the first image frame from which the level L is issued twice, and the level H is the second image frame. The image frame is shown. The timing chart of FIG. 9 shows an example in which the sequence of the correction process H1 is started at the timing 87 of Vsync 80 and the sequence of the correction process (the correction process H2) is started again at the timing 89 after 8 frames. The display image data 82 is data of an image displayed on the display panel 10, and a test pattern addition image Pos and a test pattern subtraction image Neg are displayed every 8 frames. The shutter signal 83 is a signal that indicates the timing of opening the shutter when the camera 11 captures a projected display image, and is sent from the distortion correction control unit 16 to the camera 11. The shutter signal 83 is a signal that opens the shutter of the camera 11 in accordance with the timing at which the test pattern addition image Pos and the test pattern subtraction image Neg are displayed every 8 frames on the display panel 10. The captured image data 84 is image data captured by the camera 11. In the case of this embodiment, since the camera 11 captures the projected display video of the test pattern addition image Pos and the test pattern subtraction image Neg every 8 frames, the captured image data 84 is output from the camera 11 at a timing of every 8 frames. The The validity determination result signal 85 is a signal indicating the validity determination result of the validity determination unit 15. The validity determination unit 15 outputs an invalid signal (Invalid) 88 when it is determined as an invalid test pattern, and outputs a valid signal (Valid) 90 when it is determined as an effective test pattern. The position detection / correction signal 86 is a signal representing an execution period 91 of the test pattern analysis process by the test pattern analysis unit 13 and the distortion correction process by the distortion correction unit 8.

ここで、図9の撮影画像データ84の例の場合、補正処理H1ではテストパターン加算画像Posの撮影が成功し、テストパターン減算画像Negの撮影が外乱等により失敗(NG)しているとする。この場合、有効判定部15は、有効判定結果信号85として無効信号88を歪み補正制御部16に出力する。歪み補正制御部16は、有効判定部15から無効信号88を受け取った場合、テストパターン解析部13によるテストパターン解析処理を実行させないように制御する。このように、補正処理H1のシーケンスでは、テストパターン解析部13によるテストパターン解析処理は実行されず、またこの場合、歪み補正部8による歪み補正処理も実行されないことになる。   Here, in the example of the captured image data 84 of FIG. 9, it is assumed that the test pattern addition image Pos has been successfully captured in the correction process H1, and the capture of the test pattern subtraction image Neg has failed (NG) due to disturbance or the like. . In this case, the validity determination unit 15 outputs an invalid signal 88 to the distortion correction control unit 16 as the validity determination result signal 85. When receiving the invalid signal 88 from the validity determination unit 15, the distortion correction control unit 16 performs control so that the test pattern analysis process by the test pattern analysis unit 13 is not executed. Thus, in the sequence of the correction process H1, the test pattern analysis process by the test pattern analysis unit 13 is not executed, and in this case, the distortion correction process by the distortion correction unit 8 is not executed.

補正処理H1の8フレーム後に再び行われる補正処理H2のシーケンスでは、テストパターン加算画像Posとテストパターン減算画像Negの両方とも撮影が成功したとする。この場合、有効判定部15は、有効判定結果信号85として、有効テストパターンであることを示す有効信号90を歪み補正制御部16に出力する。歪み補正制御部16は、有効判定部15から有効信号90を受け取った場合、テストパターン解析部13によるテストパターン解析処理を実行させるように制御する。したがって、補正処理H2のシーケンスでは、テストパターン解析部13によるテストパターン解析処理と歪み補正部8による歪み補正処理とが、実行期間91において実行される。   In the sequence of the correction process H2 performed again 8 frames after the correction process H1, it is assumed that both the test pattern addition image Pos and the test pattern subtraction image Neg have been successfully photographed. In this case, the validity determination unit 15 outputs, as the validity determination result signal 85, the validity signal 90 indicating the valid test pattern to the distortion correction control unit 16. When receiving the valid signal 90 from the validity determination unit 15, the distortion correction control unit 16 controls the test pattern analysis unit 13 to execute the test pattern analysis process. Therefore, in the sequence of the correction process H2, the test pattern analysis process by the test pattern analysis unit 13 and the distortion correction process by the distortion correction unit 8 are executed in the execution period 91.

本実施形態では、上述したようにテストパターンが、有効テストパターンである場合にのみテストパターン解析処理と歪み補正処理が行われ、無効テストパターンである場合にはテストパターンの解析処理と歪み補正処理は行われない。このように、本実施形態によれば、無効テストパターンと判定された場合には、電力消費が大きいテストパターン解析処理等が行われないため、消費電力を減らすことができる。   In the present embodiment, as described above, the test pattern analysis process and the distortion correction process are performed only when the test pattern is a valid test pattern, and the test pattern analysis process and the distortion correction process are performed when the test pattern is an invalid test pattern. Is not done. As described above, according to the present embodiment, when the test pattern is determined to be invalid, the power consumption can be reduced because the test pattern analysis process or the like that consumes a large amount of power is not performed.

<歪み補正が行われる場合の第2の動作例>
前述した第1の動作例では、補正処理H1のシーケンスでテストパターンが無効テストパターンであると判定された場合、歪み補正制御部16は、補正処理H1のシーケンスの8フレームが終わってから、次の補正処理H2のシーケンスに移行させている。これに対し、第2の動作例の場合、歪み補正制御部16は、補正処理H1のシーケンスでテストパターンが無効テストパターンであると判定された場合、8フレームが終わるのを待たずに、即座に次の補正処理H2のシーケンスを開始する。
<Second operation example when distortion correction is performed>
In the first operation example described above, when it is determined that the test pattern is an invalid test pattern in the correction processing H1 sequence, the distortion correction control unit 16 performs the next processing after the end of the eight frames in the correction processing H1 sequence. Is shifted to the sequence of the correction process H2. On the other hand, in the case of the second operation example, when it is determined that the test pattern is an invalid test pattern in the correction processing H1 sequence, the distortion correction control unit 16 does not wait for the end of the 8 frames and immediately Then, the sequence of the next correction process H2 is started.

図10は、補正処理H1のシーケンスでテストパターンが無効テストパターンであると判定された場合に、即座に次の補正処理H2のシーケンスを実行する第2の動作例のタイミングチャートである。図10のタイミングチャートには、Vsync80、フレーム識別信号81、表示画像データ82、シャッター信号83、撮影画像データ84、有効判定結果信号85、位置検出・補正信号86が示されている。   FIG. 10 is a timing chart of a second operation example in which when the test pattern is determined to be an invalid test pattern in the correction process H1 sequence, the next correction process H2 sequence is immediately executed. The timing chart of FIG. 10 shows Vsync 80, frame identification signal 81, display image data 82, shutter signal 83, captured image data 84, validity determination result signal 85, and position detection / correction signal 86.

図10のタイミングチャートでは、補正処理H1のシーケンスにおいてテストパターン加算画像Posの撮影が成功し、テストパターン減算画像Negの撮影が外乱等により失敗(NG)しているとする。この場合、有効判定部15は、有効判定結果信号85として無効テストパターンであることを示す無効信号88を歪み補正制御部16に出力する。歪み補正制御部16は、有効判定結果信号85として無効信号88を受け取った場合、テストパターン解析部13によるテストパターン解析処理を実行させないように制御する。   In the timing chart of FIG. 10, it is assumed that the test pattern addition image Pos has been successfully captured in the sequence of the correction process H1, and the test pattern subtraction image Neg has failed to be captured due to disturbance or the like (NG). In this case, the validity determination unit 15 outputs an invalid signal 88 indicating the invalid test pattern as the validity determination result signal 85 to the distortion correction control unit 16. When the distortion correction control unit 16 receives the invalid signal 88 as the validity determination result signal 85, the distortion correction control unit 16 performs control so that the test pattern analysis process by the test pattern analysis unit 13 is not executed.

ここで、第2の動作例の場合、歪み補正制御部16は、有効判定結果信号85として無効信号88を受け取った場合、直ちにリトライ(Retry)信号をブレンド部7に送り、補正処理H2のシーケンスの処理を開始する。リトライ信号を受け取ったブレンド部7は、補正処理H2のシーケンスの開始タイミング92に合わせて、前述した二度出し処理による同じ二つの画像フレームからテストパターン加算画像Posとテストパターン減算画像Negを生成する重畳処理を実行する。また、歪み補正制御部16は、表示パネル10においてテストパターン加算画像Posとテストパターン減算画像Negが表示されるタイミングに合わせて、カメラ11のシャッターを開かせるシャッター信号83をカメラ11に送る。これにより、カメラ11からは補正処理H2のシーケンスにおける撮影画像データ84が出力される。   Here, in the case of the second operation example, when the distortion correction control unit 16 receives the invalid signal 88 as the validity determination result signal 85, the distortion correction control unit 16 immediately sends a retry signal to the blend unit 7, and the sequence of the correction process H2 Start processing. The blending unit 7 that has received the retry signal generates a test pattern addition image Pos and a test pattern subtraction image Neg from the same two image frames by the above-described double out process in accordance with the start timing 92 of the sequence of the correction process H2. Execute superimposition processing. Further, the distortion correction control unit 16 sends a shutter signal 83 for opening the shutter of the camera 11 to the camera 11 in accordance with the timing at which the test pattern addition image Pos and the test pattern subtraction image Neg are displayed on the display panel 10. As a result, the captured image data 84 in the sequence of the correction process H2 is output from the camera 11.

図10の撮影画像データ84の場合、補正処理H2のシーケンスにおいてテストパターン加算画像Posとテストパターン減算画像Negの両方とも撮影が成功したとする。この場合、有効判定部15は、有効判定結果信号85として、有効テストパターンであることを示す有効信号93を歪み補正制御部16に出力する。歪み補正制御部16は、有効判定部15から有効信号93を受け取った場合、テストパターン解析部13によるテストパターン解析処理を実行させるように制御する。したがって、補正処理H2のシーケンスでは、テストパターン解析部13によるテストパターン解析処理と歪み補正部8による歪み補正処理とが、実行期間94において実行される。   In the case of the captured image data 84 in FIG. 10, it is assumed that the test pattern addition image Pos and the test pattern subtraction image Neg are both successfully captured in the sequence of the correction process H2. In this case, the validity determination unit 15 outputs, as the validity determination result signal 85, a validity signal 93 indicating a valid test pattern to the distortion correction control unit 16. When receiving the valid signal 93 from the validity determination unit 15, the distortion correction control unit 16 controls the test pattern analysis unit 13 to execute the test pattern analysis process. Therefore, in the sequence of the correction process H2, the test pattern analysis process by the test pattern analysis unit 13 and the distortion correction process by the distortion correction unit 8 are executed in the execution period 94.

そして、図10の例の場合、補正処理H2のシーケンスにおける8フレーム後の次の補正処理H3のシーケンスでは、テストパターン加算画像Posとテストパターン減算画像Negの両方とも撮影が成功したとする。補正処理H3のシーケンスでは、補正処理H2のシーケンスと同様に、有効判定部15の有効判定処理により有効信号が歪み補正制御部16に出力され、歪み補正制御部16は、テストパターン解析部13によるテストパターン解析処理を実行させる。   In the case of the example in FIG. 10, it is assumed that both the test pattern addition image Pos and the test pattern subtraction image Neg are successfully photographed in the next correction processing H3 sequence after 8 frames in the correction processing H2 sequence. In the sequence of the correction process H3, as in the sequence of the correction process H2, the valid signal is output to the distortion correction control unit 16 by the validity determination process of the validity determination unit 15, and the distortion correction control unit 16 is determined by the test pattern analysis unit 13. The test pattern analysis process is executed.

上述したように第2の動作例の場合、テストパターンが無効と判定された場合には即座に次の補正処理のシーケンスに移行することにより、テストパターン解析処理から歪み補正処理までの各処理が完了するまでの時間を短縮することができる。   As described above, in the case of the second operation example, when it is determined that the test pattern is invalid, each process from the test pattern analysis process to the distortion correction process is performed by immediately moving to the next correction process sequence. Time to complete can be shortened.

以上説明したように第1の実施形態によれば、有効テストパターンが検出された場合にのみ、複雑なテストパターン解析処理を動作させることで、消費電力を低減することができる。また、第2の動作例では、無効テストパターンが検出された場合には、次の補正処理のシーケンスを即座に開始することが可能なので、歪み補正が完了するまでの時間を短縮することができる。   As described above, according to the first embodiment, power consumption can be reduced by operating a complicated test pattern analysis process only when a valid test pattern is detected. Further, in the second operation example, when the invalid test pattern is detected, the next correction processing sequence can be started immediately, so that the time until distortion correction is completed can be shortened. .

なお、前述した実施形態では、テストパターンとしてランダムに配置される点状の図形のパターンを使用した例を挙げたが、テストパターンはこの例に限定されず、また、歪みの検出アルゴリズムについても前述した例に限定されない。例えば、テストパターンは、升目形状や十字形状等の幾何形状のパターンであってもよい。幾何形状のテストパターンを用いた場合、撮影画像から検出したテストパターンの画像成分として、例えば直線部分をハフ変換等により検出し、その検出した直線の歪み具合から投射表示映像の歪みを検出するような検出アルゴリズムを用いることができる。テストパターンの画像成分としの直線成分は、例えばエッジ検出により検出してもよい。また例えば、テストパターンが十字形状の場合、十字形状は「二つの直線が交点を持つ」という特性を有する。このため、画像成分として直線状に繋がっている点を追尾して二つの直線を検出し、その直線について直線近似により直線の方程式を求め、その方程式から二つの直線の交点を求めて、交点があれば有効なテストパターンであると判定するようなことも可能である。また、テストパターンが升目形状の場合、升目形状は所定の周期性を有する図形であると考えられる。このため、画像成分から升目形状の周期性を検出し、その周期性が閾値範囲内である場合に、有効テストパターンであると判定するようなことが可能である。升目形状の周期性は、例えばFFT等の周波数変換演算により求めることができる。   In the above-described embodiment, an example in which a dot-like pattern randomly arranged as a test pattern is used is described. However, the test pattern is not limited to this example, and the distortion detection algorithm is also described above. The example is not limited. For example, the test pattern may be a geometric pattern such as a grid shape or a cross shape. When a geometric test pattern is used, as a test pattern image component detected from a captured image, for example, a straight line portion is detected by Hough transform or the like, and distortion of the projected display image is detected from the detected straight line distortion. A simple detection algorithm can be used. The linear component as the image component of the test pattern may be detected by edge detection, for example. For example, when the test pattern has a cross shape, the cross shape has a characteristic that “two straight lines have intersections”. For this reason, two straight lines are detected by tracking points connected in a straight line as image components, a linear equation is obtained by linear approximation for the straight line, an intersection of the two straight lines is obtained from the equation, and the intersection is determined. If there is, it can be determined that the test pattern is valid. Further, when the test pattern is a cell shape, the cell shape is considered to be a figure having a predetermined periodicity. For this reason, it is possible to detect the periodicity of the grid shape from the image components and determine that the test pattern is an effective test pattern when the periodicity is within the threshold range. The periodicity of the grid shape can be obtained by frequency conversion calculation such as FFT.

また、テストパターンが例えば何らかの規則性を有するパターンである場合、その規則を満たしているか否かでテストパターンの有効判定を行うことができる。例えば、撮影画像から抽出したテストパターンの各画素から求めた分散値が所定の範囲内か否か、テストパターンを構成する点状の図形の分布が特定の関数形状の分布を有しているか否かなどにより、有効判定を行うことができる。その他にも、テストパターンを構成している点状の図形の色を可変にし、撮影画像から検出されたテストパターンの色分布と所定の色分布範囲との比較により有効判定を行うことも可能である。   In addition, when the test pattern is a pattern having some regularity, for example, the validity of the test pattern can be determined based on whether or not the rule is satisfied. For example, whether or not the variance value obtained from each pixel of the test pattern extracted from the photographed image is within a predetermined range, and whether or not the distribution of dot-like figures constituting the test pattern has a distribution of a specific function shape The validity determination can be performed based on the above. In addition, it is also possible to change the color of the dot-like figures that make up the test pattern, and to make a validity determination by comparing the color distribution of the test pattern detected from the captured image with a predetermined color distribution range. is there.

また、前述の例では、歪み補正制御部16は、ブレンド部7におけるテストパターンの重畳処理機能のオン/オフ制御を8フレーム毎に行っていたが、例えば、所定時間間隔おき、例えば数秒おきに重畳処理機能をオンに制御するようにしてもよい。すなわち、歪み補正制御部16は、所定時間間隔(数秒)おきに重畳処理機能をオンに制御して前述した補正処理のシーケンスを1シーケンスだけ行うようにし、それ以外では重畳処理機能をオフに制御する。本実施形態の場合、テストパターンはユーザから不可視となるように表示されるが、コンテンツ映像にテストパターンを重畳した場合には、僅かではあるが画質にテストパターンの影響が及んで画質が低下することがある。したがって、重畳処理機能を所定時間間隔(数秒)おきにオンする場合以外はオフにしておくことにより、テストパターンにより画質が低下する期間を少なくすることができる。   In the above-described example, the distortion correction control unit 16 performs on / off control of the test pattern superimposition processing function in the blending unit 7 every 8 frames. However, for example, every predetermined time interval, for example, every few seconds. The superimposition processing function may be controlled to be on. That is, the distortion correction control unit 16 controls the superimposition processing function to be turned on every predetermined time interval (several seconds) so that only one sequence of the correction processing described above is performed, and otherwise controls the superimposition processing function to be off. To do. In the case of the present embodiment, the test pattern is displayed so as to be invisible to the user. However, when the test pattern is superimposed on the content video, the image quality is slightly affected by the test pattern and the image quality is reduced. Sometimes. Therefore, by turning off the superimposition processing function except when it is turned on every predetermined time interval (several seconds), the period during which the image quality is degraded by the test pattern can be reduced.

<第2の実施形態>
前述の第1の実施形態では、テストパターンは一種類のみを用いる例を挙げたが、テストパターン生成部6において複数種類のテストパターンを用意又は生成し、補正処理のシーケンスが変わる毎に、使用するテストパターンを切り換えてもよい。また、テストパターンの切り換えは、補正処理のシーケンスでテストパターンが無効テストパターンと判定されて、次の補正処理のシーケンスに移行した際に行われてもよい。
<Second Embodiment>
In the first embodiment described above, an example in which only one type of test pattern is used has been described, but a plurality of types of test patterns are prepared or generated in the test pattern generation unit 6 and used each time the correction processing sequence changes. The test pattern to be performed may be switched. The test pattern switching may be performed when the test pattern is determined to be an invalid test pattern in the correction processing sequence and the process proceeds to the next correction processing sequence.

以下の第2の実施形態では、補正処理のシーケンスでテストパターンが無効テストパターンと判定されて、次の補正処理のシーケンスに移行した際にテストパターンを切り換える例について説明する。第2の実施形態では、テストパターンが無効テストパターンであると判定されて次の補正処理のシーケンスに移行する毎に、ランダムに配置される点状の図形の密度が徐々に高くなるテストパターンへ切り換える例を挙げる。   In the second embodiment below, an example will be described in which a test pattern is determined to be an invalid test pattern in the correction processing sequence and the test pattern is switched when the processing proceeds to the next correction processing sequence. In the second embodiment, each time the test pattern is determined to be an invalid test pattern and the process proceeds to the next correction processing sequence, the density of dot-shaped figures arranged at random increases gradually. Give an example of switching.

図11は、第2の実施形態の液晶プロジェクタ1の概略的な内部構成例を示す図である。図11の液晶プロジェクタ1において、図1の構成と同様の構成には同じ参照番号を付してその説明は省略する。前述の図1の構成と比較すると、図11の液晶プロジェクタは、テストパターン生成部130の処理及び有効判定部132の処理が異なり、また、歪み補正制御部16からテストパターン生成部130への制御線が設けられている。   FIG. 11 is a diagram illustrating a schematic internal configuration example of the liquid crystal projector 1 according to the second embodiment. In the liquid crystal projector 1 of FIG. 11, the same reference numerals are given to the same components as those of FIG. Compared with the configuration of FIG. 1 described above, the liquid crystal projector of FIG. 11 differs in the processing of the test pattern generation unit 130 and the processing of the validity determination unit 132, and the control from the distortion correction control unit 16 to the test pattern generation unit 130. A line is provided.

<密度が異なるテストパターン例>
図11のテストパターン生成部130は、歪み補正制御部16による制御の下、補正処理のシーケンスが変わる毎に、使用するテストパターンを生成、又は、予め用意された複数のテストパターンの中から一つを選択可能となされている。図12(a)〜図12(c)は、第2の実施形態において、補正処理のシーケンスが変わる毎に、テストパターン生成部130が生成又は選択するテストパターンにおける点状の図形のパターン例を示す図である。
<Examples of test patterns with different densities>
The test pattern generation unit 130 in FIG. 11 generates a test pattern to be used every time the correction processing sequence changes under the control of the distortion correction control unit 16 or selects one of a plurality of test patterns prepared in advance. One can be selected. FIG. 12A to FIG. 12C show pattern examples of dotted figures in the test pattern generated or selected by the test pattern generation unit 130 each time the correction processing sequence is changed in the second embodiment. FIG.

第2の実施形態の場合のテストパターンは、第1の実施形態で説明したようなランダム配置される複数の点状の図形からなるパターンであるとする。第2の実施形態の場合、テストパターン生成部130は、概ね前述の第1の実施形態のテストパターン生成部6と同様にして、テストパターンを生成する。すなわち、テストパターン生成部130は、点状の複数の図形がランダムに配置されたパターンを三つのタイル画像に書き込み、それら大きさ別に各タイル画像を繰り返し敷き詰めて作成した三つの画像プレーンを加算してテストパターンを生成する。   The test pattern in the case of the second embodiment is assumed to be a pattern composed of a plurality of dot-like figures arranged at random as described in the first embodiment. In the case of the second embodiment, the test pattern generation unit 130 generates a test pattern in substantially the same manner as the test pattern generation unit 6 of the first embodiment described above. That is, the test pattern generation unit 130 writes a pattern in which a plurality of dot-like figures are randomly arranged in three tile images, and adds three image planes created by repeatedly laying out tile images according to their sizes. To generate a test pattern.

ここで、テストパターン生成部130は、1回目の補正処理のシーケンスでは、図12(a)に示すパターン120を三つのタイル画像に書き込んでテストパターンを生成する。そして、有効判定部132において、1回目の補正処理のシーケンスで撮影画像から抽出されたテストパターンが無効テストパターンであると判定された場合、歪み補正制御部16は、2回目の補正処理のシーケンスを開始させる。なお、有効判定部132における有効判定処理の詳細は後述する。   Here, in the first correction processing sequence, the test pattern generation unit 130 writes the pattern 120 shown in FIG. 12A into three tile images to generate a test pattern. When the validity determination unit 132 determines that the test pattern extracted from the captured image in the first correction processing sequence is an invalid test pattern, the distortion correction control unit 16 performs the second correction processing sequence. To start. Details of the validity determination process in the validity determination unit 132 will be described later.

2回目の補正処理のシーケンスでは、テストパターン生成部130は、図12(b)に示すパターン121を三つのタイル画像に書き込んでテストパターンを生成する。図12(b)のパターン121は、図12(a)のパターン120よりも点状の図形の密度が高いパターンとなされている。この図12(b)のように点状の図形の密度が高いパターン121は、図12(a)のパターン120よりも、テストパターンの検出率が高くなるパターンであると考えられる。2回目の補正処理のシーケンスで撮影画像から抽出されたテストパターンが無効テストパターンと判定された場合、歪み補正制御部16は、更に3回目の補正処理のシーケンスを開始させる。   In the second correction processing sequence, the test pattern generation unit 130 writes a pattern 121 shown in FIG. 12B to three tile images to generate a test pattern. The pattern 121 in FIG. 12B is a pattern having a higher density of dot-like figures than the pattern 120 in FIG. A pattern 121 having a high density of dot-like figures as shown in FIG. 12B is considered to be a pattern having a higher test pattern detection rate than the pattern 120 in FIG. When the test pattern extracted from the captured image in the second correction processing sequence is determined to be an invalid test pattern, the distortion correction control unit 16 further starts the third correction processing sequence.

3回目の補正処理のシーケンスでは、テストパターン生成部130は、図12(c)に示すパターン122を三つのタイル画像に書き込んでテストパターンを生成する。図12(c)のパターン122は、図12(b)のパターン121よりも点状の図形の密度が高いパターンとなされている。この図12(c)のように点状の図形の密度が高いパターン122は、図12(b)のパターン121よりも、テストパターンの検出率が高くなるパターンであると考えられる。   In the third correction processing sequence, the test pattern generation unit 130 writes a pattern 122 shown in FIG. 12C to three tile images to generate a test pattern. The pattern 122 in FIG. 12C is a pattern having a higher density of dot-like figures than the pattern 121 in FIG. A pattern 122 having a high density of dot-like figures as shown in FIG. 12C is considered to be a pattern having a higher test pattern detection rate than the pattern 121 in FIG.

このように、第2の実施形態の場合、テストパターンが無効テストパターンであると判定されて次の補正処理のシーケンスに移行する毎に、点状の図形の密度が徐々に高くなるテストパターンへの切り換えがなされる。すなわち、第2の実施形態によれば、補正処理のシーケンスが移行する毎に、徐々に検出率が高くなるテストパターンへの切り換えがなされるため、有効テストパターンが検出され易くなる。これにより、第2の実施形態では、歪み補正が確実に行われるようになる。   As described above, in the case of the second embodiment, each time the test pattern is determined to be an invalid test pattern and the process proceeds to the next correction processing sequence, the density of dot-like figures gradually increases. Is switched. That is, according to the second embodiment, each time the correction processing sequence is shifted, the test pattern is gradually switched to a test pattern with a gradually increasing detection rate, so that an effective test pattern is easily detected. As a result, in the second embodiment, distortion correction is reliably performed.

<第2の実施形態における有効判定処理>
図11の液晶プロジェクタにおいて、有効判定部132は、撮影画像から抽出されたテストパターンの有効判定処理を行う際、前述の図6に示した検出ウインドウ61に含まれる点状の図形を計数する。そして、有効判定部132は、その数が、検出ウインドウ内のテストパターンにおける点状の図形の数に応じて予め決められた密度の閾値範囲内に入っているか否かを判定することにより、テストパターンの有効判定を行う。
<Validity determination processing in the second embodiment>
In the liquid crystal projector of FIG. 11, the validity determination unit 132 counts the dot-like figures included in the detection window 61 shown in FIG. 6 when performing the validity determination process of the test pattern extracted from the captured image. Then, the validity determining unit 132 determines whether or not the number is within a threshold range of a density determined in advance according to the number of dotted figures in the test pattern in the detection window. Validate the pattern.

図13は、有効判定部132の内部構成例を示す図である。
図13の有効判定部132において、前処理部140は、差分抽出部12から供給された差分画像に対して前述の検出ウインドウ61を設定し、その検出ウインドウ61内の差分画像から点状の図形を計数するための前処理を行う。具体的には、前処理部140は、先ず、検出ウインドウ61内の差分画像から孤立点を除去する処理を行うことで、ノイズによる点画素を除去する。更に、前処理部140は、検出ウインドウ61内の画像に対して収縮処理を行い、複数画素により形成されていてある程度の面積を有している各点状の図形を、それぞれ1画素の点に収縮させる。前処理部140による前処理後の検出ウインドウ61の差分画像のデータは、計数部141に送られる。
FIG. 13 is a diagram illustrating an internal configuration example of the validity determination unit 132.
In the validity determination unit 132 in FIG. 13, the preprocessing unit 140 sets the above-described detection window 61 for the difference image supplied from the difference extraction unit 12, and creates a dotted figure from the difference image in the detection window 61. Pre-processing for counting Specifically, the preprocessing unit 140 first removes point pixels due to noise by performing processing for removing isolated points from the difference image in the detection window 61. Further, the preprocessing unit 140 performs a contraction process on the image in the detection window 61, and converts each dot-like figure formed by a plurality of pixels and having a certain area into one pixel point. Shrink. The difference image data of the detection window 61 after the preprocessing by the preprocessing unit 140 is sent to the counting unit 141.

計数部141は、カウンタからなり、前処理部140により各点状の図形が1画素に収縮された各点の数をカウントすることにより計数する。計数部141による計数データは、閾値判定部142に送られる。閾値判定部142は、計数部141により計数された点の数が、テストパターン生成部6で生成された元々のテストパターンにおける検出ウインドウ内の点の数に応じて決められている密度の閾値範囲内に入っているか否かを判定する。そして、閾値判定部142は、計数部141により計数された点の数が閾値範囲内に入っている場合に有効テストパターンであると判定し、一方、閾値範囲外である場合には無効テストパターンであると判定し、その判定結果を歪み補正制御部16に送る。   The counting unit 141 includes a counter, and counts by counting the number of points where each point-shaped figure is contracted to one pixel by the preprocessing unit 140. Count data from the counting unit 141 is sent to the threshold value determining unit 142. The threshold determination unit 142 has a density threshold range in which the number of points counted by the counting unit 141 is determined according to the number of points in the detection window in the original test pattern generated by the test pattern generation unit 6. It is determined whether it is inside. Then, the threshold value determination unit 142 determines that the test pattern is a valid test pattern when the number of points counted by the counting unit 141 is within the threshold value range. And the determination result is sent to the distortion correction control unit 16.

なお、有効判定部132は、前述した図1の有効判定部15と同様に、検出ウインドウ61内の画素値を積分して、その積分値が所定の閾値範囲内であるか否かにより、テストパターンが有効テストパターンか否かを判定してもよい。   Note that the validity determination unit 132 integrates the pixel values in the detection window 61 in the same manner as the validity determination unit 15 in FIG. 1 described above, and determines whether or not the integration value is within a predetermined threshold range. It may be determined whether the pattern is a valid test pattern.

<第2の実施形態における歪み補正の制御の流れ>
図14は、第2の実施形態の液晶プロジェクタにおいて、歪み補正を行う場合の一連の制御の流れを示すフローチャートである。図14のフローチャートに示した処理は、ハードウェア構成により実現されてもよいし、本実施形態に係るプログラムをCPU等で実行することにより実現されてもよい。本実施形態に係るプログラムは、不図示のROM等に予め用意されていてもよく、不図示の記録媒体から読み出されてもよく、インターネット等を介してダウンロードされてRAM等にロードされてもよい。図14のフローチャートの処理は、例えば、前述した第1の実施形態の例と同様に、画像データの8フレーム毎に行われる。
<Flow of Distortion Correction Control in Second Embodiment>
FIG. 14 is a flowchart showing a flow of a series of control when distortion correction is performed in the liquid crystal projector of the second embodiment. The process shown in the flowchart of FIG. 14 may be realized by a hardware configuration, or may be realized by executing a program according to the present embodiment by a CPU or the like. The program according to the present embodiment may be prepared in advance in a ROM (not shown) or the like, read from a recording medium (not shown), downloaded via the Internet or the like, and loaded into a RAM or the like. Good. The process of the flowchart in FIG. 14 is performed every 8 frames of image data, for example, as in the example of the first embodiment described above.

図14の制御処理がスタートすると、S200の処理として、歪み補正制御部16は、ブレンド部7におけるテストパターンの重畳処理機能をオンにし、前述した画像データの8フレーム毎にテストパターンの重畳処理を行わせる。ここで、1回目の補正処理のシーケンスである場合には例えば前述した図12(a)のパターン120を用いて生成されたテストパターンの重畳処理が行われる。これにより、画像データの8フレーム毎に、前述したようなテストパターン加算画像とテストパターン減算画像がスクリーン2に投射表示されることになる。S200の後、液晶プロジェクタの処理は、カメラ11により行われるS201に進む。   When the control process of FIG. 14 is started, as the process of S200, the distortion correction control unit 16 turns on the test pattern superimposition processing function in the blend unit 7, and performs the test pattern superimposition process every 8 frames of the image data described above. Let it be done. Here, in the case of the first correction processing sequence, for example, the superimposition processing of the test pattern generated using the above-described pattern 120 of FIG. 12A is performed. As a result, the test pattern addition image and the test pattern subtraction image as described above are projected and displayed on the screen 2 every 8 frames of the image data. After S200, the process of the liquid crystal projector proceeds to S201 performed by the camera 11.

S201では、カメラ11は、歪み補正制御部16による撮影動作制御の下、前述したテストパターン加算画像とテストパターン減算画像の各投射表示映像を撮影する。そして、カメラ11は、それらテストパターン加算画像とテストパターン減算画像の撮影画像を差分抽出部12に送る。S201の後、液晶プロジェクタの処理は、差分抽出部12にて行われるS202に進む。   In S <b> 201, the camera 11 shoots each projection display image of the test pattern addition image and the test pattern subtraction image described above under the shooting operation control by the distortion correction control unit 16. Then, the camera 11 sends the captured images of the test pattern addition image and the test pattern subtraction image to the difference extraction unit 12. After S201, the process of the liquid crystal projector proceeds to S202 performed in the difference extraction unit 12.

S202では、差分抽出部12は、カメラ11から供給されたテストパターン加算画像とテストパターン減算画像の二つの撮影画像の差分画像を生成する。そして、差分抽出部12は、その差分画像のデータをテストパターン解析部13と有効判定部132に送る。S202の後、液晶プロジェクタの処理は、有効判定部132にて行われるS203に進む。   In S <b> 202, the difference extraction unit 12 generates a difference image between the two captured images of the test pattern addition image and the test pattern subtraction image supplied from the camera 11. Then, the difference extraction unit 12 sends the difference image data to the test pattern analysis unit 13 and the validity determination unit 132. After S202, the process of the liquid crystal projector proceeds to S203 performed by the validity determination unit 132.

S203では、有効判定部132は、差分画像に対して検出ウインドウを設定し、次のS204において、前述したように検出ウインドウ内の点を計数して所定の閾値範囲内か否かを判定することにより、テストパターンが有効テストパターンか否かを判定する。そして、有効判定部132は、その判定結果を歪み補正制御部16に送る。このときの歪み補正制御部16は、有効判定部132による判定結果に応じて、液晶プロジェクタにおける処理を分岐させる。具体的には、歪み補正制御部16は、有効判定部132から有効テストパターンであるとの判定結果を受け取った場合には、テストパターン解析部13にて行われるS205に処理を分岐させる。一方、歪み補正制御部16は、有効判定部15から無効テストパターンであるとの判定結果を受け取った場合には、次の補正処理のシーケンスへ移行させ、テストパターン生成部130を制御してS209でテストパターンの切り換え(変更)を行わせる。   In S203, the validity determination unit 132 sets a detection window for the difference image, and in the next S204, as described above, counts the points in the detection window and determines whether or not it is within a predetermined threshold range. Thus, it is determined whether or not the test pattern is an effective test pattern. Then, the validity determination unit 132 sends the determination result to the distortion correction control unit 16. The distortion correction control unit 16 at this time branches the process in the liquid crystal projector according to the determination result by the validity determination unit 132. Specifically, when the distortion correction control unit 16 receives a determination result that the test pattern is an effective test pattern from the validity determination unit 132, the distortion correction control unit 16 branches the process to S205 performed in the test pattern analysis unit 13. On the other hand, when the distortion correction control unit 16 receives the determination result that is an invalid test pattern from the validity determination unit 15, the distortion correction control unit 16 shifts to the next correction processing sequence and controls the test pattern generation unit 130 to perform S209. To change (change) the test pattern.

S209において、歪み補正制御部16が移行させた補正処理のシーケンスが2回目の補正処理のシーケンスである場合、テストパターン生成部130は、前述した図12(b)のパターン121を用いてテストパターンを生成する。このS209の後、歪み補正制御部16は、S200に処理を戻し、2回目の補正処理のシーケンスに移行させる。なお、2回目の補正処理のシーケンスにおいて、S204で無効テストパターンであるとの判定結果が得られてS209に進んだ場合、テストパターン生成部130では、図12(c)のパターン122を用いたテストパターンの生成が行われることになる。   In S209, when the correction processing sequence shifted by the distortion correction control unit 16 is the second correction processing sequence, the test pattern generation unit 130 uses the pattern 121 of FIG. Is generated. After S209, the distortion correction control unit 16 returns the process to S200 and shifts to the second correction process sequence. In the second correction processing sequence, when the determination result that the test pattern is invalid is obtained in S204 and the process proceeds to S209, the test pattern generation unit 130 uses the pattern 122 in FIG. A test pattern is generated.

また、S204からS205の処理に進んだ場合、テストパターン解析部13は、差分抽出部12から供給された差分画像を用いて、前述した図8のS115と同様に、テストパターンの解析処理を実行する。S205の後、テストパターン解析部13は、S206に処理を進める。   When the process proceeds from S204 to S205, the test pattern analysis unit 13 uses the difference image supplied from the difference extraction unit 12 to execute test pattern analysis processing in the same manner as S115 in FIG. To do. After S205, the test pattern analysis unit 13 advances the process to S206.

S206では、テストパターン解析部13は、前述した図8のS116と同様に、S205で検出した位置座標が有効な座標であるかどうかを判定する。そして、S206において位置座標が有効な座標であると判定した場合、テストパターン解析部13は、検出した座標位置を補正パラメータ作成部14に送り、補正パラメータ作成部14にて行われるS207の処理に移行させる。一方、S206において位置座標が無効な座標であると判定した場合、テストパターン解析部13は、その判定結果を歪み補正制御部16に送る。位置座標が無効な座標であるとの判定結果を受けた歪み補正制御部16は、次の補正処理のシーケンスへ移行させ、テストパターン生成部130を制御してS209でテストパターンの切り換えを行わせる。   In S206, the test pattern analysis unit 13 determines whether the position coordinates detected in S205 are valid coordinates, as in S116 of FIG. If it is determined in S206 that the position coordinates are valid coordinates, the test pattern analysis unit 13 sends the detected coordinate positions to the correction parameter creation unit 14, and the process of S207 performed by the correction parameter creation unit 14 is performed. Transition. On the other hand, when it is determined in S206 that the position coordinates are invalid coordinates, the test pattern analysis unit 13 sends the determination result to the distortion correction control unit 16. Upon receiving the determination result that the position coordinates are invalid, the distortion correction control unit 16 shifts to the next correction processing sequence, controls the test pattern generation unit 130, and switches the test pattern in S209. .

S207の処理に進んだ場合、補正パラメータ作成部14は、テストパターン解析部13から受け取った位置座標を用いて前述した補正パラメータを算出する。S207の後、補正パラメータ作成部14は、S208に処理を進める。S208では、補正パラメータ作成部14は、S207で算出した補正パラメータを歪み補正部8に設定する。これにより、歪み補正部8では、補正パラメータに基づく歪み補正処理が行われることになる。S208の後、液晶プロジェクタにおける図14のフローチャートの処理は終了する。   When the process proceeds to S207, the correction parameter creation unit 14 calculates the correction parameters described above using the position coordinates received from the test pattern analysis unit 13. After S207, the correction parameter creation unit 14 proceeds to S208. In S208, the correction parameter creation unit 14 sets the correction parameter calculated in S207 in the distortion correction unit 8. As a result, the distortion correction unit 8 performs distortion correction processing based on the correction parameter. After S208, the process of the flowchart of FIG. 14 in the liquid crystal projector ends.

以上のように、第2の実施形態の液晶プロジェクタでは、第1の実施形態の場合と同様に、有効テストパターンである場合にのみ、テストパターン解析が行われるため、無効テストパターンと判定された場合には消費電力を減らすことができる。更に、第2の実施形態の場合、無効テストパターンと判定される毎に、前述の図12(a)〜図12(c)のように点状の図形の密度が徐々に高くなるパターンを用いたテストパターンへの切り換えが行われる。このように、第2の実施形態では、点状の図形の密度が徐々に高くなるテストパターン、つまり検出率が高くなるテストパターンへの切り換えを行うことで、テストパターンが有効と判定されまでの補正処理のシーケンスの回数を減らすことができる。   As described above, in the liquid crystal projector of the second embodiment, as in the case of the first embodiment, the test pattern analysis is performed only when the test pattern is a valid test pattern. In some cases, power consumption can be reduced. Furthermore, in the case of the second embodiment, a pattern in which the density of dot-like figures gradually increases as shown in FIGS. 12A to 12C every time it is determined as an invalid test pattern is used. The test pattern is switched to the previous test pattern. As described above, in the second embodiment, by switching to a test pattern in which the density of dot-like figures gradually increases, that is, a test pattern with a high detection rate, the test pattern is determined to be valid. The number of correction processing sequences can be reduced.

なお、第2の実施形態においても、前述の第1の実施形態で説明した歪み補正が行われる場合の第1の動作例だけでなく、第2の動作例を適用することが可能である。また、第2の実施形態においても、前述の第1の実施形態で説明したのと同様に、テストパターンは、升目や十字型等の幾何形状のパターン、何らかの規則性を有するパターン、色が可変されるパターンであってもよい。これらのテストパターンの検出アルゴリズムについても第1の実施形態と同様のものを用いることができる。さらに、第2の実施形態においても、前述した第1の実施形態と同様に、ブレンド部7におけるテストパターンの重畳処理機能のオン/オフ制御は、数秒おきにオン制御されてもよい。   In the second embodiment, not only the first operation example when the distortion correction described in the first embodiment is performed but also the second operation example can be applied. Also in the second embodiment, as described in the first embodiment, the test pattern is a geometric pattern such as a grid or a cross, a pattern having some regularity, and a variable color. It may be a pattern. These test pattern detection algorithms can be the same as those in the first embodiment. Further, in the second embodiment, as in the first embodiment described above, the on / off control of the test pattern superimposition processing function in the blend unit 7 may be turned on every few seconds.

また、前述の図12(a)〜図12(c)の例では点状の図形の密度が徐々に高くなるパターンを例に挙げたが、点状の図形のサイズやドット径が徐々に大きくなるようなパターンを用いてテストパターンが生成されてもよい。点状の図形のサイズやドット径が徐々に大きくなるパターンを用いれば、検出率が徐々に高くなるテストパターンの生成が可能となる。その他にも、テストパターンの輝度を徐々に高くするようにしてもよい。例えばスクリーン2に外光が差し込んでテストパターンのコントラストが落ちてしまうような場合、輝度が徐々に高くなるパターンを用いれば、テストパターンの検出率を高めることが可能となる。さらに、それら輝度、大きさ、ドット径、数、密度を合わせて変えるようにしたテストパターンが生成されてもよい。これらを合わせて変えたテストパターンを用いれば、検出率が変わるテストパターンの生成が可能となる。なお、テストパターンの切り換えの際には、前述した点状の図形からなるテストパターンから、前述した幾何形状のテストパターンのように異なる種類のテストパターンへの切り換えを行ってもよい。例えば、初回の補正処理のシーケンスは点状の図形からなるテストパターンを用い、次の補正処理のシーケンスでは幾何形状のテストパターンを用いるようにしてもよい。更に、それら幾何形状のテストパターンについても、前述同様にその図形の密度、輝度、サイズ等を変更することも可能である。   Further, in the example of FIGS. 12A to 12C described above, a pattern in which the density of dot-like figures gradually increases is taken as an example, but the size and dot diameter of the dot-like figures gradually increase. A test pattern may be generated using such a pattern. If a pattern in which the size of dot-like figures and the dot diameter gradually increase is used, it is possible to generate a test pattern in which the detection rate gradually increases. In addition, the luminance of the test pattern may be gradually increased. For example, when external light is inserted into the screen 2 and the contrast of the test pattern is lowered, it is possible to increase the test pattern detection rate by using a pattern with gradually increasing luminance. Furthermore, a test pattern in which the brightness, size, dot diameter, number, and density are changed together may be generated. If a test pattern in which these are changed is used, it is possible to generate a test pattern in which the detection rate changes. When switching the test pattern, the test pattern composed of the above-mentioned dot-like figure may be switched to a different type of test pattern such as the above-described geometric test pattern. For example, the first correction processing sequence may use a test pattern made up of dot-shaped figures, and the next correction processing sequence may use a geometric test pattern. Furthermore, the density, brightness, size, etc. of the graphic can be changed for the test patterns of these geometric shapes as described above.

<その他の実施形態>
上述の実施形態では、液晶プロジェクタを例に挙げたが、例えばカメラ機能と投射型プロジェクタ機能とを備えたスマートフォンやタブレット端末等の携帯機器、投射型プロジェクタ機能を備えた各種のカメラであってもよい。
<Other embodiments>
In the above-described embodiment, the liquid crystal projector has been described as an example. Good.

本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。   The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in the computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

上述の実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。即ち、本発明は、その技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。   The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed as being limited thereto. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.

1:プロジェクタ、2:スクリーン、3:映像入力部、4:画像処理部、5:倍速変換部、6,130:テストパターン生成部、7:ブレンド部、8:歪み補正部、9:表示制御部、10:表示パネル、11:カメラ、12:差分抽出部、13:テストパターン解析部、14:補正パラメータ作成部、15,132:有効判定部、16:歪み補正制御部、50:ウインドウ制御部、51:積分部、52,142:閾値判定部、140:前処理部、141:計数部   1: projector, 2: screen, 3: video input unit, 4: image processing unit, 5: double speed conversion unit, 6, 130: test pattern generation unit, 7: blending unit, 8: distortion correction unit, 9: display control , 10: display panel, 11: camera, 12: difference extraction unit, 13: test pattern analysis unit, 14: correction parameter creation unit, 15, 132: validity determination unit, 16: distortion correction control unit, 50: window control Part, 51: integration part, 52, 142: threshold value determination part, 140: preprocessing part, 141: counting part

Claims (19)

テストパターンを投射表示する表示手段と、
前記テストパターンが投射表示された投射面に対する撮影画像からテストパターンを抽出する抽出手段と、
前記抽出されたテストパターンの画像成分を基に、前記抽出されたテストパターンが有効なテストパターンかどうかを判定する判定手段と、
前記抽出されたテストパターンが有効なテストパターンであると判定された場合、前記有効と判定されたテストパターンに基づいて、前記投射表示される映像の歪みを検出する処理を実行する検出手段と、
前記検出された歪みに基づいて、前記投射表示される映像の歪みを補正する補正手段と、
を有することを特徴とする表示装置。
Display means for projecting and displaying a test pattern;
Extracting means for extracting a test pattern from a captured image on a projection surface on which the test pattern is projected and displayed;
Determination means for determining whether or not the extracted test pattern is a valid test pattern based on the image component of the extracted test pattern;
When it is determined that the extracted test pattern is an effective test pattern, based on the test pattern determined to be effective, a detection unit that executes processing for detecting distortion of the projected and displayed video;
Correction means for correcting distortion of the projected and displayed image based on the detected distortion;
A display device comprising:
前記検出手段は、前記有効と判定されたテストパターンに基づいて前記投射表示の位置を検出し、前記位置から前記投射表示される映像の歪みを検出し、
前記補正手段は、前記検出された映像の歪みに応じた補正パラメータを用いて、前記投射表示される映像の歪みを補正する画像処理を行うことを特徴とする請求項1に記載の表示装置。
The detection means detects the position of the projection display based on the test pattern determined to be valid, detects distortion of the projected and displayed image from the position,
The display device according to claim 1, wherein the correction unit performs image processing for correcting distortion of the projected and displayed video using a correction parameter corresponding to the detected video distortion.
前記テストパターンをコンテンツ映像に重ね合わせた画像を生成するブレンド手段を有し、
前記表示手段は、前記テストパターンがコンテンツ映像に重ね合わされた画像を投射表示し、
前記抽出手段は、前記テストパターンがコンテンツ映像に重ね合わされて前記投射表示された画像を撮影した前記撮影画像から、前記テストパターンを抽出することを特徴とする請求項1又は2に記載の表示装置。
Blending means for generating an image in which the test pattern is superimposed on the content video;
The display means projects and displays an image in which the test pattern is superimposed on a content video,
The display device according to claim 1, wherein the extraction unit extracts the test pattern from the photographed image obtained by photographing the projected and displayed image with the test pattern superimposed on a content video. .
前記ブレンド手段は、前記コンテンツ映像に前記テストパターンを加算する重ね合わせによる加算画像と、前記コンテンツ映像から前記テストパターンを減算する重ね合わせによる減算画像とを生成し、
前記表示手段は、前記加算画像と前記減算画像を切り換えて連続して投射表示し、
前記抽出手段は、前記投射表示された前記加算画像の撮影画像と前記減算画像の撮影画像との差分をとることで前記テストパターンの抽出を行うことを特徴とする請求項3に記載の表示装置。
The blending means generates an addition image by superimposition that adds the test pattern to the content video, and a subtraction image by superposition that subtracts the test pattern from the content video,
The display means continuously displays the projection by switching between the addition image and the subtraction image,
The display device according to claim 3, wherein the extraction unit extracts the test pattern by taking a difference between a captured image of the addition image and the captured image of the subtracted image that are projected and displayed. .
前記判定手段は、前記抽出されたテストパターンの画像成分として、前記撮影画像に設定されたウインドウ内の各画素の積分値を求め、前記積分値が所定の閾値範囲にある場合に、前記抽出されたテストパターンが有効なテストパターンであると判定することを特徴とする請求項1乃至4の何れか1項に記載の表示装置。   The determination means obtains an integrated value of each pixel in the window set in the captured image as an image component of the extracted test pattern, and the extracted value is extracted when the integrated value is within a predetermined threshold range. The display device according to claim 1, wherein the test pattern is determined to be an effective test pattern. 前記所定の閾値範囲は、前記テストパターンを構成する図形の密度に応じて設定されていることを特徴とする請求項5に記載の表示装置。   The display device according to claim 5, wherein the predetermined threshold range is set in accordance with a density of figures constituting the test pattern. 前記判定手段は、前記抽出されたテストパターンの画像成分として、前記撮影画像に設定されたウインドウ内の各画素の分散値を求め、前記分散値が所定の閾値範囲にある場合に、前記抽出されたテストパターンが有効なテストパターンであると判定することを特徴とする請求項1乃至4の何れか1項に記載の表示装置。   The determination means obtains a variance value of each pixel in the window set in the captured image as an image component of the extracted test pattern, and the extracted value is obtained when the variance value is within a predetermined threshold range. The display device according to claim 1, wherein the test pattern is determined to be an effective test pattern. 前記判定手段は、前記抽出されたテストパターンの画像成分として、前記撮影画像に設定されたウインドウ内で前記テストパターンを構成する図形の分布を求め、前記分布が特定の分布である場合に、前記抽出されたテストパターンが有効なテストパターンであると判定することを特徴とする請求項1乃至4の何れか1項に記載の表示装置。   The determination means obtains a distribution of figures constituting the test pattern in a window set for the photographed image as an image component of the extracted test pattern, and when the distribution is a specific distribution, The display device according to claim 1, wherein the extracted test pattern is determined to be a valid test pattern. 前記判定手段は、前記抽出されたテストパターンの画像成分として、前記撮影画像に設定されたウインドウ内で前記テストパターンを構成する図形の色分布を求め、前記色分布が特定の色分布である場合に、前記抽出されたテストパターンが有効なテストパターンであると判定することを特徴とする請求項1乃至4の何れか1項に記載の表示装置。   The determination means obtains a color distribution of a figure constituting the test pattern in a window set in the captured image as an image component of the extracted test pattern, and the color distribution is a specific color distribution 5. The display device according to claim 1, wherein the extracted test pattern is determined to be an effective test pattern. 6. 前記表示手段は、テストパターンの投射表示を所定時間間隔おきに行うことを特徴とする請求項1乃至9の何れか1項に記載の表示装置。   The display device according to any one of claims 1 to 9, wherein the display unit performs projection display of a test pattern at predetermined time intervals. 前記判定手段が有効なテストパターンを判定できなかった場合、前記テストパターンの投射表示を再び行うように前記表示手段を制御する制御手段を有することを特徴とする請求項1乃至9の何れか1項に記載の表示装置。   10. The control unit according to claim 1, further comprising a control unit that controls the display unit to perform projection display of the test pattern again when the determination unit cannot determine a valid test pattern. The display device according to item. 前記制御手段は、テストパターンの投射表示を再び行わせる場合には、異なるテストパターンを前記表示手段に投射表示させることを特徴とする請求項11に記載の表示装置。   The display device according to claim 11, wherein the control unit causes the display unit to project and display a different test pattern when the projection display of the test pattern is performed again. 前記制御手段は、テストパターンの投射表示を再び行わせる場合には、テストパターンを構成する図形の密度を高くしたテストパターンを前記表示手段に投射表示させることを特徴とする請求項12に記載の表示装置。   13. The control unit according to claim 12, wherein when the projection display of the test pattern is performed again, the control unit causes the display unit to project and display a test pattern having a higher density of figures constituting the test pattern. Display device. 前記制御手段は、テストパターンの投射表示を再び行わせる場合には、輝度を高くしたテストパターンを前記表示手段に投射表示させることを特徴とする請求項12又は13に記載の表示装置。   14. The display device according to claim 12, wherein, when the projection display of the test pattern is performed again, the control unit causes the display unit to project and display the test pattern having a high luminance. 前記制御手段は、テストパターンの投射表示を再び行わせる場合には、サイズを大きくしたテストパターンを前記表示手段に投射表示させることを特徴とする請求項12乃至14の何れか1項に記載の表示装置。   15. The control unit according to any one of claims 12 to 14, wherein when the projection display of a test pattern is performed again, the control unit causes the display unit to project and display a test pattern having a larger size. Display device. 前記表示手段は、十字形状のパターンを含むテストパターンを投射表示し、
前記判定手段は、前記抽出されたテストパターンの画像成分として、前記十字形状のパターンの直線の成分を求め、前記直線の成分の交点が検出された場合に、前記抽出されたテストパターンが有効なテストパターンであると判定することを特徴とする請求項1乃至4の何れか1項に記載の表示装置。
The display means projects and displays a test pattern including a cross-shaped pattern,
The determination means obtains a straight line component of the cross-shaped pattern as an image component of the extracted test pattern, and the extracted test pattern is effective when an intersection of the straight line components is detected. The display device according to claim 1, wherein the display device is determined to be a test pattern.
前記表示手段は、升目形状のパターンを含むテストパターンを投射表示し、
前記判定手段は、前記抽出されたテストパターンの画像成分として、前記升目形状における升目の周期を求め、前記周期が所定の閾値範囲内である場合に、前記抽出されたテストパターンが有効なテストパターンであると判定することを特徴とする請求項1乃至4の何れか1項に記載の表示装置。
The display means projects and displays a test pattern including a grid-shaped pattern,
The determination means obtains a cell cycle in the cell shape as an image component of the extracted test pattern, and the extracted test pattern is effective when the cycle is within a predetermined threshold range. The display device according to claim 1, wherein the display device is determined to be.
テストパターンを投射表示するステップと、
テストパターンが投射表示された投射面に対する撮影画像からテストパターンを抽出するステップと、
前記抽出されたテストパターンの画像成分を基に、前記抽出されたテストパターンが有効なテストパターンかどうかを判定するステップと、
前記抽出されたテストパターンが有効なテストパターンであると判定された場合、前記有効と判定されたテストパターンに基づいて、前記投射表示される映像の歪みを検出する処理を実行するステップと、
前記検出された歪みに基づいて、前記投射表示される映像の歪みを補正するステップと、
を含むことを特徴とする表示装置の制御方法。
Projecting and displaying a test pattern;
Extracting a test pattern from a captured image with respect to a projection surface on which the test pattern is projected and displayed;
Determining whether the extracted test pattern is a valid test pattern based on the image components of the extracted test pattern;
When it is determined that the extracted test pattern is an effective test pattern, a process of detecting distortion of the projected and displayed video based on the test pattern determined to be effective; and
Correcting distortion of the projected and displayed image based on the detected distortion;
A control method for a display device, comprising:
コンピュータを、請求項1乃至17の何れか1項に記載の表示装置の各手段として機能させるためのプログラム。   The program for functioning a computer as each means of the display apparatus of any one of Claims 1 thru | or 17.
JP2016105256A 2016-05-26 2016-05-26 Display device, control method for display device, and program Pending JP2017212638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016105256A JP2017212638A (en) 2016-05-26 2016-05-26 Display device, control method for display device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016105256A JP2017212638A (en) 2016-05-26 2016-05-26 Display device, control method for display device, and program

Publications (1)

Publication Number Publication Date
JP2017212638A true JP2017212638A (en) 2017-11-30

Family

ID=60474923

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016105256A Pending JP2017212638A (en) 2016-05-26 2016-05-26 Display device, control method for display device, and program

Country Status (1)

Country Link
JP (1) JP2017212638A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020003722A (en) * 2018-06-29 2020-01-09 キヤノン株式会社 Image processing apparatus, and control method and program therefor
CN113170092A (en) * 2018-12-10 2021-07-23 索尼半导体解决方案公司 Image processing apparatus, image processing method, and image processing system
CN113742152A (en) * 2021-09-08 2021-12-03 深圳创维-Rgb电子有限公司 Screen projection test method, device, equipment and storage medium
US11496721B2 (en) 2020-03-30 2022-11-08 Seiko Epson Corporation Setting assistance method and setting assistance apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020003722A (en) * 2018-06-29 2020-01-09 キヤノン株式会社 Image processing apparatus, and control method and program therefor
JP7228966B2 (en) 2018-06-29 2023-02-27 キヤノン株式会社 Image processing device and its control method and program
CN113170092A (en) * 2018-12-10 2021-07-23 索尼半导体解决方案公司 Image processing apparatus, image processing method, and image processing system
EP3896968A4 (en) * 2018-12-10 2022-01-19 Sony Semiconductor Solutions Corporation Image processing device, image processing method, and image processing system
US11496721B2 (en) 2020-03-30 2022-11-08 Seiko Epson Corporation Setting assistance method and setting assistance apparatus
CN113742152A (en) * 2021-09-08 2021-12-03 深圳创维-Rgb电子有限公司 Screen projection test method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US10134118B2 (en) Information processing apparatus and method of obtaining information about a projection surface on which a target is projected
CN111083456B (en) Projection correction method, apparatus, projector, and readable storage medium
JP2013257686A5 (en)
US20200389573A1 (en) Image processing system, image processing method and storage medium
JP6115214B2 (en) Pattern processing apparatus, pattern processing method, and pattern processing program
JP2015060012A (en) Image processing system, image processing device, image processing method and image processing program as well as display system
JP2017212638A (en) Display device, control method for display device, and program
US10469812B2 (en) Projection display system, information processing apparatus, information processing method, and storage medium therefor
JP6656035B2 (en) Image processing apparatus, imaging apparatus, and control method for image processing apparatus
KR101225063B1 (en) Unobtrusive calibration method for projected image compensation and apparatus for the same
US20190394435A1 (en) Apparatus and method for image processing and storage medium storing program for the same
CN112272292A (en) Projection correction method, apparatus and storage medium
US9898800B2 (en) Image processing apparatus and image processing method
US9323981B2 (en) Face component extraction apparatus, face component extraction method and recording medium in which program for face component extraction method is stored
WO2013088657A1 (en) Projecting projector device, optical anti-glare method, and optical anti-glare program
CN112351271A (en) Camera shielding detection method and device, storage medium and electronic equipment
TWI693577B (en) Image generating method and electronic apparatus
WO2018155269A1 (en) Image processing device and method, and program
JP5955003B2 (en) Image processing apparatus, image processing method, and program
US10212405B2 (en) Control apparatus and method
US9842406B2 (en) System and method for determining colors of foreground, and computer readable recording medium therefor
JP2011090606A (en) Image processor, image display system and image processing method
JP2018055685A (en) Information processing device, control method thereof, program, and storage medium
KR20100081099A (en) Apparatus and method for out-focasing
KR101774913B1 (en) Method and apparatus for displaying images using pre-processing