JP6464599B2 - Image processing apparatus, image processing system, control method for image processing apparatus, and program - Google Patents

Image processing apparatus, image processing system, control method for image processing apparatus, and program Download PDF

Info

Publication number
JP6464599B2
JP6464599B2 JP2014155787A JP2014155787A JP6464599B2 JP 6464599 B2 JP6464599 B2 JP 6464599B2 JP 2014155787 A JP2014155787 A JP 2014155787A JP 2014155787 A JP2014155787 A JP 2014155787A JP 6464599 B2 JP6464599 B2 JP 6464599B2
Authority
JP
Japan
Prior art keywords
image
area
projected
projection
image processing
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.)
Expired - Fee Related
Application number
JP2014155787A
Other languages
Japanese (ja)
Other versions
JP2016034060A (en
JP2016034060A5 (en
Inventor
祐也 伊藤
祐也 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2014155787A priority Critical patent/JP6464599B2/en
Publication of JP2016034060A publication Critical patent/JP2016034060A/en
Publication of JP2016034060A5 publication Critical patent/JP2016034060A5/ja
Application granted granted Critical
Publication of JP6464599B2 publication Critical patent/JP6464599B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、画像処理装置、画像処理システム、画像処理装置の制御方法、及びプログラムに関する。   The present invention relates to an image processing apparatus, an image processing system, a control method for the image processing apparatus, and a program.

プロジェクタは、画像を拡大して投影することができることから、発表者等が同じ画像を複数の人に提示する、オフィスでの会議、各種プレゼンテーション、教育現場等の様々な状況で使われている。また、発表者によっては、プロジェクタによる画像の投影面にペンやマーカ等で説明を加えることがある。その際に、投影面に投影された投影画像がペンやマーカで説明を加える際の邪魔になってしまう場合がある。   Since a projector can project an enlarged image, it is used in various situations such as a meeting in an office, various presentations, and an educational site where a presenter or the like presents the same image to a plurality of people. Also, depending on the presenter, a description may be added to the projection surface of the image by the projector with a pen, marker, or the like. In that case, the projection image projected on the projection surface may interfere with the explanation with a pen or marker.

これに関連する技術として、プロジェクタの本体又はリモコン等のカーソルボタンを用いて入力画像に対して領域を指定し、指定された領域の色を背景色に置換えることが可能なプロジェクタが知られている(例えば、特許文献1参照)。   As a related technology, a projector is known that can specify an area for an input image using a cursor button on the projector main body or a remote control, and replace the color of the specified area with a background color. (For example, refer to Patent Document 1).

特許文献1に開示された技術では、プロジェクタの入力操作部、又はリモコン等のカーソルボタンの操作により、プロジェクタを制御してメニュー画面を選択し、処理を行う領域の指定を行っていた。そのため、例えば、プロジェクタを用いて発表を行う利用者は、投影画像を確認しながら、プロジェクタに対して処理を行う領域を指定する操作を行うことになり、その操作性は必ずしも良いとは言えなかった。このように、投影手段によって画像を投影する画像処理装置(プロジェクタ等)を用いて発表を行う利用者が、投影された画像の所定の領域に対して画像処理を指示することには困難を伴っていた。   In the technique disclosed in Patent Document 1, a menu screen is selected by controlling a projector by operating a cursor button such as an input operation unit of a projector or a remote controller, and an area to be processed is designated. For this reason, for example, a user who makes a presentation using a projector performs an operation for designating an area to be processed with respect to the projector while confirming a projection image, and the operability is not necessarily good. It was. As described above, it is difficult for a user who makes a presentation using an image processing apparatus (a projector or the like) that projects an image by a projection unit to instruct image processing on a predetermined area of the projected image. It was.

本発明の実施の形態は、上記問題点に鑑みてなされたものであって、投影手段によって投影された投影画像の所定の領域に対して画像処理を指示することを容易にする画像処理装置を提供することを目的とする。   An embodiment of the present invention has been made in view of the above problems, and an image processing apparatus that makes it easy to instruct image processing on a predetermined area of a projection image projected by a projection unit. The purpose is to provide.

上記課題を解決するため、本発明の一実施形態に係る画像処理装置は、投影手段によって投影面に所定の画像を投影する画像処理装置であって、前記投影面に投影された投影画像を撮像して得た撮像画像に基づいて、前記投影画像に対して指定された指定領域を判断する判断手段と、前記判断された指定領域の前記投影する所定の画像における位置を算出する算出手段と、前記算出された位置に基づいて、前記投影する所定の画像の前記指定された指定領域に対応する領域に所定の画像処理を行う画像処理手段と、前記指定領域を指定する曲線が開いていると判断した場合、該曲線を閉曲線に補間する補間手段と、を有し、前記補間手段は、前記指定領域を指定する曲線が開いていると判断した場合、該曲線の少なくとも一つの端点と、該曲線上の複数の点との間を直線で補間したときの前記指定領域の面積をそれぞれ計算し、前記指定領域の面積が最大となる該曲線上の点と、前記少なくとも一つの端点との間を直線又は曲線で補完する。 In order to solve the above-described problem, an image processing apparatus according to an embodiment of the present invention is an image processing apparatus that projects a predetermined image on a projection plane by a projection unit, and captures a projection image projected on the projection plane. Determination means for determining a designated area designated for the projection image based on the captured image obtained by calculating, and a calculating means for calculating a position of the decided designated area in the predetermined image to be projected; Based on the calculated position, image processing means for performing predetermined image processing on an area corresponding to the specified designated area of the predetermined image to be projected, and a curve for designating the designated area are open Interpolating means for interpolating the curve into a closed curve when determined, and when the interpolating means determines that the curve specifying the specified region is open, at least one end point of the curve; and Song Calculating the area of the designated area when interpolating between the plurality of points with a straight line, and between the point on the curve where the area of the designated area is maximum and the at least one end point Complement with straight lines or curves .

本発明の実施の形態によれば、投影手段によって投影された投影画像の所定の領域に対して画像処理を指示することを容易にする画像処理装置を提供することができる。   According to the embodiment of the present invention, it is possible to provide an image processing apparatus that makes it easy to instruct image processing on a predetermined region of a projection image projected by a projection unit.

一実施形態に係る画像処理システムの構成の一例を示す図である。It is a figure which shows an example of a structure of the image processing system which concerns on one Embodiment. 一実施形態に係る指定領域の内部を置換した後の投影画像の例を示す図である。It is a figure which shows the example of the projection image after replacing the inside of the designation | designated area | region which concerns on one Embodiment. 一実施形態に係る画像投影装置のハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of the image projector which concerns on one Embodiment. 一実施形態に係るコンピュータの構成例を示す図である。It is a figure which shows the structural example of the computer which concerns on one Embodiment. 第1の実施形態に係る画像変換部の機能構成図である。It is a functional lineblock diagram of the image conversion part concerning a 1st embodiment. 第1の実施形態に係る画像変換部の処理の概要を説明するための図である。It is a figure for demonstrating the outline | summary of the process of the image conversion part which concerns on 1st Embodiment. 第1の実施形態に係る画像比較手段、及び指定領域判断手段の処理を説明するための図である。It is a figure for demonstrating the process of the image comparison means and designated area determination means which concern on 1st Embodiment. 第1の実施形態に係る位置関係算出手段の処理を説明するための図である。It is a figure for demonstrating the process of the positional relationship calculation means which concerns on 1st Embodiment. 第1の実施形態に係る画素置換手段の処理を説明するための図である。It is a figure for demonstrating the process of the pixel replacement means which concerns on 1st Embodiment. 第1の実施形態に係るプレビュー処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the preview process which concerns on 1st Embodiment. 第2の実施形態に係る画像変換部の機能構成部である。It is a function structure part of the image conversion part which concerns on 2nd Embodiment. 第2の実施形態に係る領域補間手段の処理を説明するための図である。It is a figure for demonstrating the process of the area | region interpolation means which concerns on 2nd Embodiment. 第3の実施形態に係る画像処理システムの構成例を示す図である。It is a figure which shows the structural example of the image processing system which concerns on 3rd Embodiment. 第3の実施形態に係る光指示具の例を示す図である。It is a figure which shows the example of the light indicator which concerns on 3rd Embodiment. 第3の実施形態に係る画像変換部の機能構成図である。It is a functional block diagram of the image conversion part which concerns on 3rd Embodiment. 第3の実施形態に係る画素の置換処理の流れを示すフローチャートである。12 is a flowchart illustrating a flow of pixel replacement processing according to the third embodiment. 一実施形態に係る画像処理システムのその他の構成例を示す図である。It is a figure which shows the other structural example of the image processing system which concerns on one Embodiment.

以下に、本発明の実施の形態について、添付の図面を参照して説明する。   Embodiments of the present invention will be described below with reference to the accompanying drawings.

<システムの構成>
図1は、一実施形態に係る画像処理システムの構成の一例を示す図である。画像処理システム100は、画像投影装置(プロジェクタ)101、PC(Personal Computer)102、投影面(スクリーン)103等を含む。画像処理システム100は、例えば、会議システム等で好適に利用することができる。
<System configuration>
FIG. 1 is a diagram illustrating an example of a configuration of an image processing system according to an embodiment. The image processing system 100 includes an image projection apparatus (projector) 101, a PC (Personal Computer) 102, a projection surface (screen) 103, and the like. The image processing system 100 can be suitably used in, for example, a conference system.

画像投影装置101は、例えば、画像投影装置101に接続されたPC102等の情報端末から投影する所定の画像(例えば、PC102で表示している画像)を取得し、取得した画像を、投影レンズ107を介して投影面103に投影する。また、本実施の形態に係る画像投影装置101は、投影面103、及び投影面103に投影された投影画像104を撮像するカメラ108を備えている。このカメラ108は、画像投影装置101に内蔵されたものであっても良いし、画像投影装置101の外部に設けられたものであっても良い。尚、画像投影装置101は、画像処理装置の一例である。   For example, the image projection apparatus 101 acquires a predetermined image (for example, an image displayed on the PC 102) to be projected from an information terminal such as the PC 102 connected to the image projection apparatus 101, and the acquired image is converted into the projection lens 107. Is projected onto the projection plane 103. In addition, the image projection apparatus 101 according to the present embodiment includes a projection plane 103 and a camera 108 that captures a projection image 104 projected on the projection plane 103. The camera 108 may be built in the image projection apparatus 101 or may be provided outside the image projection apparatus 101. Note that the image projection apparatus 101 is an example of an image processing apparatus.

画像処理システム100の利用者は、例えば、投影画像104にコメントを書き込むためにスペースが必要な場合等、投影画像104に削除したい領域がある場合、ペンや、ペンライト等の指示具105で削除したい指定領域106を投影面103に描く。指定領域106が描かれた投影面103及び投影画像104は、カメラ108によって撮像され、画像投影装置101に入力される。   When the user of the image processing system 100 has a region to be deleted in the projection image 104, for example, when a space is required to write a comment on the projection image 104, the user deletes it with the pointing tool 105 such as a pen or a penlight. A designated area 106 to be drawn is drawn on the projection plane 103. The projection plane 103 and the projection image 104 on which the designated area 106 is drawn are captured by the camera 108 and input to the image projection apparatus 101.

画像投影装置101は、カメラ108によって撮像された撮像画像に基づいて、指示具105で指定された指定領域106の内部を、例えば、所定の色(背景色等)に置換する。これにより、投影面103に投影された投影画像104の指定された指定領域106にコメント等を書き込むためのスペースが作成される。尚、指定領域106の内部を所定の色に置換する処理は、画像処理の一例である。例えば、画像投影装置101は、指定領域106の色調を変更したり、フォントや線の色を変更したりすること等によって指定領域106内部の情報を目立たないように画像処理するものであっても良い。   The image projection apparatus 101 replaces the inside of the designated area 106 designated by the pointing tool 105 with, for example, a predetermined color (background color or the like) based on a captured image captured by the camera 108. As a result, a space for writing a comment or the like in the designated area 106 designated in the projection image 104 projected on the projection plane 103 is created. The process of replacing the inside of the designated area 106 with a predetermined color is an example of image processing. For example, the image projection apparatus 101 may perform image processing so that the information in the designated area 106 is not conspicuous by changing the color tone of the designated area 106 or changing the font or line color. good.

また、画像処理システム100の利用者は、カメラ108によって取得された画像を、任意のタイミングでPC102に保存することができる。この画像は、別のファイル名で保存されるため、ユーザは、PC102の記憶容量が許す限りの画像をPC102に保存することができる。   Further, the user of the image processing system 100 can save the image acquired by the camera 108 in the PC 102 at an arbitrary timing. Since this image is saved with a different file name, the user can save as many images on the PC 102 as the storage capacity of the PC 102 allows.

図2は、一実施形態に係る指定領域の内部を置換した後の投影画像の例を示す図である。図2の例では、投影画像104に描かれた指定領域106の内部の画素値が背景色に置換されている。画像処理システム100の利用者は、背景色に置換された指定領域106の内部に、コメント等の情報を好適に追記することができる。また、コメントが追記された投影画像104は、カメラ108によって撮像され、PC102に保存することができる。   FIG. 2 is a diagram illustrating an example of a projected image after replacing the inside of the designated area according to an embodiment. In the example of FIG. 2, the pixel value inside the designated area 106 drawn in the projection image 104 is replaced with the background color. A user of the image processing system 100 can suitably add information such as a comment in the designated area 106 replaced with the background color. Further, the projected image 104 with the comment added can be captured by the camera 108 and stored in the PC 102.

このように、本実施形態に係る画像処理システム100によれば、画像投影装置101を用いて発表を行う利用者は、投影画像104の指定領域106に対して所定の画像処理(例えば背景色への置換)を容易に指示することができる。   As described above, according to the image processing system 100 according to the present embodiment, a user who makes a presentation using the image projection apparatus 101 performs predetermined image processing (for example, background color) on the designated area 106 of the projection image 104. Can be easily instructed.

<ハードウェア構成>
(画像投影装置のハードウェア構成)
図3は、一実施形態に係る画像投影装置のハードウェア構成図である。画像投影装置101は、内部バス311に接続されたCPU(Central Processing Unit)301、RAM(Random Access Memory)302、ROM(Read Only Memory)303、I/F(Interface)304、光学エンジン305、及び画像変換部306を有する。
<Hardware configuration>
(Hardware configuration of image projector)
FIG. 3 is a hardware configuration diagram of the image projection apparatus according to the embodiment. The image projection apparatus 101 includes a CPU (Central Processing Unit) 301, a RAM (Random Access Memory) 302, a ROM (Read Only Memory) 303, an I / F (Interface) 304, an optical engine 305, and an internal bus 311. An image conversion unit 306 is included.

CPU301は、ROM303等に記憶されたプログラムを実行することにより、画像投影装置101全体を制御する演算装置である。   The CPU 301 is an arithmetic device that controls the entire image projection apparatus 101 by executing a program stored in the ROM 303 or the like.

RAM302は、CPU301のワークエリアとして用いられる不揮発性のメモリである。また、RAM302は、PC102から入力された画像データ、カメラ108によって撮像された撮像画像データ、指定領域106の画素値が置換された後の画像データ等、各種画像データを記憶する。   A RAM 302 is a non-volatile memory used as a work area for the CPU 301. The RAM 302 stores various image data such as image data input from the PC 102, captured image data captured by the camera 108, and image data after the pixel values in the designated area 106 are replaced.

ROM303は、プログラムを記憶する不揮発性のメモリであり、例えば、フラッシュROM等により構成される。   The ROM 303 is a non-volatile memory that stores a program, and includes, for example, a flash ROM.

I/F304は、周辺バス、DMAC(Direct Memory Access Controller)、バスコントローラ等であり、I/F304に接続された各インタフェースが受信したデータの優先度を調停して、RAM302に記憶する。また、I/F304に接続された各インタフェースにデータを出力する。図3の例では、I/F304には、ネットワークI/F307、外部ストレージI/F308、映像ケーブルI/F309、カメラI/F310等が接続されている。   The I / F 304 is a peripheral bus, a DMAC (Direct Memory Access Controller), a bus controller, or the like, and arbitrates the priority of data received by each interface connected to the I / F 304 and stores it in the RAM 302. Data is output to each interface connected to the I / F 304. In the example of FIG. 3, a network I / F 307, an external storage I / F 308, a video cable I / F 309, a camera I / F 310, and the like are connected to the I / F 304.

ネットワークI/F307は、例えば、有線/無線LAN(Local Area Network)等により画像投影装置101をネットワークに接続し、データの送受信を行うためのインタフェースである。外部ストレージI/F308は、例えば、USB(Universal Serial Bus)メモリ、メモリカード、外付けのHDD(Hard Disk Drive)又はSSD(Solid State Drive)の外部ストレージ312を接続するためのインタフェースである。映像ケーブルI/F309は、RGBケーブル、HDMI(登録商標)(High-Definition Multimedia Interface)ケーブル等の映像インタフェースを接続するインタフェースである。   The network I / F 307 is an interface for connecting the image projection apparatus 101 to a network by, for example, a wired / wireless LAN (Local Area Network) or the like and transmitting / receiving data. The external storage I / F 308 is an interface for connecting, for example, an external storage 312 of a USB (Universal Serial Bus) memory, a memory card, an external HDD (Hard Disk Drive), or an SSD (Solid State Drive). The video cable I / F 309 is an interface for connecting a video interface such as an RGB cable and an HDMI (registered trademark) (High-Definition Multimedia Interface) cable.

カメラI/F310は、カメラ108を接続するためのインタフェースである。カメラ108は、投影面103に投影された投影画像104を撮像するための撮像手段である。カメラ108は、画像投影装置101に内蔵されていても良いし、画像投影装置101に外付けされるものであっても良い。また、カメラ108が外付けされている場合、カメラ108によって撮像された撮像画像は、映像ケーブルI/F309や、ネットワークI/F307等を介して入力されるものであっても良い。   The camera I / F 310 is an interface for connecting the camera 108. The camera 108 is an imaging unit for capturing the projection image 104 projected on the projection plane 103. The camera 108 may be built in the image projection apparatus 101 or may be externally attached to the image projection apparatus 101. When the camera 108 is externally attached, a captured image captured by the camera 108 may be input via a video cable I / F 309, a network I / F 307, or the like.

光学エンジン305は、例えば、ランプ、LED(Light Emitting Diode)等の投影用の光源、DMD(Digital Mirror Device)、LCD(Liquid Crystal Display)等の表示素子、及び制御部等を含む。光学エンジン305から出力された画像は、投影レンズ107を介して、投影面103に投影画像104として投影される。投影レンズ107は、プロジェクタの仕様に応じて、固定焦点レンズ又はズーム用レンズ等の他、焦点距離、明るさ、画角等、仕様に沿ったものが用いられる。   The optical engine 305 includes, for example, a lamp, a light source for projection such as an LED (Light Emitting Diode), a display element such as a DMD (Digital Mirror Device) and an LCD (Liquid Crystal Display), a control unit, and the like. The image output from the optical engine 305 is projected as a projection image 104 on the projection surface 103 via the projection lens 107. As the projection lens 107, a lens in accordance with specifications such as a focal length, brightness, and angle of view is used in addition to a fixed focus lens or a zoom lens according to the specifications of the projector.

画像変換部306は、カメラ108で撮像された投影面103及び投影画像104の撮像画像に基づいて指定領域106を判断し、投影画像104の指定領域106に所定の画像処理を行う。画像変換部306は、例えば、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable gate array)等の専用回路で構成され、所定のプログラムが実行可能となるように構成されている。尚、画像変換部306の機能は、例えば、CPU301等で動作するプログラムによって実現されるものであっても良い。   The image conversion unit 306 determines the designated area 106 based on the captured images of the projection plane 103 and the projected image 104 captured by the camera 108, and performs predetermined image processing on the designated area 106 of the projected image 104. The image conversion unit 306 includes, for example, a dedicated circuit such as an application specific integrated circuit (ASIC) or a field-programmable gate array (FPGA), and is configured to execute a predetermined program. Note that the function of the image conversion unit 306 may be realized by, for example, a program operating on the CPU 301 or the like.

(PCのハードウェア構成)
PC102は、一般的なコンピュータの構成を有する情報処理装置である。
(PC hardware configuration)
The PC 102 is an information processing apparatus having a general computer configuration.

図4は、一実施形態に係るコンピュータのハードウェア構成例を示す図である。コンピュータ400は、例えば、CPU401、RAM402、ROM403、ストレージ部404、入力装置405、表示装置406、外部I/F407、通信I/F408、バス409等を有する。   FIG. 4 is a diagram illustrating a hardware configuration example of a computer according to an embodiment. The computer 400 includes, for example, a CPU 401, a RAM 402, a ROM 403, a storage unit 404, an input device 405, a display device 406, an external I / F 407, a communication I / F 408, a bus 409, and the like.

CPU401は、ROM403やストレージ部404等からプログラムやデータをRAM402上に読み出し、処理を実行する演算装置である。RAM402は、CPU401のワークエリア等として用いられる不揮発性のメモリである。ROM403は、例えば、コンピュータ400の起動時に実行されるBIOS(Basic Input / Output System)や、各種の設定等を記憶する不揮発性のメモリであり、例えば、フラッシュROM等で構成される。   The CPU 401 is an arithmetic device that reads programs and data from the ROM 403, the storage unit 404, and the like onto the RAM 402 and executes processing. A RAM 402 is a non-volatile memory used as a work area for the CPU 401. The ROM 403 is, for example, a non-volatile memory that stores a basic input / output system (BIOS) executed when the computer 400 is started up, various settings, and the like, and is configured by, for example, a flash ROM.

ストレージ部404は、例えば、OS(Operating System)、アプリケーションプログラム、各種データ等を記憶する不揮発性の記憶装置であり、例えば、HDD(Hard Disk Drive)、SSD(Solid State Drive)等で構成される。   The storage unit 404 is a non-volatile storage device that stores, for example, an OS (Operating System), application programs, various data, and the like, and includes, for example, an HDD (Hard Disk Drive), an SSD (Solid State Drive), or the like. .

入力装置405は、例えば、キーボード、マウス、タッチパネル等により実現され、コンピュータ400に各操作信号を入力するために用いられる。表示装置406は、例えば、LCD(Liquid Crystal Display)ディスプレイ等により実現され、コンピュータ400による処理結果等を表示する。   The input device 405 is realized by, for example, a keyboard, a mouse, a touch panel, and the like, and is used for inputting each operation signal to the computer 400. The display device 406 is realized by, for example, an LCD (Liquid Crystal Display) display or the like, and displays a processing result or the like by the computer 400.

外部I/F407は、外部装置とのインタフェースである。外部装置には、例えば、画像投影装置101、外付けのカメラ、各種記録媒体等が含まれる。   The external I / F 407 is an interface with an external device. The external devices include, for example, the image projection device 101, an external camera, various recording media, and the like.

通信I/F408は、コンピュータ400をネットワークに接続するインタフェースである。これにより、コンピュータ400は通信I/F408を介してデータの送受信を行うことができる。バス409は、上記各構成に接続され、アドレス信号、データ信号、及び各種制御信号等を伝達する。   The communication I / F 408 is an interface that connects the computer 400 to a network. Thereby, the computer 400 can transmit and receive data via the communication I / F 408. A bus 409 is connected to each of the above components and transmits an address signal, a data signal, various control signals, and the like.

<機能構成>
[第1の実施形態]
図5は、第1の実施形態に係る画像変換部の機能構成図である。画像変換部306は、画像比較手段503、指定領域判断手段504、位置関係算出手段505、画素置換手段506等を含む。
<Functional configuration>
[First Embodiment]
FIG. 5 is a functional configuration diagram of the image conversion unit according to the first embodiment. The image conversion unit 306 includes an image comparison unit 503, a designated area determination unit 504, a positional relationship calculation unit 505, a pixel replacement unit 506, and the like.

撮像手段501は、投影面103、及び投影面103に投影された投影画像を撮像する手段であり、例えば、図3のカメラ108等によって実現される。   The imaging unit 501 is a unit that captures the projection plane 103 and a projection image projected on the projection plane 103, and is realized by, for example, the camera 108 in FIG.

画像比較手段503は、撮像手段501によって撮像された少なくとも2つの撮像画像の差分を抽出する。尚、画像比較手段503は、指定領域判断手段504に含まれていても良い。   The image comparison unit 503 extracts a difference between at least two captured images captured by the imaging unit 501. The image comparison unit 503 may be included in the designated area determination unit 504.

指定領域判断手段(判断手段)504は、投影面103に投影された投影画像を撮像手段501によって撮像して得た撮像画像に基づいて、投影画像に対して指定された指定領域106を判断する。本実施の形態では、指定領域判断手段504は、画像比較手段503によって抽出された少なくとも2つの撮像画像の差分に基づいて、指定領域106が指定されたことや、指定された指定領域106等を判断する。   The designated area determination unit (determination unit) 504 determines the designated area 106 designated for the projection image based on the captured image obtained by imaging the projection image projected on the projection plane 103 by the imaging unit 501. . In the present embodiment, the designated area determination unit 504 determines that the designated area 106 has been designated based on the difference between at least two captured images extracted by the image comparison unit 503, and designates the designated designated area 106 or the like. to decide.

位置関係算出手段(算出手段)505は、指定領域判断手段504によって判断された指定領域106の、投影手段502が投影する画像における位置を算出する。例えば、位置関係算出手段505は、指定領域判断手段504によって判断された指定領域106と、投影手段502が投影する画像との位置関係を算出する。   The positional relationship calculation unit (calculation unit) 505 calculates the position of the designated area 106 determined by the specified area determination unit 504 in the image projected by the projection unit 502. For example, the positional relationship calculation unit 505 calculates the positional relationship between the designated area 106 determined by the specified area determination unit 504 and the image projected by the projection unit 502.

画素置換手段506は、位置関係算出手段505によって算出された位置に基づいて、指定された指定領域106に対応する投影する画像の画素を置換する。例えば、画素置換手段506は、上記投影対象となる画像の画素のうち、上記指定された指定領域106に対応する画素の画素値を、所定の値、例えば、背景色や、指定された色等に置換する。尚、画素値を所定の値に置換する処理は所定の画像処理の一例であり、画素置換手段506は、画像処理手段の一例である。   The pixel replacement unit 506 replaces the pixel of the image to be projected corresponding to the designated area 106 based on the position calculated by the positional relationship calculation unit 505. For example, the pixel replacement unit 506 sets a pixel value of a pixel corresponding to the specified area 106 among the pixels of the image to be projected as a predetermined value, for example, a background color, a specified color, or the like. Replace with. Note that the process of replacing a pixel value with a predetermined value is an example of a predetermined image process, and the pixel replacement unit 506 is an example of an image processing unit.

上記の画像比較手段503、指定領域判断手段504、位置関係算出手段505、画素置換手段506等は、例えば、図3の画像変換部306で動作するプログラムや、画像変換部306に含まれるハードウェア等によって実現される。或いは、画像比較手段503、指定領域判断手段504、位置関係算出手段505、画素置換手段506等は、図3のCPU301で動作するプログラム等によって実現されるものであっても良い。   The image comparison unit 503, the designated area determination unit 504, the positional relationship calculation unit 505, the pixel replacement unit 506, etc. are, for example, a program that operates in the image conversion unit 306 in FIG. Etc. Alternatively, the image comparison unit 503, the designated area determination unit 504, the positional relationship calculation unit 505, the pixel replacement unit 506, and the like may be realized by a program that operates on the CPU 301 in FIG.

投影手段502は、画素置換手段506によって、投影する画像の指定領域106の画素が置換えられた場合、画素が置換えられた後の投影する画像を投影面103に投影する。投影手段502は、例えば、図3の光学エンジン305、投影レンズ107等によって実現される。   When the pixel replacement unit 506 replaces the pixel in the designated area 106 of the image to be projected, the projecting unit 502 projects the image to be projected onto the projection plane 103 after the pixel is replaced. The projection unit 502 is realized by, for example, the optical engine 305 and the projection lens 107 shown in FIG.

<処理の流れ>
(処理の概要)
図6は、第1の実施形態に係る画像変換部の処理の概要を説明するための図である。
<Process flow>
(Outline of processing)
FIG. 6 is a diagram for explaining the outline of the processing of the image conversion unit according to the first embodiment.

ここで、投影手段502が投影する画像は、例えば、PC102から入力された画像データ等であり、画像投影装置101のRAM302の所定エリアに記憶されているものとする。また、本実施の形態では、指定領域106は閉じた曲線によって指定されるものとする。また、画像比較手段503は、指定領域判断手段504に含まれているものとして説明を行う。   Here, the image projected by the projection unit 502 is, for example, image data input from the PC 102 and is stored in a predetermined area of the RAM 302 of the image projection apparatus 101. In the present embodiment, the designated area 106 is designated by a closed curve. The image comparison unit 503 will be described as being included in the designated area determination unit 504.

ステップS61において、指定領域判断手段504は、撮像手段501によって撮像された少なくとも2つの撮像画像の差分を計算することにより、指定領域106を指定する曲線のみが描かれた領域データ604を抽出する。   In step S <b> 61, the designated area determination unit 504 extracts area data 604 on which only a curve designating the designated area 106 is drawn by calculating a difference between at least two captured images captured by the imaging unit 501.

ステップS62において、位置関係算出手段505は、投影手段502が投影する画像データ603と、指定領域判断手段504によって抽出された領域データ604との位置関係を算出する。   In step S <b> 62, the positional relationship calculation unit 505 calculates the positional relationship between the image data 603 projected by the projection unit 502 and the region data 604 extracted by the designated region determination unit 504.

ステップS63において、画素置換手段506は、位置関係算出手段505によって算出された位置関係に基づいて、投影する画像データ603の指定領域106に対応する画素の画素値を所定の値に置換する。また、画素置換手段506は、置換後の画像データ605を投影手段502が投影する画像として、RAM302の所定エリアに記憶する。   In step S63, the pixel replacement unit 506 replaces the pixel value of the pixel corresponding to the designated area 106 of the image data 603 to be projected with a predetermined value based on the positional relationship calculated by the positional relationship calculation unit 505. Further, the pixel replacement unit 506 stores the replaced image data 605 in a predetermined area of the RAM 302 as an image projected by the projection unit 502.

ステップS64において、投影手段502は、RAM302に記憶された、置換後の画像データ605を、新たな投影する画像として投影面に投影する。   In step S64, the projection unit 502 projects the replaced image data 605 stored in the RAM 302 onto the projection plane as a new image to be projected.

次に、画像比較手段503、指定領域判断手段504、位置関係算出手段505、画素置換手段506の具体的な処理内容の例について説明する。   Next, specific examples of processing contents of the image comparison unit 503, the designated area determination unit 504, the positional relationship calculation unit 505, and the pixel replacement unit 506 will be described.

(画像比較手段、及び指定領域判断手段の処理)
図7は、第1の実施形態に係る画像比較手段、及び指定領域判断手段の処理を説明するための図である。
(Processing of image comparison means and designated area determination means)
FIG. 7 is a diagram for explaining processing of the image comparison unit and the designated area determination unit according to the first embodiment.

画像比較手段503は、第1画像601と第2画像602の複数の画素、好ましくは全ての画素について、同一位置の画素値の差をそれぞれ計算し、その差が予め定められたしきい値を超える画素を抽出する。   The image comparison means 503 calculates a difference between pixel values at the same position for a plurality of pixels of the first image 601 and the second image 602, preferably all of the pixels, and sets the difference to a predetermined threshold value. Extract more pixels.

図7のように、第1画像601が指定領域106を描く前の画像であり、第2画像602が指定領域106を描いた後の画像である場合、指定領域判断手段504は、画像比較手段503の抽出結果より、指定領域106を示す領域データ604を容易に判断することができる。   As shown in FIG. 7, when the first image 601 is an image before the designated area 106 is drawn and the second image 602 is an image after the designated area 106 is drawn, the designated area determining unit 504 includes an image comparing unit. From the extraction result 503, the area data 604 indicating the designated area 106 can be easily determined.

また、第1画像601と第2画像602の同一位置の画素値の差が、予め定められたしきい値を超える画素がない場合、指定領域判断手段504は、指定領域106が指定されていないと判断することができる。   If there is no pixel in which the difference between the pixel values at the same position in the first image 601 and the second image 602 exceeds a predetermined threshold value, the designated area determination unit 504 does not designate the designated area 106. It can be judged.

一方、例えば、第2画像602が、指定領域106を描いている途中で撮像された場合等、画像比較手段503によって抽出された画素が閉じた曲線でないとき、指定領域判断手段504は、例えば、所定の時間経過後の撮像画像により第2画像602を更新する。また、画像比較手段503は、第1画像601と、更新された第2画像602の同一位置の画素値の差を再計算する。例えば、このような処理を繰り返し、指定領域106を示す領域データ604が閉じた曲線となった時点で、指定領域判断手段504は、指定領域106が指定されたと判断し、指定領域106を示す領域データ604を判断(取得)する。   On the other hand, when the pixel extracted by the image comparison unit 503 is not a closed curve, for example, when the second image 602 is captured in the middle of drawing the designated region 106, the designated region determination unit 504, for example, The second image 602 is updated with the captured image after a predetermined time has elapsed. In addition, the image comparison unit 503 recalculates the difference between the pixel values at the same position in the first image 601 and the updated second image 602. For example, when such processing is repeated and the area data 604 indicating the specified area 106 becomes a closed curve, the specified area determining unit 504 determines that the specified area 106 has been specified, and indicates the area indicating the specified area 106. The data 604 is determined (acquired).

別の一例として、指定領域判断手段504は、所定の時間間隔で撮像される3つ以上の撮像画像の同一位置の画素値の差に基づいて、指定領域106が指定されたことを判断し、指定された指定領域106を示す領域データ604を取得するものであっても良い。   As another example, the designated area determination unit 504 determines that the designated area 106 has been designated based on the difference between the pixel values at the same position of three or more captured images captured at a predetermined time interval, The area data 604 indicating the designated area 106 may be acquired.

また、発光部を有するペンライト等で指定領域106を描く場合、動画のように短い時間で継続的に撮像した複数の画像を合成した画像や、カメラ108の露光時間を長くすることで光の軌跡を撮影した画像等により、領域データ604を判断することができる。   In addition, when the designated area 106 is drawn with a penlight or the like having a light emitting unit, an image obtained by combining a plurality of images continuously captured in a short time such as a moving image, or by increasing the exposure time of the camera 108 The area data 604 can be determined from an image or the like obtained by capturing the locus.

上記処理により、指定領域判断手段504によって判断(取得)された領域データ604は、指定領域106を指定する閉曲線を含む。   The region data 604 determined (acquired) by the specified region determination unit 504 by the above processing includes a closed curve that specifies the specified region 106.

(位置関係算出手段の処理)
図8は、第1の実施形態に係る位置関係算出手段の処理を説明するための図である。位置関係算出手段505は、指定領域判断手段504によって判断された指定領域106を示す領域データ604が、投影する画像のどの位置に描かれているかを特定する。
(Processing of positional relationship calculation means)
FIG. 8 is a diagram for explaining the processing of the positional relationship calculation unit according to the first embodiment. The positional relationship calculation unit 505 identifies the position in the image to be projected where the area data 604 indicating the specified area 106 determined by the specified area determining unit 504 is drawn.

図8の(a)に示すように、撮像手段501によって撮像された画像801には、投影手段502による投影画像802の他に、投影面103等の背景部分803も含まれる。そのため、位置関係算出手段505は、まず、撮像された画像801から背景部分803を切り取り、投影画像802のみを取り出す。   As shown in FIG. 8A, the image 801 captured by the imaging unit 501 includes a background portion 803 such as the projection plane 103 in addition to the projection image 802 by the projection unit 502. Therefore, the positional relationship calculation unit 505 first cuts out the background portion 803 from the captured image 801 and extracts only the projection image 802.

撮像された画像801から背景部分803を切り取るためには、投影画像802と背景部分803との境界を判断する。例えば、背景部803は、ホワイトボード等の投影面103であり同色であるものとし、投影画像802は矩形であるものとした場合、投影画像802と背景部803には、水平、垂直方向にエッジが存在する。   In order to cut out the background portion 803 from the captured image 801, the boundary between the projection image 802 and the background portion 803 is determined. For example, when the background portion 803 is the projection surface 103 such as a whiteboard and has the same color, and the projection image 802 is a rectangle, the projection image 802 and the background portion 803 have edges in the horizontal and vertical directions. Exists.

そのため、各画素に対する水平、垂直方向のエッジ量を取得する。エッジ量とは、対象画素にエッジ検出フィルタを用いた後の出力値を示し、画素毎に算出される。エッジ検出フィルタには、様々な種類が考えられるがここではその種類を限定しない。   Therefore, the horizontal and vertical edge amounts for each pixel are acquired. The edge amount indicates an output value after the edge detection filter is used for the target pixel, and is calculated for each pixel. There are various types of edge detection filters, but the types are not limited here.

各画素のエッジ量を取得した後、水平方向のエッジ量の和を全ての行に対して計算し、和の値が大きい行を上位から所定の数だけ記憶する。同様に垂直方向のエッジ量の和を全ての列に対して計算し、和の値が大きい列を上位から所定の数だけ記憶する。   After acquiring the edge amount of each pixel, the sum of the edge amounts in the horizontal direction is calculated for all the rows, and a predetermined number of rows having a large sum value are stored from the top. Similarly, the sum of the edge amounts in the vertical direction is calculated for all the columns, and a predetermined number of columns having a large sum value are stored from the top.

上記の記憶した所定の数の行の中から、最も行間が開く2行を選択し、選択された2行を、投影画像802と背景部分803との上下の境界とする。同様に、上記の記憶した所定の数の列の中から、最も列間が開く2行を選択し、選択された2行を、投影画像802と背景部分803との左右の境界とする。   Among the predetermined number of stored lines, two lines that are most open are selected, and the selected two lines are set as upper and lower boundaries between the projection image 802 and the background portion 803. Similarly, two rows that are most open between the columns are selected from the predetermined number of stored columns, and the selected two rows are used as the left and right boundaries between the projection image 802 and the background portion 803.

上記境界に沿って画像を取り出すことにより、撮像された画像801から、投影画像802を取り出すことができる。   By extracting an image along the boundary, a projected image 802 can be extracted from the captured image 801.

次に、撮像手段501によって撮像された投影画像802と、投影手段502が投影する元画像は、大きさが異なるため、相対的な位置関係を知るために比を算出する。   Next, since the projection image 802 captured by the imaging unit 501 and the original image projected by the projection unit 502 are different in size, a ratio is calculated in order to know the relative positional relationship.

図8の(b)に示すように、撮像された画像801から取り出した投影画像802の幅をW、高さをHとし、指定領域106を示す領域データ604の各画素の座標を(x,y)とする。この場合、水平方向の比はx/W、垂直方向の比はy/Hで算出される。位置関係算出手段505は、指定領域106を示す領域データ604の各画素について比の算出を行う。   As shown in FIG. 8B, the width of the projected image 802 extracted from the captured image 801 is W, the height is H, and the coordinates of each pixel of the area data 604 indicating the designated area 106 are (x, y). In this case, the horizontal ratio is calculated as x / W, and the vertical ratio is calculated as y / H. The positional relationship calculation unit 505 calculates a ratio for each pixel of the area data 604 indicating the designated area 106.

また、画像投影装置101のRAM302の所定エリアに記憶されている、投影手段502が投影する画像データ603の水平方向の画像サイズ(幅)をw、垂直方向の画像サイズ(高さ)をhとする。この場合、投影手段502が投影する画像データ603における、指定領域106に対応する領域データ604の各画素の座標は、(xw/W,yh/H)で表される。これにより、位置関係算出手段505は、撮像された画像801に含まれる指定領域106を示す領域データ604の各画素の、撮像手段501が投影する画像における位置を特定することができる。   The horizontal image size (width) of the image data 603 projected by the projection unit 502 stored in a predetermined area of the RAM 302 of the image projection apparatus 101 is w, and the vertical image size (height) is h. To do. In this case, the coordinates of each pixel of the area data 604 corresponding to the designated area 106 in the image data 603 projected by the projection unit 502 are represented by (xw / W, yh / H). Thereby, the positional relationship calculation unit 505 can specify the position of each pixel of the area data 604 indicating the designated area 106 included in the captured image 801 in the image projected by the imaging unit 501.

(画素置換手段の処理)
図9は、第1の実施形態に係る画素置換手段の処理を説明するための図である。画素置換手段506は、投影手段502が投影する画像データ603(置換前の画像)の指定された指定領域106に対応する画素の画素値を所定の値に置換する。
(Processing of pixel replacement means)
FIG. 9 is a diagram for explaining processing of the pixel replacement unit according to the first embodiment. The pixel replacement unit 506 replaces the pixel value of the pixel corresponding to the designated area 106 in the image data 603 (image before substitution) projected by the projection unit 502 with a predetermined value.

所定の値の一例として、例えば、図9の(b)に示すように、領域901の内部の画素を、投影する画像データ603の背景色に置換する。この場合、例えば、領域901の境界に存在する画素値の頻度を算出し、最も頻度の高い画素値に、領域901内部の画素の画素値を置換する。   As an example of the predetermined value, for example, as shown in FIG. 9B, the pixels inside the area 901 are replaced with the background color of the image data 603 to be projected. In this case, for example, the frequency of the pixel value existing at the boundary of the region 901 is calculated, and the pixel value of the pixel in the region 901 is replaced with the pixel value having the highest frequency.

また、所定の値の別の一例として、例えば、図9の(c)に示すように、領域901の内部の画素を任意の色に置換する。この場合、予め設定された指定色の画素値に、領域901内部の画素の画素値を置換する。   As another example of the predetermined value, for example, as shown in FIG. 9C, the pixels inside the region 901 are replaced with an arbitrary color. In this case, the pixel value of the pixel in the area 901 is replaced with a pixel value of a preset designated color.

尚、上記の画像比較手段503、指定領域判断手段504、位置関係算出手段505、画素置換手段506の処理は一例であって、本発明の範囲を限定するものではない。画像比較手段503、指定領域判断手段504、位置関係算出手段505、画素置換手段506は、他の処理によって図6に示す各機能を実現するものであっても良い。   Note that the processing of the image comparison unit 503, the designated area determination unit 504, the positional relationship calculation unit 505, and the pixel replacement unit 506 is an example, and does not limit the scope of the present invention. The image comparison unit 503, the designated area determination unit 504, the positional relationship calculation unit 505, and the pixel replacement unit 506 may realize the functions illustrated in FIG. 6 by other processing.

(プレビュー処理)
図10は、第1の実施形態に係るプレビュー処理の流れを示すフローチャートである。
(Preview process)
FIG. 10 is a flowchart showing the flow of the preview process according to the first embodiment.

好ましくは、画像投影装置101は、利用者が描いた指定領域106に対応する画素の指定の色等への置換を確定する前に、プレビュー画面を表示する機能を有することが望ましい。これにより、利用者の意図と異なる領域に対して画像処理(置換)が行われることを低減させることができる。   Preferably, the image projection apparatus 101 desirably has a function of displaying a preview screen before confirming replacement of a pixel corresponding to the designated area 106 drawn by the user with a designated color or the like. As a result, it is possible to reduce the image processing (replacement) performed on a region different from the user's intention.

図10のステップS1001において、例えば、図6に示す処理により、投影面103に指定された指定領域106に基づいて、指定領域106内の画素を所定の色に置換する。   In step S1001 of FIG. 10, for example, the pixels in the designated area 106 are replaced with a predetermined color based on the designated area 106 designated on the projection plane 103 by the process shown in FIG.

ステップS1002において、ステップS1001で画素を置換した画像をプレビューとして表示(投影)する。このとき、画素を置換する前の画像は、メモリ(RAM302等)上に蓄積しておく。   In step S1002, the image in which the pixel is replaced in step S1001 is displayed (projected) as a preview. At this time, the image before pixel replacement is stored on a memory (such as the RAM 302).

ステップS1003において、プレビュー通りに画素を置換するか否かを選択する画面を表示させること等によりユーザに選択を促し、ユーザの入力に応じて処理を分岐する。利用者は、プレビュー表示通りに置換を行うときには肯定を示す操作(例えば、「OK」を選択)を行い、意図した領域と異なるときには否定を示す操作(例えば、「キャンセル」を選択)を行う。   In step S1003, the user is prompted to select, for example, by displaying a screen for selecting whether or not to replace the pixel as previewed, and the process branches according to the user input. The user performs an operation indicating affirmation (for example, “OK” is selected) when performing replacement according to the preview display, and performs an operation indicating “No” (for example, selecting “cancel”) when different from the intended region.

ステップS1003において、否定を示す操作が行われた場合、ステップS1004において、画素の置換をキャンセルし、メモリ上に蓄積した画素を置換する前の画像を投影して、領域の書き直しを行う。領域の書き直し後は、ステップS1001に戻って処理を続ける。   If a negative operation is performed in step S1003, pixel replacement is canceled in step S1004, the image before replacement of the pixels accumulated in the memory is projected, and the region is rewritten. After rewriting the area, the process returns to step S1001 to continue the processing.

一方、ステップS1003において、肯定を示す操作が行われた場合、ステップS1005において、プレビュー表示した画像を投影する。   On the other hand, if an affirmative operation is performed in step S1003, the preview displayed image is projected in step S1005.

上記処理により、利用者が誤って領域を指定してしまった場合や、画像処理システム100が領域を誤認識した場合等、利用者の意図と異なる画素の置換を容易に元に戻すことができるようになる。   Through the above processing, pixel replacement that is different from the user's intention can be easily restored, for example, when the user mistakenly designates the region, or when the image processing system 100 misrecognizes the region. It becomes like this.

[第2の実施形態]
本実施形態では、利用者が指定領域106を指定する曲線が、描画を終えた後に閉じていない場合の補間処理について説明する。
[Second Embodiment]
In the present embodiment, an interpolation process will be described in the case where a curve for designating the designated area 106 by the user is not closed after drawing.

図11は、第2の実施形態に係る画像変換部の機能構成図である。本実施の形態に係る画像変換部306は、図5に示す第1の実施形態に係る画像変換部306の構成に加えて、領域補間手段1101を有している。尚、領域補間手段1101以外の構成については、第1の実施形態と同様なので、ここでは差分を中心に説明する。   FIG. 11 is a functional configuration diagram of an image conversion unit according to the second embodiment. The image conversion unit 306 according to the present embodiment has a region interpolation unit 1101 in addition to the configuration of the image conversion unit 306 according to the first embodiment shown in FIG. Since the configuration other than the region interpolation unit 1101 is the same as that in the first embodiment, only the difference will be described here.

図12は、第2の実施形態に係る領域補間手段の動作を説明するための図である。曲線1201は、画像処理システム100の利用者(例えば発表者)が、指定領域106を指定することを意図して描かれたものであるが、描画が正確でなかったため、曲線1201は閉じていない状態で描画を終えたものとする。   FIG. 12 is a diagram for explaining the operation of the region interpolation means according to the second embodiment. The curve 1201 is drawn with the intention that a user (eg, a presenter) of the image processing system 100 designates the designated area 106, but the curve 1201 is not closed because the drawing is not accurate. It is assumed that drawing has been completed in the state.

尚、曲線1201が描画中であるか、描画が終了しているかは、例えば、所定の時間経過後に曲線1201が変化しているか否かによって判断することができる。領域補間手段1101は、例えば、描画された曲線1201が所定の時間以上に亘って開いていると判断した場合、曲線1201を閉曲線に補間する。   Note that whether the curve 1201 is being drawn or whether drawing has ended can be determined, for example, based on whether the curve 1201 has changed after a predetermined time has elapsed. For example, when it is determined that the drawn curve 1201 is open for a predetermined time or more, the region interpolation unit 1101 interpolates the curve 1201 into a closed curve.

図12の点線aは、曲線1201の始点と終点との間を直線で補完する場合の例を示している。尚、曲線1201の始点と終点との間を補完する線は曲線であっても良い。   A dotted line a in FIG. 12 shows an example in the case where the start point and end point of the curve 1201 are complemented with a straight line. The line that complements the start point and end point of the curve 1201 may be a curve.

図12の点線bは、曲線1201の端点から、指定領域106の面積が最大となるように直線で補完する場合の例を示している。   A dotted line b in FIG. 12 shows an example in the case of complementing with a straight line from the end point of the curve 1201 so that the area of the designated region 106 is maximized.

例えば、領域補間手段1101は、曲線1201の2つの端点のそれぞれを始点として、所定の角度(例えば1度単位)で複数の直線を引き、それぞれの直線で補間した場合の領域内の面積を計算する。尚、所定の角度で複数の直線を引くのは好適な一例であって、要は曲線1201の2つの端点と、曲線1201上の複数の点との間で直線を引き、それぞれの直線で曲線1201を閉曲線に補間した場合の領域内の面積を計算するものであれば良い。   For example, the area interpolation unit 1101 calculates the area in the area when a plurality of straight lines are drawn at a predetermined angle (for example, in units of 1 degree) starting from each of the two end points of the curve 1201 and interpolated with the respective straight lines. To do. In addition, it is a preferable example to draw a plurality of straight lines at a predetermined angle. In short, a straight line is drawn between two end points of the curve 1201 and a plurality of points on the curve 1201, and each straight line is a curve. What is necessary is just to calculate the area in the area | region at the time of interpolating 1201 to a closed curve.

例えば、計算した面積の値をメモリに記憶し、次の直線を引いたときにメモリに記憶された値と比較し、計算された値の方が大きい場合に、メモリに記憶された値を更新する。これにより、領域内の面積が最大となる曲線1201上の点を特定することができる。   For example, the calculated area value is stored in the memory, compared with the value stored in the memory when the next straight line is drawn, and if the calculated value is larger, the value stored in the memory is updated. To do. Thereby, the point on the curve 1201 where the area in the region is maximum can be specified.

領域補間手段1101は、領域の面積が最大となる場合の曲線1201上の点と、曲線1201の端点との間を直線又は曲線で補完する。   The region interpolation unit 1101 complements a point on the curve 1201 when the area of the region is maximum and the end point of the curve 1201 with a straight line or a curve.

図12の点線(c)は、曲線1201の端点から、曲線1201を延長する直線により、曲線1201を補間する場合の例を示す。この直線は、例えば、曲線1201の端点と、その端点の近傍の点(例えば、端点に隣接する点)を通る方向に作成される。   A dotted line (c) in FIG. 12 shows an example in which the curve 1201 is interpolated from the end point of the curve 1201 by a straight line extending the curve 1201. For example, the straight line is created in a direction passing through the end point of the curve 1201 and a point in the vicinity of the end point (for example, a point adjacent to the end point).

尚、上記補間方法は一例であり、上記以外の方法により開曲線を閉曲線に補間するものであっても良い。   The above interpolation method is an example, and an open curve may be interpolated into a closed curve by a method other than the above.

上記処理により、利用者が指定領域106を指定する曲線が、描画を終えた後に閉じていない場合でも、指定領域106を指定する曲線を補間して、指定領域106を特定することができるようになる。   By the above processing, even when the curve for designating the designated area 106 is not closed after the drawing is completed, the designated area 106 can be identified by interpolating the curve for designating the designated area 106. Become.

[第3の実施形態]
(システム構成)
図13は、第3の実施形態に係る画像処理システムの構成例を示す図である。図1に示した画像処理システム100では、投影画像104に削除したい領域がある場合、ペンや、ペンライト等の指示具105で削除したい指定領域106(閉曲線)を投影面103に描くものとして説明を行った。しかし、指定領域106を閉曲線で指定するのは一例であって、他の方法によって、投影面103に領域を指定するものであっても良い。
[Third Embodiment]
(System configuration)
FIG. 13 is a diagram illustrating a configuration example of an image processing system according to the third embodiment. In the image processing system 100 shown in FIG. 1, when there is an area to be deleted in the projection image 104, it is assumed that a designated area 106 (closed curve) to be deleted is drawn on the projection plane 103 with a pointing tool 105 such as a pen or pen light. Went. However, the designation of the designated area 106 with a closed curve is merely an example, and the area may be designated on the projection plane 103 by another method.

本実施の形態では、ペン、ペンライト等の指示具105に代えて、例えば、レーザーポインタ等の光指示具1301によって、指定領域を指定する場合の例について説明する。   In the present embodiment, an example will be described in which a designated area is designated by an optical indicator 1301 such as a laser pointer instead of the indicator 105 such as a pen or a penlight.

図13において、利用者が光指示具1301から出力される光を用いて、投影面上に光点を表示させると、画像投影装置101は、カメラ108によって撮像された撮像画像に基づいて、表示された光点の周囲にカーソル1302を表示する。これにより、利用者は、光指示具1301を用いて、投影面103上の任意の場所にカーソル1302を表示させ、移動させることができる。好ましくは、このカーソル1302の大きさは、例えば、利用者の操作や、画像投影装置101の設定等により変更可能であることが望ましい。   In FIG. 13, when the user displays a light spot on the projection plane using the light output from the light indicator 1301, the image projection apparatus 101 displays based on the captured image captured by the camera 108. A cursor 1302 is displayed around the light spot. As a result, the user can display and move the cursor 1302 to an arbitrary location on the projection plane 103 using the light indicator 1301. Preferably, the size of the cursor 1302 can be changed by, for example, a user operation or setting of the image projection apparatus 101.

また、画像投影装置101は、利用者により所定の操作(例えば置換ボタンの押下)が行われると、カーソル1302内の領域を指定領域と判断し、指定領域内の画素を所定の色(画素値)に置換する。また、画像投影装置101は、利用者により別の所定の操作(例えば回復ボタンの押下)が行われると、カーソル1302内の置換された画素を、置換する前の画素値に戻すことができる。   In addition, when a predetermined operation (for example, pressing of a replace button) is performed by the user, the image projection apparatus 101 determines that the area in the cursor 1302 is a specified area, and sets the pixels in the specified area to a predetermined color (pixel value). ). Further, when another predetermined operation (for example, pressing of the recovery button) is performed by the user, the image projection apparatus 101 can return the replaced pixel in the cursor 1302 to the pixel value before replacement.

