[go: up one dir, main page]

CN1186991A - Image synthesizing device, image synthesizing method and medium used - Google Patents

Image synthesizing device, image synthesizing method and medium used Download PDF

Info

Publication number
CN1186991A
CN1186991A CN97125957A CN97125957A CN1186991A CN 1186991 A CN1186991 A CN 1186991A CN 97125957 A CN97125957 A CN 97125957A CN 97125957 A CN97125957 A CN 97125957A CN 1186991 A CN1186991 A CN 1186991A
Authority
CN
China
Prior art keywords
image
mentioned
information
display
unit
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
CN97125957A
Other languages
Chinese (zh)
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to CN97125957A priority Critical patent/CN1186991A/en
Publication of CN1186991A publication Critical patent/CN1186991A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

一种图象合成装置,根据笔等的指示位置、指示区域及指示信息的特征量,生成合适的附加图象,在显示部合成并显示。该图象合成装置包括拍摄记载信息的文件用的摄像机、检测笔等在文件上的指示位置的检测单元、检测记载于该指示位置的指示信息的特征量用的指示信息检测单元、根据指示信息的特征量形成装饰指示信息的图象的附加图象形成单元、存储所形成的附加图象的附加图象生成单元、根据该指示位置决定信息附加方法的决定单元及将摄像机拍摄的图象与附加图象合成的单元。

An image synthesizing device that generates an appropriate additional image based on a pointing position of a pen, etc., pointing area, and feature value of pointing information, and synthesizes and displays it on a display unit. The image synthesizing device includes a camera for photographing a document on which information is recorded, a detection unit for detecting a point indicated by a pen etc. An additional image forming unit that forms an image of the decoration indication information based on the characteristic quantity, an additional image generating unit that stores the formed additional image, a determination unit that determines an information addition method based on the indicated position, and combines the image captured by the camera with the Additional unit for image synthesis.

Description

图象合成装置,图象合成方法及所用媒体Image synthesizing device, image synthesizing method and medium used

本发明涉及可用于实际物体和计算机内的假设物体的合成图象的形成设备中的图象合成装置,图象合成方法及其所用媒体。The present invention relates to an image synthesizing device, an image synthesizing method and a medium used therefor which can be used in an apparatus for forming synthetic images of real objects and hypothetical objects in a computer.

JP特开平9-6798号文献曾公开一种“信息处理方法及所用装置”,该信息处理方法及所用装置被用为下述系统,它通过附加于实际物体上的彩色编码对由照相机拍摄的该实际物体进行辨别,再以叠加方式将与上述实际物体有关的信息合成于照相机的影象上。JP Unexamined Publication No. Hei 9-6798 once disclosed an "information processing method and device therefor". The information processing method and device therefor are used as the following system. The actual object is identified, and then the information related to the above-mentioned actual object is synthesized on the image of the camera in a superimposed manner.

若将上述现有装置置于与监视器成整体的摄象机中,并且写入添加有彩色编码的绘画,则可实现下述的信息提供系统,在该信息提供系统使与该绘画有关的说明显示于监视器中。If the above-mentioned existing device is placed in a video camera integrated with a monitor, and a painting to which color codes are added is written, the following information providing system can be realized in which information related to the painting The description is displayed on the monitor.

另外,作为假设物体与实际物体进行相互作用的系统,在“Procceedings ofUIST’91,ACM,pp.27-33”及“Communications of the ACM,vol 36,no.7,pp.86-96,1993”中公开了“Digital Desk”。In addition, as a system that assumes that objects interact with actual objects, in "Procceedings of UIST'91, ACM, pp.27-33" and "Communications of the ACM, vol 36, no.7, pp.86-96, 1993 "Digital Desk" is disclosed in .

上述系统中,在装置的上方设置照相机和投影仪。于是,根据写于装置的纸(实际物体)上信息,由手指或笔指定操作人员拟作为图象而提取出的数值列或绘画等范围,就可自动提取该数值列等的图象。另一方面,使作为预先由系统存储的另一绘制图象(假设物体),台式小型计算机的图象等通过投影仪投影于装置的另外的纸(实际物体)上。由此,将上述台式计算机的图象与上述抽出的数值列图象合成,并投影于同一纸面上。该投影图象有如下述的合成图象,通过操作被投影的台式小型计算机的键进行操作,输入上述数值列,这种合成图象表示有好象显示上述数值列的状态。上述系统可按照上述方式用作实际物体的图象与假设物体的图象的图象合成装置。In the above system, a camera and a projector are installed above the device. Then, based on the information written on the paper (actual object) of the device, the range of the numerical sequence or drawing that the operator intends to extract as an image is designated by a finger or a pen, and the image of the numerical sequence or the like can be automatically extracted. On the other hand, as another drawing image (virtual object) stored in advance by the system, an image of a desktop small computer, etc. is projected on another paper (real object) of the device by a projector. In this way, the image of the desktop computer and the extracted numerical sequence image are synthesized and projected on the same paper. The projected image has a composite image as follows. The above-mentioned numerical sequence is input by operating the keys of the projected desktop computer, and this composite image shows a state as if the above-mentioned numerical sequence is displayed. The above-mentioned system can be used as an image synthesizing device of an image of an actual object and an image of a hypothetical object in the above-mentioned manner.

另外,“Procceedings of CHI’92,ACM,pp.587-592”文献提出,在装置的局部处设置感应板,以便也通过手指进行高精度的指示。In addition, the document "Procceedings of CHI'92, ACM, pp.587-592" proposes that an induction plate is provided at a part of the device so that high-precision instructions can also be performed by fingers.

虽然上述现有的信息处理方法及其所用装置指出:可通过彩色编码辨别实际物体,通过叠加方式显示与其有关的信息图象,但是上述装置存在下述的问题,即不能从操作人员指定的位置,相对实际书类等实际物体,自动取出所需的信息的图象,不能将该取出图象与假设物体的图象共同进行加工并显示。Although the above-mentioned existing information processing method and the device used therein point out that the actual object can be distinguished by color coding, and the information image related to it can be displayed in a superimposed manner, but the above-mentioned device has the following problem, that is, it cannot be viewed from the position specified by the operator. Therefore, compared to real objects such as actual books, the image of the required information is automatically extracted, and the extracted image cannot be processed and displayed together with the image of the hypothetical object.

也即,在上述现有系统中,操作人员不能自动将所需信息图象从实际物体中提取出,从而具有下述的问题,即不能形成预先存储的实际物体和假设物体组合所形成的合成图象。That is, in the above-mentioned existing system, the operator cannot automatically extract the required information image from the actual object, thereby having the following problem, that is, it is impossible to form a composite formed by combining the actual object and the hypothetical object stored in advance. image.

按照现有的系统,不能通过手指或笔输入,在作为图象而提取的对象物中指定与所述物体或信息的数量相当的基本区域,故而不能分别单独地提取多个物体的图象。于是,会产生下述问题,即在对象物数量或所处理图象的个数较多的情况下,拟作为图象抽出的对象物指定处理会给该装置的操作人员造成较大负担。According to the conventional system, it is not possible to designate basic regions equivalent to the number of objects or information among objects extracted as images by inputting with a finger or a pen, so images of a plurality of objects cannot be individually extracted. Therefore, there arises a problem that, when the number of objects or the number of images to be processed is large, the processing of specifying objects to be extracted as images imposes a large burden on the operator of the apparatus.

考虑到上述现有装置的问题,本发明的目的在于提供一种图象合成装置,图象合成方法及其所用的媒体,作为采用悬吊式摄影照相机应用于显示实际物体与假设问题的图象合成装置,比如在记录于书类的信息中,以指示杆等指示所需强调的信息部分,可自动地对上述信息检测,所述信息指操作人员所拟强调的信息区域,或其所拟强调的信息为文字,或照片,另外可自动地进行下划线或加网线等,具有其信息特征的装饰处理。In view of the problems of the above-mentioned existing devices, the object of the present invention is to provide an image synthesis device, an image synthesis method and the medium used therefor, as an image using a suspended photographic camera for displaying actual objects and hypothetical problems The synthesis device, for example, in the information recorded in books, can automatically detect the above-mentioned information by indicating the information part that needs to be emphasized with an indicator rod, etc. The information refers to the information area that the operator intends to emphasize, or its intended The emphasized information is a text or a photo, and it can be automatically underlined or screened, etc., which have its information characteristics.

另外,考虑到上述现有系统中的上述问题,本发明的另一目的在于提供一种图象合成装置,图象合成方法及所用媒体,所述图象合成装置包括取出轮廓功能,这种提取轮廓功能是通过将拟提取抽出的多个物体放于显示器上,以仅提供1条包围全部这些物体的闭合曲线的方式,分别取出相应的物体。In addition, in view of the above-mentioned problems in the above-mentioned existing systems, another object of the present invention is to provide an image synthesis device, an image synthesis method and the media used, the image synthesis device includes the function of extracting the contour, and this extraction The contour function is to extract the corresponding objects by placing multiple objects to be extracted on the display to provide only one closed curve surrounding all these objects.

为了实现上述目的,权利要求1所述的本发明涉及下述图象合成装置,其特征在于该图象合成装置包括:给定的拍摄机构;指示位置检测机构,用于从拍摄机构拍摄的图象,对显示信息的面上给出的指示信息位置进行检测;指示对象信息检测机构,用于检测与提供上述指示位置检测机构所检测出的指示位置对应地,显示于所述面上的指示对象信息的区域和/或其指示对象的信息的特征量;附加图象形成机构,用于根据上述区域和/或特征量、形成附加图象,添加于上述指示对象信息的图象上;图象合成机构,它将上述拍摄机构所得的上述指示对象信息的图象与所形成的所述附加图象进行合成。In order to achieve the above object, the present invention according to claim 1 relates to the following image synthesizing device, characterized in that the image synthesizing device comprises: a given photographing mechanism; The object is used to detect the position of the indication information given on the surface where the information is displayed; the indication object information detection mechanism is used to detect the indication displayed on the surface corresponding to the indication position detected by the indication position detection mechanism. The area of the object information and/or the characteristic value of the information indicating the object; the additional image forming mechanism is used to form an additional image based on the above-mentioned area and/or characteristic value, and add it to the above-mentioned image indicating the object information; An image synthesis unit, which synthesizes the image of the above-mentioned pointing object information obtained by the above-mentioned shooting unit and the formed additional image.

权利要求15所述的本发明涉及下述的图象合成装置,其特征在于该图象合成装置包括:给定的拍摄机构;闭合曲线信息检测机构,用于检测闭合曲线信息,所述闭合曲线包围下述的多个提取对象候补,它们可构成由上述拍摄机构所拍摄,显示于规定面上的信息和/或多个物体内部,图象提取的对象候补;分别提取机构,用于根据上述检测出的闭合曲线信息和上述提取对象信息候补的图象信息,从上述包围的多个提取对象候补图象中,分别取出相应的提取对象候补的图象;图象合成机构,用于通过上述分别提取的图象,进行图象合成。The present invention according to claim 15 relates to the following image synthesis device, characterized in that the image synthesis device comprises: a given shooting mechanism; a closed curve information detection mechanism for detecting closed curve information, the closed curve Surrounding the following multiple extraction target candidates, they can constitute the target candidates for image extraction of the information and/or inside a plurality of objects photographed by the above-mentioned photographing mechanism and displayed on the specified surface; The detected closed curve information and the image information of the above-mentioned extraction target information candidates are used to extract the corresponding extraction target candidate images from the plurality of extraction target candidate images surrounded by the above-mentioned; The images extracted separately are subjected to image synthesis.

权利要求16所述的本发明涉及下述的图象合成装置,其特征在于该图象合成装置包括:给定的拍摄机构;闭合曲线信息检测机构,用于检测闭合曲线信息,所述闭合曲线包围所述拍摄机构拍摄的信息内,可构成指示对象的多个指示对象信息;分别抽出机构,用于根据所述测出的闭合曲线信息和指示对象的图象信息,从上述包围的多个指示对象信息图象中分别取出相应的指示对象信息的图象;指示信息检测单元,检测上述分别提取的图象区域和/或其图象的特征量;附加图象形成单元,用于根据上述测出的图象区域和/或图象特征量,形成附加图象,添加于上述指示对象信息的图象上;图象合成机构,用于将上述拍摄机构得出的指示对象信息的图象与上述形成的附加图象进行合成。The present invention according to claim 16 relates to the following image synthesis device, characterized in that the image synthesis device includes: a given photographing mechanism; a closed curve information detection mechanism for detecting closed curve information, the closed curve Surrounding the information shot by the photographing mechanism, a plurality of pointing object information that can constitute the pointing object; respectively extracting means for extracting from the above-mentioned surrounded multiple points according to the measured closed curve information and the image information of pointing objects Respectively extract the image of the corresponding pointing object information from the pointing object information image; the pointing information detection unit detects the above-mentioned respectively extracted image region and/or the feature quantity of its image; the additional image forming unit is used for according to the above The measured image area and/or image feature quantity form an additional image, which is added to the image of the above-mentioned pointing object information; the image synthesis mechanism is used to combine the image of the pointing object information obtained by the above-mentioned shooting mechanism Composite with the additional image formed above.

再有,权利要求17所述的本发明涉及下述图象合成装置,其特征在于该图象合成装置包括:输入显示的整体式显示器;拍摄机构,该拍摄机构用于对上述显示器的显示部中至少一部分进行拍摄;闭合曲线信息检测机构,用于检测闭合曲线信息,所述闭合曲线包围下述多个物体,这些物体可构成放在上述显示器上的多个实际物体内的图象提取对象候补;分别提取机构,用于根据上述测出的闭合曲线信息,以及通过拍摄机构拍摄的上述所包围多个物体的图象信息,从上述包围的多个物体的图象中,分别提取相应的物体的图象;附加图象形成单元,通过上述分别抽出的图象,附加图象形成显示于上述显示器中;显示方法选择单元,用于选择上述所形成的附加图象在显示器中的显示方法;图象合成机构,用于根据上述选择的显示方法,将上述附加图象和上述实际物体的图象进行合成。Furthermore, the present invention according to claim 17 relates to the following image synthesizing device, characterized in that the image synthesizing device includes: an integrated display for input display; At least a part of them is photographed; the closed curve information detection mechanism is used to detect the closed curve information, and the closed curve surrounds the following multiple objects, and these objects can constitute the image extraction objects in the multiple actual objects placed on the above-mentioned display Candidates; respectively extracting mechanism for extracting corresponding curves from the images of the above-mentioned surrounding objects according to the above-mentioned measured closed curve information and the image information of the above-mentioned surrounding objects photographed by the shooting mechanism. The image of the object; the additional image forming unit, through the images extracted separately, the additional image is formed and displayed on the above-mentioned display; the display method selection unit is used to select the display method of the above-mentioned additional image formed on the display ; The image synthesis mechanism is used to synthesize the above additional image and the image of the actual object according to the above selected display method.

另外,权利要求18所述的本发明涉及图象合成装置,其特征在于该图象合成装置包括:输入显示整体式显示器;照相机,用于拍摄上述显示器显示单元的至少一部分拍摄;闭合曲线信息检测机构,用于检测闭合曲线信息,该闭合曲线包围下述多个物体,这些物体可构成放在上述显示器上的多个实际物体内的图象提取对象候补;分别提取机构,用于根据上述测出的闭合曲线信息,以及通过照相机拍摄的上述所包围多个物体的图象信息,从上述包围的多个物体的图象中,分别提取相应的物体的图象;附加图象形成单元,用于通过上述分别抽出的图象,形成附加图象显示于上述显示器中;显示方法选择单元,用于选择上述形成的附加图象在显示器中的显示方法;控制单元,用于根据上述选择的显示方法,通过照相机对显示于上述显示器中的附加图象,在放置于上述显示器上的实际物体进行拍摄。In addition, the present invention according to claim 18 relates to an image synthesis device, which is characterized in that the image synthesis device includes: an input and display integrated display; a camera for photographing at least a part of the display unit of the above-mentioned display; closed curve information detection A mechanism for detecting closed curve information, the closed curve enclosing the following multiple objects, these objects can constitute image extraction target candidates in a plurality of actual objects placed on the above-mentioned display; The closed curve information obtained, and the image information of the above-mentioned multiple objects surrounded by the camera are taken, and the images of the corresponding objects are respectively extracted from the images of the above-mentioned multiple objects surrounded; the additional image forming unit is used An additional image is formed and displayed on the above-mentioned display through the above-mentioned respectively extracted images; a display method selection unit is used to select a display method of the above-mentioned additional image formed on the display; a control unit is used for displaying according to the above-mentioned selection In the method, the additional image displayed on the above-mentioned display is photographed by the camera on the actual object placed on the above-mentioned display.

权利要求19所述的本发明涉及图象合成装置,其特征在于该图象合成装置包括:输入显示的整体式显示器;拍摄机构,用于拍摄上述显示器显示部分的至少一部分进行拍摄;指示位置检测单元,用于检测以指示位置信息指示放在上述显示器上的实际物体;实际物体提取机构,用于根据上述测出的指示位置信息,从所述拍摄机构拍摄的图象中提取所述实际物体的图象;附加图象形成单元,用于通过上述提取的图象,形成附加图象,显示于上述显示器中;显示方法选择单元,用于选择上述形成的附加图象在显示器中的显示方法;图象合成机构,用于根据上述选择的显示方法,将上述附加图象和上述实际物体的图象进行合成。The present invention according to claim 19 relates to an image synthesis device, characterized in that the image synthesis device comprises: an integrated display for input display; a photographing mechanism for photographing at least a part of the display portion of the display; and pointing position detection The unit is used to detect the actual object placed on the display indicated by the indicated position information; the actual object extraction mechanism is used to extract the actual object from the image taken by the shooting mechanism according to the indicated indicated position information measured above image; the additional image forming unit is used to form an additional image through the above-mentioned extracted image and is displayed on the above-mentioned display; the display method selection unit is used to select the display method of the above-mentioned additional image formed on the display ; The image synthesis mechanism is used to synthesize the above additional image and the image of the actual object according to the above selected display method.

权利要求25所述的本发明涉及下述图象合成方法,其特征在于该方法包括下述步骤:利用指示信息指示显示信息的面中的指定位置;拍摄上述面上显示的信息和上述指示信息;根据该拍摄结果,检测由上述指示信息指示的指示位置;检测根据上述指示位置而显示于上述面上指示对象的信息的区域和/或特征量;根据上述指示对象信息区域和/或特征量,形成附加图象,附加于上述指示对象信息的图象;将上述指示对象信息的图象与上述所形成的附加图象进行合成。The present invention according to claim 25 relates to the following image synthesis method, characterized in that the method includes the steps of: using instruction information to indicate a designated position on a surface on which information is displayed; and photographing the information displayed on the above-mentioned surface and the above-mentioned instruction information. ; According to the shooting result, detect the indicated position indicated by the above-mentioned indicating information; detect the area and/or feature value of the information indicating the object displayed on the above-mentioned surface according to the above-mentioned indicating position; according to the above-mentioned indicating object information area and/or feature amount , forming an additional image to be added to the image of the pointing object information; combining the image of the pointing object information with the formed additional image.

另外,权利要求27所述的本发明涉及下述的图象合成方法,其特征在于该方法包括下述步骤:拍摄显示于规定面上的信息和/或多个物体;提供下述多个提取对象候补的闭合曲线,所述多个提取对象候补构成上述拍摄信息和/或多个实际物体内的图象提取对象的候补;检测上述提供的闭合曲线信息;根据上述测出的闭合曲线和提取对象候补的图象信息,从上述包围的多个提取对象候补的图象中,分别取出相应的提取对象候补的图象;通过上述分别提取的图象,进行图象合成。In addition, the present invention described in claim 27 relates to the following image synthesis method, which is characterized in that the method includes the steps of: photographing information and/or a plurality of objects displayed on a predetermined surface; The closed curve of the object candidate, the plurality of extracted object candidates constitute the candidates of the above-mentioned shooting information and/or image extraction objects in a plurality of actual objects; detect the closed curve information provided above; extract the closed curve according to the above-mentioned measured closed curve and For the image information of the target candidate, the images of the corresponding extraction target candidates are respectively extracted from the surrounding images of the plurality of extraction target candidates, and image synthesis is performed using the above-mentioned separately extracted images.

下面参照附图对本发明结构的实施例进行描述。Embodiments of the structure of the present invention will be described below with reference to the accompanying drawings.

图1为本发明第1实施例的结构方框图;Fig. 1 is the structural block diagram of the 1st embodiment of the present invention;

图2为本发明第1实施例的动作步骤流程图;Fig. 2 is a flowchart of the action steps of the first embodiment of the present invention;

图3为表示上述实施例中的书类实例的示意图;FIG. 3 is a schematic diagram showing an example of books in the above embodiment;

图4为表示上述实施例中用边框画像进行装饰的实例的示意图;Fig. 4 is a schematic diagram showing an example of decorating with a frame portrait in the foregoing embodiment;

图5为表示上述实施例的笔型指示机构检测指示位置和指示区域实例的示意图;Fig. 5 is a schematic diagram showing an example of the detection of the indicated position and the indicated area by the pen-shaped indicating mechanism of the above-mentioned embodiment;

图6为表示上述实施例的笔型指示机构的文字区域和照片区域装饰实例的示意图;Fig. 6 is a schematic diagram showing an example of the decoration of the text area and the photo area of the pen-shaped pointing mechanism of the above-mentioned embodiment;

图7为表示上述实施例的笔型指示机构的现有装饰区域显示变换方法实例的示意图;FIG. 7 is a schematic diagram showing an example of a conventional decorative area display transformation method for the pen-shaped pointing mechanism of the above-mentioned embodiment;

图8为本发明第2实施例的结构方框图;Fig. 8 is a structural block diagram of the second embodiment of the present invention;

图9为本发明第2实施例的动作步骤流程图;Fig. 9 is a flowchart of the action steps of the second embodiment of the present invention;

图10为表示上述实施例的笔型指示机构上设置的多个标记器及其安装方法实例的示意图;Fig. 10 is a schematic diagram showing an example of a plurality of markers and an installation method thereof provided on the pen-type indicating mechanism of the above-mentioned embodiment;

图11为表示上述实施例中的以标记种类识别进行装饰实例的示意图;Fig. 11 is a schematic diagram showing an example of decorating with mark type identification in the above embodiment;

图12为本发明第3实施例的结构方框图;Fig. 12 is a structural block diagram of the third embodiment of the present invention;

图13为本发明第3实施例的动作步骤流程图;Fig. 13 is a flowchart of the action steps of the third embodiment of the present invention;

图14为上述实施例中现有装饰画像显示方法实例的示意图;Fig. 14 is a schematic diagram of an example of an existing decorative portrait display method in the above embodiment;

图15为上述实施例中现有装饰画像选择方法实例的示意图;Fig. 15 is a schematic diagram of an example of an existing decorative portrait selection method in the above-mentioned embodiment;

图16为上述实施例中现有装饰画像复制方法实例的示意图;Fig. 16 is a schematic diagram of an example of an existing decorative portrait copying method in the foregoing embodiment;

图17为本发明第4实施例的结构方框图;Fig. 17 is a structural block diagram of the fourth embodiment of the present invention;

图18为本发明第4实施例的动作步骤流程图;Fig. 18 is a flowchart of the action steps of the fourth embodiment of the present invention;

图19为上述实施例中通过模板比较方式进行书类移动参数推定的一个实例的示意图;Fig. 19 is a schematic diagram of an example of estimating book movement parameters by means of template comparison in the above embodiment;

图20为本发明第5实施例的结构方框图;Fig. 20 is a structural block diagram of the fifth embodiment of the present invention;

图21为本发明第5实施例的动作步骤流程图;Fig. 21 is a flowchart of the action steps of the fifth embodiment of the present invention;

图22为上述实施例中以设置标记进行装饰实例的示意图;Fig. 22 is a schematic diagram of an example of decoration with setting marks in the above embodiment;

图23为上述实施例中以设置标记去除方式取消装饰画像实例的示意图;Fig. 23 is a schematic diagram of an example of canceling a decorative portrait by setting and removing a mark in the above embodiment;