(光指示具の構成)
図14は、第3の実施形態に係る光指示具の例を示す図である。光指示具1301は、例えば、光源部1401、光照射ボタン1402、ダイヤル1403、置換ボタン1404、回復ボタン1405等を有する。
(Configuration of light indicator)
FIG. 14 is a diagram illustrating an example of a light indicator according to the third embodiment. The light indicator 1301 includes, for example, a light source unit 1401, a light irradiation button 1402, a dial 1403, a replacement button 1404, a recovery button 1405, and the like.

光源部1401は、光点を表示するための光源であり、例えば、半導体レーザやLED(Light Emitting Diode)等の半導体光源等によって実現される。光照射ボタン1402は、光源部1401の点灯/消灯を制御するボタンである。ダイヤル1403は、カーソル1302のサイズを変更するために用いられる。置換ボタン1404は、カーソル1302内の画素の置換を指示するためのボタンである。回復ボタン1405は、カーソル1302内の置換された画素値の回復を指示するためのボタンである。   The light source unit 1401 is a light source for displaying a light spot, and is realized by, for example, a semiconductor light source such as a semiconductor laser or an LED (Light Emitting Diode). The light irradiation button 1402 is a button for controlling turning on / off of the light source unit 1401. A dial 1403 is used to change the size of the cursor 1302. A replace button 1404 is a button for instructing replacement of the pixel in the cursor 1302. A recovery button 1405 is a button for instructing the recovery of the replaced pixel value in the cursor 1302.

尚、光指示具1301に対して行われた操作の少なくとも一部は、例えば、赤外線通信、近距離無線通信、無線LAN、又は有線ケーブル等を用いて画像投影装置101、PC102等に通知されるものとする。   Note that at least a part of the operation performed on the light indicator 1301 is notified to the image projection apparatus 101, the PC 102, and the like using, for example, infrared communication, short-range wireless communication, wireless LAN, or wired cable. Shall.

(機能構成)
図15は、第3の実施形態に係る画像変換部の機能構成図である。本実施の形態に係る画像変換部306は、図5に示す第1の実施形態に係る画像変換部306の画像比較手段503に代えて、光指示検出手段1501、カーソル表示手段1502を有する。また、図5に示す第1の実施形態に係る画像変換部306の画素置換手段506に代えて、画素置換/回復手段1505を有する。
(Functional configuration)
FIG. 15 is a functional configuration diagram of an image conversion unit according to the third embodiment. The image conversion unit 306 according to the present embodiment includes a light instruction detection unit 1501 and a cursor display unit 1502 instead of the image comparison unit 503 of the image conversion unit 306 according to the first embodiment shown in FIG. Further, a pixel replacement / recovery unit 1505 is provided instead of the pixel replacement unit 506 of the image conversion unit 306 according to the first embodiment shown in FIG.