图24为本发明第6实施例的结构方框图;Fig. 24 is a structural block diagram of the sixth embodiment of the present invention;

图25为本发明第6实施例的动作步骤流程图;Fig. 25 is a flowchart of the action steps of the sixth embodiment of the present invention;

图26为上述实施例中设置用指示机构,对书类倾斜度进行修正的检测指示信息区域实例的示意图;Fig. 26 is a schematic diagram of an example of the detection indication information area where the inclination of books is corrected by setting the indication mechanism in the above embodiment;

图27为本发明第7实施例的结构方框图;Fig. 27 is a structural block diagram of the seventh embodiment of the present invention;

图28为本发明第7实施例的动作步骤流程图;Fig. 28 is a flowchart of the action steps of the seventh embodiment of the present invention;

图29为本发明第8实施例的结构方框图;Fig. 29 is a structural block diagram of the eighth embodiment of the present invention;

图30为本发明第8实施例的动作步骤流程图;Fig. 30 is a flowchart of the action steps of the eighth embodiment of the present invention;

图31为上述实施例中钩形标记进行的装饰区域指示方法实例的示意图;Fig. 31 is a schematic diagram of an example of a method for indicating a decorative area by a hook mark in the above embodiment;

图32为上述实施例中的钩形标记实例的示意图;Fig. 32 is the schematic diagram of the example of the hook mark in the above-mentioned embodiment;

图33为上述实施例中以钩形标记进行的装饰结果实例的示意图;Fig. 33 is the schematic diagram of the decoration result example that carries out with the hook mark in above-mentioned embodiment;

图34为本发明第9实施例的结构方框图;Fig. 34 is a structural block diagram of the ninth embodiment of the present invention;

图35为本发明第9实施例的动作步骤流程图;Fig. 35 is a flowchart of the action steps of the ninth embodiment of the present invention;

图36为本发明第10实施例的方框图;Fig. 36 is a block diagram of the tenth embodiment of the present invention;

图37为本发明第11实施例的方框图;Fig. 37 is a block diagram of the eleventh embodiment of the present invention;

图38为本发明第12实施例的结构方框图;Fig. 38 is a structural block diagram of the twelfth embodiment of the present invention;

图39为本发明第12实施例的动作步骤流程图;Fig. 39 is a flowchart of the action steps of the twelfth embodiment of the present invention;

图40为上述实施例中的在显示器上设置实际物体实例的示意图;Fig. 40 is a schematic diagram of an example of setting an actual object on the display in the above embodiment;

图41为上述实施例中由笔输入对实际物体进行选择的实例示意图;Fig. 41 is a schematic diagram of an example of selecting an actual object by pen input in the above embodiment;

图42为上述实施例中的实际物体取出结果实例的示意图;Fig. 42 is a schematic diagram of an example of the result of taking out the actual object in the above-mentioned embodiment;

图43为上述实施例中由得实际物体进行装饰的实例示意图;Figure 43 is a schematic diagram of an example of decorating an actual object in the above-mentioned embodiment;

图44为上述实施例中以笔输入方式进行信息记入的实例示意图;Fig. 44 is a schematic diagram of an example of recording information by means of pen input in the above-mentioned embodiment;

图45为上述实施例中提取实际物体部分30具体结构的方框图;Fig. 45 is a block diagram of the specific structure of the extracted actual object part 30 in the above-mentioned embodiment;

图46为上述实施例中提取实际物体步骤的流程图;Figure 46 is a flow chart of the steps of extracting the actual object in the above embodiment;

图47为上述实施例的轮廓模型交叉的实例示意图;Fig. 47 is a schematic diagram of an example of contour model intersection in the above embodiment;

图48为本发明第13实施例的结构方框图;Fig. 48 is a structural block diagram of the thirteenth embodiment of the present invention;

图49为本发明第14实施例的结构方框图;Fig. 49 is a structural block diagram of the fourteenth embodiment of the present invention;

图50为本发明第15实施例的结构方框图。Fig. 50 is a block diagram showing the structure of a fifteenth embodiment of the present invention.

第1实施例first embodiment

图1为本发明图像合成装置第1实施例的结构图。FIG. 1 is a structural diagram of a first embodiment of an image synthesis device according to the present invention.

图1中的标号1表示对记载有信息的书类进行拍摄的照相机,最好为彩色CCD照相机,标号2表示由照相机1对笔100在书类上的指示位置进行检测的指示位置检测单元。标号3表示检测上述指示位置处所记指示信息区域及特征量的指示信息检测单元。标号4表示附加图象形成单元,它可形成与所检出的指示信息特征量对应的附加图象。标号5表示存储由附加图象形成部5形成之附加图象的附加图象存储单元。标号6表示指示位置其它信息附加方法确定单元,它可根据上述检测出的指示位置,确定上述附加图象的合成显示方法。标号7表示使照相机1中的影象与上述附加图象进行合成的图象合成单元,标号8表示显示由图象合成单元7合成的图象用的显示单元,最好为投影仪或显示器。Reference numeral 1 in Fig. 1 represents the camera that takes pictures of the books on which information is recorded, preferably a color CCD camera, and reference numeral 2 represents the pointing position detection unit that detects the pointing position of the pen 100 on the books by the camera 1. Reference numeral 3 denotes an indication information detection unit for detecting the indication information area and the feature quantity recorded at the above indicated position. Reference numeral 4 denotes an additional image forming unit which forms an additional image corresponding to the detected characteristic amount of the index information. Reference numeral 5 denotes an additional image storage unit for storing an additional image formed by the additional image forming section 5 . Reference numeral 6 denotes a pointing position other information adding method determining unit, which can determine a composite display method of the above-mentioned additional image based on the above-mentioned detected pointing position. Reference numeral 7 represents an image synthesis unit that synthesizes the image in the camera 1 with the above-mentioned additional image, and reference numeral 8 represents a display unit for displaying the image synthesized by the image synthesis unit 7, preferably a projector or a display.

另外,笔100中最好设置易于对指示位置进行检测的,并且具有规定RGB值的指示器标记100a,以及指示位置检测开始开关100b。标号1000表示由普通ROM或RAM等存储器与CPU构成的控制单元,与上述标号1~8所表示的部分连接,并控制各部分的动作和每个部分之间的数据交换。在这里,笔100、标记100a等部件与本发明的指示机构对应,而指示信息检测部3与本发明的指示对象信息检测机构对应。In addition, it is preferable that the pen 100 is provided with an indicator mark 100a having predetermined RGB values and a pointing position detection start switch 100b, which are easy to detect the pointing position. Reference numeral 1000 represents a control unit composed of a memory such as a general ROM or RAM and a CPU, connected to the parts indicated by the above reference numerals 1 to 8, and controls the operation of each part and the data exchange between each part. Here, components such as the pen 100 and the marker 100a correspond to the pointing means of the present invention, and the pointing information detecting unit 3 corresponds to the pointing object information detecting means of the present invention.

下面描述本实施例的动作,并描述本发明图象合成方法的一个实施例。The action of this embodiment will be described below, and an embodiment of the image synthesizing method of the present invention will be described.

图2为本实施例图象合成装置的工作过程流程图。Fig. 2 is a flow chart of the working process of the image synthesis device of this embodiment.

为了以易于理解的方式说明本实施例的工作过程,这里是对式**(overhead)照相机中设有本发明的实例进行描述的。悬吊式照相机一般用于大学中的讲义或演示。如图3所示,这时是在纸或书类上写入文字,或者出示照片或实际的立体物体。该情况与由照相机1拍摄的影象按原样显示于监示器等显示单元8中的情况相当。In order to illustrate the operation of this embodiment in an easy-to-understand manner, an example in which the present invention is provided in an overhead camera is described here. Pendant cameras are typically used for lectures or presentations at universities. As shown in FIG. 3 , at this time, words are written on paper or books, or photos or actual three-dimensional objects are presented. This case corresponds to the case where the image captured by the camera 1 is displayed as it is on the display unit 8 such as a monitor.

按照上述方式,本实施例可用作辅助讲义等的装置,在讲义中希望强调的位置等地方,可根据具有笔的指示位置或指示对象的指示对象信息(在本说明书将“指示对象信息”简称为“指示信息”)的区域或特征,形成各种附加图象(假设物体),将该附加图象与照相机中的影象合成,对书类等进行装饰等操作。In the manner described above, this embodiment can be used as a device for assisting handouts, etc., where you want to emphasize the position in the handout, etc., based on the pointing object information with the pointing position or pointing object with the pen ("pointing object information" in this manual) Various additional images (hypothetical objects) are formed in areas or features, and the additional images are combined with images in the camera to decorate books and the like.

按照上述实施例,在往白纸上写黑字的常规使用方面,按以笔100指示希望强调的记入部分中的一部分的方式,检测该记入部分的区域。下面对下述实施例进行描述,并且在对与笔100的指示位置相对应的附加图象的控制进行描述的同时,说明本实施例的动作步骤,本实施例特指对上述记入部分的信息特征量进行检测,对该记入部分是文字或照片的记入部分信息特征进行判断,在该记入部分的图象中进行与该特征相适合的装饰。According to the above-described embodiment, in normal use of writing black characters on white paper, the pen 100 indicates a part of the writing part to be emphasized, and detects the area of the writing part. The following embodiments are described below, and while the control of the additional image corresponding to the pointing position of the pen 100 is described, the action steps of this embodiment are described. This embodiment specifically refers to the above-mentioned writing part Detect the information characteristic quantity of the information, judge the information characteristics of the entry part whether the entry part is a text or a photo, and carry out decoration suitable for the feature in the image of the entry part.

步骤1a图象的获取:Step 1a image acquisition:

通过照相机将图3所示的书类和指示杆100拍摄为图象l(x,y)。The books and the indicator rod 100 shown in FIG. 3 are photographed by a camera as an image l(x, y).

步骤2a指示位置检测开始开关的状态检测:Step 2a instructs position detection to start state detection of the switch:

当指示位置检测开始开关100b关闭时,由后面将要描述的步骤8a所得到的图象显示于显示单元8中。当上述开关100b打开时,进行步骤3a。An image obtained by step 8a to be described later is displayed on the display unit 8 when the pointing position detection start switch 100b is turned off. When the above-mentioned switch 100b is turned on, step 3a is performed.

步骤3a笔用标记100a的指示位置的检测:Step 3a Detection of the indicated position of the pen marker 100a:

由指示位置检测部2从图象l(x,y),将下述区域作为指示位置进行检测,该区域指具有规定颜色(标记100a所具有的规定范围的RGB值)的规定尺寸的区域。From the image l(x, y), the pointing position detecting unit 2 detects, as a pointing position, an area having a predetermined size and a predetermined color (RGB values in a predetermined range that the mark 100a has).

比如,就每个象素l(x,y)来说,按顺序检测是否符合表示标记颜色的规定范围RGB值(在标记偏红色的情况下,比如按180<R<255且120<G<140且60<B<120的关系),当标记的颜色时,在以其象素为中心的规定尺寸的区域,抽出具有表示标记颜色规定范围的RGB值的象素。计算包括全部抽出象素的外接长方形,如果该长方形为规定尺寸,则判定为标记,指示位置处于标记中心(mx,my)。在未对标记进行检测的情况下,进行步骤7a。For example, as far as each pixel l (x, y) is concerned, it is detected in order whether it meets the specified range of RGB values representing the color of the mark (in the case of a reddish mark, such as 180<R<255 and 120<G< 140 and 60<B<120), when the color of the mark is selected, a pixel having an RGB value representing a predetermined range of the mark color is extracted from an area of a predetermined size centered on the pixel. Calculate the circumscribed rectangle including all the extracted pixels, and if the rectangle has a predetermined size, it is judged as a mark, and the indicated position is at the center (mx, my) of the mark. In case no label is detected, proceed to step 7a.

步骤4a指示位置的信息附加方法的确定:Step 4a indicates the determination of the information addition method of the location:

这里,判断是否指示图象端部附近进行,在指示位置处于图象(书类)端部的情况下,比如当图象尺寸为长×宽:480×640时,而指示器中心(mx,my)满足mx<30,my<30,610<mx,450<my中的任何一个关系时,在步骤4a-1中选择图象。Here, it is judged whether to indicate near the end of the image. In the case where the indicated position is at the end of the image (book), for example, when the image size is length×width: 480×640, and the center of the indicator (mx, my) When any relationship among mx<30, my<30, 610<mx, 450<my is satisfied, the image is selected in step 4a-1.

步骤4a-1边框图象的选择:Step 4a-1 selection of frame image:

附加图象存储部5存储至少一个边框图象,这包括演示的人的职务或讲演的时间,在指示书类端部时,如图4所示,通过图象合成单元7将边框图象叠加于照相机1的影象上,并将其显示于显示单元8中。在存有多个边框图象的情况下,每当指示书类端部时,选择不同的图象。由此,可在形成正常纸页(OHPsheet)时显示所提供的职务、时间或边框,同时可在通常未书写的纸的上述位置提供上述内容。The additional image storage unit 5 stores at least one frame image, which includes the position of the person who demonstrates or the time of the speech. When the end of the instruction book is shown, as shown in Figure 4, the frame image is superimposed by the image synthesis unit 7 on the image of the camera 1 and display it on the display unit 8 . When there are multiple frame images, a different image is selected each time the end of the book is indicated. Thus, the position, time, or frame provided can be displayed when forming a normal paper sheet (OHP sheet), and at the same time, the above-mentioned content can be provided at the above-mentioned position on the paper that is usually not written.

步骤5a指示位置的信息附加方法的确定:Step 5a indicates the determination of the information addition method of the location:

这里,判断是否指示未经装饰的信息是否指示,如果有指示,由指示信息检测单元3检测指示器中心附近是否有黑象素。在有黑象素的情况下,存储文字等信息,通过步骤5a-1计算其特征量,通过步骤5a-2形成并存储与该特征量相对应的装饰图象。Here, it is judged whether the undecorated information indicates, and if there is an indication, the indication information detection unit 3 detects whether there are black pixels near the center of the indicator. In the case of black pixels, store information such as characters, calculate its feature value through step 5a-1, and form and store a decorative image corresponding to the feature value through step 5a-2.

步骤5a-1指示对象信息区域和特征量的计算:Step 5a-1 indicates the calculation of object information area and feature quantity:

首先,由指示信息检测部3计算指示对象信息区域。在位于相对指示器中心(mx,my)的规定范围内的黑象素中设置标记。在有上述标记的各黑象素中以重新返回的方式设置标记。如果没有带标记的黑象素,则终止标记的设置。First, the pointing object information area is calculated by the pointing information detection unit 3 . Markers are set in black pixels located within a prescribed range relative to the center (mx, my) of the pointer. A flag is set in a recursive manner in each black pixel having the above flag. If there is no black pixel with a mark, setting of the mark is terminated.

如图5所示,在比如按照与x轴平行的方式显示字符串的情况下,如果将标记的象素x坐标y坐标中的相应的最小值、最大值设为xl,xr,yr,则长方形(xl,yl)-(xr,yr)为指示对象信息区域。As shown in Figure 5, for example, in the case of displaying a character string in a manner parallel to the x-axis, if the corresponding minimum and maximum values in the x-coordinates and y-coordinates of the marked pixel are set to xl, xr, yr, then The rectangle (xl, yl)-(xr, yr) refers to the object information area.

下面计算用来辨别是属于字符串,还是属于照片的特征量,比如指示区域中的全部象素中白色(给定范围的RGB值)象素所占的比例。在指示区域为照片的情况下,白色象素较少。与此相对,在为字符串的情况下,由于黑色象素和白色象素交替显示,所以,与照片的区域相比,白色象素所占比例较大。因此,如果白色象素所占有的比例小于规定的极限值,则为照片区域,如果大于上述极限值,则判定为字符串的区域。The following calculation is used to distinguish whether it belongs to a character string or a feature quantity belonging to a photo, such as the proportion of white (RGB value in a given range) pixels in all pixels in the indicated area. In the case where the indicated area is a photograph, there are fewer white pixels. On the other hand, in the case of a character string, since black pixels and white pixels are displayed alternately, the proportion of white pixels is larger than that of the photo area. Therefore, if the ratio occupied by white pixels is smaller than a predetermined limit value, it is determined to be a photo area, and if it is greater than the above-mentioned limit value, it is determined to be a character string area.

步骤5a-2装饰图象的形成与存储:Step 5a-2 Formation and storage of decorative images:

利用附加图象形成部4,根据在步骤5a-1中算出的区域及其特征量,形成装饰用附加图象。The additional image for decoration is formed by the additional image forming unit 4 based on the region and its feature value calculated in step 5a-1.

比如,由于以加网纹的方式进行强调照片区域,不容易看清楚,故对照片区域形成镶边,而字符串则以加底纹方式强调。以下述方式形成加底纹图象,即在通过步骤5a-1检测出的指示区域中,将除黑色以外的象素的RGB值置换为规定颜色的RGB值。图6表示指示区域中白色象素所占比例小于15%时形成照片的情况,以及上述比例大于15%时形成字符串情况的装饰结果。另外,经装饰的区域存储于现有装饰区域中。For example, since it is not easy to see clearly by emphasizing the photo area in the way of adding texture, the border is formed on the photo area, and the character string is emphasized in the way of shading. A shaded image is formed by replacing RGB values of pixels other than black with RGB values of a predetermined color in the indicated area detected in step 5a-1. FIG. 6 shows the decoration results for the case of forming a photo when the ratio of white pixels in the indication area is less than 15%, and for the case of forming a character string when the above ratio is greater than 15%. Additionally, the decorated area is stored in the existing decorated area.

步骤6a指示位置的信息附加方法的确定:Step 6a indicates the determination of the information addition method of the location:

判断笔100的指示位置是否位于步骤5a-2中所存储的现有装饰区域内,若判定指示现有装饰区域,则通过步骤7a,根据其位置改变装饰的显示方法。除此之外,进行步骤1a。It is judged whether the pointing position of the pen 100 is located in the existing decoration area stored in step 5a-2, if it is judged to point to the existing decoration area, then by step 7a, the display method of decoration is changed according to its position. Otherwise, proceed to step 1a.

步骤7a现有装饰区域显示方法的改变:Step 7a Changes to the display method of the existing decoration area:

如图7所示,指示位置的另一信息附加方法确定单元6按照下述方式改变显示方法,即将现有装饰区域700划分为多个区域(在图7中,包括前部701和后部702),比如指示前部701,则消除其装饰,如果指示后部702,则其装饰闪烁,将其与照相机1中的影象合成,并显示于显示单元8中。As shown in FIG. 7 , another information addition method determining unit 6 indicating a position changes the display method in such a manner that the existing decoration area 700 is divided into a plurality of areas (in FIG. ), for example, if the front part 701 is indicated, its decoration will be eliminated; if the rear part 702 is indicated, its decoration will blink, and it will be synthesized with the image in the camera 1 and displayed on the display unit 8 .

另外,在按照上述方式未在步骤3a中检测到标记100a的情况下,进行步骤7a,这时,停止显示所有附加图象。由此,通过下述方式可暂时消除全部附加图象,即在再次于不同的纸上开始写文字之前,在照相机的视场之外按下笔100的开关100b。In addition, in the case where the mark 100a is not detected in the step 3a as described above, the process proceeds to the step 7a, and at this time, the display of all additional images is stopped. Thus, all additional images can be temporarily erased by pressing the switch 100b of the pen 100 out of the field of view of the camera before starting to write on a different paper again.

步骤8a图象的合成与显示:Synthesis and display of step 8a image:

图象合成部7,通过比如叠加等方式将照相机1中的影象,与通过附加图象存储部5形成的装饰用图象进行合成,并显示于显示单元8中。The image synthesizing unit 7 synthesizes the image in the camera 1 and the decorative image formed by the additional image storage unit 5 by, for example, superimposing, and displays it on the display unit 8 .

上面描述的情况是,按照步骤1a~步骤8a中所述顺序,实现第1实施例,则进行演示的人以指示杆指示本人所写信息中要强调的部分,自动取出该部分的特征,之后叠加适合的装饰用图象。The situation described above is to implement the first embodiment according to the sequence described in step 1a to step 8a, then the person performing the demonstration uses the indicator rod to indicate the part to be emphasized in the information written by the person, and automatically extracts the characteristics of this part, and then Superimpose suitable decorative images.

因此,无需变换分别使用各种颜色的笔。另外由于可根据笔的指示位置对装饰方法进行简单的变换,如果指示比如书类的端部附近,则自动提供边框、职务或时间等,或在已装饰的信息部分中,通过其指示位置去掉装饰,或使该装饰闪烁,这样,即使不预先形成演示用的资料,仍可进行有效的演示。Therefore, there is no need to switch pens to use each color separately. In addition, because the decoration method can be easily changed according to the pointing position of the pen, if the point is near the end of a book, for example, the border, job title, time, etc. are automatically provided, or in the decorated information part, it is removed by the pointing position Decoration, or making the decoration flash, like this, even if the material for presentation is not preformed, still can carry out effective presentation.

此外,上述步骤中,是根据位于笔等的指示位置的指示对象区域或特征量形成附加图象的,但是也可通过叠加等方式仅仅对下述图象进行合成与显示,这种图象指预先存储于笔等指示位置处的“箭头”等图象。上述方式对于下述情况等很有效,即比如在英语讲课等过程中,将教科书放置于悬吊式照相机处,指示英语单词的重音位置,或者在电视会议或计算机会议过程中,指示手头资料或模型等应予单独强调的地方或当前要说明的部分等情况。In addition, in the above-mentioned steps, an additional image is formed based on the pointing object area or feature quantity at the pointing position of the pen, etc., but it is also possible to synthesize and display only the following images by superimposition or the like. An image such as an "arrow" is stored in advance at a point indicated by a pen or the like. The above-mentioned method is effective for situations such as placing a textbook on a suspended camera during an English lecture to indicate the accent position of an English word, or indicating the material at hand or during a videoconference or computer conference. Models and other places that should be emphasized separately or parts to be explained at present.

在上述步骤中,虽然以通常的数字化实例举例说明图象l(x,y),但也可仅打开在指示位置检测开关100b时进行数字化处理。In the above steps, although the image l(x, y) is usually digitized as an example, digitization may be performed only when the pointing position detection switch 100b is turned on.

第2实施例2nd embodiment

下面说明本发明的图象合成装置的第2实施例。Next, a second embodiment of the image synthesizing device of the present invention will be described.

在第1实施例中,字符串与照片的装饰方法各只有1种,但是第2实施例是按照下述方式构思的,即更简单地采用多种装饰方法。In the first embodiment, there is only one method of decorating character strings and photos, but the second embodiment is conceived in such a way that multiple decoration methods can be used more easily.

图8为第2实施例的结构图,在本实施例中,与图1所示的第1实施例相同的结构部分采用相同的标号,故略去对它们的具体说明。FIG. 8 is a structural diagram of the second embodiment. In this embodiment, the same structural parts as those of the first embodiment shown in FIG. 1 are given the same reference numerals, so their detailed descriptions are omitted.

第2实施例与第1实施例的主要不同点在于:以标记种类与指示位置判断单元9代替指示位置检测部2用于识别提供给笔等的多个标记的种类,以不同标记相应附加图象形成单元10代替附加图象形成部4,用于形成随着指示器种类的不同而改变的附加图象的。在这里,标记种类与指示位置判断单元9与本发明的指示位置检测机构相对应,而不同标记相应附加图象形成单元10与本发明的附加图象形成机构相对应。The main difference between the second embodiment and the first embodiment is that the marking type and pointing position judging unit 9 is used to replace the pointing position detection unit 2 for identifying the types of multiple marks provided to the pen, etc., and different marks are used to correspond to the attached drawings The image forming unit 10 replaces the additional image forming unit 4, and is used to form an additional image that changes depending on the type of pointer. Here, the mark type and pointing position judging unit 9 corresponds to the pointing position detecting means of the present invention, and the different mark corresponding additional image forming unit 10 corresponds to the additional image forming means of the present invention.