光指示検出手段1501は、撮像手段501によって撮像された、投影面103、及び投影画像104を撮像した撮像画像に基づいて、光指示具1301によって投影面103に表示された光点を検出する。また、検出された光点の、投影手段502が投影する画像に対する位置を、例えば、第1の実施形態の位置関係算出手段505による処理と同様にして算出する。   The light instruction detection unit 1501 detects the light spot displayed on the projection surface 103 by the light indicator 1301 based on the projected image captured by the imaging unit 501 and the captured image obtained by capturing the projection image 104. Further, the position of the detected light spot with respect to the image projected by the projection unit 502 is calculated, for example, in the same manner as the processing by the positional relationship calculation unit 505 of the first embodiment.

カーソル表示手段1502は、画像の光指示検出手段1501によって算出された光点の位置の周囲に所定のカーソル1302を表示させる。尚、図13の例では、カーソル1302の形状が矩形であるが、カーソル1302の形状は矩形以外の形状であっても良い。   The cursor display unit 1502 displays a predetermined cursor 1302 around the position of the light spot calculated by the light instruction detection unit 1501 of the image. In the example of FIG. 13, the cursor 1302 has a rectangular shape, but the cursor 1302 may have a shape other than a rectangle.

指定領域判断手段1503は、例えば、光指示具1301の置換ボタン1404、回復ボタン1405等が押下されたことを検知し、そのときのカーソル1302の範囲内を指定された指定領域として判断(特定)する。   For example, the designated area determination unit 1503 detects that the replace button 1404, the recovery button 1405, or the like of the light indicator 1301 has been pressed, and determines (specified) the designated area within the range of the cursor 1302 at that time. To do.

位置関係算出手段1504は、指定領域判断手段1503によって判断された指定領域の、投影手段502が投影する画像における位置を算出する。位置関係算出手段1504は、例えば、第1の実施形態の位置関係算出手段505による処理と同様にして算出される。   The positional relationship calculation unit 1504 calculates the position of the designated area determined by the designated area determination unit 1503 in the image projected by the projection unit 502. The positional relationship calculation unit 1504 is calculated in the same manner as the processing by the positional relationship calculation unit 505 of the first embodiment, for example.

画素置換/回復手段1505は、光指示具1301の置換ボタン1404が押下された場合、投影手段502が投影する画像のカーソル1302に対応する領域の画素を所定の画素値に置換する。また、画素置換/回復手段1505は、光指示具1301の回復ボタン1405が押下された場合、投影手段502が投影する画像のカーソル1302に対応する領域の置換された画素を元の画素値に回復させる。尚、画素置換/回復手段1505は、画像処理手段の一例である。   When the replace button 1404 of the light indicator 1301 is pressed, the pixel replacement / recovery unit 1505 replaces the pixel in the region corresponding to the cursor 1302 of the image projected by the projection unit 502 with a predetermined pixel value. Further, when the recovery button 1405 of the light indicator 1301 is pressed, the pixel replacement / recovery unit 1505 recovers the replaced pixel in the area corresponding to the cursor 1302 of the image projected by the projection unit 502 to the original pixel value. Let The pixel replacement / recovery unit 1505 is an example of an image processing unit.