下面通过图9的流程图说明以上述方式构成的第2实施例图象合成装置的动作进行。但是,由于相对表示第1实施例动作的图2流程图图9增加了新的步骤,故这里仅说明对不同的步骤3b,步骤5b和步骤7b。Next, the operation of the image synthesizing apparatus of the second embodiment constructed as above will be described with reference to the flow chart of FIG. 9 . However, since new steps are added to the flow chart of Fig. 2 and Fig. 9 showing the operation of the first embodiment, only the different steps 3b, 5b and 7b will be described here.

在本实施例中,说明下述实例,该实例是按照下述方式构成的,即如图10所示,指示杆前端设有100a-1~100a-4这4种标记,根据照相机1中的影象识别在100a-1~100a-4这4种标记中之一中是否指示书类进行,可以很简单地使用多种装饰方法。In this embodiment, the following example will be described. This example is constructed in such a manner that, as shown in FIG. It is possible to easily use various decoration methods for image recognition whether one of the four kinds of marks 100a-1 to 100a-4 indicates whether a book is to be used.

步骤3b标记颜色的判断:Judgment of the color of the mark in step 3b:

由标记种类与指示位置判断单元9,判断提供给笔100的,朝向照相机1的指示器的颜色。The color of the pointer facing the camera 1 provided to the pen 100 is judged by the marking type and pointing position judging unit 9 .

具体来说,在图象l(x,y)中,对每种指定的颜色(本实施例中,包括图10所示标记所具有的红色和青色)计算象素的数量,而将具有多个象素的颜色确认为朝向照相机1的笔用标记的颜色。比如,这里检测红色象素的数量和青色象素的数量,比较这些象素数量的大小。由此,可更加灵活地判定没有出现错误,因为即使在有一些笔100,同时检测出有2种颜色的情况下,仍将认为象素数量较多的颜色判定为用于指示的指示器的颜色。Specifically, in the image l(x, y), the number of pixels is calculated for each specified color (in this embodiment, including the red and cyan colors of the mark shown in Figure 10), and there will be The color of the pixel is identified as the color of the pen marking towards the camera 1. For example, the number of red pixels and the number of cyan pixels are detected here, and the numbers of these pixels are compared. Thus, it is possible to more flexibly determine that there is no error, because even if some pens 100 are detected to have two colors at the same time, the color with a larger number of pixels is still considered to be determined as the pointer for pointing. color.

步骤5b指示器种类的判断:Judgment of indicator type in step 5b:

由标记种类指示位置判断部9,判断是加底纹用标记(100a-1,100a-2),还是下划线用标记(100a-3,100a-4)。The mark type designation position judgment unit 9 judges whether it is a mark for shading (100a-1, 100a-2) or a mark for underlining (100a-3, 100a-4).

具体来说,计算由步骤4b测得的笔100上标记区域所具有的规定颜色的象素数量。由于加底纹用标记与下划线用标记相比较,前者中规定颜色的象素数量较少,这样,根据规定的极限值可判断出是属于哪一种标记。另外,标记区域所具有的规定颜色象素数量为通过步骤3b所判定的规定颜色的象素数量。Specifically, the number of pixels of the specified color of the marking area on the pen 100 measured in step 4b is calculated. Since the underlined mark has fewer pixels of a predetermined color than the underlined mark, it can be determined which mark it belongs to based on a predetermined limit value. In addition, the number of pixels of the predetermined color included in the marking area is the number of pixels of the predetermined color determined in step 3b.

步骤7a2根据指标记种类形成装饰图象:Step 7a2 forms the decorative image according to the type of the index mark:

不同标记相应于附加图象形成单元10依步骤5b判定的标记种类,以及由步骤7b1所得的特征量,形成装饰图象。比如,图11表示下述实例,其指示对象信息为字符串情况下的,红色底纹(图11中的标记100a-1)和青色下划线(图11中的标记100a-4)的装饰图象。另外,在指示对象信息为照片的情况下,仅仅改变镶边的颜色。The different marks correspond to the mark types determined by the additional image forming unit 10 in step 5b, and the feature values obtained in step 7b1 to form a decorative image. For example, FIG. 11 shows an example of a decorative image of red shading (mark 100a-1 in FIG. 11) and cyan underline (mark 100a-4 in FIG. 11) in the case where the indicated object information is a character string. . Also, in the case where the pointing target information is a photograph, only the color of the border is changed.

按照上述第2实施例的结构,由于通过对提供给笔100等多种标记进行识别的方式来改变装饰方法,这样可通过变换多种颜色的笔节省记入的时间,从而可顺利地进行演示。According to the structure of the above-mentioned second embodiment, since the decoration method can be changed by recognizing various marks provided to the pen 100, the time for writing can be saved by changing pens of various colors, so that the presentation can be carried out smoothly. .

第3实施例3rd embodiment

下面说明本发明图象合成装置的第3实施例。Next, a third embodiment of the image synthesizing device of the present invention will be described.

第3实施例是按照下述方式构思的,即相对第1、第2实施例,还以复制等方式再次使用已形成的现有装饰用图象。The third embodiment is conceived in such a way that compared with the first and second embodiments, the existing decorative image formed is reused by duplication or the like.

图12为第3实施例的结构图。本实施例中与图1所示第1实施例相同的结构部分采用相同的标号,故略去对它们的具体说明。Fig. 12 is a structural diagram of the third embodiment. In this embodiment, the same structural parts as those of the first embodiment shown in FIG. 1 are given the same reference numerals, so their detailed descriptions are omitted.

第3实施例与第1实施例的主要不同点在于:还附加的现有附加图象复制单元11,它将存储于附加图象存储单元5中的现有装饰图象一览表与照相机1的影象合成并显示之,通过笔100等对其进行选择,之后将其合成并显示于书类上的另一指示位置。The main difference between the 3rd embodiment and the 1st embodiment is: the existing additional image reproduction unit 11 that is also added, it will be stored in the existing decorative image list in the additional image storage unit 5 and the shadow of the camera 1. The images are synthesized and displayed, selected by the pen 100, etc., and then synthesized and displayed at another indicated position on the book.

下面通过图13的流程图说明按照上述方式构成的第3实施例的图象合成装置的工作过程。Next, the operation of the image synthesizing apparatus of the third embodiment constructed as above will be described with reference to the flow chart of FIG. 13. FIG.

如图13所示,由于第3实施例的动作过程是在第1实施例动作程序中的步骤3a与步骤4a之间插入了步骤1c~步骤3c,故这里仅对该插入部分进行说明。As shown in FIG. 13, since the operation process of the third embodiment is to insert step 1c to step 3c between step 3a and step 4a in the operation program of the first embodiment, only the inserted part will be described here.

步骤1c现有装饰图象一览表的显示:Display of the list of existing decoration images in step 1c:

首先,如果迄今,通过附加图象形成部4形成比如1个装饰用的图象,则如图14中左上部分所示,以叠加方式将设有称为“一览表”的标题显示于照相机1的影象中。At first, if so far, for example, an image for decoration is formed by the additional image forming unit 4, as shown in the upper left part of FIG. In the memory.

接着,如果按照与第1实施例的步骤3a相同的方式测得的指示位置位于该区域内,则如图14所示,以叠加方式将加有底纹的“3.按分裂型轮廓模型取出实际物体”的图象,与标有下划线的“4.原型系统功能”图象显示于照相机1的影象中。Next, if the indication position measured in the same manner as step 3a of the first embodiment is located in this area, then as shown in Figure 14, the "3. The image of "actual object" and the underlined image of "4. Prototype system function" are displayed in the image of camera 1.

步骤2c现有装饰图象的选择:Step 2c Selection of Existing Decoration Image:

如图15所示,在通过步骤1c以一览表方式显示的现有装饰图象中,按照与第1实施例中的步骤3a相同的方式检测笔100的指示位置,选择位于该指示位置处的现有图象。As shown in FIG. 15, among the existing decorative images displayed in a list in step 1c, the pointing position of the pen 100 is detected in the same manner as step 3a in the first embodiment, and the current pointing position at the pointing position is selected. There are images.

步骤3c现有装饰图象的复制:Step 3c Copy of existing decoration image:

如图16所示,将通过步骤2c所选择的图象以叠加方式显示于以与第1实施例中步骤3a相同的方式检出的笔100的指示位置中。As shown in FIG. 16, the image selected in step 2c is superimposed on the pointing position of the pen 100 detected in the same manner as in step 3a in the first embodiment.

由上述步骤,则由于实施第3实施例可以一览表的方式显示现有装饰图象,并将其以通过笔等指示的方式进行复制,这样即使在使用多本书类的情况下,仍可不必在书类中以任何程度写入相同的字符串,从而可更加顺利地进行演示。By above-mentioned steps, then owing to implementing the 3rd embodiment can display existing decoration image in the form of list, and it is copied with the mode of indicating by pen etc., even in the situation of using many books like this, still need not Write the same string to any extent in the book class, so that the presentation can be performed more smoothly.

第4实施例4th embodiment

下面说明本发明图象合成装置的第4实施例。Next, a fourth embodiment of the image synthesizing device of the present invention will be described.

第1~3实施例是针对书类相对照相机保持固定的情况下进行说明的,但是第4实施例则是按照即使在往书类中写字,书类相对其原有位置移动的情况下,现有装饰图象随着书类的移动而叠加于正确的位置。Embodiments 1 to 3 are described for the case where the books are kept fixed relative to the camera, but the fourth embodiment is based on the case where the books move relative to their original positions even if writing is written in the books. Decorative images are superimposed in the correct position as the book class is moved.

图17为第4实施例的结构图,该实施例中与图1所示第1实施例相同的结构部分使用相同的标号,故这里略去对它们的详细具体说明。Fig. 17 is a structural diagram of the fourth embodiment. In this embodiment, the same structural parts as those of the first embodiment shown in Fig. 1 use the same reference numerals, so their detailed descriptions are omitted here.

第4实施例与第1实施例的主要不同点在于:还附加移动参数推定部12用于推定书类移动位置,以及,附加图象变形部13它由推定的移动参数使现有的装饰图象变形。The main difference between the fourth embodiment and the first embodiment is that an additional movement parameter estimation unit 12 is used to estimate the movement position of books, and an additional image deformation unit 13 transforms the existing decorative image by the estimated movement parameters. Like deformation.

下面参照图18的流程图按上述方式构成的第4实施例图象合成装置的工作过程。第4实施例的动作是在第1实施例动作的步骤1a与步骤2a之间插入下述的步骤1d~步骤4d。Next, referring to the flow chart of FIG. 18, the operation process of the image synthesizing apparatus of the fourth embodiment constructed as above will be described. The operation of the fourth embodiment is performed by inserting the following steps 1d to 4d between the steps 1a and 2a of the operation of the first embodiment.

步骤1d有无现有的装饰区:Step 1d with or without an existing trim area:

在参照附加图象形成部5,具有现有装饰图象的场合下,上述移动参数推定部12进行步骤2d,如果没有现有装饰图象,上述推定部12进行步骤2a。When referring to the additional image forming unit 5, if there is an existing decoration image, the movement parameter estimation unit 12 proceeds to step 2d, and if there is no existing decoration image, the estimation unit 12 proceeds to step 2a.

步骤2d从现有装饰图象选择部分图象Step 2d selects a partial image from an existing decoration image

为从任意的现有装饰图象中,实现时间上连续的两个图象间的叠加,选择图19所示的小区域作为模板。In order to realize superimposition between two temporally continuous images from any existing decoration image, the small area shown in Fig. 19 is selected as a template.

另外,上述时间上连续的两个图象为所述书类移动前后时刻的图象,这是由照相机1拍摄的。In addition, the above-mentioned two consecutive images in time are images before and after the movement of the book, which are captured by the camera 1 .

步骤3d部分图象的比较:Comparison of step 3d partial images:

与时间上连续的两个图象之间进行模板符合的同时,计算移动参数。由于这种情况下的书类移动主要是平行移动(xd,yd)与旋转运动θ,比如模板在0<θ<360°,(xd,yd)∈R(规定的寻找范围R:参照图19)之间运动,将亮度值之差的平方和为最小的θ,(xd,yd)作为移动参数。Simultaneously with template matching between two temporally consecutive images, the motion parameters are calculated. Since the movement of books in this case is mainly parallel movement (xd, yd) and rotational movement θ, for example, when the template is 0<θ<360°, (xd, yd)∈R (the specified search range R: refer to Figure 19 ) between the movement, and the sum of the squares of the differences in brightness values is the smallest θ, (xd, yd) as the moving parameter.

步骤4d装饰图象的变形:Deformation of step 4d decoration image:

借助步骤3d算出的移动参数,使附加图象形成部5中所存的全部图象变形。All the images stored in the additional image forming unit 5 are deformed by means of the movement parameters calculated in step 3d.

按照上述第4实施例,通过部分装饰图象在连续的边框之间进行模板比较,计算书类的移动参数从而使装饰图象变形,则即使在演示过程中书类移动的情况下,仍可正确地对所强调的部分进行装饰。According to the above-mentioned fourth embodiment, by performing template comparison between consecutive borders of a part of the decoration image, calculating the movement parameters of the book and deforming the decoration image, even if the book moves during the presentation, it can still be displayed. Decorate the emphasized part correctly.

第5实施例fifth embodiment

下面说明本发明图象合成装置的第5实施例。Next, a fifth embodiment of the image synthesizing device of the present invention will be described.

第1实施例指的是通过笔等指定每个地方所强调的部分,用以删除其装饰,这与进行装饰的情况相同,指示该部分。第5实施例的构思是,即以更加简单并且直观的方式进行多点的强调或删除。In the first embodiment, the highlighted part of each place is designated by a pen or the like to delete its decoration, which is the same as the case of decoration, indicating this part. The idea of the fifth embodiment is to emphasize or delete multiple points in a simpler and more intuitive manner.

图20为第5实施例的结构图,在本实施例中,与图1所示的第1实施例相同的结构部分使用相同标号,故这里略去对它们的具体说明。FIG. 20 is a structural diagram of the fifth embodiment. In this embodiment, the same structural parts as those of the first embodiment shown in FIG. 1 are given the same reference numerals, so their detailed descriptions are omitted here.

第5实施例与第1实施例的主要不同点在于:除了笔100等笔型指示机构以外,还采用设置用指示机构200,用于指示以置于书类上的方式进行装饰的部分;采用多个不同指示机构位置检测部14代替指示位置检测单元2,用于对多个不同的指示机构进行检测;采用下述的多个不同指示机构相应指示信息检测单元15代替指示位置检测单元2,该检测单元15用于根据指示机构的种类检测由指示机构指示的信息区域或特征量;另外的多个不同指示机构相应附加图象形成单元16代替附加图象形成单元4,用以根据指示机构种类形成不同的附加图象。在此,本发明的指示机构为包括笔100等笔型指示机构和设置用指示机构200的机构。另外,笔100等的笔型指示机构或设置用指示机构200分别与本发明的指示部件相对应。此外,多个不同指示机构指示位置检测部14与本发明的指示位置检测机构对应,多个不同指示机构相应指示信息检测单元15与本发明的指示对象信息检测机构对应。还有,多个不同指示机构相应附加图象形成单元16与本发明的附加图象形成机构对应。The main difference between the fifth embodiment and the first embodiment is that, in addition to the pen-shaped indicating mechanism such as the pen 100, the setting indicating mechanism 200 is also used to indicate the part to be decorated by placing it on the book; A plurality of different indicating mechanism position detection units 14 replace the indicating position detecting unit 2, and are used to detect a plurality of different indicating mechanisms; the following multiple different indicating mechanism corresponding indicating information detecting units 15 are used to replace the indicating position detecting unit 2, The detection unit 15 is used to detect the information area or the feature quantity indicated by the indicating mechanism according to the type of the indicating mechanism; the corresponding additional image forming unit 16 of a plurality of different indicating mechanisms replaces the additional image forming unit 4, for according to the indicating mechanism Types form different additional images. Here, the pointing mechanism of the present invention includes a pen-type pointing mechanism such as the pen 100 and the setting pointing mechanism 200 . In addition, the pen-shaped pointing mechanism such as the pen 100 or the setting pointing mechanism 200 corresponds to the pointing member of the present invention, respectively. In addition, a plurality of pointing mechanism pointing position detection units 14 correspond to the pointing position detection mechanism of the present invention, and a plurality of different pointing mechanisms corresponding pointing information detection units 15 correspond to the pointing object information detection mechanism of the present invention. Also, a plurality of different indicating means corresponding to the additional image forming unit 16 corresponds to the additional image forming means of the present invention.

下面参照图21的流程图说明按上述方式构成的第5实施例图象合成装置的工作过程。这里仅说明与第1实施例的动作不同的步骤2e,步骤2e1,步骤2e2,步骤8e。这里,采用下述实例说明设置用指示机构200,该实例采用与具有前面第1、第2实施例说明的笔100的指示器不同的黄色标记。如图22所示,这里同样是按照第2实施例所示方式,以下述实例说明设置用指示机构,该实例采用了加底纹用标记200a和下划线用标记200b这两种指示器。这里,可通过下述方式简单地实现这两种标记200a,200b,即在比如由玻璃或塑料等材料形成的、象硬币或按钮那样的圆形物体表面通过印刷等方式形成图22所示的不同的形式。另外,还可由下述层状部件简单地形成上述指示器,该部件的内表面构成粘贴面,其外表面印刷有与图22不同的形式。此外,上述按钮形状的物体的素色表面上还可粘贴上述层状部件。Next, the operation of the image synthesizing apparatus of the fifth embodiment constructed as above will be described with reference to the flowchart of FIG. 21. FIG. Here, only step 2e, step 2e1, step 2e2, and step 8e, which are different from the operations of the first embodiment, will be described. Here, the setting pointing mechanism 200 will be described by using an example using a yellow mark different from the pointer having the pen 100 described above in the first and second embodiments. As shown in FIG. 22, the setting indicating mechanism will be described in the same manner as in the second embodiment. This example uses two types of indicators for shading 200a and underlining 200b. Here, the two kinds of marks 200a, 200b can be realized simply by printing, for example, on the surface of a circular object such as a coin or a button formed of glass or plastic, as shown in FIG. 22 . different forms. In addition, the above-mentioned indicator can also be simply formed from a layered member whose inner surface constitutes an adhesive surface and whose outer surface is printed with a pattern different from that shown in FIG. 22 . In addition, the above-mentioned layered member may be pasted on the plain surface of the above-mentioned button-shaped object.

步骤2e设置用指示机构的检测:Step 2e sets up the detection with the indicating mechanism:

由多个不同指示机构位置检测单元14,从第1实施例的步骤1a获取的图象l(x,y)中,按照与步骤3a相同的方式,将具有规定设置用标记颜色(在规定范围的RGB值中,这里比如是,黄色180<R<255,且180<G<255,且60<B<120)的规定尺寸的区域作为设置用标记进行检测。但是,由于一般设置有多个设用指示器,故抽出全部具有规定颜色的规定尺寸的区域。From the image l(x, y) obtained in the step 1a of the first embodiment by a plurality of different pointing mechanism position detection units 14, in the same manner as in the step 3a, there will be marked colors (within the specified range Among the RGB values, here, for example, yellow (180<R<255, and 180<G<255, and 60<B<120) an area of a predetermined size is detected as a mark for setting. However, since a plurality of installation indicators are generally provided, all regions of a predetermined size having a predetermined color are extracted.

以其外接长方形的左上(xl(i),yl(i)),以及右下(xr(i),yr(i))的顶点组(xl(i),yl(i))-(xr(i),yr(i))存储设置用标记的位置。但是,标号j表示标记的数量。另外,根据区域中所含有的规定颜色的象素数量,可识别加底纹用,以及下划线用这两种标记200a,200b。The upper left (xl(i), yl(i)) of the circumscribed rectangle, and the vertex group (xl(i), yl(i)) of the lower right (xr(i), yr(i))-(xr( i), yr(i)) stores the position of the marking for setting. However, the reference j indicates the number of markers. Also, depending on the number of pixels of a predetermined color included in the area, two types of marks 200a, 200b for shading and for underline can be identified.

步骤2e-1根据设置用指示机构计算指示区域和特征量:Step 2e-1 calculates the indication area and feature quantity with the indication mechanism according to the setting:

如图22所示,由多个不同指示机构相应指示信息检测单元16,寻找与检测到的标记位置邻接的长方形区域(xr(i),yl(i))-(图象宽度,yr(i))中具有最大x坐标的黑色象素,将该x坐标作为xmax(i)。此时,虽然沿x轴方向寻找每个y坐标进行,但在未检测到有规定长度间的黑色情况下,终止寻找。由此,**即使在偏离书类污迹或希望强调的记入部分的痕迹处形成信息,也不臻误取而将这些信息。在这里,长方形(xr(i),yl(i))-(xmax(i),yr(i)构成所指示的区域。As shown in Figure 22, by a plurality of different pointing mechanism corresponding instruction information detecting unit 16, search for the rectangular area (xr(i), yl(i))-(image width, yr(i) adjacent to the detected mark position )) has the largest x-coordinate of the black pixel, and this x-coordinate is xmax(i). At this time, the search is performed for each y-coordinate along the x-axis direction, but if black with a predetermined length is not detected, the search is terminated. As a result , even if information is formed at a trace that deviates from book stains or a desired inscribed portion, the information will not be taken by mistake. Here, the rectangle (xr(i), yl(i))-(xmax(i), yr(i) constitutes the indicated area.

接着,按与第1实施例的步骤5a相同的方式,判断指示区域是文字,还是照片。Next, in the same manner as step 5a of the first embodiment, it is judged whether the indicated area is a character or a photograph.

步骤2e-2设置用指示机构用附加图象的形成:Step 2e-2 Formation of additional images for setting pointing mechanisms:

按照与第1实施例中步骤5a-2相同的方式,根据由步骤1e-1算出的区域和特征量,形成加底纹用或下划线用的附加图象。In the same manner as in step 5a-2 of the first embodiment, an additional image for shading or underlining is formed based on the region and feature value calculated in step 1e-1.

步骤8e:Step 8e:

由于在步骤1e中,是按照规定时间间隔获取图象l(x,y)的,于是图象合成部7可更新显示部8的图象显示。此时,与设置用标记位置相对应,再次合成附加图象。由此,如果按图23所示方式去除设置用标记,则由于未再次合成附加图象,从而清除装饰。Since the image l(x, y) is acquired at predetermined time intervals in step 1e, the image synthesis unit 7 can update the image display on the display unit 8. At this time, an additional image is synthesized again corresponding to the position of the setting mark. Therefore, if the marking for setting is removed as shown in FIG. 23, since the additional image is not synthesized again, the decoration is cleared.

按照上述方式实现第5实施例,由于按照规定时间间隔检测设置用指示器进行,所以可提供在设置标记时进行装饰,在去除标记时将装饰删除的直观易懂的操作方法。As described above, the fifth embodiment is implemented. Since the setting indicator is detected at predetermined time intervals, it is possible to provide an intuitive and easy-to-understand operation method of decorating when setting a mark and deleting the decoration when removing a mark.

第6实施例sixth embodiment

下面说明本发明的图象合成装置的第6实施例。Next, a sixth embodiment of the image synthesizing device of the present invention will be described.

第4实施例是描述的情况,该即使在书类中写入字等的情况下书类发生偏移,相对其原有位置产生移动的情况下,笔型指示机构的现有指示区域仍以随书类移动的方式而叠加于正确的位置。The 4th embodiment is the situation described, even if the book is shifted and moved relative to its original position when writing characters etc. in the book, the existing indication area of the pen-shaped indicating mechanism is still in the Stacks in the correct position according to the way books move.

与此相对,第6实施例的构思是,在采用第5实施例中所用设置用指示机构的情况下,书类发生移动。On the other hand, the idea of the sixth embodiment is that the books are moved when the pointing mechanism for setting used in the fifth embodiment is used.

图24为第6实施例的结构图,本实施例中,与图17所示第4实施例及图20所示第5实施例相同的结构部分采用相同的标号,故这里省略对它们的具体说明。Fig. 24 is a structural diagram of the sixth embodiment. In this embodiment, the same structural parts as those of the fourth embodiment shown in Fig. 17 and the fifth embodiment shown in Fig. 20 use the same symbols, so their specific details are omitted here. illustrate.

第6实施例与第4、第5实施例的主要不同点在于:采用下述设置用标记利用移动参数推定单元17代替移动参数推定单元12,所述推定部17根据设置标记的指示部分的倾斜度计算书类移动参数中的旋转运动,即倾角。由此,如果以平行的方式记人笔型指示机构的指示信息与设置用标记的指示信息,则以设置用标记的指示信息的倾斜度作为书类的倾斜度使演示用部分图象旋转,根据该旋转可计算书类平行移动的参数。在此,设置标记利用移动参数推定单元17与本发明的移动参数计算部对应。The main difference between the sixth embodiment and the fourth and fifth embodiments is that the movement parameter estimation unit 12 is replaced by the movement parameter estimating unit 17 of the following marking for setting. degrees to calculate the rotational movement in the book movement parameter, that is, the inclination angle. Thus, if the instruction information of the stylus-type pointing mechanism and the instruction information of the marking for setting are written in parallel, the partial image for demonstration is rotated with the inclination of the indicating information of the marking for setting as the inclination of the book, From this rotation, the parameters of the parallel movement of the book can be calculated. Here, the movement parameter estimating unit 17 for setting flags corresponds to the movement parameter calculation unit of the present invention.

下面根据图25的流程图说明按上述方式构成的第6实施例图象合成装置的工作过程。第6实施例的动作是在第5实施例中动作的步骤1e与步骤3e之间插入下面的步骤1f~步骤6f。Next, the operation of the image synthesizing apparatus of the sixth embodiment constructed as above will be described with reference to the flow chart of FIG. 25. FIG. The operation of the sixth embodiment is to insert the following steps 1f to 6f between the steps 1e and 3e operated in the fifth embodiment.

步骤1f计算设置用指示器的指示信息倾角:Step 1f calculates the inclination angle of the indication information of the indicator for setting:

如图26所示,根据多个指示机构相应指示信息检测单元15,首先在与检测有指示器的位置邻接的长方形区域(xr(i),yl(i))-(图象宽度,yr(i))中寻找对应每个y坐标值y(k)中,具有最大x坐标的黑色象素,将该x坐标作为x-max(k)。此时,在对每个y坐标沿x轴方向进行寻找的过程中,在未检测到规定长度间的黑色情况下,终止寻找。由此,按图26所示的实施例可检测出仅仅位于倾斜的指示信息的上部的候补点。接着,就记入部分的上部候补点,求出最小2乘近似直线A。该直线与照相机坐标系中的x轴间的夹角为指示信息的倾角θ。另外,y(k)不必按照1个的方式增加,如果记入部分的上部候补点也可以为2个以上。As shown in Figure 26, according to the corresponding indication information detection unit 15 of a plurality of indicating mechanisms, firstly, in the rectangular area (xr(i), yl(i))-(image width, yr( In i)), find the black pixel with the largest x-coordinate corresponding to each y-coordinate value y(k), and use the x-coordinate as x-max(k). At this time, in the process of searching for each y-coordinate along the x-axis direction, if black within a predetermined length is not detected, the search is terminated. Thus, according to the embodiment shown in FIG. 26, candidate points located only in the upper part of the inclined instruction information can be detected. Next, the least squares approximate straight line A is obtained for the upper candidate points of the written part. The included angle between the straight line and the x-axis in the camera coordinate system is the inclination angle θ of the indication information. In addition, y(k) does not have to be increased by one, and the number of upper candidate points of the write-in part may be two or more.

步骤2f设置用指示器的倾斜修正指示区域的检测:Step 2f sets the detection of the indicated area with the tilt correction of the pointer:

由于通过步骤1f算出的最小2乘直线A,与照相机坐标系中x轴间的夹角为记入部分的倾角,于是处于下述状态的直线分别构成直线B,B’,该状态指使直线A沿远离原点的方向,及靠近原点的方向平行移动,而且直线A上不存在1个黑色象素。在直线B,B’,与直线x=xr(i),x=(图象宽度)围成的区域内寻找具有最大x坐标x-max(i)的黑色象素。在直线A的倾角θ为正值时,下述区域构成指示信息区域,即直线B与x=xr(i)的交点B1、从该交点B1至直线B’的垂线的垂足坐标位置B2、x=x-max(i)与直线B的交点B3、从该交点B3至直线B’的垂线的垂足坐标位置B4这4个点所围成的区域。在此,以照相机1的照相机坐标系(x-y坐标系)为基准,按图26所示方式,沿右旋方向产生的倾角θ正值。Since the angle between the minimum 2-multiplied straight line A calculated in step 1f and the x-axis in the camera coordinate system is the inclination angle of the entered part, the straight lines in the following states constitute straight lines B and B' respectively, and this state refers to the straight line A Move in parallel along the direction away from the origin and the direction close to the origin, and there is no black pixel on the straight line A. Find the black pixel with maximum x-coordinate x-max(i) in the area surrounded by straight line B, B' and straight line x=xr(i), x=(image width). When the inclination angle θ of the straight line A is a positive value, the following areas constitute the indication information area, that is, the intersection B1 of the straight line B and x=xr(i), and the vertical foot coordinate position B2 of the vertical line from the intersection B1 to the straight line B' , x=x-max(i) and the intersection point B3 of the straight line B, and the vertical foot coordinate position B4 of the vertical line from the intersection point B3 to the straight line B'. Here, with the camera coordinate system (x-y coordinate system) of the camera 1 as a reference, as shown in FIG. 26 , the inclination angle θ generated in the clockwise direction is a positive value.

步骤3f笔型指示机构的现有装饰区域的有无:Step 3f Presence of Existing Decorative Areas for Pen Type Indicating Mechanisms:

参照附加图象形成单元5设置用指示器利用移动参数推定单元17,具有由笔型指示机构形成的现有装饰图象时,进行步骤4f,如果没有上述图象,则进行步骤3e。Refer to the additional image forming unit 5 to set the indicator using the movement parameter estimation unit 17. When there is an existing decorative image formed by the pen-shaped pointing mechanism, go to step 4f. If there is no above-mentioned image, go to step 3e.

步骤4f部分图象根据倾角的变形:Step 4f partial image is deformed according to the inclination angle:

由于现有装饰图象随书类的移动而变形,因而设置用指示器利用移动参数推定单元17选择第4实施例中步骤2d所述的模板比较用部分图象,使该图象按照通过步骤1f算出的书类倾角旋转变形。Since the existing decorative image is deformed with the movement of the book, the setting pointer uses the moving parameter estimation unit 17 to select the partial image for template comparison described in step 2d in the fourth embodiment, and the image is passed through the step. The inclination angle rotation deformation of books calculated by 1f.

步骤5f部分图象比较的平行移动参数计算:The parallel movement parameter calculation of step 5f partial image comparison:

按照上述方式,用步骤4f形成模板,在于对时间上为连续的两个图象之间进行比较,计算移动参数。由于模板按照书类旋转移动参数θ作旋转运动,故所计算的移动参数仅仅构成平行移动(xd,yd)。In the above-mentioned manner, step 4f is used to form a template, which is to compare two consecutive images in time to calculate the movement parameters. Since the template performs rotational movement according to the book rotation parameter θ, the calculated movement parameters only constitute parallel movement (xd, yd).

步骤6f装饰图象的变形:Deformation of step 6f decoration image:

由步骤5f计算出的移动参数使附加图象形成部5中所有的全部图象变形。All images in the additional image forming section 5 are deformed by the movement parameters calculated in step 5f.

如果按照上述方式实施第6实施例,在采用设置用标记的情况下,即使在书类产生移动,仍可检测指示区域的倾角和该区域进行,另外即使有由笔型指示机构产生的现有装饰图象,仍可计算出其移动参数,并将现有装饰图象变形且合成,这样在采用设置用标记的演示过程中,即使书类产生移动,仍可正确地装饰希望强调的部分。If the sixth embodiment is implemented as described above, in the case of setting marks, even if the books move, the inclination of the indicated area can still be detected and the area can be moved. The movement parameters of the decorative image can still be calculated, and the existing decorative image can be deformed and synthesized. In this way, even if the book moves during the demonstration using the setting mark, the part to be emphasized can still be correctly decorated.

第7实施例Seventh embodiment

下面说明本发明图象合成装置的第7实施例。Next, a seventh embodiment of the image synthesizing apparatus of the present invention will be described.

第5实施例说明的,是该以仅仅设置或去除设置用标记的方式可简单地进行标记的装饰。第7实施例的构思是,导入设置标记的装饰及效果声音,另外可简单地进行操作确认,从而可进一步提高演示的效果。In the fifth embodiment, the decoration that can be marked simply by setting or removing the mark for setting has been described. The idea of the seventh embodiment is to introduce decorations and effect sounds for setting marks, and to easily perform operation confirmation, thereby further improving the effect of the demonstration.

图27为第7实施例的结构图,本实施例中与图20所示第5实施例相同的结构部分采用相同的标号,故在这里略去对它们的具体说明。Fig. 27 is a structural diagram of the seventh embodiment. In this embodiment, the same structural parts as those in the fifth embodiment shown in Fig. 20 are given the same reference numerals, so their detailed descriptions are omitted here.

第7实施例与第5实施例的主要不同点在于:添加标记数量增减检测单元18,它按照规定时间间隔检测的设置用标记的数量的增减,选择规定声音数据进行。另外,标号19表示存储声音数据的声音数据存储单元,标号20表示重放所选声音数据的扬声器。这里,标记数量增减检测单元18与本发明的设置用标记件增减检测机构对应。The main difference between the seventh embodiment and the fifth embodiment is that the increase/decrease detection unit 18 of the number of added markers selects predetermined sound data according to the increase or decrease of the number of installation marks detected at predetermined time intervals. In addition, reference numeral 19 denotes a sound data storage unit for storing sound data, and reference numeral 20 denotes a speaker for reproducing selected sound data. Here, the marker quantity increase/decrease detection unit 18 corresponds to the installation marker increase/decrease detection mechanism of the present invention.

下面参照图28的流程图说明按上述方式构成的第7实施例图象合成装置的工作过程。Next, the operation of the image synthesizing apparatus of the seventh embodiment constructed as above will be described with reference to the flowchart of FIG. 28. FIG.

第7实施例的动作是在第5实施例动作的步骤8e与步骤9e之间插入下面的步骤1g~步骤4g。In the operation of the seventh embodiment, the following steps 1g to 4g are inserted between the steps 8e and 9e in the operation of the fifth embodiment.

步骤1g边框间的设置用指示器数量的比较:Step 1g Comparison of the number of indicators used for setting between borders:

由标记数量增减检测单元18,在边框之间对检测出的设置用标记的数量进行比较,若为增加,进行步骤2g,若为减少的场合,进行步骤3g,而在未变化的情况下,进行步骤9e。By the number of marker increase/decrease detection unit 18, the number of the detected setting markers is compared between the borders, if it is increased, step 2g is performed, if it is decreased, step 3g is performed, and if there is no change , go to step 9e.

步骤2g增加用声音数据的选择:Step 2g adds the option to use voice data:

选择增加用声音数据,进行步骤4g。Select voice data for addition, and proceed to step 4g.

步骤3g减少用声音数据的选择:Step 3g reduces the selection with sound data:

选择减少用声音数据,进行步骤4g。Select the audio data for reduction, and proceed to step 4g.

步骤4g效果声音的输出:Output of step 4g effect sound:

控制部1000通过扬声器20输出步骤2g或步骤3g中所选的声音数据输出。The control unit 1000 outputs the audio data selected in step 2g or step 3g through the speaker 20 .

由上述步骤,在书类上设置新的指示器或去除上述指示器时,仅仅检测设置用指示器数量的变化,便可在对指示信息进行装饰的同时输出效果声音。Through the above steps, when a new indicator is installed on a book or the above-mentioned indicator is removed, only the change in the number of indicators for installation is detected, and the effect sound can be output while decorating the instruction information.

如果按照第7实施例,由于通过指示器数量的增减可识别添加于书类上或从书类上去除指示器的情况,并可根据该识别情况添加效果声音,这样,不仅可以很容易进行操作的确认,而且还可进一步进行高效的演示。According to the seventh embodiment, since the addition or removal of pointers to or from books can be recognized by the increase or decrease in the number of pointers, and an effect sound can be added according to the recognition situation, it is not only easy to carry out Confirmation of operation, but also efficient demonstration can be further carried out.

第8实施例Eighth embodiment

下面说明本发明图象合成装置的第8实施例进行。Next, an eighth embodiment of the image synthesizing device of the present invention will be described.

第1~第7实施例说明的是相对于由逐条记明或拍照构成的较单纯的书类对指示部分进行检测和装饰。第8实施例的构思是,还通过辨认多个标识的形状与对应关系的方式,从而可对图文并茂的书类进行装饰。Embodiments 1 to 7 illustrate the detection and decoration of the instruction portion with respect to relatively simple books consisting of item-by-item notes or photographs. The idea of the eighth embodiment is that by identifying the shapes and corresponding relationships of multiple marks, books with both pictures and texts can be decorated.

图29为第8实施例的结构图,本实施例中与图20所示第5实施例相同的结构部分采用相同的标号,故这里略去对它们的具体说明。Fig. 29 is a structural diagram of the eighth embodiment. In this embodiment, the same structural parts as those in the fifth embodiment shown in Fig. 20 are given the same reference numerals, so their detailed descriptions are omitted here.

第8实施例与第5实施例的主要不同点在于:添加标记形状辨认单元21及标记相应确定单元22,所述标记形状辨认部21用于辨认两种以上的标识形状,所述标记相应确定单元22根据通过标记形状辨认单元21辨认的标识的形状确定规定组合的标记的对应关系。这里,标记形状辨认单元21与本发明的标识形状辨认机构对应,另外上述标记相应确定单元22与本发明的标记相应确定机构相对应。The main difference between the eighth embodiment and the fifth embodiment is that: a mark shape recognition unit 21 and a mark corresponding determination unit 22 are added, the mark shape recognition unit 21 is used to identify two or more mark shapes, and the marks are determined accordingly The unit 22 determines the corresponding relationship of the marks of the specified combination according to the shape of the mark recognized by the mark shape recognition unit 21 . Here, the mark shape recognizing unit 21 corresponds to the mark shape recognizing means of the present invention, and the mark correspondence determining unit 22 corresponds to the mark correspondence determining means of the present invention.

下面通过图30的流程图说明按照上述方式构成的第8实施例图象合成装置的工作过程。为了更清楚地描述本实施例的工作过程,下面实例中说明,在有图31所示字符串与图形混合的书类中,采用两种钩状标记标记装饰与所见钩形对应的区域装饰。如果所述的标记在比如学校老师进行讲课预习后预先标记教科书中提到的地方也是可以的。还可以将标记指示成层状粘贴于这样的物品上,也可用荧光笔等描绘于书类上。Next, the operation of the image synthesizing apparatus of the eighth embodiment constructed as above will be described with reference to the flow chart of FIG. 30. FIG. In order to describe the working process of this embodiment more clearly, the following examples illustrate that in books with a mixture of character strings and graphics as shown in Figure 31, two kinds of hook-shaped mark marks are used to decorate the area corresponding to the hook shape seen. . It is also possible if the mark is pre-marked in the place mentioned in the textbook such as after the school teacher conducts a lecture preview. Marking instructions can also be pasted on such an article in a layered form, and can also be drawn on books with a highlighter or the like.

下面说明第8实施例的动作步骤。第8实施例的动作是在第5实施例动作的步骤1e与步骤2e之间插入下面的步骤1h~步骤5h。Next, the operation procedure of the eighth embodiment will be described. The operation of the eighth embodiment is to insert the following steps 1h to 5h between the steps 1e and 2e of the operation of the fifth embodiment.

步骤1h钩状形标记的检测:The detection of step 1h hook mark:

由多个不同标记位置检测单元14,检测从图象中规定尺寸的区域作为标记进行检测,该区域具有表示钩形标记的规定颜色(规定范围的RGB值)。By a plurality of different mark position detection units 14, a region of a predetermined size from the image is detected as a mark, and the region has a predetermined color (RGB value of a predetermined range) representing a hook mark.

步骤2h标记形状的辨认:Step 2h identification of marked shape:

由标记形状辨认单元21辨认检测出的标记的种类进行辨认。在这里,对图32所示的开始标记与结束标记进行辨认。具体来说,按照图32所示方式,将所检测出的标记区域4等分,在区域0~3中计算具有表示标记规定颜色(RGB值)的象素的数量,如果其数量在区域0中较多,则判定为开始标记,反之,则判定为结束标记。The type of the detected mark is recognized and recognized by the mark shape recognition unit 21 . Here, the start mark and end mark shown in FIG. 32 are recognized. Specifically, according to the method shown in Figure 32, the detected mark area is divided into four equal parts, and the number of pixels with the specified color (RGB value) representing the mark is calculated in areas 0-3. If there are more of them, it is judged as a start mark, otherwise, it is judged as an end mark.

步骤3h根据标记对应关系检测记入部分:Step 3h detects the recorded part according to the tag correspondence:

由标记相应确定部22,根据是开始标记还是结束标记,确定指定哪个区域。首先,就全部开始标记来说,计算其与位于其右下方的全部结束标记的距离。之后,将该开始标记与上述距离为最小的标记建立对应关系。Which area to designate is determined by the marker corresponding determination unit 22 depending on whether it is a start marker or an end marker. First, as far as all start tags are concerned, their distances to all end tags located right below them are calculated. Afterwards, a corresponding relationship is established between the start marker and the marker whose distance is the smallest.

步骤4h指示信息的特征量的检测:Step 4h indicates the detection of the feature quantity of information:

由多个不同标记相应指示信息检测单元15,计算作为指示信息的特征量的,比如指示区域中白色象素所占有的比例。由于一般指示区域中白色象素所占比例满足下述关系,即(图面)<(字符串)<(照片),这样根据适合的极限值可对这些特征量进行辨认。The indication information detecting unit 15 corresponding to a plurality of different marks calculates, as a feature quantity of the indication information, for example, the proportion occupied by white pixels in the indication area. Since the proportion of white pixels in the general indication area satisfies the following relationship, namely (image)<(character string)<(photograph), these feature quantities can be identified according to suitable limit values.

步骤5h记入部分的装饰:Step 5h is credited to the decoration of the section:

由多个不同指示机构相应附加图象形成单元16,在通过步骤3a检测出的指示信息区域中,将以规定颜色的RGB值替换为除黑色以外的象素的RGB值的图象作为附加图象,并且存储于附加图象形单元5中。Corresponding additional image forming unit 16 by a plurality of different indication mechanisms, in the indication information area detected by step 3a, replace the RGB value of the specified color with the RGB value of the pixel other than black as an additional image image, and stored in the additional image graphic unit 5.

按照上述步骤,可使钩形标记正确地建立对应关系,并对图33所示的指定区域进行装饰。According to the above steps, the corresponding relationship between the hook marks can be established correctly, and the designated area shown in FIG. 33 can be decorated.

按照第8实施例,则还可对下述书类进行装饰,该书类指不仅包括逐条记明的文字列,而且还包括有文字与图形混合图面的更为复杂的书类。According to the eighth embodiment, it is also possible to decorate the following books, which refer to not only the character strings written one by one, but also more complex books with mixed graphics of characters and graphics.

第9实施例9th embodiment

下面说明本发明图象合成装置的第9实施例。Next, a ninth embodiment of the image synthesizing apparatus of the present invention will be described.

相对第1~第8实施例,第9实施例的构思是,即使在照相机变焦的情况下,仍可正确地显示所强调的部分。Compared with the first to eighth embodiments, the idea of the ninth embodiment is to correctly display the emphasized part even when the camera is zoomed.

图34为第9实施例的结构图,本实施例中与图1所示第1实施例相同的结构部分采用相同的标号,故在这里略去对它们的具体说明。Fig. 34 is a structural diagram of the ninth embodiment. In this embodiment, the same structural parts as those of the first embodiment shown in Fig. 1 are given the same reference numerals, so their detailed descriptions are omitted here.

第9实施例与第1实施例的主要不同点在于:还添加用于检测照相机1变焦倍数的变焦倍数检测单元23,以及根据所检测出的变焦倍数使装饰图象放大缩小的装饰图象放大缩小单元24。The main difference between the ninth embodiment and the first embodiment is that a zoom factor detection unit 23 for detecting the zoom factor of the camera 1 is added, and a decorative image enlargement device that enlarges or shrinks the decorative image according to the detected zoom factor is added. Shrink unit 24.

下面根据图35的流程图说明按上述方式构成的第9实施例图象合成装置的工作过程。Next, the operation of the image synthesizing apparatus of the ninth embodiment constructed as above will be described with reference to the flow chart of FIG. 35. FIG.

第9实施例的动作是在第1实施例动作中的步骤1a与步骤2a之间插入下面的步骤1i~步骤3i。In the operation of the ninth embodiment, the following steps 1i to 3i are inserted between the steps 1a and 2a in the operation of the first embodiment.

步骤1i现有指示区域的有无:Step 1i Presence of existing indicated areas:

附加图象放大缩小单元24在参照附加图象形成单元5形成现有附加图象时,进行步骤2i,而在没有上述附加图象时,进行步骤2a。The additional image enlargement and reduction unit 24 proceeds to step 2i when the existing additional image is formed with reference to the additional image forming unit 5, and proceeds to step 2a when there is no additional image.

步骤2i变焦倍数的检测:Step 2i detection of zoom factor:

通过变焦倍数检测单元23,借助控制单元1000检测照相机1的变焦信号,将其传送给附加图象放大缩小单元24。The zoom factor detection unit 23 detects the zoom signal of the camera 1 by means of the control unit 1000 and transmits it to the additional image enlargement and reduction unit 24 .

步骤3j装饰图象的放大缩小:Step 3j Enlargement and reduction of the decoration image:

按照通过步骤2l所检测出的变焦倍数,对存储于附加图象形成部5中所存的全部图象进行放大或缩小。All the images stored in the additional image forming section 5 are enlarged or reduced according to the zoom factor detected in step 21.

按照上述第9实施例,由于即使在照相机进行变焦的情况下,仍可按照变焦倍数对附加图象进行放大缩小,这样可正确地装饰希望强调的部分,从而可进一步扩大演示的幅度。According to the above-mentioned ninth embodiment, since the additional image can be zoomed in or out according to the zoom factor even when the camera is zoomed, the part to be emphasized can be correctly decorated, thereby further expanding the scope of the presentation.

第10实施例10th embodiment

下面说明本发明的图象合成装置的第10实施例。Next, a tenth embodiment of the image synthesizing device of the present invention will be described.

第1~9实施例表示的是下述的实例,即用颜色或下划线对笔、设置标记等多个指示机构所指定的区域进行装饰。第10实施例的构思是,不另外显示用规定颜色着色的指定区域。Embodiments 1 to 9 show examples in which areas designated by a plurality of pointing mechanisms such as pens and setting marks are decorated with colors or underlines. The idea of the tenth embodiment is not to additionally display a specified area colored with a specified color.

图36为第10实施例的结构图,本实施例中与图1所示实施例相同的结构部分采用相同的标号,故在这里略去对它们的具体说明。FIG. 36 is a structural diagram of the tenth embodiment. In this embodiment, the same structural parts as those in the embodiment shown in FIG. 1 use the same reference numerals, so their detailed descriptions are omitted here.

第10实施例与第1实施例的主要不同点在于:添加着色指定区域删除单元25,它用于检测规定颜色着色的所包括的区域,删除该区域的信息的显示。The main difference between the tenth embodiment and the first embodiment lies in the addition of a coloring designated area deleting unit 25, which is used to detect the included area colored in a specified color, and delete the display of the information of this area.

下面描述上述第10实施例图象合成装置的工作过程。The operation of the above-mentioned image synthesizing apparatus of the tenth embodiment will be described below.

着色指定区域删除部25连续扫描图象,将具有规定RGB值的相近(比如,标号8附近)象素作为相同的指定区域而设置相同的标记。接着,相对设置有相同标记的规定数量以上的象素组,以规定颜色(RGB值)全部代替设置有标记的同一组中的象素的颜色。The coloring designation area deleting unit 25 continuously scans the image, and sets the same flag on pixels that are similar (for example, near the number 8) having predetermined RGB values as the same designation area. Next, for a predetermined number or more of pixel groups provided with the same mark, all the colors of the pixels in the same group provided with the mark are replaced with a predetermined color (RGB value).

按照上述第10实施例,由于以规定颜色着色的指定区域的信息未显示于显示单元中,当老师以规定的颜色涂敷作为笔记而记录于教科书上的问题答案或注释部分时,听者不能看到不必要的信息。According to the tenth embodiment described above, since the information of the specified area colored with the specified color is not displayed on the display unit, when the teacher paints the answer to the question or the annotation part recorded on the textbook as a note with the specified color, the listener cannot See unnecessary information.

第11实施例11th embodiment

下面说明本发明图象合成装置的第11实施例。Next, an eleventh embodiment of the image synthesizing apparatus of the present invention will be described.

第1~10实施例针对的情况是指由于仅以规定的指示手段指示书类,形成、合成并显示对该指示手段进行装饰或强调的图象,这样可简单高效地进行演示,而第11实施例还考虑了扩大有良好效率的教育系统。The situation that the first to tenth embodiments are aimed at is that the presentation can be performed simply and efficiently by forming, synthesizing, and displaying an image that adorns or emphasizes the indicating means only by using a prescribed indicating means to indicate books, and the eleventh embodiment Embodiments also contemplate scaling up the education system with good efficiency.

图37为第11实施例的结构图,本实施例与图1所示第1实施例相同的结构部分采用相同的标号,故在这里略去对它们的具体说明。Fig. 37 is a structural diagram of the eleventh embodiment. The same structural parts of this embodiment and the first embodiment shown in Fig. 1 use the same reference numerals, so their specific descriptions are omitted here.

第11实施例与第1实施例的主要不同点在于:还添加有下述的浏览相应文件形成更新单元26,它们能可由互连网中的浏览程序显示的方式保存由图象合成单元5合成的图象。另外,标号27表示受主页管理的服务器,它通过网络等与多个终端连接。The main difference of the 11th embodiment and the 1st embodiment is: also add following browsing corresponding file and form update unit 26, they can save the image synthesized by image synthesis unit 5 in the mode that can be shown by the browsing program in the Internet. elephant. In addition, reference numeral 27 denotes a server managed by a home page, which is connected to a plurality of terminals through a network or the like.

下面说明上述第11实施例的图象合成装置的工作过程。Next, the operation of the image synthesizing apparatus of the eleventh embodiment described above will be described.

下面所述实例说明学校的老师在讲课时采用本实施例图象合成装置的情况。控制单元1000向存储图象的存储器装填信息,比如通过按压与控制单元1000相连接的键盘的规定键保存被图象合成单元5合成的图象保存。或还可采用按照与第3实施例相同的方式,在比如照相机1的影象中叠加称为“图象保存”的图象,并用笔等对其进行指示。于是,老师可把讲课时形成的图象中对学生有用的图象保存于系统中。接着,浏览相应文件形成/更新单元26将所保存的图象变换为GIF或JPEG格式,相对服务器27,形成或更新可以此作为参考的HTML文件。由此,学生可从校外阅览上述讲义资料。The example described below illustrates the situation that the teacher of the school adopts the situation of the image synthesizing device of the present embodiment when giving lectures. The control unit 1000 fills the memory for storing images with information, such as saving the image synthesized by the image synthesis unit 5 by pressing a prescribed key of a keyboard connected to the control unit 1000 . Alternatively, in the same manner as in the third embodiment, for example, an image called "image storage" is superimposed on the image of the camera 1, and it is indicated with a pen or the like. Thus, the teacher can save in the system the images useful to the students among the images formed during the lecture. Next, the browser corresponding file forming/updating unit 26 converts the stored image into GIF or JPEG format, and creates or updates an HTML file that can be used as a reference with respect to the server 27 . As a result, students can view the above-mentioned lecture materials from outside the school.

如果按照上述步骤实施本实施例11,由于形成的合成图象登录于网络的主页上,这样可通过终端从校外参加大学等学校的讲课,或重复使用讲义资料,另外老师可实现提供报告**(report)课题等的高效教育支持系统。If the present embodiment 11 is implemented according to the above steps, since the formed synthetic image is logged on the homepage of the network, it is possible to participate in lectures of schools such as universities from outside the school through the terminal, or reuse the lecture materials, and the teacher can provide reports ** in addition An efficient educational support system for (report) subjects, etc.

第12实施例12th embodiment

下面说明本发明的图象合成装置的第12实施例。Next, a twelfth embodiment of the image synthesizing device of the present invention will be described.

第1~11实施例针对情况是指由于仅以笔等方式指示记载于书类等中的实际信息,并且以叠加方式显示与该特征对应合成的附加图象,这样可实现高效演示系统,第12实施例的构思是,简单地获取多个实际物体,作为用于合成的附加图象,可将对其加工,合成后的图象传送给传真机或电视机等设备。The 1st to 11th embodiments refer to the fact that only the actual information recorded in books, etc. is indicated by means of a pen, and the additional image synthesized corresponding to the feature is displayed in a superimposed manner, so that an efficient demonstration system can be realized. The idea of the 12th embodiment is to simply acquire a plurality of actual objects as additional images for synthesis, process them, and send the synthesized images to equipment such as fax machines or televisions.

图38为第12实施例的结构图,在本实施例中与图1所示第1实施例相同的结构部分采用相同的标号,故在这里略去对它们的具体说明。FIG. 38 is a structural diagram of the twelfth embodiment. In this embodiment, the same structural parts as those of the first embodiment shown in FIG. 1 use the same reference numerals, so their detailed descriptions are omitted here.

第12实施例与第1实施例的主要不同点在于:以输入显示整体式显示器28代替显示单元8,本实施例包括输入位置检测单元29,用于检测上述显示器28中的输入位置、实际物体取出单元30,它按照至少可对显示器28的显示部中至少一部分进行拍摄的方式设置照相机1,并且可将抽出置于显示器28中显示部上的实际物体的轮廓,装饰图象形成单元31,通过加工由实际物体取出单元30抽出物体的图象进行,形成用于装饰或强调的、显示于显示器中的附加图象‘用于存储所形成的附加图象的附加图象存储单元32;装饰功能选择单元33,它用于选择所形成的附加图象在显示器中的显示方法;以及图象传送接收单元34,用于接收下述图象,或将该图象传送给传真机或电视机中,所述图象是合成显示器28上的实际物体与上述显示器28中的显示图象得到的。另外,控制单元1000由ROM等存储器与CPU构成,在该存储器中存有与通过上述显示器28输入相对应的处理数据。The main difference between the twelfth embodiment and the first embodiment is that the display unit 8 is replaced by an input and display integrated display 28. This embodiment includes an input position detection unit 29 for detecting the input position and the actual object in the above-mentioned display 28. Take out unit 30, it is provided with camera 1 according to the mode that can photograph at least a part in the display portion of display 28 at least, and can extract the contour of the actual object placed on the display portion in display 28, decorate image forming unit 31, Carry out by processing the image of the object extracted by the actual object extraction unit 30 to form an additional image for decoration or emphasis and displayed in the display. An additional image storage unit 32 for storing the formed additional image; decoration Function selection unit 33, which is used to select the display method of the additional image formed in the display; and image transmission and reception unit 34, which is used to receive the following image, or transmit this image to a facsimile machine or a television set In this case, the image is obtained by synthesizing the actual object on the display 28 and the displayed image on the display 28. In addition, the control unit 1000 is constituted by a memory such as a ROM and a CPU, and processing data corresponding to input through the display 28 described above is stored in the memory.

下面说明本实施例的工作过程。The working process of this embodiment will be described below.

图39为第12实施例的图象合成装置的动作的流程图。图40为借助本实施例中输入显示整体式显示器及照相机进行拍摄的范围的一个实例。为了更加清楚地描述本实施例的动作,这里描述的实例是指在加入公司的庆祝仪式上,在领到手表的人上合成谢礼的信息的图象,并将其传送给传真机的场合。Fig. 39 is a flow chart showing the operation of the image synthesizing device in the twelfth embodiment. Fig. 40 is an example of the range of shooting by means of the input display integrated display and the camera in this embodiment. In order to describe the actions of this embodiment more clearly, the example described here refers to the occasion of synthesizing the image of the message of thanking the gift on the person who received the watch at the celebration ceremony of joining the company, and sending it to the facsimile machine .

下面对本实施例的动作步骤进行描述。The action steps of this embodiment will be described below.

步骤1j实际物体的设置:The setting of the actual object in step 1j:

在借助设在输入显示整体式显示器28上方的照相机1进行拍摄的区域内,设置拟用为信息的实际物体。如图40所示,这里描述的实例中,在显示器28上设置从拟发送信息的一方领取的手表,以及进入公司被确定配属后从公司领到的姓名卡。这里,当显示器28的输入面采用超音波表面弹性波方式或电磁感应式的材料时,即使在放置手表等较硬物体的情况下,仍不致错误地判定在显示器28中具有输入信息。另外,如果该物体较轻,采用压敏式或抵抗膜方式的材料,同样不会出现错误判定。由控制部1000进行控制显示器28中是否有输入。In an area where photographing is performed by means of the camera 1 provided above the input-display-integrated display 28, actual objects intended to be used as information are set. As shown in Fig. 40, in the example described here, the watch that is received from the party that intends to send information is set on the display 28, and the name card received from the company after entering the company is determined to be assigned. Here, when the input surface of the display 28 is made of ultrasonic surface acoustic wave method or electromagnetic induction type, even when a relatively hard object such as a watch is placed, it will not be erroneously judged that there is input information in the display 28 . In addition, if the object is relatively light, if the material is pressure-sensitive or resistive film, there will be no misjudgment. Whether or not there is an input on the display 28 is controlled by the control unit 1000 .

步骤2j取出实际物体:Step 2j takes out the actual object:

如图41所示,最好将由装饰功能选择单元33进行选择的功能作为图标显示于显示器28中。当按压实际物体抽出图标401时,拟获取的实际物体成变为选择的模式。借助笔输入,以一条闭合曲线包围拟取出的实际物体(这里为手表和姓名卡)。控制单元1000接收笔输入的最终信号,首先通过照相机1获取拍摄区域中的图象,之后启动实际物体取出单元30,以所获取的图象为基础取出实际物体。这里,通过按压笔输入图标411来实现的笔输入的开始及结束。实际物体取出单元30按照图42所示的方式,按照与物体的数量相对应的数量自动将一条闭合曲线分开(在这里为2个),将手表和姓名卡分别单独取出。后面将在进行详细描述上述方法。另外,如果笔输入为超音波表面弹性波方式,则手指,或橡皮等柔软的材料,压敏式或抵抗膜式时,所述材料也可为普通的圆珠笔的中介这种较硬的材料也可通过手指输入。As shown in FIG. 41, it is preferable that the function selected by the decorative function selection unit 33 is displayed on the display 28 as an icon. When the actual object extraction icon 401 is pressed, the actual object to be acquired becomes the selected mode. By means of pen input, the actual object to be taken out (here a watch and a name card) is surrounded by a closed curve. The control unit 1000 receives the final signal input by the pen, first obtains the image in the shooting area through the camera 1, and then activates the actual object extraction unit 30 to extract the actual object based on the acquired image. Here, the pen input starts and ends by pressing the pen input icon 411 . The actual object taking-out unit 30 automatically separates a closed curve (here, 2) according to the quantity corresponding to the quantity of objects according to the mode shown in FIG. 42, and takes out the watch and the name card separately. The above method will be described in detail later. In addition, if the pen input adopts the ultrasonic surface elastic wave method, soft materials such as fingers or rubber, in the case of pressure-sensitive or resistive film type, the material may be a hard material such as an intermediary of an ordinary ballpoint pen. Can be entered by finger.

步骤3j选择装饰模式的:Step 3j selects the decorator mode's:

控制单元1000启动装饰图象形成单元31,使所取出的实际物体的图象颜色或形状发生变化,形成装饰用图象,并将该图象存储于装饰图象存储单元32中。虽然上述结果有多种实现方法,但这里说明的是,缩小的实例。控制单元1000将装饰图象形成单元31所形成的装饰图象(图42中由所抽取的实际物体的缩小图象422表示),及图42所示的装饰模式按钮421,显示于显示器28中。在此,按下述方式选择装饰图象与装饰模式,即以笔等触及显示于显示器28中的图象或按钮的图标相接触。由输入位置检测单元29处理这些输入指示。The control unit 1000 activates the decorative image forming unit 31 to change the color or shape of the image of the actual object taken out to form a decorative image and store the image in the decorative image storage unit 32 . While there are multiple ways to achieve the above results, what is illustrated here is a narrowed-down instance. The control unit 1000 displays the decoration image formed by the decoration image forming unit 31 (represented by the extracted reduced image 422 of the actual object in FIG. 42 ) and the decoration mode button 421 shown in FIG. 42 on the display 28. . Here, the decoration image and decoration mode are selected in such a manner that an image displayed on the display 28 or an icon of a button is touched with a pen or the like. These input indications are processed by the input position detection unit 29 .

也可考虑有多种装饰模式,但是在这里,以“背景”、“边缘”、“自由”这3种模式进行说明。“背景”模式为显示器28的全部显示区域,“缘”模式为沿上述显示区域的内侧,“自由”模式为以笔等在与显示器28接触的任意地方表示相应的装饰图象。图43表示结果,从之是从抽出实际物体的缩小图象422中选择手表图象作为装饰图象,并用笔选择与“边缘”模式相对应的按钮421-a进行而得到的,也即表示控制部1000根据“边缘”模式,沿显示器28显示区域的内侧边缘缩小而形成的手表图象422图象。It is conceivable to have a plurality of decoration modes, but here, three modes of "background", "edge", and "free" will be described. The "background" mode is the entire display area of the display 28, the "edge" mode is along the inside of the above-mentioned display area, and the "free" mode is to display a corresponding decoration image anywhere in contact with the display 28 with a pen or the like. Fig. 43 shows the result, from which the image of the watch is selected as the decoration image from the reduced image 422 of the actual object, and the button 421-a corresponding to the "edge" mode is selected with a pen to obtain, that is, The control unit 1000 shrinks the watch image 422 image along the inner edge of the display area of the display 28 according to the "edge" mode.

步骤4j信息输入:Step 4j information input:

以笔输入方式输入拟传送给对方的信息。比如输入图44所示的信息。该笔输入是以下述方式进行的,即通过笔将与输入面接触位置的显示器显示变换为规定颜色(比如黑色)。Enter the information to be sent to the other party by pen input. For example, input the information shown in Figure 44. This pen input is performed by converting the display display at the position in contact with the input surface to a predetermined color (for example, black) by the pen.

步骤5j合成图象传送:Step 5j composite image transmission:

如图44所示,当按压显示器28中显示的“传送”按钮402时,控制单元1000首先启动图象合成单元7,将由照相机1捕捉到的、位于显示器28上的实际物体的图象数据,与显示于显示器28中的装饰图象的数据或信息数据进行合成图象处理,并保存为位图格式等保存。接着,通过图象传送接收单元34将上述保存的图象变换为数据格式与向其传送数据的设备对应的数据格式,并传送合成图象。比如在向传真机传送数据时,可将图象变换为扫描宽度格式。As shown in FIG. 44, when the "transmit" button 402 displayed in the display 28 is pressed, the control unit 1000 first starts the image synthesis unit 7 to capture the image data of the actual object on the display 28 captured by the camera 1, The data of the decorative image displayed on the display 28 or the information data are subjected to composite image processing, and stored in a bitmap format or the like. Next, the above-mentioned stored image is converted into a data format corresponding to the data format of the device to which the data is transmitted by the image transmission and reception unit 34, and the composite image is transmitted. For example, when transmitting data to a fax machine, the image can be converted to a scan width format.

此外,由实际物体抽出单元30处理上述通过照相机1而捕捉到的位于显示器28上的实际物体的图象数据,之后传送给图象合成单元7,从而在图象合成单元7中与由存储单元32输出的上述装饰图象的数据等合成。In addition, the above-mentioned image data of the actual object on the display 28 captured by the camera 1 is processed by the actual object extraction unit 30, and then sent to the image synthesis unit 7, so that in the image synthesis unit 7 and by the storage unit 32, the data and the like of the above-mentioned decorative image outputted are synthesized.

另外,除了上述的合成方法,也可采用下述方式。In addition, in addition to the above-mentioned synthesis methods, the following methods can also be employed.

这是一种,由照相机1按照原样拍摄显示器28上的实际物体,以及显示器28显示的装饰图象或信息。这种情况下,还可将照相机1给出的合成图象直接传送给图象传送接收单元34。另外,与前述的合成方法不同,这时显示器28显示的装饰图象或信息等图象的质量较差。This is a method in which the actual object on the display 28 and the decorative image or information displayed on the display 28 are photographed by the camera 1 as it is. In this case, the synthesized image from the camera 1 can also be directly transmitted to the image transmitting and receiving unit 34 . In addition, unlike the aforementioned synthesizing method, at this time, the display 28 displays images such as decorative images or messages of poor quality.

下面具体描述上述步骤2j中用实际物体抽出单元30取出显示器28上实际物体的方法。The method for extracting the actual object on the display 28 by the actual object extracting unit 30 in the above step 2j will be specifically described below.

图45表示实际物体取出单元30的具体结构图。图45中的标号35表示存储照相机1拍摄的图象的图象存储单元;标号36表示轮廓式样存储单元,它对输入显示器28的闭合曲线作为图象存储单元35中的图象中所存对象物轮廓候补点进行离散处理并存储;标号37表示轮廓试样变形单元,用于按照一定规则使轮廓式样存储单元36中所有的轮廓候补点移动;标号38表示轮廓式样交叉判断单元,用于对按预定组合使上述轮廓候补点连接形成的闭合曲线是否有交叉现象进行判断,标号39表示轮廓分裂单元,用于在由上述交叉判断单元38检测出有交叉时,将轮廓候补点分类成多个组;标号40表示轮廓候补点形成/取消单元,用于在通过上述交叉判断单元38判断没有交叉情况下,添加新的轮廓候补点;或取消上述轮廓候补点,标号41表示用于判断轮廓是否取出完毕的抽出完毕判断单元。FIG. 45 shows a detailed configuration diagram of the actual object take-out unit 30. As shown in FIG. Reference numeral 35 among Fig. 45 represents the image storage unit that stores the image that camera 1 shoots; Reference numeral 36 represents outline style storage unit, and it is stored object as the image in the image storage unit 35 to the closed curve of input display 28 The contour candidate points are discretely processed and stored; label 37 represents a contour sample deformation unit, which is used to move all contour candidate points in the contour pattern storage unit 36 according to certain rules; label 38 represents a contour pattern intersection judgment unit, which is used to Predetermined combination makes the closed curve formed by connecting the above-mentioned contour candidate points to judge whether there is a crossing phenomenon, and the reference numeral 39 represents a contour splitting unit, which is used to classify the contour candidate points into a plurality of groups when the crossing is detected by the above-mentioned crossing judging unit 38 Label 40 represents a contour candidate point formation/cancellation unit, which is used to add a new contour candidate point when judging that there is no intersection by the above-mentioned intersection judging unit 38; Completed extraction completion judging unit.

下面参照图46所示的流程图说明按上述方式构成的实际物体取出单元30的工作过程。图象存储单元35由普通的RAM构成,对照相机1拍摄的图象进行数字化处理,并予存储。按照以比如8比特表示其亮度的方式存储经数字化处理的图象中的象素数据。下面描述实际物体抽出单元30的动作程序。Next, the operation of the actual object taking-out unit 30 constructed in the above manner will be described with reference to the flowchart shown in FIG. 46 . The image storage unit 35 is composed of a common RAM, and digitally processes and stores the images captured by the camera 1 . Pixel data in the digitized image is stored in such a manner that its brightness is represented by, for example, 8 bits. The operation procedure of the actual object extracting unit 30 will be described below.

步骤2j-1轮廓候补点的初期配置:Initial configuration of candidate contour points in step 2j-1:

将构成由前述步骤2j以笔输入方式输入到显示器1中的闭合曲线(轮廓式样)的n个点,存储于轮廓式样存储单元36作为初始轮廓候补点vi(xi(0),yi(0))(i=1,2,…,n)。标号i表示连接轮廓候补点所成闭合曲线(轮廓式样)的轮廓候补点连接顺序。上述轮廓式样存储单元36由普通RAM构成。The n points constituting the closed curve (contour pattern) entered into the display 1 by pen input in the aforementioned step 2j are stored in the contour pattern storage unit 36 as initial contour candidate points vi(xi(0), yi(0) ) (i=1, 2, . . . , n). The symbol i indicates the connection order of the contour candidate points of the closed curve (contour pattern) formed by connecting the contour candidate points. The above-mentioned outline pattern storage unit 36 is constituted by a general RAM.

步骤2j-2轮廓模型的变形:Deformation of step 2j-2 contour model:

由轮廓式样变形单元37使全部轮廓候补点的位置移动1次。由此,将轮廓候补点连接形成的闭合曲线变形。另外,该闭合曲线是按预定的连接顺序连接轮廓候补点形成的。The positions of all the candidate contour points are moved once by the contour pattern deformer 37 . As a result, the closed curve formed by connecting the contour candidate points is deformed. In addition, the closed curve is formed by connecting the contour candidate points in a predetermined connection order.

通过下述方式实现轮廓试样的变形,即沿下述方向使每个轮廓候补点移动,该方向指使在轮廓试样中预先定义的能量-Esnake达到最小。该定义的能量将在后面进行描述。Deformation of the contour sample is achieved by moving each contour candidate point in a direction that minimizes a predefined energy -Esnake in the contour sample. This defined energy will be described later.

比如,假使每个轮廓候补点在规定范围内移动,可使上述候补点移动到使Esnake(vi)达到最小的位置,也可对每个轮廓候补点vi(xi,yi)(i=1,2,…n)计算Esnake(vi)中的最速下降向量(-Esnake/xi,-Esnake/yi),按下述数学式使上述候补点移动。For example, if each contour candidate point moves within a specified range, the above-mentioned candidate point can be moved to the position where Esnake (vi) reaches the minimum, and each contour candidate point vi (xi, yi) (i=1, 2,...n) Calculate the steepest descent vector (-Esnake/xi, -Esnake/yi) in Esnake (vi), and move the above-mentioned candidate point according to the following mathematical formula.

xi(t+1)=xi(t)-Kx( Esnake/xi)xi(t+1)=xi(t)-Kx( Esnake/xi)

yi(t+1)=yi(t)-Ky(Esnake/yi)                       (1)yi(t+1)=yi(t)-Ky(Esnake/yi)        (1)

但是,t(i=1,2,…n)表示每个点的移动次数。另外,Kx>0,Ky>0为控制轮廓候补点的移动量的恒定数。每个轮廓候补点的第1次移动可按照沿轮廓逐次地,或以每个点各自独立地并列方式进行。但是,在能量-Esnake(vi)增加的情况下,上述候补点不移动。此时,标志**(flag)F(vi)(i==1,对于不移动的轮廓候补点,F(vi)=0。作为轮廓模型中的能量-Esnake(vi),可采用由下述公式表示的各能量项之和。另外,可根据对象物的特征采用多种形式理解。However, t(i=1, 2, . . . n) represents the number of times of movement of each point. In addition, Kx>0 and Ky>0 are constant numbers that control the amount of movement of the contour candidate points. The first movement of each contour candidate point can be performed sequentially along the contour, or independently and in parallel for each point. However, when the energy-Esnake(vi) increases, the above-mentioned candidate points do not move. At this time, the flag ** (flag)F(vi)(i==1, for the contour candidate point that does not move, F(vi)=0. As the energy-Esnake(vi) in the contour model, the following formula can be used: The sum of the energy items represented by the above formula. In addition, it can be understood in various forms according to the characteristics of the object.

(1)表示轮廓试样的平滑性的Espline: Espline ( vi ) = ( 1 / 2 ) &Sigma; i = 1 n [ Wsp 1 | vi - vi - 1 | 2 + Wsp 2 | vi + 1 - 2 vi + vi - 1 | 2 ] - - - - ( 2 ) (1) Espline representing the smoothness of the profile sample: Espline ( vi ) = ( 1 / 2 ) &Sigma; i = 1 no [ Wsp 1 | vi - vi - 1 | 2 + Wsp 2 | vi + 1 - 2 vi + vi - 1 | 2 ] - - - - ( 2 )

使(2)式的结果达到最小值的轮廓候补点的移动方向为使轮廓式样收缩的方向。这里,vi,vi-1,vi+1中的i,i-1,i-1分别附加有字母v。上述情况也同样适用于下面的数学公式。The moving direction of the contour candidate point that minimizes the result of the expression (2) is the direction that shrinks the contour pattern. Here, i, i-1, and i-1 in vi, vi-1, and vi+1 are respectively appended with the letter v. The same applies to the following mathematical formulas as well.

(2)与围绕轮廓式样的闭合区域的面积相当的Earea: Earea ( vi ) = ( 1 / 2 ) &Sigma; i = 1 n Warea [ xi ( yi + 1 - yi ) - ( xi + 1 - xi ) yi ] - - - - ( 3 ) (2) Earea equivalent to the area of the closed area around the contour pattern: Earea ( vi ) = ( 1 / 2 ) &Sigma; i = 1 no Warea [ xi ( yi + 1 - yi ) - ( xi + 1 - xi ) yi ] - - - - ( 3 )

但是,xn+1=x1,yn+1=y1。使(3)式达到最小值的轮廓候补点移动方向为对应于与轮廓式样垂直的方向。采用Erea,可取出呈下凹形状的对象物的轮廓。在这里,xi,xi+1中的i,i+1分别附加有字母x。另外,yi,yi+1中的i,i+1分别附加有字母y。上述情况同样适用于下述数学公式。However, xn+1=x1, yn+1=y1. The movement direction of the contour candidate point which makes the expression (3) the minimum value corresponds to the direction perpendicular to the contour pattern. With Erea, the outline of a concave object can be extracted. Here, i, i+1 in xi, xi+1 are respectively appended with the letter x. In addition, i and i+1 in yi and yi+1 are respectively appended with the letter y. The same applies to the following mathematical formulas.

(3)对轮廓候补点间的距离进行平均处理的Edist: Edist ( vi ) = ( 1 / 2 ) &Sigma; i = 1 n Wdist { | dav - | vi - vi - 1 | | } 2 - - - - ( 4 ) 但是,dav表示轮廓候补点间的距离。(4)图象亮度l(vi)梯度增大的Eedge: Eedge ( vi ) = - ( 1 / 2 ) &Sigma; i - 1 n Wedge | &dtri; I ( vi ) | 2 = - ( 1 / 2 ) &Sigma; i = 1 n Wedge [ ( &PartialD; I ( vi ) / ( &PartialD; xi ) 2 + ( &PartialD; I ( vi ) / yi ) 2 - - - - ( 5 ) (3) Edist that averages the distance between contour candidate points: Edist ( vi ) = ( 1 / 2 ) &Sigma; i = 1 no Wdist { | dav - | vi - vi - 1 | | } 2 - - - - ( 4 ) However, dav represents the distance between outline candidate points. (4) Eedge with increasing gradient of image brightness l(vi): Eedge ( vi ) = - ( 1 / 2 ) &Sigma; i - 1 no Wedge | &dtri; I ( vi ) | 2 = - ( 1 / 2 ) &Sigma; i = 1 no Wedge [ ( &PartialD; I ( vi ) / ( &PartialD; xi ) 2 + ( &PartialD; I ( vi ) / yi ) 2 - - - - ( 5 )

使(5)式的结果达到最小值的轮廓候补点移动方向为亮度梯度值增大的方向,即对象物朝向轮廓部分的方向。The moving direction of the contour candidate point in which the result of Equation (5) becomes the minimum value is the direction in which the brightness gradient value increases, that is, the direction in which the object faces the contour portion.

(5)图象亮度值Eintens: Eintens ( vi ) = &Sigma; i = 1 n EintensI ( vi ) - - - - ( 6 ) (5) Image brightness value Eintens: Eintens ( vi ) = &Sigma; i = 1 no Eintens I ( vi ) - - - - ( 6 )

使(6)式的结果为最小值的轮廓候补点移动方向为Wntens>0时的亮度减小(变暗)方向,和Wintens>0时的度增加(变亮)的方向。另外,(2)-(6)式中的Wsp1,Wsp2,Warea,Wdist,Wedge,Wintens>0分别为各能量项的主要系数。The moving direction of the contour candidate points in which the result of the formula (6) is the minimum value is the direction of decreasing (darkening) the brightness when Wntens>0, and the direction of increasing (brightening) the brightness when Wintens>0. In addition, Wsp1, Wsp2, Warea, Wdist, Wedge, Wintens>0 in formulas (2)-(6) are the main coefficients of each energy item respectively.

使轮廓式样产生变形,使(2)-(6)中能量项之和达到最小值,则初始轮廓开始收缩,而对于对象物的轮廓部分,使各个能量项造成的轮廓候补点产生移动的向量以平衡方式停止移动。将此时的轮廓候补点按照规定顺序连接形成的多角形作为对象物的轮廓取出。Deform the outline pattern so that the sum of the energy items in (2)-(6) reaches the minimum value, then the initial outline begins to shrink, and for the outline part of the object, the outline candidate points caused by each energy item generate a moving vector Stop moving in a balanced manner. A polygon formed by connecting the contour candidate points at this time in a predetermined order is taken out as the contour of the object.

步骤2j-3轮廓式样的交叉判断:Intersection judgment of step 2j-3 outline style:

由轮廓式样交叉判断单元38对判断在按照规定连接顺序将轮廓候补点连接成的闭合曲线(多角形)中是否共有不同的两条组合产生交叉。但是连接两条的情况除外。交叉的判断比如可按照下述方式进行。如果线段vivi+1与线段vjvj+1有交点,则存在满足下述等式的实数p(0≤p≤1),q(0≤q≤1)。The outline pattern intersection judging unit 38 judges whether or not two different combinations intersect in a closed curve (polygon) formed by connecting outline candidate points in a predetermined connection order. But the exception is the case of connecting two. Intersection determination can be performed, for example, as follows. If the line segment vivi+1 intersects the line segment vjvj+1, there are real numbers p(0≦p≦1), q(0≦q≦1) satisfying the following equation.

p(vi+1-vi)+vi=q(vj+1-vj)+vj                       (7)p(vi+1-vi)+vi=q(vj+1-vj)+vj (7)

(7)式为关于p,q的联立方程式,它有按下述公式计算的行列式det为0时的解,此时线段vivi+1与线段vjvj+1仅仅在1个点交叉。(但是当det=0时,会产生线段vivi+1与线段vivj+1一致的情况,根据在行列式计算前轮廓候补点是否一致判断此情况下的交叉。)Equation (7) is a simultaneous equation about p and q. It has a solution when the determinant det is 0 calculated according to the following formula. At this time, the line segment vivi+1 and the line segment vjvj+1 only intersect at one point. (But when det=0, can produce the situation that line segment vivi+1 is consistent with line segment vivj+1, judge the intersection in this case according to whether the contour candidate points are consistent before determinant calculation.)

det=(xi-xi+1)(yj+1-yj)-(xj+1-xj)(yi-yi+1)       (8)det=(xi-xi+1)(yj+1-yj)-(xj+1-xj)(yi-yi+1) (8)

因此,如果在det≠0时,按照下述算公式计算出的p,q满足0≤p≤1,0≤q≤1的关系,则判定将轮廓候补点按照规定连接顺序连接形成的多角形(轮廓模型)产生交叉,进行步骤步骤4a,除了上述情况以外,则进行步骤5a。Therefore, if det≠0, p and q calculated according to the following formula satisfy the relationship of 0≤p≤1, 0≤q≤1, then determine the polygon formed by connecting the contour candidate points according to the specified connection order (contour model) Intersection occurs, proceed to step 4a, except for the above cases, proceed to step 5a.

p=((yj+1-yj)(xi-xj)+(xj-xj+1)(yi-yj))/detp=((yj+1-yj)(xi-xj)+(xj-xj+1)(yi-yj))/det

q=((yi+1-yi)(xi-xj)+(xi-xi+1)(yi-yj))/det       (9)q=((yi+1-yi)(xi-xj)+(xi-xi+1)(yi-yj))/det (9)

步骤2j-4轮廓式样的分裂:Step 2j-4 Splitting of contour styles:

由轮廓模型分裂单元39将轮廓模型分裂为多个,返回步骤2a。轮廓式样在构成有交点的线段的轮廓候补点处分裂。图47表示在轮廓式样中的能量采用Earea的情况下产生的典型交叉的实例。Earea取正值或负值,本实例中按下述方式将轮廓式样分裂为2个,即按使其符号不变化的方式,分别连接轮廓候补点vi与vj+1,vj与vi+1。因此,连接顺序为{v1,…,vi,vj+1,…,vn}与{vi+1,…,vj}的轮廓候补点组以新分裂的方式分别形成独立的轮廓式样。虽然同时在多处产生交叉,但是反复进行分裂为两个的步骤,可分裂成多个轮廓式样。The contour model is split into several by the contour model splitting unit 39, and it returns to step 2a. The outline pattern is split at the outline candidate points constituting the line segments with intersections. Fig. 47 shows an example of a typical intersection generated when the energy in the contour pattern adopts Earea. Earea takes a positive or negative value. In this example, the contour pattern is split into two in the following manner, that is, the contour candidate points vi and vj+1, and vj and vi+1 are respectively connected in such a way that their signs do not change. Therefore, the contour candidate point groups connected in the sequence {v1,...,vi,vj+1,...,vn} and {vi+1,...,vj} respectively form independent contour patterns in a new split. Although intersections are generated at multiple places at the same time, the step of splitting into two is repeated to split into a plurality of outline patterns.

步骤2j-5轮廓候补点的形成/删除的判断:Step 2j-5 Judgment of formation/deletion of contour candidate points:

由轮廓候补点的形成/取消单元40形成新的轮廓候补点或与取消之。比如,可在下述情况下形成轮廓候补点或删除之。当相的轮廓候补点间的距离满足|vi+1-vi|>DTH时,两点vi,vi+1之间产生新的离散点。DTH为预定的轮廓候补点之间的最大距离。如果具有所形成的离散点,则Gflag=1,如果没有上述离散点,则Gflag=0。另外,删除满足COsθ>θTH(θ为vivi-1与vivi+1之间的夹角)关系的离散点vi。θTH为判断预定的轮廓式样的尖点的阈值。如果有删除的离散点,则Dflag=1。如果没有这种离散点,则Dflag=0。通过附加形成轮廓候补点,补充通过分裂而减少的各对象物轮廓候补点的数量,从而可正确地取出多个对象物的轮廓。另外如果按照删除步骤,删除止于的对象物中轮廓以外位置处的轮廓候补点,则可避免错误地取出轮廓。A new contour candidate point is formed or canceled by the contour candidate point formation/cancellation unit 40 . For example, contour candidate points can be formed or deleted in the following cases. When the distance between the phase contour candidate points satisfies |vi+1-vi|>DTH, a new discrete point is generated between two points vi and vi+1. DTH is the maximum distance between predetermined contour candidate points. If there are formed discrete points, Gflag=1, and if there are no such discrete points, Gflag=0. In addition, the discrete point vi that satisfies the relationship of COsθ>θTH (θ is the angle between vivi-1 and vivi+1) is deleted. θTH is a threshold value for judging a sharp point of a predetermined contour pattern. If there are discrete points to be deleted, then Dflag=1. If there is no such discrete point, then Dflag=0. By additionally forming candidate contour points, the number of candidate contour points of each object reduced by splitting is supplemented, so that the contours of a plurality of objects can be correctly extracted. In addition, if the contour candidate points at positions other than the contour of the target object are deleted according to the deletion procedure, it is possible to avoid contour extraction by mistake.

步骤2j-6取出完毕的判断:Judgment that step 2j-6 has been taken out:

在全部轮廓候补点不发生移动(i;F(vi)=0),也不发生新的轮廓候补点的形成或删除(Gflag=0并且Gflag=0)时,由取出完毕判断单元41结束轮廓的取出。除上述情况外,返回步骤2a。When all contour candidate points do not move (i; F(vi)=0), nor do new contour candidate points form or delete (Gflag=0 and Gflag=0), the judging unit 41 ends by taking out Outline removal. Otherwise, return to step 2a.

按照上述方式,以步骤1~步骤5和步骤2j-1~步骤2j-6描述的操作顺序实施第12实施例,拟合成的多个实际物体置于显示器上,通过仅仅提供一个包括这些实际物体的闭合曲线,检测随着该闭合曲线的变形而本身产生交叉的情况,将其分裂为多个,从而单独取出这些曲线,因此可简单地形成实际物体与假设物体的合成图象。另外即使在所形成的合成图象较多的情况下,仍可减轻使用者取出实际物体的负担。In the manner described above, the twelfth embodiment is implemented in the order of operations described in steps 1 to 5 and steps 2j-1 to 2j-6, and a plurality of fitted real objects are placed on the display. The closed curve of the object detects that the closed curve itself intersects with the deformation of the closed curve, splits it into multiples, and extracts these curves individually, so that a composite image of the actual object and the hypothetical object can be easily formed. In addition, even in the case of many synthetic images to be formed, it is possible to reduce the burden on the user to take out the actual object.

此外,上述步骤1j~步骤4j可不必按照上述顺序,比如,先输入步骤4j中的信息,之后再将实际物体存入到计算机中,可通过对其任意组合而对图象进行合成,从而形成装饰图象。另外不言而喻,也可按照任意顺序反复进行上述步骤1j~步骤4j,从而可对图象进行合成。但是,在装饰图象或通过笔输入的信息显示于显示器中后,在取出新放置于该显示器上的实际物体时,仅仅在用笔进行闭合曲线的输入的同时,在由照相机1获取图象期间,将包括由笔输入的闭合曲线的显示器28的显示区域中部分区域变换为规定的颜色(比如,白色或黑色)。由此,可在不影响假设物体的情况下,仅仅取出实际物体。In addition, the above steps 1j to 4j do not need to follow the above order, for example, first input the information in step 4j, and then store the actual object in the computer, and the images can be synthesized by any combination of them, so as to form Decorative image. It goes without saying that the above steps 1j to 4j may be repeated in any order so that the images can be synthesized. However, after the decorative image or the information input by the pen is displayed on the display, when the actual object newly placed on the display is taken out, the image is captured by the camera 1 only while the closed curve is input with the pen. During this period, part of the display area of the display 28 including the closed curve input by the pen is converted to a predetermined color (for example, white or black). Thus, only actual objects can be retrieved without affecting hypothetical objects.

再有,不言而喻,本实施例很容易实现下述的扩展,即通过与数字式照相机连接与快拍摄影照片合成,通过与话筒连接添加声音信息。Furthermore, it goes without saying that the present embodiment is easy to realize the following extensions, that is, by connecting with a digital camera and synthesizing snapshot photos, and by connecting with a microphone to add sound information.

第13实施例Thirteenth embodiment

下面说明对本发明图象合成装置的第13实施例。Next, a thirteenth embodiment of the image synthesizing device of the present invention will be described.

第12实施例说明的情况是指在用笔输入信息的情况下,通过按压称为“笔”的按钮,使用者将下述指令输入系统中,该指令用于辨别是输入了信息,还是输入了用于选择实际物体的闭合曲线。第13实施例的构思是,在减轻向上述系统进行输入的负担,并且使用者不用按压选择按钮的情况下,提供下述的界面,该界面将普遍使用的实际的笔或擦字橡皮,或传真机等小型式样用作可直观理解其功能的立体图标,从而可更加简单地合成图象。此时,本实施例的构思是,即即使在假设物体显示于显示器28中,并且具有与可辨别的多个实际物体相同颜色的情况下,无论什么样的实际物体,仍可对其进行稳定地辨别。The situation described in the twelfth embodiment means that in the case of inputting information with a pen, by pressing a button called "pen", the user inputs the following command into the system, which is used to distinguish whether information is input or Closed curves for selecting real objects. The idea of the thirteenth embodiment is to reduce the burden of input to the above-mentioned system, and without the user having to press a selection button, to provide an interface that uses a commonly used actual pen or eraser, or Miniatures such as facsimile machines are used as three-dimensional icons for intuitive understanding of their functions, making it easier to compose images. At this point, the idea of this embodiment is that even under the assumption that an object is displayed on the display 28 and has the same color as a plurality of real objects that can be discerned, it can be stabilized regardless of the actual object. distinguish.

图48为第13实施例的结构图,本实施例中,与图38所示第12实施例相同的结构部分采用相同的标号,故这里略去对它们的具体说明。Fig. 48 is a structural diagram of the thirteenth embodiment. In this embodiment, the same structural parts as those in the twelfth embodiment shown in Fig. 38 use the same reference numerals, so their detailed descriptions are omitted here.

第13实施例与第12实施例的主要不同点在于:在第12实施例中,附加立体图标登记单元42以及立体图标辨别单元43。上述立体图标登记单元42用来登记向系统进行输入的笔等实际物体或立体图标;上述立体图标辨别单元43用于在显示器具有输入信息情况下,辨别该输入信息的输入方式。The main difference between the thirteenth embodiment and the twelfth embodiment is that in the twelfth embodiment, a three-dimensional icon registration unit 42 and a three-dimensional icon identification unit 43 are added. The above-mentioned three-dimensional icon registration unit 42 is used for registering actual objects such as pens or three-dimensional icons for inputting into the system; the above-mentioned three-dimensional icon identification unit 43 is used for identifying the input method of the input information when the display has input information.

下面仅仅通过与第12实施例不同的结构部分,对按照上述方式构成的第13实施例的图象合成装置的工作过程。In the following, the working process of the image synthesizing device of the thirteenth embodiment constructed in the above-mentioned manner will be described only through the structural parts different from those of the twelfth embodiment.

首先,说明立体图标登记单元42的动作。使用者通过下述方式启动立体图标登记单元42,即在合成图象之前,按压由装饰功能选择单元33显示于显示器28中的图标。当立体图标登记单元42启动时,具有“文字输入”、“删除”等系统的功能一览表显示于显示器1中。使用者用照相机1拍摄普遍使用的圆珠笔、擦写橡皮等实际物体,将其特征量登记于上述一览表中。上述一览表以文本格式作为文件保存,当立体图标登记部42启动时,可在显示器28中显示其信息。作为特征量,存储分别具有与RGB值相应的频数分布。另外,当用照相机拍摄时,最好在物体实际使用的状态下对其进行拍摄。另外,也可在产品出厂时,附加专用的笔、擦写橡皮,以及传真机立体图标等,并存储相应的功能,而不必由使用者进行设定。First, the operation of the three-dimensional icon registration unit 42 will be described. The user activates the three-dimensional icon registration unit 42 by pressing the icon displayed on the display 28 by the decorative function selection unit 33 before synthesizing images. When the three-dimensional icon registration unit 42 is activated, a list of functions including "text input", "deletion" and other systems is displayed on the display 1 . The user uses the camera 1 to photograph actual objects such as ballpoint pens and erasing erasers that are commonly used, and registers their feature values in the above-mentioned list. The above-mentioned list is stored as a file in a text format, and its information can be displayed on the display 28 when the three-dimensional icon registration unit 42 is activated. As feature quantities, frequency distributions corresponding to RGB values are respectively stored. Also, when shooting with a camera, it is best to shoot the object in its actual state of use. In addition, when the product leaves the factory, special pens, erasing erasers, and three-dimensional icons of facsimile machines can be added, and the corresponding functions can be stored without being set by the user.

下面说明立体图标辨别单元43的动作。每当向显示器28输入信息时,立体图标辨别部43便启动。控制部1000控制是否在显示器28中有输入信息及其位置指标。该立体图标辨别单元43首先从控制单元1000接收显示器28中的输入位置指标,在该位置显示与立体图标的尺寸相对应的,有规定颜色(如白色)和规定尺寸(如120象素的四方正方形)的区域,由照相机1获取图象。接着,在所获取的图象中,仅对前述区域检测各象素的RGB值形成频数分布,判断是否使用下述物体的立体图标,该图标的登记于立体图标登记单元42中的频数分布与最相似性较高。上述相似性为频数分布中的各级差绝对值之和。其结果是,如果判断为笔,则作为文字输入的笔的移动轨迹显示于显示器28中。另外如果判断为传真机的小型图标,则传送合成图象。但是,在采用传真机图标等的场合,如果照相机的视角宽于图象合成区域,则可通过将上述图标置于该部分中,而不受合成图象的影响。Next, the operation of the three-dimensional icon distinguishing unit 43 will be described. The three-dimensional icon distinguishing unit 43 is activated every time information is input to the display 28 . The control unit 1000 controls whether there is input information and its position index on the display 28 . This three-dimensional icon discrimination unit 43 first receives the input position index in the display 28 from the control unit 1000, and at this position, it is displayed corresponding to the size of the three-dimensional icon. The area of the square) is imaged by camera 1. Next, in the acquired image, the RGB value of each pixel is detected to form a frequency distribution only for the aforementioned region, and it is judged whether to use a three-dimensional icon of the object whose frequency distribution registered in the three-dimensional icon registration unit 42 is consistent with The most similarity is higher. The above similarity is the sum of the absolute values of the differences at all levels in the frequency distribution. As a result, if it is judged to be a pen, the movement locus of the pen as a character input is displayed on the display 28 . Also, if it is judged to be a small icon of a facsimile machine, a synthesized image is transmitted. However, in the case of using a facsimile machine icon, etc., if the angle of view of the camera is wider than the image synthesis area, the icon can be placed in this area without being affected by the synthesis image.

按照上述步骤,通过仅检测实际物体的特征量,可在不受显示图象的影响的情况下,正确辨别任何立体图标,这样可稳定地使用登记的立体图标,从而可通过更加直观的操作进行图象合成。According to the above steps, by detecting only the characteristic amount of the actual object, any three-dimensional icon can be correctly identified without being affected by the displayed image, so that the registered three-dimensional icon can be used stably, and thus can be performed by more intuitive operation. Image synthesis.

按照上述第13实施例,由于在显示器的输入位置显示规定颜色和尺寸的区域,之后再获取图象,仅对该区域进行颜色检测,这样可在不影响显示图象的情况下,仅检测实际物体的特征量,由于即使在显示于显示器中的假设物体包括与可辨别的多个实际物体相同颜色的情况下,仍可正确地辨别任何实际物体,从而可稳定地使用所登记的立体图标,可以更加直观的操作进行图象合成。According to the above-mentioned thirteenth embodiment, since an area of specified color and size is displayed at the input position of the display, and then the image is acquired, only the color detection is performed on this area, so that only the actual color can be detected without affecting the displayed image. The characteristic amount of an object, since any actual object can be correctly discriminated even if the hypothetical object displayed in the display includes the same color as a plurality of recognizable actual objects, so that the registered three-dimensional icon can be stably used, Image composition can be performed more intuitively.

第14实施例14th embodiment

下面说明本发明图象合成装置的第14实施例进行说明。Next, a fourteenth embodiment of the image synthesizing apparatus of the present invention will be described.

第12实施例针对在用笔输入信息时的场合,文字颜色为黑色的情况进行了说明。一般在笔输入系统的情况下,使用者可由菜单选择所喜欢的颜色的形式。比如,在合成图象传送对方为单色传真机时,当在明亮的图象中输入文字时,笔的颜色为黑色,在较暗的图象时,白色的笔可形成清楚的图象。第14实施例的构思是根据图象的亮度,自动改变笔的颜色,从而可进一步减轻系统中的式样变更输入的负担,另外可合成更加清楚的图象。The twelfth embodiment describes the case where the character color is black when inputting information with a pen. Generally, in the case of a pen input system, the user can select a desired color form from a menu. For example, when the synthesized image is transmitted to a monochrome facsimile machine, the color of the pen is black when inputting characters in a bright image, and a white pen can form a clear image in a darker image. The idea of the fourteenth embodiment is to automatically change the color of the pen according to the brightness of the image, thereby further reducing the burden of inputting style changes in the system and synthesizing a clearer image.

图49表示第14实施例的结构图。本实施例中与图38所示第12实施例相同的结构部分采用相同的标号,故这里略去对它们的具体说明。Fig. 49 shows a configuration diagram of the fourteenth embodiment. In this embodiment, the same structural parts as those in the twelfth embodiment shown in Fig. 38 are given the same reference numerals, so their detailed descriptions are omitted here.

第14实施例与第12实施例的主要不同点在于:在第12实施例中附加显示图象亮度计算单元44,以及笔输入颜色变换单元45。上述显示图象亮度计算单元44用于计算显示图象的亮度、上述笔输入颜色变换单元45用于根据通过上述显示图象亮度计算单元44所计算出的亮度,改变笔输入的颜色。The main difference between the fourteenth embodiment and the twelfth embodiment is that in the twelfth embodiment, a display image brightness calculation unit 44 and a pen input color conversion unit 45 are added. The display image brightness calculation unit 44 is used to calculate the brightness of the displayed image, and the pen input color conversion unit 45 is used to change the pen input color according to the brightness calculated by the display image brightness calculation unit 44.

下面仅就与第12实施例不同的显示图象亮度计算单元44和笔输入颜色变换单元45,说明按照上述方式构成的第14实施例图象合成装置。The image synthesizing apparatus of the fourteenth embodiment constructed as above will be described only with respect to the displayed image brightness calculation unit 44 and the pen input color conversion unit 45 which are different from those of the twelfth embodiment.

在对显示器28进行笔输入时启动显示图象亮度计算单元44,计算整个显示图象的平均亮度。由第13实施例中的方法判断是否进行笔输入。笔输入颜色变换单元45参照显示图象亮度计算单元44算出的平均亮度,在上述平均亮度在256等级中的180以上时,确定笔输入的颜色为黑色,上述情况以外时,确定笔输入的颜色为白色。由此,在较亮的图象中输入文字时,笔的颜色为黑色,而在较暗的图象时,笔的颜色自动变为白色,这样使用者可在未意识到选择笔输入颜色的的情况下,合成其中的文字较清楚的图象。When a pen input is made to the display 28, the displayed image brightness calculation unit 44 is activated to calculate the average brightness of the entire displayed image. Whether or not pen input is performed is judged by the method in the thirteenth embodiment. The pen input color conversion unit 45 refers to the average luminance calculated by the display image luminance calculation unit 44, and determines that the color of the pen input is black when the above-mentioned average luminance is 180 or more out of 256 levels, and determines the color of the pen input in other cases. for white. Thus, when inputting text in a brighter image, the color of the pen is black, and when in a darker image, the color of the pen is automatically changed to white, so that the user can choose the input color of the pen without realizing it. In the case of , synthesize an image in which the text is clearer.

按照上述第14实施例,由于根据显示图象的亮度改变笔输入的颜色,这样可合成输入文字更加清楚的图象。According to the above fourteenth embodiment, since the color of the pen input is changed according to the brightness of the displayed image, it is possible to synthesize a clearer image of the input characters.

第15实施例15th embodiment

下面说明本发明的图象合成装置的第15实施例进行说明。Next, a fifteenth embodiment of the image synthesizing device of the present invention will be described.

第12实施例描述的是改变取出的图象的尺寸和颜色的装饰图象。另外在第14实施例中,根据显示图象中的亮度改变笔输入的颜色,从而合成其中的文字信息较清楚的图象。第15实施例的构思是,根据放置于显示器1上的实际物体的颜色或亮度改变显示图象的颜色或亮度,从而可合成更加清楚的图象。The twelfth embodiment describes a decorative image that changes the size and color of the extracted image. Also in the fourteenth embodiment, the color of the pen input is changed according to the brightness in the displayed image, thereby synthesizing an image in which the character information is clearer. The idea of the fifteenth embodiment is that a clearer image can be synthesized by changing the color or brightness of a displayed image according to the color or brightness of an actual object placed on the display 1.

图50为第15实施例的结构图。本实施例中与图38所示第12实施例相同的结构部分,采用相同的标号,故这里略去对它们的具体说明。Fig. 50 is a structural diagram of the fifteenth embodiment. The structural parts in this embodiment that are the same as those in the twelfth embodiment shown in Fig. 38 are given the same reference numerals, so their detailed descriptions are omitted here.

第15实施例与第12实施例的主要不同点在于:在第15实施例中附加显示图象修正单元46,46用于根据实际物体的亮度或颜色改变显示图象的亮度或颜色。The main difference between the 15th embodiment and the 12th embodiment is: in the 15th embodiment, additional display image correction units 46, 46 are used to change the brightness or color of the displayed image according to the brightness or color of the actual object.

下面就与第12实施例不同的显示图象修正单元46,说明按上述方式构成的第15实施例图象合成装置的工作过程。Next, the operation of the image synthesizing apparatus of the fifteenth embodiment constructed as above will be described with regard to the display image correction unit 46 which is different from the twelfth embodiment.

在图象合成结束,并按压传送按钮时启动显示图象修正单元46。首先,该显示图象修正单元46通过启动实际物体取出单元30,将具有与照相机1拍摄区域相同尺寸的长方形作为初始轮廓式样,从而取出显示器上的实际物体全部。之后,上述显示图象修正单元46计算取出的全部物体的平均亮度。最后,根据该平均亮度,改变显示器28中的显示图象的亮度。在实际物体较亮时(如平均亮度以上的情况下),通过也使显示图象变亮(比如使每个象素值的亮度提高20%)可整体形成清楚的合成图象。The display image correction unit 46 is activated when the image synthesis is completed and the transfer button is pressed. Firstly, the display image correction unit 46 starts the actual object extraction unit 30 and uses a rectangle having the same size as the shooting area of the camera 1 as an initial outline pattern, thereby extracting all the actual objects on the display. After that, the above-mentioned display image correction unit 46 calculates the average brightness of all the extracted objects. Finally, the brightness of the displayed image on the display 28 is changed based on the average brightness. When the actual object is brighter (eg, above the average brightness), a clear composite image can be formed as a whole by also brightening the displayed image (eg, increasing the brightness of each pixel value by 20%).

按照上述第15实施例,根据显示器上实际物体的颜色或亮度对应地改变显示图象的颜色或亮度,从而可合成更加清楚的图象。According to the above fifteenth embodiment, the color or brightness of the displayed image is correspondingly changed according to the color or brightness of the actual object on the display, so that a clearer image can be synthesized.

但是,也可按照下述方式实现与上述相同的动作,即制作下述的磁记录媒体或光记录媒体,媒体中记录有下述的程序,该程序用于在计算机中实现在上述各实施例中任何一个中描述的每个步骤(或每个机构)的全部或部分步骤(或处理动作)。However, the same operation as above can also be realized in the following manner, that is, the following magnetic recording medium or optical recording medium is produced, and the following program is recorded in the medium, and this program is used to realize the above-mentioned embodiments in a computer. All or part of the steps (or processing actions) of each step (or each mechanism) described in any of them.

另外,虽然本发明的分别取出机构在上述实施例中为实际物体抽出单元,并且是针对用于输入显示整体式显示器的场合进行描述的,但是本发明并不限于此,也可采用下述图象合成装置。In addition, although the separate extraction mechanism of the present invention is an actual object extraction unit in the above embodiment, and is described for the occasion of an integrated display for input and display, the present invention is not limited thereto, and the following diagrams can also be used: Like a synthesizer.

即,这时的图象合成装置包括:照相机等拍摄机构,用于拍摄显示照片,或插图等许多信息的书类等的表面和/或物体;闭合曲线检测机构,用于检测闭合曲线信息,所述闭合曲线包围由上述拍摄机构拍摄的多个照片或插图等中的信息,或多个物体内的、可构成图象取出对象的多个候补插图的取出对象候补;分别取出机构,根据上述测出的闭合曲线信息和上述插图等取出对象候补的图象信息,从上述包围曲线的多个插图等取出对象候补的图象中,分别取出这些插图等图象;图象合成机构,它通过上述分别取出的插图等图象,对信息等其它图象进行图象合成。由此,可拍摄规定面内上所显示的信息和/或多个物体,可提供能构成包围图象取出对象候补的多个取出对象候补的闭合曲线,可对所提供的闭合曲线信息进行检测,根据上述测出的闭合曲线信息和上述取出对象候补的图象信息,可从上述所包围的多个取出对象候补的图象中,分别取出这些取出对象候补的图象,可利用上述分别取出的图象进行图象合成。That is, the image synthesizing device at this time includes: a photographing mechanism such as a camera, which is used to photograph surfaces and/or objects such as books showing photos or illustrations; a closed curve detection mechanism, which is used to detect closed curve information, Said closed curve surrounds information in a plurality of photographs or illustrations taken by the above-mentioned photographing mechanism, or extraction target candidates of a plurality of candidate illustrations that can constitute an image extraction target in a plurality of objects; The measured closed curve information and the image information of the extraction target candidates such as the above-mentioned illustrations extract the images of these illustrations and the like from the images of the plurality of extraction target candidates such as the illustrations surrounding the above-mentioned curves; The images such as illustrations and the like extracted separately are image-combined with other images such as information. Thereby, information displayed on a predetermined plane and/or a plurality of objects can be imaged, closed curves that can constitute a plurality of extraction target candidates surrounding image extraction target candidates can be provided, and the provided closed curve information can be detected. According to the above-mentioned closed curve information measured and the image information of the above-mentioned extraction object candidates, the images of these extraction object candidates can be extracted respectively from the images of the plurality of extraction object candidates surrounded by the above-mentioned, and the above-mentioned extraction object candidates can be extracted respectively. images for image synthesis.

按照上述结构,与上述情况相同,即使有多个图象取出对象的情况下,与已有技术相比较,可发挥下述效果,即进一步减轻用于指示这些取出对象的作业负担。因此,与已有技术相比较,可更加容易地进行指示区域的指定。According to the above configuration, as in the above case, even when there are a plurality of image extraction objects, compared with the prior art, it is possible to further reduce the workload for instructing these image extraction objects. Therefore, designation of the indicated area can be performed more easily than in the prior art.

或者,也可采用下述的图象合成装置。Alternatively, an image synthesizing device described below may also be used.

这时的图象合成装置包括:拍摄机构,用于拍摄对显示照片,插图,字符串等信息的面;闭合曲线信息检测机构,用于在用上述拍摄机构拍摄的多个上述信息内,检测包围能构成指示对象的多个指示对象信息的闭合曲线;分别取出机构,该分别取出机构用于根据上述检测出的闭合曲线和指示对象信息的图象信息,从上述包围的多个指示对象信息图象中分别取出这些指示对象信息的图象;指示信息检测单元,用于检测上述分别取出的图象区域和/或其图象特征量;附加图象形成单元,用于根据上述检测出的图象区域和/或图象特征量,形成附加于上述指示对象信息的图象;附加图象存储单元,用于存储上述形成的附加图象;图象合成部,用于将上述拍摄机构获得的指示对象信息的图象与上述所形成的附加图象进行合成。上述结构也可用于第8实施例所描述图象合成装置的变换实施例中。即如图31所示,在取出对象为多角形图形的集合及两张照片的情况下,按照第8实施例所述的方式,分别指示每个对象,并提供包围上述两种对象的一个闭合曲线。分别取出机构的结构与上述相同。At this time, the image synthesizing device includes: a photographing mechanism, which is used to photograph the surface for displaying information such as photos, illustrations, character strings, etc.; a closed curve information detection mechanism, which is used to detect A closed curve surrounding a plurality of pointing object information that can constitute a pointing object; a separate extraction mechanism for extracting from the above-mentioned enclosed plurality of pointing object information based on the detected closed curve and the image information of the pointing object information The images indicating the object information are taken out from the image respectively; the indicating information detection unit is used to detect the above-mentioned respectively taken-out image regions and/or their image feature values; an additional image forming unit is used for detecting the above-mentioned detected The image area and/or image feature quantity form an image attached to the above-mentioned indicated object information; the additional image storage unit is used to store the additional image formed above; the image synthesis unit is used to obtain the above-mentioned shooting mechanism The image pointing to the object information is synthesized with the additional image formed above. The above structure can also be used in an alternate embodiment of the image synthesizing apparatus described in the eighth embodiment. That is, as shown in Figure 31, in the case that the extracted objects are a collection of polygonal figures and two photos, according to the method described in the eighth embodiment, each object is indicated separately, and a closure surrounding the above two objects is provided. curve. The structure of the separate extraction mechanism is the same as above.

按照上述结构,与上述情况相同,即使有多个图象取出对象的情况下,与已有技术相比较,可发挥下述效果,即指进一步减轻用于指示这些取出对象的作业负担。According to the above configuration, as in the above case, even when there are a plurality of image extraction objects, compared with the prior art, the effect of further reducing the workload for instructing these image extraction objects can be exhibited.

另外,在上述实施例中本发明的图象合成装置,是针对用于具有实际物体抽出单元的输入显示整体式显示器的情况进行描述的,但是本发明的图象合成装置是不限于这种情况,其也可采用下述图象合成装置。In addition, in the above-mentioned embodiment, the image synthesizing device of the present invention is described for the case of being used for an input display integrated display having an actual object extracting unit, but the image synthesizing device of the present invention is not limited to this case , which can also use the following image synthesis means.

这种图象合成装置包括输入显示整体式显示器;拍摄机构,用于拍摄上述显示器的显示单元的至少一部分;指示位置检测单元,用于检测指示放置于上述显示器上的实际物体用的指示位置信息,实际物体取出机构,用于从上述拍摄机构拍摄的图象中取出上述实际物体的图象;附加图象形成单元,用于从上述所取出的图象形成显示于上述显示器中的附加图象;附加图象存储单元,用于存储上述形成的附加图象;显示方法选择单元,用于选择在上述形成的附加图象在显示器中的显示方法;图象合成单元;用于根据上述选择的显示方法,合成上述附加图象及上述实际物体的图象。由此,可按照已有技术中没有的方式,发挥下可简单形成实际物体与假设物体合成图象的效果。This image synthesis device includes an input and display integrated display; a photographing mechanism for photographing at least a part of the display unit of the above-mentioned display; a pointing position detection unit for detecting pointing position information pointing to an actual object placed on the above-mentioned display. , the actual object take-out mechanism, used to take out the image of the above-mentioned actual object from the image taken by the above-mentioned shooting mechanism; the additional image forming unit, used to form an additional image displayed on the above-mentioned display from the above-mentioned taken-out image The additional image storage unit is used to store the additional image formed above; the display method selection unit is used to select the display method of the additional image formed above in the display; the image synthesis unit; The display method synthesizes the above-mentioned additional image and the image of the above-mentioned actual object. Thereby, the effect of simply forming a composite image of an actual object and a hypothetical object can be exerted in a manner that is not available in the prior art.

按照上述方式实施第1实施例,由于进行演示的人只以指示杆指示所写的信息自身中的希望强调部分,自动取出该部分的区域或特征,叠加适当的装饰图象,从而不必以替换方式分别使用各种颜色。此外,由笔等的指示位置可简单地变换装饰方法,如果指示书类的端部附近,由于可给出边框,职务,日期等,或可通过其指示位置在已装饰的信息部分,删除装饰,可使上述装饰变亮,这样即使在预先未形成演示纸页的情况下,仍可获得高效的演示。Implement the first embodiment according to the above-mentioned method, because the person who performs the demonstration only indicates the desired emphasized part in the written information itself with the indicator rod, automatically extracts the area or feature of this part, and superimposes an appropriate decorative image, so that there is no need to replace it with ways to use each color separately. In addition, the decoration method can be easily changed by the pointing position of a pen, etc., and if it is near the end of the book, since the frame, title, date, etc. can be given, or the decoration can be deleted in the decorated information part by its pointing position , to brighten the above decorations, so that efficient presentations can be obtained even without pre-formed presentation sheets.

因此,具有可更加容易地进行根据图象的区域成特征量等装饰或强调等处理的优点。Therefore, there is an advantage that processing such as embellishment or emphasis can be performed more easily, such as forming feature quantities based on image regions.

此外,按照第2实施例,由于可通过识别笔等给出的多种标记,变换装饰方法,这样可替换具有多种颜色的笔,节省所记入等时间,可顺利地进行演示。In addition, according to the second embodiment, since the decoration method can be changed by recognizing various marks given by the pen etc., it is possible to replace the pen with various colors, save the time for recording, etc., and can smoothly perform the presentation.

按照第3实施例,由于可通过叠加方式以一览表形式显示已有的装饰图象,可以通过指示杆指示这些图象的方式进行复制,这样,即使在采用多本书类的情况下,在无需向书类中多次写入相同的字符串情况下,仍可顺利地进行演示。According to the third embodiment, since the existing decorative images can be displayed in a list form by superimposing them, they can be reproduced in such a way that these images can be indicated by the indicator rod. Even if the same string is written to the book class multiple times, the presentation can still be performed smoothly.

按照第4实施例,由于通过在以部分装饰图象为模板而连续的边框之间进行模板比较,可计算书类的移动参数,使装饰图象产生变形,这样即使在于演示过程中书类移动的情况下,仍可正确地装饰希望强调的部分,使用者可在不注意书类移动的情况下实现演示。According to the fourth embodiment, since the template comparison is performed between the continuous borders using part of the decoration image as a template, the movement parameters of the book can be calculated to deform the decoration image, so that even if the book moves during the presentation Even in the case of the book, it is possible to correctly decorate the part to be emphasized, and the user can realize the presentation without noticing the movement of the book.

按照第5实施例,由于若设放置标记,即进行装饰,而若去掉标记,即删除装饰的直观易懂的操作,这样无论什么人,均可进行高效的演示。According to the fifth embodiment, because of the intuitive and easy-to-understand operation of placing a mark to decorate and removing a mark to delete the decoration, anyone can make an efficient presentation.

按照第6实施例,由于通过设置标记检测记入部分或书类的倾斜度,可减少可移动参数可推定数量,而由于更加快速地合成与书类的移动相应的附加图象,更可减少合成图象的提示较晚而造成的不谐调感觉。According to the sixth embodiment, since the inclination of the inscribed part or the book is detected by setting the mark, the number of movable parameters can be estimated, and since the additional image corresponding to the movement of the book is synthesized more quickly, the number can be further reduced. A sense of incongruity caused by late prompts for compositing images.

按照第7实施例,由于对标记的数量的增减进行检测,从而可辨别设置标记的情况和去掉标记的情况下,而由于可形成与该情况相应的效果声音,更可进行尤其高效的演示。According to the seventh embodiment, since the increase or decrease of the number of marks is detected, it is possible to distinguish between the case of setting a mark and the case of removing a mark, and since an effect sound corresponding to the case can be formed, a particularly efficient presentation can be performed .

按照第8实施例,通过确认多个标记的形状,与该确认情况相对应,还可装饰图文并茂的复杂书类,从而可进一步提高演示的效果。According to the eighth embodiment, by confirming the shapes of a plurality of marks, it is possible to decorate complex books with rich illustrations and texts according to the confirmed conditions, thereby further improving the presentation effect.

按照第9实施例,由于可根据照相机的变焦倍率放大缩小装饰图象,这样即使在照相机变焦的情况下,仍可正确地装饰强调的部分,可进一步扩大演示的范围。According to the ninth embodiment, since the decorative image can be zoomed in or out according to the zoom ratio of the camera, even when the camera is zoomed, the highlighted part can be decorated correctly, and the scope of presentation can be further expanded.

按照第10实施例,由于可通过只对不希望由荧光笔等显示的部分进行着色,从图象中将该着色部分删除,从而可使不希望让观众看到的部分隐蔽起来。According to the tenth embodiment, by coloring only the part which is not desired to be displayed by a highlighter or the like, the colored part can be deleted from the image, so that the part not to be seen by the viewer can be hidden.

按照第11实施例,由于可在互连网中的主页上登记形成的合成图象,这样可通过终端机在校外参加大学等学校的讲课,再次使用讲义,另外老师可提供报告课题,从而可实现高效的教育支持系统。According to the eleventh embodiment, since the composite image formed can be registered on the homepage in the Internet, it is possible to participate in lectures in schools such as universities outside the school through the terminal, and reuse the lecture notes. In addition, the teacher can provide report topics, thereby realizing efficient educational support system.

按照第12实施例,由于可将希望合成的多个实际物体置于显示器上,可提供一个只包括这些实际物体的闭合曲线,检测随着闭合曲线的变形而产生的自身交叉,将其分裂为多个,这样可单独取出这些曲线,从而可简单地形成实际物体与假设物体的合成图象。According to the twelfth embodiment, since a plurality of actual objects desired to be synthesized can be placed on the display, a closed curve including only these actual objects can be provided, self-intersections generated with the deformation of the closed curve can be detected, and it can be split into In this way, these curves can be taken out separately, so that a composite image of the actual object and the hypothetical object can be easily formed.

按照第13实施例,由于仅仅在与显示器输入位置对应的规定位置检测立体图标的辨别用颜色,这样可在不影响显示图象的情况下,正确辨别任何立体图标进行,从而可稳定地使用所登记的立体图标,可通过更加直观的操作进行图象合成。According to the thirteenth embodiment, since the distinguishing color of the three-dimensional icon is only detected at a predetermined position corresponding to the input position of the display, any three-dimensional icon can be correctly distinguished without affecting the displayed image, so that all three-dimensional icons can be used stably. Registered 3D icons enable image synthesis through more intuitive operations.

按照第14实施例,由于可根据显示图象亮度改变笔输入的颜色,这样可合成其输入文字更加清楚的图象。According to the fourteenth embodiment, since the color of the pen input can be changed according to the brightness of the displayed image, it is possible to synthesize an image whose input characters are clearer.

按照第15实施例,由于可根据显示器上实际物体的颜色或亮度改变显示图象的颜色或亮度,这样可合成更加清楚的图象。According to the fifteenth embodiment, since the color or brightness of a displayed image can be changed according to the color or brightness of an actual object on the display, a clearer image can be synthesized.

Claims (28)

1.一种图象合成装置,其特征在于它包括:1. An image synthesis device, characterized in that it comprises: 给定的拍摄机构;a given filming agency; 指示位置检测机构,该指示位置检测机构用于从通过拍摄机构所拍摄的图象中,检测显示信息的面上给出的指示信息位置进行检测;An indication position detection mechanism, which is used to detect the position of the indication information given on the surface of the display information from the image captured by the shooting mechanism; 指示对象信息检测机构,用于检测与上述指示位置检测机构检测出的指示位置对应,而显示于上述面上指示对象信息的区域和/或其指示对象信息的特征量;The pointing object information detection mechanism is used to detect the area of the pointing object information displayed on the surface corresponding to the pointing position detected by the above pointing position detection mechanism and/or the feature value of the pointing object information; 附加图象形成机构,用于根据上述区域和/或上述特征量形成附加在指示对象信息图象上的附加图象;additional image forming means for forming an additional image to be added to the pointing object information image based on the above-mentioned area and/or the above-mentioned feature value; 图象合成机构,它将上述拍摄机构得到的上述指示对象信息的图象,与上述形成的附加图象进行合成。and an image synthesizing means for synthesizing the image of the pointing object information obtained by the imaging means with the additional image formed above. 2.根据权利要求1所述的图象合成装置,其特征在于包括:2. The image synthesis device according to claim 1, characterized in that it comprises: 指示位置其它信息附加方法确定单元,用于根据上述检测出的指示位置,确定上述附加图象的合成方法和/或显示方法;The indication position other information addition method determination unit is used to determine the synthesis method and/or display method of the above additional image according to the above detected indication position; 上述图象合成机构在进行上述合成时,采用由上述信息附加方法确定单元得出的确定结果。The above-mentioned image synthesizing means uses the determination result obtained by the above-mentioned information adding method determining unit when performing the above-mentioned synthesizing. 3.根据权利要求1所述的图象合成装置,其特征在于所述附加图象为装饰和/或强调所述指示对象信息图象的图象。3. The image synthesizing device according to claim 1, wherein said additional image is an image for decorating and/or emphasizing said pointing object information image. 4.根据权利要求1所述的图象合成装置,其特征在于包括:4. The image synthesis device according to claim 1, characterized in that it comprises: 指示机构,用于指示具有一种或多种上述指示信息的指示对象;A pointing mechanism, used to point out pointing objects with one or more of the above pointing information; 所述指示位置检测机构还通过从上述拍摄机构拍摄的图象中得出的上述指示信息,判断指示信息的种类;The indicated position detection mechanism also judges the type of the indicated information through the above-mentioned indicated information obtained from the image captured by the above-mentioned photographing mechanism; 上述附加图象形成机构还采用上述判断出的指示信息种类,形成上述附加图象。The above-mentioned additional image forming means also forms the above-mentioned additional image using the above-mentioned judged instruction information type. 5.根据权利要求1或4所述的图象合成装置,其特征在于它包括:5. The image synthesis device according to claim 1 or 4, characterized in that it comprises: 用于存储上述形成的附加图象的附加图象存储单元;an additional image storage unit for storing the above formed additional image; 现有附加图象复制单元,将所述附加图象存储部中所存的上述附加图象,与通过上述拍摄机构得到的图象进行合成,并以一览表方式显示,在上述指示位置合成并显示由该以一览表方式显示而选择的上述附加图象。In the existing additional image reproduction unit, the above-mentioned additional image stored in the additional image storage unit is combined with the image obtained by the above-mentioned shooting mechanism, and displayed in a list form, and the composite is displayed at the above-mentioned indicated position. The above-mentioned additional images selected for display in a list form. 6.根据权利要求1,4或5所述的图象合成装置,其特征在于包括:6. The image synthesis device according to claim 1, 4 or 5, characterized in that it comprises: 移动参数推定单元,用于推定显示上述信息的面移动后位置的;A movement parameter estimation unit, which is used to estimate the position of the surface displaying the above information after movement; 附加图象变形单元,它根据上述所推定的移动参数使上述附加图象变形。An additional image warping unit deforms said additional image based on said estimated motion parameter. 7.根据权利要求1,4,5或6所述的图象合成装置,其特征在于:7. The image synthesis device according to claim 1, 4, 5 or 6, characterized in that: 所述指示机构包括多个指示部件;The indicating mechanism includes a plurality of indicating parts; 所述指示位置检测机构针对上述多个指示部件中的每一个,检测上述指示位置;The indicated position detection mechanism detects the indicated position for each of the plurality of indicated components; 所述指示对象信息检测单元针对上述多个指示部件中的每一个进行上述检测;The pointing object information detecting unit performs the above-mentioned detection for each of the above-mentioned plurality of pointing components; 上述附加图象形成机构针对上述多个指示部件中的每一个形成上述附加图象。The above-mentioned additional image forming means forms the above-mentioned additional image for each of the above-mentioned plurality of indicating members. 8.根据权利要求7所述的图象合成装置,其特征在于所述多个指示部件内的至少一个指示部件为下述的设置用指示部件,用于通过设置于显示上述信息的面上的方式指示上述指示对象。8. The image synthesizing device according to claim 7, characterized in that at least one indicating member in the plurality of indicating members is an indicating member for setting as follows, which is used to pass through The method indicates the above-mentioned referent. 9.根据权利要求8所述的图象合成装置,其特征在于:9. The image synthesis device according to claim 8, characterized in that: 所述指示对象信息检测机构根据上述设置用指示部件的设置位置,推定上述指示对象信息的区域中、相对上述拍摄机构坐标系的倾角,通过该推定的倾角,计算上述指示对象信息区域和/或指示对象信息特征量;The pointing object information detection unit estimates an inclination angle of the pointing object information area relative to the coordinate system of the imaging mechanism based on the installation position of the setting pointing member, and calculates the pointing object information area and/or Indicates the characteristic quantity of object information; 所述图象合成装置设置有移动参数计算单元,用于通过上述推定出的倾角,推定显示上述信息的面的平行移动参数。The image synthesizing device is provided with a movement parameter calculation unit for estimating a parallel movement parameter of the surface displaying the above-mentioned information based on the above-mentioned estimated inclination angle. 10.根据权利要求7或9所述的图象合成装置,其特征在于它包括:10. The image synthesis device according to claim 7 or 9, characterized in that it comprises: 设置用指示部件增减检测机构,用于检测设置于显示上述信息的面上的上述设置用指示部件数量的增减;The increase/decrease detection mechanism of the setting indicating parts is used to detect the increase or decrease of the number of the setting indicating parts arranged on the surface displaying the above information; 声音数据存储单元,用于存储与上述设置用指示部件的数量的增减对应的声音数据;A sound data storage unit for storing sound data corresponding to the increase or decrease in the number of the above-mentioned setting indicating parts; 扬声器,用于根据上述设置用指示部件数量的增减,输出上述声音数据存储单元中的声音数据。A speaker for outputting the sound data in the sound data storage unit according to the increase or decrease of the number of the setting indicating parts. 11.根据权利要求7,9或10所述的图象合成装置,其特征在于:11. The image synthesis device according to claim 7, 9 or 10, characterized in that: 所述指示机构包括不同形状的指示部件;The indicating mechanism includes indicating components of different shapes; 所述图象合成装置包括:The image synthesis device includes: 指示部件相应确定机构,用于根据给定的组合基准,使上述不同的指示部件之间建立对应关系。The corresponding determination mechanism of the indicating components is used to establish correspondence between the above-mentioned different indicating components according to a given combination criterion. 12.根据权利要求1~11任何一项所述的图象合成装置,其特征在于:12. The image synthesis device according to any one of claims 1-11, characterized in that: 所述拍摄机构为照相机;The shooting mechanism is a camera; 所述图象合成装置包括:The image synthesis device includes: 变焦倍数检测单元用于检测上述照相机的变焦倍率;The zoom factor detection unit is used to detect the zoom factor of the camera; 附加图象放大缩小单元,用于根据上述检测的变焦倍率对上述附加图象进行放大缩小。The additional image enlargement and reduction unit is configured to enlarge and reduce the above additional image according to the detected zoom factor. 13.根据权利要求1~12任何一项所述的图象合成装置,其特征在于它包括着色指定区域删除单元,用与上述给定颜色不同的颜色调换显示上述信息的面上的给定颜色区域。13. The image synthesizing device according to any one of claims 1 to 12, characterized in that it includes a coloring designation area deletion unit for exchanging the given color on the surface displaying the above-mentioned information with a color different from the above-mentioned given color area. 14.根据权利要求1~13中的任何一项所述的图象合成装置,其特征在于它包括浏览程序相应文件形成/更新单单元,以可由互连网中的浏览程序显示的格式保存上述图象合成机构合成的图象。14. The image synthesis device according to any one of claims 1 to 13, characterized in that it includes a browsing program corresponding file forming/updating single unit, which saves the above-mentioned image in a format that can be displayed by a browsing program in the Internet The image synthesized by the compositing mechanism. 15.一种图象合成装置,其特征在于它包括:15. An image synthesis device, characterized in that it comprises: 给定的拍摄机构;a given filming agency; 闭合曲线信息检测机构,用于检测闭合曲线信息,所述闭合曲线包围下述的多个取出对象候补,该多个抽出对象候补可构成由上述拍摄机构拍摄而显示于给定面上的信息和/或物体内部的、图象取出的多个对象候补;Closed curve information detection means for detecting closed curve information that surrounds a plurality of extracted object candidates that can constitute information and displayed on a given surface photographed by the above-mentioned photographing means / or multiple object candidates for image extraction inside the object; 分别取出机构,用于根据上述检测出的闭合曲线信息和上述取出对象信息候补的图象信息,从所述包围的多个取出对象候补图象中、分别取出相应的取出对象候补的图象;The respective extracting mechanism is used for extracting the images of the corresponding extracting target candidates respectively from the plurality of extracting target candidate images surrounded by the above-mentioned detected closed curve information and the image information of the above-mentioned extracting target information candidates; 图象合成机构,用于通过上述分别取出的图象进行图象合成。The image synthesis mechanism is used to perform image synthesis through the above-mentioned respectively extracted images. 16.一种图象合成装置,其特征在于它包括:16. An image synthesis device, characterized in that it comprises: 给定的拍摄机构;a given filming agency; 闭合曲线信息检测机构,用于检测闭合曲线信息,所述闭合曲线包围由上述拍摄机构拍摄信息内、可构成指示对象的多个指示对象信息;A closed curve information detection mechanism is used to detect closed curve information, and the closed curve surrounds a plurality of pointing object information that can constitute a pointing object in the information captured by the above-mentioned shooting mechanism; 分别取出机构,用于根据上述检测出的闭合曲线信息和指示对象的图象信息,从上述包围的多个指示对象信息图象中分别取出相应的指示对象信息的图象;A separate extraction mechanism is used to extract corresponding images of the indicated object information respectively from the plurality of indicated object information images surrounded by the above-mentioned detected closed curve information and the image information of the indicated object; 指示信息检测单元,用于检测上述分别取出的图象区域和/或图象特征量;An indication information detection unit, configured to detect the aforementioned image regions and/or image feature quantities extracted separately; 附加图象形成单元,用于根据上述检测出的图象区域和/或图象特征量,形成附加于上述指示对象信息的图象上的附加图象;An additional image forming unit, configured to form an additional image added to the image of the above-mentioned pointing object information according to the above-mentioned detected image area and/or image feature value; 图象合成机构,用于将上述拍摄机构得出的指示对象信息的图象,与上述形成的附加图象进行合成。The image synthesis unit is used to synthesize the image indicating the object information obtained by the above-mentioned shooting unit and the above-mentioned additional image formed. 17.一种图象合成装置,其特征在于它包括:17. An image synthesis device, characterized in that it comprises: 输入显示整体式显示器;Input display integral display; 拍摄机构,该拍摄机构用于对上述显示器显示部分中的至少一部分进行拍摄;a photographing mechanism, the photographing mechanism is used to photograph at least a part of the display portion of the display; 闭合曲线信息检测机构,用于检测闭合曲线信息,所述闭合曲线包围下述多个物体,这些物体构成置于所述显示器上的多个实际物体内的图象取出对象候补;a closed curve information detection mechanism for detecting closed curve information that encloses a plurality of objects constituting image extraction target candidates within a plurality of actual objects placed on the display; 分别取出机构,用于根据上述检测出的闭合曲线信息及上述拍摄机构拍摄的上述包围的多个物体的图象信息,从这些所包围的多个物体的图象中,分别取出相应的物体的图象;The separate extraction mechanism is used to extract the images of the corresponding objects from the images of the enclosed multiple objects according to the detected closed curve information and the image information of the multiple objects surrounded by the above-mentioned photographing mechanism. image; 附加图象形成单元,用于从上述分别取出的图象形成显示于上述显示器中的附加图象;an additional image forming unit for forming an additional image displayed on the above-mentioned display from the above-mentioned separately taken-out images; 显示方法选择单元,用于选择上述形成的附加图象在显示器中的显示方法;A display method selection unit for selecting the display method of the additional image formed above in the display; 图象合成机构,用于根据上述选择的显示方法,合成上述附加图象和上述实际物体的图象。The image synthesis mechanism is used for synthesizing the above-mentioned additional image and the above-mentioned image of the actual object according to the above-mentioned selected display method. 18.一种图象合成装置,其特征在于它包括:18. An image synthesis device, characterized in that it comprises: 输入显示整体式显示器;Input display integral display; 照相机,用于拍摄上述显示器显示部分中的至少一部分进行拍摄;a camera for photographing at least a part of the display portion of the display; 闭合曲线信息检测机构,用于检测闭合曲线信息,所述闭合曲线包围下述多个物体,这些物体构成置上所述显示器上的多个实际物体内的图象取出对象候补;A closed curve information detection mechanism for detecting closed curve information, the closed curve enclosing a plurality of objects constituting image extraction target candidates among the plurality of actual objects placed on the display; 分别取出机构,用于根据上述检测出的闭合曲线信息及上述照相机拍摄的上述包围的多个物体的图象信息,从这些包围的多个物体的图象中,分别取出相应的物体的图象;Separate extraction mechanism, used to extract images of corresponding objects from the images of these enclosed multiple objects according to the above-mentioned detected closed curve information and the image information of the above-mentioned multiple objects surrounded by the above-mentioned camera ; 附加图象形成单元,用于从上述分别取出的图象形成显示于上述显示器中的附加图象;an additional image forming unit for forming an additional image displayed on the above-mentioned display from the above-mentioned separately taken-out images; 显示方法选择单元,用于选择上述形成的附加图象在显示器中的显示方法;A display method selection unit for selecting the display method of the additional image formed above in the display; 控制单元,用于根据上述选择的显示方法,由照相机拍摄显示于上述显示器中的上述附加图象及置于上述显示器上的实际物体。The control unit is configured to use the camera to capture the above-mentioned additional image displayed on the above-mentioned display and the actual object placed on the above-mentioned display according to the above-mentioned selected display method. 19.一种图象合成装置,其特征在于它包括:19. An image synthesis device, characterized in that it comprises: 输入显示整体式显示器;Input display integral display; 拍摄机构,用于对上述显示器显示部分中的至少一部分进行拍摄;A photographing mechanism for photographing at least a part of the display portion of the display; 指示位置检测单元,用于检测指示置于上述显示器上的实际物体用的指示位置信息;a pointing position detection unit for detecting pointing position information pointing to an actual object placed on the above-mentioned display; 实际物体取出机构,用于根据上述检测出的指示位置信息,从上述拍摄机构拍摄的图象中取出上述实际物体的图象;The actual object taking-out mechanism is used to take out the image of the above-mentioned actual object from the image captured by the above-mentioned shooting mechanism according to the above-mentioned detected indication position information; 附加图象形成单元,用于从上述取出的图象,形成显示于上述显示器中的附加图象;an additional image forming unit for forming an additional image displayed on the above display from the image taken out above; 显示方法选择单元,用于选择上述所形成的附加图象在显示器中的显示方法;A display method selection unit for selecting the display method of the above-mentioned formed additional image in the display; 图象合成机构,用于根据上述选择的显示方法,合成上述附加图象和上述实际物体的图象。The image synthesis mechanism is used for synthesizing the above-mentioned additional image and the above-mentioned image of the actual object according to the above-mentioned selected display method. 20.根据权利要求15~17任何一项所述的图象合成装置,其特征在于上述分别取出机构包括;20. The image synthesizing device according to any one of claims 15-17, characterized in that said separate extraction mechanism comprises; 图象存储单元,用于存储上述拍摄机构拍摄的图象;The image storage unit is used to store the images taken by the above-mentioned shooting mechanism; 轮廓模型存储单元,用于存储上述闭合曲线信息作为候补轮廓;A contour model storage unit, configured to store the closed curve information as a candidate contour; 轮廓模型变形单元,用于按照一定的规则使存储于上述轮廓模型存储部所存中的候补轮廓发生变形;a contour model deformation unit, configured to deform the candidate contours stored in the contour model storage unit according to certain rules; 轮廓模型交叉检测单元,用于检测是否有上述候补轮廓的交叉;A contour model intersection detection unit, configured to detect whether there is an intersection of the above-mentioned candidate contours; 轮廓模型分裂单元,用于在上述交叉检测单元判定有交叉时,将上述轮廓模型存储部中所存的候补轮廓分裂为多个;A contour model splitting unit, configured to split the candidate contours stored in the contour model storage unit into multiple when the intersection detection unit determines that there is an intersection; 取出完毕判断单元,用于根据上述分裂结果,判断轮廓取出是否完毕;The extraction completion judging unit is used for judging whether the extraction of the outline is completed according to the above splitting results; 在上述轮廓取出完毕之后,取出由上述分裂而形成的轮廓所包围的图象。After the outline is extracted, the image surrounded by the outline formed by the division is extracted. 21.根据权利要求17或19所述的图象合成装置,其特征在于它包括:21. The image synthesis device according to claim 17 or 19, characterized in that it comprises: 立体图标登记单元,用于通过向上述显示器输入,登记实际物体的特征量及其功能;A three-dimensional icon registration unit for registering the feature quantity and its function of the actual object by inputting to the above-mentioned display; 立体图标辨别单元,用于在上述显示器中具有输入时,通过所述特征量辨别用于该输入的实际物体。A three-dimensional icon identifying unit configured to identify an actual object used for the input based on the feature quantity when there is an input on the display. 22.根据权利要求17或19所述的图象合成装置,其特征在于它包括:22. The image synthesis device according to claim 17 or 19, characterized in that it comprises: 显示图象亮度计算单元,用于计算上述显示器显示图象的亮度;A display image brightness calculation unit, used to calculate the brightness of the image displayed by the display; 笔输入颜色变换单元,用于根据上述显示图象亮度计算单元算出的亮度改变笔输入的颜色。A pen input color conversion unit for changing the color of the pen input based on the luminance calculated by the display image luminance calculation unit. 23.根据权利要求17或19所述的图象合成装置,其特征在于还附加下述显示图象修正单元,它根据置于上述显示器上实际物体的亮度或颜色,改变显示图象的亮度或颜色。23. The image synthesis device according to claim 17 or 19, characterized in that it also adds the following display image correction unit, which changes the brightness or color of the displayed image according to the brightness or color of the actual object placed on the above-mentioned display. color. 24.一种媒体,该媒体的特征在于用于记录下述程序,该程序用于在计算机中实现权利要求1~23中任一项所述机构的全部或部分的机构功能。24. A medium characterized by recording a program for realizing all or part of the mechanism functions of the mechanism according to any one of claims 1 to 23 in a computer. 25.一种图象合成方法,其特征在于它包括下述步骤:25. A method for image synthesis, characterized in that it comprises the steps of: 由指示信息指示显示信息面中的规定位置;The specified position in the display information surface is indicated by the instruction information; 拍摄显示于上述面上的信息和上述指示信息;Take pictures of the information displayed on the above-mentioned face and the above-mentioned instruction information; 根据该拍摄结果,检测由上述指示信息指示的指示位置;According to the shooting result, detecting the indicated position indicated by the above indicated information; 对根据上述指示位置,检测显示于上述面上指示对象的信息的区域和/或特征量;Detecting the area and/or feature quantity of the information indicating the object displayed on the above-mentioned surface according to the above-mentioned indicated position; 根据上述指示对象信息的区域和/或特征量,形成附加于上述指示对象信息图象上的附加图象;Forming an additional image added to the image of the above-mentioned pointing object information according to the region and/or feature value of the above-mentioned pointing object information; 合成上述指示对象信息的图象及上述形成的附加图象。The above-mentioned image pointing to the object information and the above-formed additional image are synthesized. 26.根据权利要求25所述的方法,其特征在于在合成上述图象时,根据上述指示位置确定上述附加图象的合成方法法和/或显示方法,确定结果事合成上述图象。26. The method according to claim 25, wherein when synthesizing the above-mentioned images, the synthesizing method and/or display method of the above-mentioned additional image are determined according to the above-mentioned indicated position, and the determined result is to synthesize the above-mentioned images. 27.一种图象合成方法,其特征在于它包括下述步骤:27. A method for image synthesis, characterized in that it comprises the steps of: 拍摄显示于规定面上的信息和/或多个物体;Capture information and/or multiple objects displayed on a prescribed surface; 提供下述多个取出对象候补的闭合曲线,所述多个取出对象候补可构成所述所拍摄的信息和/或多个实际物体内的图象抽出对象的候补;providing a closed curve of a plurality of candidate extraction objects that can constitute candidates for image extraction objects within the photographed information and/or a plurality of actual objects; 检测上述所提供的闭合曲线信息;Detect the closed curve information provided above; 根据上述检测的闭合曲线和取出对象候补的图象信息,从上述包围的多个取出对象候补图象中,分别抽出取应的取出对象候补的图象;According to the above-mentioned detected closed curve and the image information of the extraction object candidate, from the plurality of extraction object candidate images surrounded by the above-mentioned, respectively extract the corresponding image of the extraction object candidate; 由上述分别取出的图象,合成图象。An image is synthesized from the above separately extracted images. 28.一种媒体,其特征在于该媒体记录下述程序,所述程序用于在计算机中实现权利要求25~27中任一项步骤中的全部或部分的步骤。28. A medium, characterized in that the medium records the following program for implementing all or part of the steps in any one of claims 25-27 in a computer.
CN97125957A 1996-11-01 1997-11-01 Image synthesizing device, image synthesizing method and medium used Pending CN1186991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN97125957A CN1186991A (en) 1996-11-01 1997-11-01 Image synthesizing device, image synthesizing method and medium used

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP291,436/96 1996-11-01
JP211,039/97 1997-08-05
JP236,992/97 1997-09-02
CN97125957A CN1186991A (en) 1996-11-01 1997-11-01 Image synthesizing device, image synthesizing method and medium used

Publications (1)

Publication Number Publication Date
CN1186991A true CN1186991A (en) 1998-07-08

Family

ID=5177492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN97125957A Pending CN1186991A (en) 1996-11-01 1997-11-01 Image synthesizing device, image synthesizing method and medium used

Country Status (1)

Country Link
CN (1) CN1186991A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100413320C (en) * 2003-05-29 2008-08-20 佳能株式会社 Image taking apparatus
CN100452834C (en) * 2003-05-30 2009-01-14 佳能株式会社 Photographing device and method for obtaining photographic image having image vibration correction
CN100452835C (en) * 2003-05-29 2009-01-14 佳能株式会社 Image processing apparatus, image taking apparatus and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100413320C (en) * 2003-05-29 2008-08-20 佳能株式会社 Image taking apparatus
CN100452835C (en) * 2003-05-29 2009-01-14 佳能株式会社 Image processing apparatus, image taking apparatus and program
CN100452834C (en) * 2003-05-30 2009-01-14 佳能株式会社 Photographing device and method for obtaining photographic image having image vibration correction

Similar Documents

Publication Publication Date Title
CN1261811C (en) Photo image printing device, photo image printing method, program, and printing medium unit
CN100346352C (en) Image display apparatus and short film generation apparatus
CN1214614C (en) Image processing method, image processing device and recording medium
CN1197351C (en) Image synthesizing device, recording medium, and program
CN1910577A (en) Image file list display device
CN100345158C (en) Method and system for generating formatted information involving geometric distortion
CN1158618C (en) Data processing apparatus
CN1271505C (en) Image processing apparatus, control method therefor, and program
CN1105994C (en) Image processors
CN1290312C (en) Image processing device and its method for removing and reading strik-through produced by double side or overlaped master cope
CN1967541A (en) Information processing device, information processing method, program, and storage medium
CN1172734C (en) Image capture apparatus and method
CN1867940A (en) Imaging apparatus and image processing method therefor
CN1151556A (en) data processing device
CN1250191A (en) Apparatus and method for accessing image
CN1620094A (en) Image processing apparatus and method for converting image data to predetermined format
CN1237777C (en) Image printing device and image printing method
CN1383532A (en) Creation of image designation files and playback of images using this file
CN1196855A (en) Printing apparatus and printing system
CN1645241A (en) Imaging apparatus, method and device for processing images
CN1619438A (en) Image processing apparatus, control method therefor, and program
CN1842126A (en) Information processing device, image processing device and method, and storage medium therefor
CN1577237A (en) Print processing system, print processing method, print processing program, printer device, printing instruction device
CN1866191A (en) Data processing setting apparatus, data processing setting method
CN1186991A (en) Image synthesizing device, image synthesizing method and medium used

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1010929

Country of ref document: HK