(処理の流れ)
図16は、第3の実施形態に係る画素の置換処理の流れを示すフローチャートである。
(Process flow)
FIG. 16 is a flowchart illustrating the flow of pixel replacement processing according to the third embodiment.

ステップS1601において、画像投影装置101は、光指示具1301によって投影面103に光が照射されたか否かを判断し、光が照射された場合、ステップS1602へ移行する。一方、光が照射されていない場合、ステップS1601の処理を繰り返す。   In step S1601, the image projection apparatus 101 determines whether or not the projection surface 103 is irradiated with light by the light indicator 1301, and when the light is irradiated, the process proceeds to step S1602. On the other hand, when light is not irradiated, the process of step S1601 is repeated.

ステップS1602において、画像投影装置101は、光指示具1301による光の周囲にカーソル1302を表示させる。尚、カーソル1302は、光指示具1301による光に追従して動く。   In step S <b> 1602, the image projection apparatus 101 displays a cursor 1302 around the light emitted by the light indicator 1301. Note that the cursor 1302 moves following the light emitted from the light indicator 1301.

ステップS1603において、画像投影装置101は、ボタン1が押下されているか否かを判断する。尚、ボタン1は、利用者が画素の置換を指示するためのボタンであり、例えば、光指示具1301の置換ボタン1404に相当する。   In step S1603, the image projection apparatus 101 determines whether the button 1 is pressed. The button 1 is a button for the user to instruct pixel replacement, and corresponds to the replacement button 1404 of the light indicator 1301, for example.

ステップS1603において、ボタン1が押下されている場合、ステップS1604において、カーソル1302内の画素値を置換する。尚、この操作は、ボタン1を押下している間有効であり、ボタン1を押下しながらカーソルを動かすと、その中にある画素が置換されて行く。一方、ステップS1603において、ボタン1が押下されていない場合、ステップS1602に戻って処理を繰り返す。   If button 1 is pressed in step S1603, the pixel value in cursor 1302 is replaced in step S1604. This operation is effective while the button 1 is being pressed. When the cursor is moved while the button 1 is being pressed, the pixels in the button 1 are replaced. On the other hand, if button 1 is not pressed in step S1603, the process returns to step S1602 and the process is repeated.

ステップS1605において、画像投影装置101は、ボタン2が押下されているか否かを判断する。尚、ボタン2は、利用者が、置換された画素の回復を指示するためのボタンであり、例えば、光指示具1301の回復ボタン1405に相当する。   In step S1605, the image projection apparatus 101 determines whether the button 2 is pressed. The button 2 is a button for the user to instruct recovery of the replaced pixel, and corresponds to the recovery button 1405 of the light indicator 1301, for example.

ステップS1605において、ボタン2が押下されている場合、ステップS1606において、カーソル1302内の置換された画素値を、置換前の画素値に戻す。尚、この操作は、ボタン2を押下している間有効であり、ボタン2を押下しながらカーソルを動かすと、その中にある置換された画素が、置換前の画素値に戻る。   If button 2 is pressed in step S1605, the replaced pixel value in cursor 1302 is returned to the pixel value before replacement in step S1606. This operation is effective while the button 2 is pressed. When the cursor is moved while the button 2 is pressed, the replaced pixel in the button 2 returns to the pixel value before replacement.

また、好適な一例として、ボタン2を素早く2回押した場合、ボタン1によって置換された全ての画素が、置換前の画素値に戻る。   As a preferred example, when the button 2 is pressed twice quickly, all the pixels replaced by the button 1 return to the pixel values before the replacement.

上記処理により、画像処理システム100の利用者は、投影面103に投影された投影画像104の少なくとも一部の情報を、リアルタイムで置換し、又置換前の情報に回復することができるようになる。   With the above processing, the user of the image processing system 100 can replace at least a part of information of the projection image 104 projected on the projection plane 103 in real time and can restore the information before the replacement. .

[その他のシステム構成]
第1〜第3の実施形態のシステム構成は一例であり、画像処理システム100は、様々なシステム構成が可能である。
[Other system configurations]
The system configuration of the first to third embodiments is an example, and the image processing system 100 can have various system configurations.

図17は、一実施形態に係る画像処理システムのその他の構成例を示す図である。例えば、第1〜第3の実施形態では、画像投影装置101が画像変換部306を有するものとして説明を行ったが、画像変換部306は、PC102が有していても良い。この場合、画像変換部306の各手段は、例えば、図4のCPU401で動作するプログラムによって実現される。   FIG. 17 is a diagram illustrating another configuration example of the image processing system according to the embodiment. For example, in the first to third embodiments, the image projection apparatus 101 has been described as including the image conversion unit 306. However, the image conversion unit 306 may be included in the PC 102. In this case, each unit of the image conversion unit 306 is realized by, for example, a program operating on the CPU 401 in FIG.

画像変換部306が、PC102に含まれる場合の画像処理システム100の構成例を図17の(a)に示す。この場合、例えば、図5の撮像手段501は、カメラ108によって実現され、投影手段502は、画像投影装置101によって実現される。   A configuration example of the image processing system 100 when the image conversion unit 306 is included in the PC 102 is shown in FIG. In this case, for example, the imaging unit 501 in FIG. 5 is realized by the camera 108, and the projection unit 502 is realized by the image projection apparatus 101.

また、PC102は、例えば、タブレット端末等のPC102以外の情報端末であっても良い。PC102等の情報端末は、画像処理装置の別の一例である。   The PC 102 may be an information terminal other than the PC 102 such as a tablet terminal. An information terminal such as the PC 102 is another example of an image processing apparatus.

さらに、カメラ108は、PC102等の情報端末に内蔵されたカメラであっても良いし、複数のカメラ等であってもよい。複数のカメラを備えることにより、カメラ108と投影面103との間に利用者が入った場合等の死角を低減することができる。   Further, the camera 108 may be a camera built in an information terminal such as the PC 102, or may be a plurality of cameras. By providing a plurality of cameras, it is possible to reduce blind spots when a user enters between the camera 108 and the projection plane 103.

また、図17の(b)に示すように、画像処理システム100は、必ずしもPC102等の情報端末を有していなくても良い。この場合、投影する画像は、例えば、図3のネットワークI/F307を用いてネットワークから取得するものであっても良いし、図3の外部ストレージI/F308を用いて外部ストレージ312から取得するものであっても良い。   Further, as shown in FIG. 17B, the image processing system 100 does not necessarily have an information terminal such as the PC. In this case, the image to be projected may be acquired from the network using the network I / F 307 in FIG. 3 or acquired from the external storage 312 using the external storage I / F 308 in FIG. It may be.

100、1300 画像処理システム
101 画像投影装置(画像処理装置の一例)
102 PC(画像処理装置の別の一例)
103 投影面
104 投影画像
106 指定領域
501 撮像手段
502 投影手段
503 画像比較手段
504 指定領域判断手段(判断手段)
505 位置関係算出手段(算出手段)
506 画素置換手段(画像処理手段の一例)
1101 画像補間手段(補間手段)
1505 画像置換/回復手段(画像処理手段の別の一例)
100, 1300 Image processing system 101 Image projection apparatus (an example of an image processing apparatus)
102 PC (another example of an image processing apparatus)
DESCRIPTION OF SYMBOLS 103 Projection surface 104 Projection image 106 Designated area 501 Imaging means 502 Projection means 503 Image comparison means 504 Designated area determination means (determination means)
505 Positional relationship calculation means (calculation means)
506 Pixel replacement means (an example of image processing means)
1101 Image interpolation means (interpolation means)
1505 Image replacement / recovery means (another example of image processing means)

特開2008−233742号公報JP 2008-233742 A

Claims (12)

投影手段によって投影面に所定の画像を投影する画像処理装置であって、
前記投影面に投影された投影画像を撮像して得た撮像画像に基づいて、前記投影画像に対して指定された指定領域を判断する判断手段と、
前記判断された指定領域の前記投影する所定の画像における位置を算出する算出手段と、
前記算出された位置に基づいて、前記投影する所定の画像の前記指定された指定領域に対応する領域に所定の画像処理を行う画像処理手段と、
前記指定領域を指定する曲線が開いていると判断した場合、該曲線を閉曲線に補間する補間手段と、
を有し、
前記補間手段は、
前記指定領域を指定する曲線が開いていると判断した場合、該曲線の少なくとも一つの端点と、該曲線上の複数の点との間を直線で補間したときの前記指定領域の面積をそれぞれ計算し、
前記指定領域の面積が最大となる該曲線上の点と、前記少なくとも一つの端点との間を直線又は曲線で補完する、画像処理装置。
An image processing apparatus that projects a predetermined image on a projection surface by a projection unit,
Determination means for determining a designated area designated for the projection image based on a captured image obtained by imaging the projection image projected on the projection plane;
Calculating means for calculating a position of the determined designated area in the predetermined image to be projected;
Image processing means for performing predetermined image processing on an area corresponding to the specified area of the predetermined image to be projected based on the calculated position;
When it is determined that a curve that specifies the specified region is open, an interpolation unit that interpolates the curve into a closed curve;
I have a,
The interpolation means includes
When it is determined that the curve that specifies the specified area is open, the area of the specified area is calculated when a straight line is interpolated between at least one end point of the curve and a plurality of points on the curve. And
An image processing apparatus that complements a point on the curve where the area of the designated region is maximum and the at least one end point with a straight line or a curve .
投影手段によって投影面に所定の画像を投影する画像処理装置であって、
前記投影面に投影された投影画像を撮像して得た撮像画像に基づいて、前記投影画像に対して指定された指定領域を判断する判断手段と、
前記判断された指定領域の前記投影する所定の画像における位置を算出する算出手段と、
前記算出された位置に基づいて、前記投影する所定の画像の前記指定された指定領域に対応する領域に所定の画像処理を行う画像処理手段と
有し、
前記画像処理手段は、
前記投影する所定の画像の背景色を検出し、
前記投影する所定の画像の前記指定された指定領域に対応する画素を、前記検出した背景色に置換する、画像処理装置。
An image processing apparatus that projects a predetermined image on a projection surface by a projection unit,
Determination means for determining a designated area designated for the projection image based on a captured image obtained by imaging the projection image projected on the projection plane;
Calculating means for calculating a position of the determined designated area in the predetermined image to be projected;
Image processing means for performing predetermined image processing on an area corresponding to the specified area of the predetermined image to be projected based on the calculated position ;
Have,
The image processing means includes
Detecting a background color of the predetermined image to be projected;
An image processing apparatus that replaces a pixel corresponding to the designated area of the predetermined image to be projected with the detected background color .
なくとも2つの前記撮像画像の差分を抽出する画像比較手段を有し、
前記判断手段は、
前記抽出された差分に基づいて前記指定された指定領域を判断する、請求項1又は2に記載の画像処理装置。
Even without least it includes an image comparison means to extract the difference between two of the captured image,
The determination means includes
The image processing apparatus according to claim 1, wherein the designated area is determined based on the extracted difference.
前記画像比較手段は、
前記少なくとも2つの前記撮像画像の複数の画素に対して同一位置の画素値の差をそれぞれ計算し、
前記計算した画素値の差が予め定められたしきい値を超えた画素を、前記指定領域を指定する画素と判断する請求項に記載の画像処理装置。
The image comparison means includes
Calculating a difference between pixel values at the same position for a plurality of pixels of the at least two captured images;
The difference between the calculated pixel values pixels that exceeds the predetermined threshold is, determines that the pixels specifying the specified area, the image processing apparatus according to claim 3.
記指定領域は発光部を有する指示具によって指定され、
前記判断手段は、
継続的に撮像された複数の前記撮像画像、又は前記発光部の軌跡を撮像した前記撮像画像に基づいて、前記指定された指定領域を判断する、請求項1乃至4のいずれか一項に記載の画像処理装置。
Before SL designated region is designated by the pointing device having a light emitting portion,
The determination means includes
5. The specified designated area is determined based on the plurality of continuously captured images or the captured image obtained by capturing a locus of the light emitting unit. 6. the image processing apparatus.
記撮像画像に基づいて前記投影面に予め定められた光を検出した場合、前記投影画像の前記検出した光に対応する位置の周囲にカーソルを表示するカーソル表示手段を有し、
前記判断手段は、
予め定められた操作を受け付けた場合、前記表示されたカーソルの範囲内を前記指定された指定領域と判断する、請求項1又は2に記載の画像処理装置。
When detecting the light that has been predetermined for the projection plane based on the previous SL captured image has the cursor display means to display the cursor around the position corresponding to the detected light of the projected image,
The determination means includes
The image processing apparatus according to claim 1 , wherein when a predetermined operation is received, the range of the displayed cursor is determined as the designated designated area.
投影面に所定の画像を投影する投影手段と、
前記投影面に投影された投影画像を撮像する撮像手段と、
前記投影画像に対して指定された指定領域を、前記撮像手段によって撮像された撮像画像に基づいて判断する判断手段と、
前記判断された指定領域の前記投影する所定の画像における位置を算出する算出手段と、
前記算出された位置に基づいて、前記投影する所定の画像の前記指定された指定領域に対応する領域に所定の画像処理を行う画像処理手段と、
前記指定領域を指定する曲線が開いていると判断した場合、該曲線を閉曲線に補間する補間手段と、
有し、
前記補間手段は、
前記指定領域を指定する曲線が開いていると判断した場合、該曲線の少なくとも一つの端点と、該曲線上の複数の点との間を直線で補間したときの前記指定領域の面積をそれぞれ計算し、
前記指定領域の面積が最大となる該曲線上の点と、前記少なくとも一つの端点との間を直線又は曲線で補完する、画像処理システム。
Projection means for projecting a predetermined image on the projection surface;
Imaging means for imaging a projected image projected on the projection plane;
A determination unit that determines a specified area specified for the projection image based on a captured image captured by the imaging unit;
Calculating means for calculating a position of the determined designated area in the predetermined image to be projected;
Image processing means for performing predetermined image processing on an area corresponding to the specified area of the predetermined image to be projected based on the calculated position;
When it is determined that a curve that specifies the specified region is open, an interpolation unit that interpolates the curve into a closed curve;
Have,
The interpolation means includes
When it is determined that the curve that specifies the specified area is open, the area of the specified area is calculated when a straight line is interpolated between at least one end point of the curve and a plurality of points on the curve. And
An image processing system that complements a point on the curve where the area of the designated area is maximum and the at least one end point with a straight line or a curve .
投影面に所定の画像を投影する投影手段と、Projection means for projecting a predetermined image on the projection surface;
前記投影面に投影された投影画像を撮像する撮像手段と、Imaging means for imaging a projected image projected on the projection plane;
前記投影画像に対して指定された指定領域を、前記撮像手段によって撮像された撮像画像に基づいて判断する判断手段と、A determination unit that determines a specified area specified for the projection image based on a captured image captured by the imaging unit;
前記判断された指定領域の前記投影する所定の画像における位置を算出する算出手段と、Calculating means for calculating a position of the determined designated area in the predetermined image to be projected;
前記算出された位置に基づいて、前記投影する所定の画像の前記指定された指定領域に対応する領域に所定の画像処理を行う画像処理手段と、Image processing means for performing predetermined image processing on an area corresponding to the specified area of the predetermined image to be projected based on the calculated position;
を有し、  Have
前記画像処理手段は、The image processing means includes
前記投影する所定の画像の背景色を検出し、Detecting a background color of the predetermined image to be projected;
前記投影する所定の画像の前記指定された指定領域に対応する画素を、前記検出した背景色に置換する、画像処理システム。An image processing system that replaces a pixel corresponding to the designated area of the predetermined image to be projected with the detected background color.
投影手段によって投影面に所定の画像を投影する画像処理装置を、
前記投影面に投影された投影画像を撮像して得た撮像画像に基づいて、前記投影画像に対して指定された指定領域を判断する判断手段と、
前記判断された指定領域の前記投影する所定の画像における位置を算出する算出手段と、
前記算出された位置に基づいて、前記投影する所定の画像の前記指定された指定領域に対応する領域に所定の画像処理を行う画像処理手段と、
前記指定領域を指定する曲線が開いていると判断した場合、該曲線を閉曲線に補間する補間手段と、
して機能させ、
前記補間手段は、
前記指定領域を指定する曲線が開いていると判断した場合、該曲線の少なくとも一つの端点と、該曲線上の複数の点との間を直線で補間したときの前記指定領域の面積をそれぞれ計算し、
前記指定領域の面積が最大となる該曲線上の点と、前記少なくとも一つの端点との間を直線又は曲線で補完する、プログラム。
An image processing apparatus that projects a predetermined image on a projection surface by a projection unit,
Determination means for determining a designated area designated for the projection image based on a captured image obtained by imaging the projection image projected on the projection plane;
Calculating means for calculating a position of the determined designated area in the predetermined image to be projected;
Image processing means for performing predetermined image processing on an area corresponding to the specified area of the predetermined image to be projected based on the calculated position;
When it is determined that a curve that specifies the specified region is open, an interpolation unit that interpolates the curve into a closed curve;
And then allowed to function,
The interpolation means includes
When it is determined that the curve that specifies the specified area is open, the area of the specified area is calculated when a straight line is interpolated between at least one end point of the curve and a plurality of points on the curve. And
The program which complements between the point on this curve where the area of the said designation | designated area | region becomes the maximum, and the said at least 1 end point with a straight line or a curve .
投影手段によって投影面に所定の画像を投影する画像処理装置を、
前記投影面に投影された投影画像を撮像して得た撮像画像に基づいて、前記投影画像に対して指定された指定領域を判断する判断手段と、
前記判断された指定領域の前記投影する所定の画像における位置を算出する算出手段と、
前記算出された位置に基づいて、前記投影する所定の画像の前記指定された指定領域に対応する領域に所定の画像処理を行う画像処理手段と、
として機能させ、
前記画像処理手段は、
前記投影する所定の画像の背景色を検出し、
前記投影する所定の画像の前記指定された指定領域に対応する画素を、前記検出した背景色に置換する、プログラム
An image processing apparatus that projects a predetermined image on a projection surface by a projection unit,
Determination means for determining a designated area designated for the projection image based on a captured image obtained by imaging the projection image projected on the projection plane;
Calculating means for calculating a position of the determined designated area in the predetermined image to be projected;
Image processing means for performing predetermined image processing on an area corresponding to the specified area of the predetermined image to be projected based on the calculated position;
Function as
The image processing means includes
Detecting a background color of the predetermined image to be projected;
A program for replacing a pixel corresponding to the designated area of the predetermined image to be projected with the detected background color .
投影手段によって投影面に所定の画像を投影する画像処理装置の制御方法であって、
前記画像処理装置が、
前記投影面に投影された投影画像を撮像して得た撮像画像に基づいて、前記投影画像に対して指定された指定領域を判断するステップと、
前記判断された指定領域の前記投影する所定の画像における位置を算出するステップと、
前記算出された位置に基づいて、前記投影する所定の画像の前記指定された指定領域に対応する領域に所定の画像処理を行うステップと
前記指定領域を指定する曲線が開いていると判断した場合、該曲線を閉曲線に補完するステップと、
を実行し、
前記補完するステップは、
前記指定領域を指定する曲線が開いていると判断した場合、該曲線の少なくとも一つの端点と、該曲線上の複数の点との間を直線で補間したときの前記指定領域の面積をそれぞれ計算し、
前記指定領域の面積が最大となる該曲線上の点と、前記少なくとも一つの端点との間を直線又は曲線で補完する、画像処理装置の制御方法。
A control method for an image processing apparatus for projecting a predetermined image onto a projection surface by a projection means,
The image processing apparatus is
Determining a designated area designated for the projection image based on a captured image obtained by imaging the projection image projected on the projection plane;
Calculating a position of the determined designated area in the predetermined image to be projected;
Performing predetermined image processing on an area corresponding to the specified area of the predetermined image to be projected based on the calculated position ;
If it is determined that a curve specifying the specified region is open, complementing the curve with a closed curve;
Run
The complementing step includes
When it is determined that the curve that specifies the specified area is open, the area of the specified area is calculated when a straight line is interpolated between at least one end point of the curve and a plurality of points on the curve. And
A control method for an image processing apparatus , wherein a line or a curve is complemented between a point on the curve where the area of the designated area is maximum and the at least one end point .
投影手段によって投影面に所定の画像を投影する画像処理装置の制御方法であって、A control method for an image processing apparatus for projecting a predetermined image onto a projection surface by a projection means,
前記画像処理装置が、  The image processing apparatus is
前記投影面に投影された投影画像を撮像して得た撮像画像に基づいて、前記投影画像に対して指定された指定領域を判断するステップと、Determining a designated area designated for the projection image based on a captured image obtained by imaging the projection image projected on the projection plane;
前記判断された指定領域の前記投影する所定の画像における位置を算出するステップと、Calculating a position of the determined designated area in the predetermined image to be projected;
前記算出された位置に基づいて、前記投影する所定の画像の前記指定された指定領域に対応する領域に所定の画像処理を行うステップと、Performing predetermined image processing on an area corresponding to the specified area of the predetermined image to be projected based on the calculated position;
を実行し、Run
前記画像処理を行うステップは、The step of performing the image processing includes:
前記投影する所定の画像の背景色を検出し、Detecting a background color of the predetermined image to be projected;
前記投影する所定の画像の前記指定された指定領域に対応する画素を、前記検出した背景色に置換する、画像処理装置の制御方法。A control method of an image processing apparatus, wherein a pixel corresponding to the specified designated area of the predetermined image to be projected is replaced with the detected background color.
JP2014155787A 2014-07-31 2014-07-31 Image processing apparatus, image processing system, control method for image processing apparatus, and program Expired - Fee Related JP6464599B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014155787A JP6464599B2 (en) 2014-07-31 2014-07-31 Image processing apparatus, image processing system, control method for image processing apparatus, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014155787A JP6464599B2 (en) 2014-07-31 2014-07-31 Image processing apparatus, image processing system, control method for image processing apparatus, and program

Publications (3)

Publication Number Publication Date
JP2016034060A JP2016034060A (en) 2016-03-10
JP2016034060A5 JP2016034060A5 (en) 2017-09-07
JP6464599B2 true JP6464599B2 (en) 2019-02-06

Family

ID=55452791

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014155787A Expired - Fee Related JP6464599B2 (en) 2014-07-31 2014-07-31 Image processing apparatus, image processing system, control method for image processing apparatus, and program

Country Status (1)

Country Link
JP (1) JP6464599B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017175888A1 (en) * 2016-04-05 2017-10-12 삼성전자 주식회사 Image processing method and apparatus

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0816347A (en) * 1994-06-28 1996-01-19 Mitsubishi Electric Corp Information processor
JP2006121181A (en) * 2004-10-19 2006-05-11 Casio Comput Co Ltd Projector apparatus, display output method, and display output program
JP4770197B2 (en) * 2005-02-28 2011-09-14 カシオ計算機株式会社 Presentation control apparatus and program
JP4765808B2 (en) * 2006-07-19 2011-09-07 カシオ計算機株式会社 Presentation system
JP5029963B2 (en) * 2008-01-30 2012-09-19 大日本印刷株式会社 Information processing device
JP2011081651A (en) * 2009-10-08 2011-04-21 Sanyo Electric Co Ltd Projection type video display device
JP2011090432A (en) * 2009-10-21 2011-05-06 Seiko Epson Corp Projector
JP2011150609A (en) * 2010-01-22 2011-08-04 Kyocera Corp Projection control device, projection method, and computer program for projection control

Also Published As

Publication number Publication date
JP2016034060A (en) 2016-03-10

Similar Documents

Publication Publication Date Title
JP6525611B2 (en) Image processing apparatus and control method thereof
KR101739318B1 (en) Display control apparatus, imaging system, display control method, and recording medium
JP6307852B2 (en) Image display device and method for controlling image display device
JP2012185630A (en) Projection device
US20060033884A1 (en) Projection device projection system, and image obtainment method
JP6349811B2 (en) Video signal output device, video signal output method, and program
JP2008170742A (en) Projection apparatus and projection method, projection control program, and display device
US9229585B2 (en) Projection system, image generating method, and computer-readable storage medium
JP6464599B2 (en) Image processing apparatus, image processing system, control method for image processing apparatus, and program
TWI653540B (en) Display apparatus, projector, and display control method
US20150098115A1 (en) Information processing apparatus, method for controlling the same, and storage medium
JP2018132769A (en) Image display device, and control method of image display device
JP2005303941A (en) Correction reference designation device and correction reference designation method
JP2018054912A (en) Projection-type display device and method for controlling the same
JP6323035B2 (en) Display device and display method
JP6520194B2 (en) Display device and display method
JP5656496B2 (en) Display device and display method
JP2005227476A (en) Image display device, image display method, and program
JP7342501B2 (en) Display device, display method, program
JP6943029B2 (en) Projection device, projection system, control method and program
US20230269360A1 (en) Electronic device and method for controlling electronic device
JP2017204718A (en) Imaging apparatus and zoom control method thereof
JP2012083500A (en) Display control apparatus and display control method, program, and storage medium
JP5580623B2 (en) Image processing apparatus, image processing apparatus control method, program, and storage medium
JP2011142685A (en) Camera control system, method thereof and storage medium with its operation processing program stored thereon

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170725

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170725

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180531

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180626

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180807

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20181211

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181224

R151 Written notification of patent or utility model registration

Ref document number: 6464599

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees