CN109154874B - Image display method, control method and related equipment - Google Patents
Image display method, control method and related equipment Download PDFInfo
- Publication number
- CN109154874B CN109154874B CN201780015213.3A CN201780015213A CN109154874B CN 109154874 B CN109154874 B CN 109154874B CN 201780015213 A CN201780015213 A CN 201780015213A CN 109154874 B CN109154874 B CN 109154874B
- Authority
- CN
- China
- Prior art keywords
- picture
- display
- visible light
- infrared
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/50—Constructional details
- H04N23/55—Optical parts specially adapted for electronic image sensors; Mounting thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Studio Devices (AREA)
Abstract
Description
技术领域technical field
本发明实施例涉及控制技术领域,尤其涉及一种图像显示方法、控制方法及相关设备。Embodiments of the present invention relate to the technical field of control, and in particular, to an image display method, a control method, and related equipment.
背景技术Background technique
随着社会的发展,相机的应用越来越广泛,人们通过相机采集图像,记录生活中的美好瞬间。相机可以应用到各种领域,手机、电脑、无人机等设备上都已经配置了相机进行图像采集。一般的,相机分为可见光相机和红外相机,可见光相机可以在照明条件较好的地方进行图像集采,红外相机则可以在黑夜或照明条件较弱的地方进行图像采集。当用户需要连续对某一区域的图像进行采集时,则需要同时携带可见光相机和红外相机,在采集图像的过程中,需要不断更换相机来实现可见光画面与红外画面之间的切换,操作不便,并且对于图像的采集效率低。With the development of society, the application of cameras is more and more extensive. People collect images through cameras to record the beautiful moments in life. Cameras can be applied to various fields, and devices such as mobile phones, computers, and drones have been equipped with cameras for image acquisition. Generally, cameras are divided into visible light cameras and infrared cameras. Visible light cameras can collect images in places with better lighting conditions, while infrared cameras can collect images in dark nights or places with weak lighting conditions. When users need to continuously collect images of a certain area, they need to carry both a visible light camera and an infrared camera. During the process of collecting images, the camera needs to be constantly replaced to switch between the visible light screen and the infrared screen, which is inconvenient to operate. And the efficiency of image acquisition is low.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种图像显示方法、控制方法及相关设备,可以通过相应的指令实现需要显示的相机画面,操作快捷,对于图像的采集效率高。The embodiments of the present invention provide an image display method, a control method, and related equipment, which can realize the camera screen to be displayed through corresponding instructions, with quick operation and high image collection efficiency.
本发明实施例的一个方面是提供一种图像显示方法,用于在显示装置的显示界面上显示相机获取的画面,所述相机包括红外镜头和可见光镜头,所述方法包括:One aspect of the embodiments of the present invention is to provide an image display method for displaying, on a display interface of a display device, a picture acquired by a camera, where the camera includes an infrared lens and a visible light lens, and the method includes:
获取用户输入的模式选择指令时,确定所述模式选择指令对应的显示模式,所述显示模式为显示可见光画面及红外画面中的一种或其组合;When acquiring the mode selection instruction input by the user, determine the display mode corresponding to the mode selection instruction, and the display mode is to display one of a visible light picture and an infrared picture or a combination thereof;
根据所述显示模式,获取显示码流,并通过显示界面对所述显示码流对应的画面进行显示。According to the display mode, a display code stream is acquired, and a picture corresponding to the display code stream is displayed through a display interface.
本发明实施例的另一个方面是提供一种图像显示装置,包括显示界面,所述显示界面用于显示相机获取的画面,所述相机包括红外镜头和可见光镜头,所述显示装置还包括:Another aspect of the embodiments of the present invention is to provide an image display device, including a display interface, where the display interface is used to display a picture acquired by a camera, the camera includes an infrared lens and a visible light lens, and the display device further includes:
获取单元,用于获取用户输入的模式选择指令;an acquisition unit, used for acquiring the mode selection instruction input by the user;
处理器,用于确定与所述模式选择指令对应的显示模式,所述显示模式为显示可见光画面及红外画面中的一种或其组合;a processor, configured to determine a display mode corresponding to the mode selection instruction, where the display mode is to display one of a visible light picture and an infrared picture or a combination thereof;
显示单元,用于根据所述显示模式,获取显示码流,并通过显示界面对所述显示码流对应的画面进行显示。A display unit, configured to acquire a display code stream according to the display mode, and display a picture corresponding to the display code stream through a display interface.
本发明实施例的另一个方面是提供一种控制方法,用于通过控制设备控制图像显示,所述控制设备与相机和显示装置通信连接,所述相机包括红外镜头和可见光镜头,所述控制方法包括:Another aspect of the embodiments of the present invention is to provide a control method for controlling image display through a control device, the control device is communicatively connected with a camera and a display device, the camera includes an infrared lens and a visible light lens, the control method include:
获取显示装置的显示模式,所述显示模式为显示可见光画面及红外画面中的一种或其组合;acquiring a display mode of the display device, where the display mode is to display one of a visible light picture and an infrared picture or a combination thereof;
依据所述显示模式,从相机获取码流;Acquire the code stream from the camera according to the display mode;
将所述码流传送给所述显示装置进行显示。The code stream is sent to the display device for display.
本发明实施例的另一个方面是提供一种控制设备,所述控制设备与相机和显示装置通信连接,所述相机包括红外镜头和可见光镜头,所述控制设备包括:Another aspect of the embodiments of the present invention is to provide a control device, the control device is communicatively connected with a camera and a display device, the camera includes an infrared lens and a visible light lens, and the control device includes:
通信元件,用于获取显示装置的显示模式,所述显示模式为可见光画面及红外画面中的一种或其组合;a communication element for acquiring a display mode of the display device, where the display mode is one of a visible light picture and an infrared picture or a combination thereof;
处理器,用于控制所述通信元件从所述相机获取码流;a processor, configured to control the communication element to obtain a code stream from the camera;
所述通信元件还用于将所述码流传送给所述显示装置进行显示。The communication element is also used for sending the code stream to the display device for display.
本发明实施例的另一个方面是提供一种相机控制方法,所述相机包括红外镜头和可见光镜头,所述相机与控制设备通信连接,所述方法包括:Another aspect of the embodiments of the present invention is to provide a camera control method, the camera includes an infrared lens and a visible light lens, the camera is communicatively connected to a control device, and the method includes:
获取所述控制设备发送的获取指令,所述获取指令与显示模式对应,所述显示模式为可见光画面及红外画面中的一种或其组合;acquiring an acquisition instruction sent by the control device, where the acquisition instruction corresponds to a display mode, and the display mode is one of a visible light picture and an infrared picture or a combination thereof;
根据所述获取指令,对可见光画面和红外画面进行处理;According to the acquisition instruction, the visible light picture and the infrared picture are processed;
将处理后的可见光画面和红外画面发送给所述控制设备。Send the processed visible light picture and infrared picture to the control device.
本发明实施例的另一个方面是提供一种相机,包括:Another aspect of the embodiments of the present invention is to provide a camera, including:
红外镜头,用于获取红外画面;Infrared lens, used to obtain infrared images;
可见光镜头,用于获取可见光画面;Visible light lens, used to obtain visible light images;
通信元件,与控制设备通信连接,用于获取所述控制设备发送的获取指令,所述获取指令与显示模式对应,所述显示模式为可见光画面及红外画面中的一种或其组合;a communication element, connected in communication with the control device, for acquiring an acquisition instruction sent by the control device, where the acquisition instruction corresponds to a display mode, and the display mode is one of a visible light picture and an infrared picture or a combination thereof;
处理器,用于根据所述获取指令,对可见光画面和红外画面进行处理;a processor, configured to process the visible light picture and the infrared picture according to the acquisition instruction;
所述通信元件还用于将处理后的可见光画面和红外画面发送给控制设备。The communication element is also used for sending the processed visible light picture and the infrared picture to the control device.
本发明实施例的另一个方面是提供一种可移动设备,包括设备主体以及装载于所述可移动设备上的相机。Another aspect of the embodiments of the present invention is to provide a movable device, including a device body and a camera mounted on the movable device.
本发明实施例的另一个方面是提供一种相机控制方法,所述相机包括红外镜头和可见光镜头,分别用于获取红外画面和可见光画面,以及显示相机获取画面的显示界面,所述方法包括:Another aspect of the embodiments of the present invention is to provide a camera control method. The camera includes an infrared lens and a visible light lens, which are respectively used to obtain an infrared picture and a visible light picture, and a display interface for displaying the picture obtained by the camera. The method includes:
获取用户输入的模式选择指令时,确定所述模式选择指令对应的显示模式,所述显示模式为可见光画面及红外画面中的一种或其组合;When acquiring the mode selection instruction input by the user, determine the display mode corresponding to the mode selection instruction, and the display mode is one of a visible light picture and an infrared picture or a combination thereof;
根据所述显示模式生成显示码流并通过所述显示界面进行显示。A display code stream is generated according to the display mode and displayed through the display interface.
本发明实施例的另一个方面是提供一种相机,包括:Another aspect of the embodiments of the present invention is to provide a camera, including:
红外镜头,用于获取红外画面;Infrared lens, used to obtain infrared images;
可见光镜头,用于获取可见光画面;Visible light lens, used to obtain visible light images;
显示界面,用于显示相机获取的画面;The display interface is used to display the picture obtained by the camera;
获取单元,用于获取用户输入的模式选择指令;an acquisition unit, used for acquiring the mode selection instruction input by the user;
处理器,用于根据所述模式选择指令确定所述模式选择指令对应的显示模式,所述显示模式为可见光画面及红外画面中的一种或其组合,并根据所述显示模式生成显示码流;a processor, configured to determine a display mode corresponding to the mode selection instruction according to the mode selection instruction, where the display mode is one of a visible light picture and an infrared picture or a combination thereof, and generate a display code stream according to the display mode ;
显示单元,接收显示码流并通过所述显示界面进行显示。The display unit receives the display code stream and displays it through the display interface.
本发明实施例提供的图像显示方法、控制方法及相关设备,用于在显示装置的显示界面上显示相机获取的画面,所述相机包括红外镜头和可见光镜头,所述方法包括:获取用户输入的模式选择指令时,确定所述模式选择指令对应的显示模式,所述显示模式为显示可见光画面及红外画面中的一种或其组合;根据所述显示模式,获取显示码流,并通过显示界面对所述显示码流对应的画面进行显示。本发明实施例中,相机具有红外镜头和可见光镜头,用户输入模式选择指令,即可根据所述模式选择指令确定对应的显示模式,并获取与所述显示模式对应的显示码流,在显示界面中进行显示,操作快捷,对于图像的采集效率也有很大的提高。An image display method, a control method, and related equipment provided by the embodiments of the present invention are used to display a picture obtained by a camera on a display interface of a display device, where the camera includes an infrared lens and a visible light lens, and the method includes: obtaining an image input by a user. When the mode selection instruction is used, the display mode corresponding to the mode selection instruction is determined, and the display mode is to display one or a combination of the visible light picture and the infrared picture; The picture corresponding to the display code stream is displayed. In the embodiment of the present invention, the camera has an infrared lens and a visible light lens, and the user inputs a mode selection instruction, and the corresponding display mode can be determined according to the mode selection instruction, and the display code stream corresponding to the display mode is obtained, and the display code stream corresponding to the display mode can be displayed on the display interface. It can be displayed in the middle of the screen, the operation is fast, and the efficiency of image acquisition is also greatly improved.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to the provided drawings without creative work.
图1为本发明实施例提供的一种图像显示方法的流程图;FIG. 1 is a flowchart of an image display method according to an embodiment of the present invention;
图2为本发明实施例提供的图像显示界面的界面示意图;2 is a schematic interface diagram of an image display interface provided by an embodiment of the present invention;
图3为本发明实施例提供的又一图像显示界面的界面示意图;3 is a schematic interface diagram of another image display interface provided by an embodiment of the present invention;
图4为本发明实施例提供的一种图像显示装置的结构示意图;FIG. 4 is a schematic structural diagram of an image display device according to an embodiment of the present invention;
图5为本发明实施例提供的一种控制方法的流程图;5 is a flowchart of a control method provided by an embodiment of the present invention;
图6为本发明实施例提供的一种控制设备的结构示意图;6 is a schematic structural diagram of a control device provided by an embodiment of the present invention;
图7为本发明实施例提供的一种相机控制方法的流程图;FIG. 7 is a flowchart of a camera control method provided by an embodiment of the present invention;
图8为本发明实施例提供的一种相机的结构示意图;FIG. 8 is a schematic structural diagram of a camera according to an embodiment of the present invention;
图9为本发明实施例提供的又一相机控制方法的流程图;FIG. 9 is a flowchart of another camera control method provided by an embodiment of the present invention;
图10为本发明实施例提供的又一相机的结构示意图;FIG. 10 is a schematic structural diagram of another camera provided by an embodiment of the present invention;
附图标记:Reference number:
200-图像显示装置 201-显示界面 202-获取单元 203-处理器 204-显示单元200-image display device 201-display interface 202-acquisition unit 203-processor 204-display unit
400-控制设备 401-通信元件 402-处理器400-Control device 401-Communication element 402-Processor
600-相机 601-红外镜头 602-可见光镜头 603-通信元件 604-处理器600-Camera 601-Infrared Lens 602-Visible Lens 603-Communication Element 604-Processor
800-相机 801-红外镜头 802-可见光镜头 803-显示界面 804-获取单元800-camera 801-infrared lens 802-visible light lens 803-display interface 804-acquisition unit
805-处理器 806-显示单元。805 - Processor 806 - Display unit.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
需要说明的是,当组件被称为“固定于”另一个组件,它可以直接在另一个组件上或者也可以存在居中的组件。当一个组件被认为是“连接”另一个组件,它可以是直接连接到另一个组件或者可能同时存在居中组件。It should be noted that when a component is referred to as being "fixed to" another component, it can be directly on the other component or there may also be a centered component. When a component is considered to be "connected" to another component, it may be directly connected to the other component or there may be a co-existence of an intervening component.
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terms used herein in the description of the present invention are for the purpose of describing specific embodiments only, and are not intended to limit the present invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The embodiments described below and features in the embodiments may be combined with each other without conflict.
在应用相机获取可见光画面及红外画面的过程中,通过开发用户显示界面,使用户选择相应的显示模式,依据显示模式获取显示码流,并通过显示界面进行显示,实现可见光画面及红外画面的任意切换。具体过程通过以下实施例进行详细说明:In the process of using the camera to obtain the visible light picture and the infrared picture, through the development of the user display interface, the user can select the corresponding display mode, obtain the display code stream according to the display mode, and display it through the display interface, so as to realize the arbitrary display of the visible light picture and the infrared picture. switch. The specific process is described in detail by the following examples:
如图1所示,为本发明实施例提供的一种图像显示方法的流程图。本发明实施例提供的图像显示方法,用于在显示装置的显示界面上显示相机获取的画面,所述相机包括红外镜头和可见光镜头。本发明实施例提供的图像显示方法,可以应用在无人机领域,无人机上搭载有包括红外镜头和可见光镜头的相机;还可以应用在其它各种带有包括红外镜头和可见光镜头的设备中,例如手机、摄像机等设备。本实施例中的方法,可以包括:As shown in FIG. 1 , it is a flowchart of an image display method provided by an embodiment of the present invention. The image display method provided by the embodiment of the present invention is used for displaying a picture acquired by a camera on a display interface of a display device, where the camera includes an infrared lens and a visible light lens. The image display method provided by the embodiment of the present invention can be applied in the field of unmanned aerial vehicles. The unmanned aerial vehicle is equipped with a camera including an infrared lens and a visible light lens; it can also be applied to various other devices with an infrared lens and a visible light lens. , such as mobile phones, cameras and other devices. The method in this embodiment may include:
步骤S101、获取用户输入的模式选择指令时,确定所述模式选择指令对应的显示模式,所述显示模式为显示可见光画面及红外画面中的一种或其组合;Step S101, when acquiring a mode selection instruction input by a user, determine a display mode corresponding to the mode selection instruction, and the display mode is to display one of a visible light picture and an infrared picture or a combination thereof;
具体的,用户在操作设备的人机交互界面中输入模式选择指令,操作设备依据所述模式选择指令确定用户选择的显示模式。本实施例中,用户选择的显示模式可以对应为显示可见光画面或显示红外画面,也可以对应为显示可见光画面和红外画面的组合。Specifically, the user inputs a mode selection instruction in the human-computer interaction interface of the operation device, and the operation device determines the display mode selected by the user according to the mode selection instruction. In this embodiment, the display mode selected by the user may correspond to displaying a visible light picture or displaying an infrared picture, or may correspond to displaying a combination of a visible light picture and an infrared picture.
步骤S102、根据所述显示模式,获取显示码流,并通过显示界面对所述显示码流对应的画面进行显示。Step S102: Acquire a display code stream according to the display mode, and display a picture corresponding to the display code stream through a display interface.
具体的,本实施例中,根据用户选择的显示模式,获取与所述显示模式对应的显示码流,并将所述显示码流对应的画面显示在所述显示界面上。Specifically, in this embodiment, according to the display mode selected by the user, a display code stream corresponding to the display mode is acquired, and a picture corresponding to the display code stream is displayed on the display interface.
本发明实施例提供的图像显示方法,在接收到用户输入的模式选择指令时,确定与所述模式选择指令对应的显示模式,根据所述显示模式,获取显示码流,并通过显示界面对所述显示码流对应的画面进行显示。用户只需要输入模式选择指令,即可实现对可见光画面及红外画面的显示,操作更加快捷,也提升了图像的采集效率。In the image display method provided by the embodiment of the present invention, when a mode selection instruction input by a user is received, a display mode corresponding to the mode selection instruction is determined, a display code stream is obtained according to the display mode, and a display interface is used for the display mode. The picture corresponding to the above-mentioned display code stream is displayed. The user only needs to input the mode selection command to display the visible light picture and the infrared picture. The operation is faster and the image collection efficiency is improved.
本发明实施例提供的图像显示方法中,根据显示模式,获取显示码流的过程,具体包括:In the image display method provided by the embodiment of the present invention, the process of acquiring the display code stream according to the display mode specifically includes:
发送与所述显示模式对应的获取指令至所述相机,触发所述相机反馈与所述获取指令对应的显示码流。Send an acquisition instruction corresponding to the display mode to the camera, and trigger the camera to feed back a display code stream corresponding to the acquisition instruction.
具体的,本实施例中,在确定用户选择的显示模式时,确定与所述显示模式对应的获取指令,所述获取指令可以获取与所述显示模式对应的显示码流。本实施例中,将所述获取指令发送至相机,触发相机反馈与所述获取指令对应的显示码流。Specifically, in this embodiment, when the display mode selected by the user is determined, an acquisition instruction corresponding to the display mode is determined, and the acquisition instruction can acquire the display code stream corresponding to the display mode. In this embodiment, the acquisition instruction is sent to the camera, and the camera is triggered to feed back a display code stream corresponding to the acquisition instruction.
本发明实施例提供的图像显示方法中,显示装置可以与控制设备连接。相应的,发送与所述显示模式对应的获取指令至相机的过程,具体包括:In the image display method provided by the embodiment of the present invention, the display device may be connected with a control device. Correspondingly, the process of sending the acquisition command corresponding to the display mode to the camera specifically includes:
将所述显示模式发送至所述控制设备,以使所述控制设备根据所述显示模式生成与所述显示模式对应的获取指令,并将所述获取指令发送给所述相机;sending the display mode to the control device, so that the control device generates an acquisition instruction corresponding to the display mode according to the display mode, and sends the acquisition instruction to the camera;
或or
所述显示装置根据所述显示模式生成对应的获取指令,并直接发送给所述相机。The display device generates a corresponding acquisition instruction according to the display mode, and directly sends it to the camera.
本实施例中,可以将用户选择的显示模式发送至所述控制设备,由所述控制设备根据所述显示模式生成与所述显示模式对应的获取指令,然后将所述获取指令发送至相机。或者,直接由显示装置根据所述显示模式生成对应的获取指令,并直接发送给所述相机。In this embodiment, the display mode selected by the user may be sent to the control device, and the control device generates an acquisition instruction corresponding to the display mode according to the display mode, and then sends the acquisition instruction to the camera. Alternatively, the corresponding acquisition instruction is directly generated by the display device according to the display mode, and is directly sent to the camera.
本实施例中,获取指令的生成过程,可以由与显示装置相连接的控制设备生成,也可以直接由显示装置生成。获取指令由控制设备生成的实现方式中,显示装置与控制设备为两个独立设备,例如,在前端的遥控器上夹持一个手机或pad进行人机界面的显示,用户可以在显示的人机界面上进行操作。本实施例中,显示装置、遥控器、相机三者之间依次可以通信连接。In this embodiment, the generation process of the acquisition instruction may be generated by a control device connected to the display device, or may be generated directly by the display device. In the implementation manner in which the acquisition instruction is generated by the control device, the display device and the control device are two independent devices. For example, a mobile phone or a pad is clamped on the front-end remote control to display the man-machine interface, and the user can display the man-machine interface on the displayed man-machine interface. operate on the interface. In this embodiment, the display device, the remote controller, and the camera can be communicatively connected in sequence.
另一方面,获取指令由显示装置生成的实现方式中,前端的遥控器上自带了显示屏幕或显示装置,所述显示装置可以为手机等设备,显示装置与相机直接通信连接,显示装置可以直接对相机采集的画面进行控制。On the other hand, in the implementation manner in which the acquisition instruction is generated by the display device, the front-end remote control has its own display screen or display device. Directly control the images captured by the camera.
从另一个方面讲,本发明实施例提供的图像显示方法中,根据所述显示模式,获取显示码流的过程,还可以具体包括:From another aspect, in the image display method provided by the embodiment of the present invention, the process of acquiring the display code stream according to the display mode may further specifically include:
获取所述相机反馈的包括可见光画面和红外画面的码流,并对所述码流进行处理,得到与所述显示模式对应的显示码流。A code stream including a visible light picture and an infrared picture fed back by the camera is acquired, and the code stream is processed to obtain a display code stream corresponding to the display mode.
本实施例中,根据确定的显示模式,从相机获取包括可见光画面和红外画面的码流,并对所述码流进行处理后,获得与所述显示模式对应的显示码流。In this embodiment, according to the determined display mode, a code stream including a visible light image and an infrared image is obtained from the camera, and after the code stream is processed, a display code stream corresponding to the display mode is obtained.
本发明实施例提供的图像显示方法中,所述显示装置与控制设备连接,所述获取所述相机反馈的包括可见光画面和红外画面的码流,并对所述码流进行处理,得到与所述显示模式对应的显示码流的过程,具体包括:In the image display method provided by the embodiment of the present invention, the display device is connected to a control device, and the code stream including the visible light picture and the infrared picture fed back by the camera is acquired, and the code stream is processed to obtain a The process of displaying the code stream corresponding to the above-mentioned display mode includes:
将所述显示模式发送至所述控制设备,接收所述控制设备依据所述显示模式对所述相机反馈的码流进行处理后得到的显示码流;sending the display mode to the control device, and receiving a display code stream obtained after the control device processes the code stream fed back by the camera according to the display mode;
或or
获取所述相机反馈的包括可见光画面和红外画面的码流,所述显示装置根据所述显示模式对所述码流进行处理,得到与所述显示模式相对应的显示码流。A code stream including a visible light image and an infrared image fed back by the camera is acquired, and the display device processes the code stream according to the display mode to obtain a display code stream corresponding to the display mode.
本实施例中,可以将显示模式发送至所述控制设备,由所述控制设备依据所述显示模式对相机反馈的码流进行处理,然后控制设备将经过处理的码流反馈至显示装置。还可以是,显示装置直接获取相机反馈的包括可见光画面和红外画面的码流,并根据显示装置对所述码流进行处理,得到与所述显示模式相对应的显示码流。In this embodiment, the display mode may be sent to the control device, the control device processes the code stream fed back by the camera according to the display mode, and then the control device feeds back the processed code stream to the display device. It is also possible that the display device directly obtains the code stream including the visible light picture and the infrared picture fed back by the camera, and processes the code stream according to the display device to obtain the display code stream corresponding to the display mode.
本发明实施例提供的图像显示方法,获取显示码流的过程,可以由控制设备对相机反馈的码流进行处理获得,也可以由显示装置对相机反馈的码流进行处理获得。In the image display method provided by the embodiment of the present invention, the process of acquiring the display code stream can be obtained by processing the code stream fed back by the camera by the control device, or by processing the code stream fed back by the camera by the display device.
本发明实施例提供的图像显示方法,在对获取的显示码流,在显示界面中进行显示前,还包括:对所述显示码流进行解码。The image display method provided by the embodiment of the present invention further includes: decoding the display code stream before displaying the acquired display code stream on the display interface.
本实施例中,将获取的显示码流解码成显示装置可以显示的码流格式,在显示界面中进行显示。本实施例中,对于显示码流的解码过程,可以由显示装置进行解码,也可以由控制设备进行解码。In this embodiment, the acquired display code stream is decoded into a code stream format that can be displayed by the display device, and displayed on the display interface. In this embodiment, for the decoding process of the display code stream, the decoding may be performed by the display device, or the decoding may be performed by the control device.
本发明实施例提供的图像显示方法,相机可以设置在无人机上,对无人机飞行的区域进行图像采集,在用户端设置有显示装置,所述显示装置上设置有可以用于人机交互的显示界面。用户可以通过显示界面输入指令选择相机采集的图像画面,可以具体为可见光画面、红外画面或其组合。所述显示装置可以直接发送指令至相机,获取相机采集的画面码流,对画面码流进行处理获得显示码流,对所述显示码流进行解码后,在显示界面上进行显示。In the image display method provided by the embodiment of the present invention, a camera may be arranged on the drone to collect images of the area where the drone flies, and a display device is arranged at the user end, and a display device is arranged on the display device that can be used for human-computer interaction. display interface. The user can input an instruction through the display interface to select the image image captured by the camera, which may be a visible light image, an infrared image, or a combination thereof. The display device can directly send an instruction to the camera, obtain the picture code stream collected by the camera, process the picture code stream to obtain the display code stream, decode the display code stream, and display it on the display interface.
本发明实施例提供的图像显示方法,从另一个方面讲,相机可以设置在无人机上,对无人机飞行的区域进行图像采集,在用户端设置有显示装置,所述显示装置设置有可以用于人机交互的显示界面。在相机和显示装置之间,还可以设置有控制设备,所述相机、控制设备、显示装置通信连接,用户可以在显示界面上输入指令,显示装置将所述指令发送至所述控制设备,触发所述控制设备获取相机采集的画面码流,对所述画面码流进行处理后获得显示码流,对所述显示码流解码,将需要显示的画面反馈至显示装置,在显示装置的显示画面上进行显示。In the image display method provided by the embodiment of the present invention, from another aspect, a camera may be set on the drone to collect images of the area where the drone flies, and a display device is set on the user end, and the display device is provided with a display device that can Display interface for human-computer interaction. A control device may also be provided between the camera and the display device. The camera, the control device, and the display device are connected in communication. The user can input an instruction on the display interface, and the display device sends the instruction to the control device to trigger a trigger. The control device obtains the picture code stream collected by the camera, processes the picture code stream to obtain a display code stream, decodes the display code stream, feeds back the picture to be displayed to the display device, and displays the picture on the display device. displayed on the .
本发明实施例提供的图像显示方法中,所述显示模式,即显示可见光画面及红外画面中的一种或其组合至少包括:In the image display method provided by the embodiment of the present invention, the display mode, that is, displaying one of a visible light picture and an infrared picture or a combination thereof at least includes:
显示可见光画面;Display visible light screen;
显示红外画面;Display infrared screen;
显示可见光画面和红外画面的组合画面;Display the combined picture of visible light picture and infrared picture;
显示可见光画面和红外画面的融合画面。Display the fusion picture of visible light picture and infrared picture.
在某些实施例中,用户可以选择需要的显示模式,可以选择仅显示可见光画面的显示模式,也可以选择仅显示红外画面的显示模式,还可以选择可见光画面和红外画面的组合画面,所述组合画面为显示界面中显示的画面中在一部分显示区域中显示可见光画面,在另一部分中显示红外画面。In some embodiments, the user can select a desired display mode, a display mode that only displays visible light images, a display mode that only displays infrared images, or a combined image of visible light images and infrared images. The combined picture is that among the pictures displayed on the display interface, a visible light picture is displayed in a part of the display area, and an infrared picture is displayed in another part.
在某些实施例中,用户还可以选择显示可见光画面和红外画面的融合画面。一般红外画面只是根据热力分布显示深浅,并没有物体的轮廓,在可见光画面和红外画面融合之后,可以在显示的画面中看到物体的轮廓叠加上热力深浅分布。实现了在查看热力分布的同时,也可以观察到对应的物体形状。In some embodiments, the user may also choose to display a merged picture of the visible light picture and the infrared picture. Generally, the infrared image only displays the depth according to the thermal distribution, without the outline of the object. After the visible light image and the infrared image are merged, the outline of the object can be seen superimposed on the thermal distribution on the displayed image. It is realized that while viewing the thermal distribution, the corresponding object shape can also be observed.
参考图2及图3,示出了本发明实施例提供的图像显示界面的示意图,用户点击人机界面上方的下拉按钮,触发APP弹出四种显示模式的人机界面选项,分别对应:2 and 3, a schematic diagram of an image display interface provided by an embodiment of the present invention is shown. The user clicks the pull-down button above the man-machine interface to trigger the APP to pop up four display modes of man-machine interface options, corresponding to:
纯可见光显示模式,用于显示可见光画面;Pure visible light display mode, used to display visible light images;
纯红外显示模式,用于显示红外画面;Pure infrared display mode, used to display infrared images;
PIP画中画显示模式,用于显示可见光画面和红外画面的组合画面;PIP picture-in-picture display mode, used to display the combined picture of visible light picture and infrared picture;
MSX融合画面显示模式,用于可见光画面和红外画面的融合画面。The MSX fusion picture display mode is used for the fusion picture of visible light picture and infrared picture.
在图2及图3中,用户触发下拉按钮后,在显示界面中显示出三个选择弹窗,可以分别表示纯可见光模式,PIP画中画显示模式和MSX融合画面显示模式,本实施例中,用户可以点击MSX融合画面显示模式,对其进行关闭,关闭后的MSX融合画面显示模式切换为纯红外显示模式。本实施例中,还可以设置显示四个选择弹窗,对应显示上述四个显示模式,其具体的显示方式,本发明实施例中不做具体限定,应该认为对应上述四种显示模式的各种显示方式均在本发明实施例的保护范围内。In Figure 2 and Figure 3, after the user triggers the pull-down button, three selection pop-up windows are displayed in the display interface, which can respectively represent the pure visible light mode, the PIP picture-in-picture display mode and the MSX fusion screen display mode. In this embodiment, , the user can click the MSX fusion screen display mode to close it, and the MSX fusion screen display mode after closing is switched to the pure infrared display mode. In this embodiment, four selection pop-up windows can also be set to display, corresponding to the above-mentioned four display modes. The specific display mode is not specifically limited in the embodiment of the present invention, and it should be considered that the various display modes corresponding to the above-mentioned four display modes are displayed. The display modes are all within the protection scope of the embodiments of the present invention.
例如,在图2中,选择最左侧弹窗可以代表选择纯可见光显示模式,用户点击纯可见光显示模式的弹窗时,应用程序APP下发纯可见光显示模式对应的指令给相机,触发相机切换编码输出纯可见光码流给应用程序APP,APP解码显示的码流,显示可见光镜头采集到的画面。For example, in Figure 2, selecting the leftmost pop-up window can represent selecting the pure visible light display mode. When the user clicks the pop-up window of the pure visible light display mode, the application APP sends a command corresponding to the pure visible light display mode to the camera, triggering the camera to switch. The encoding outputs pure visible light code stream to the application program APP, and the APP decodes the displayed code stream and displays the picture collected by the visible light lens.
在图3中,处于中间位置的弹窗,即从左边数第二个弹窗,表示PIP画中画显示模式,当用户选择PIP画中画显示模式时,应用程序APP下发PIP画中画显示模式对应的指令和红外画面嵌入位置参数给相机,本发明实施例中,在显示可见光画面和红外画面的组合画面时,在显示界面的某一区域显示红外画面,默认在显示界面的右下角位置显示红外画面,所述红外画面嵌入位置参数指示相机反馈的码流中红外画面的嵌入位置。相机在接收到PIP画中画显示模式对应的指令和红外画面嵌入位置参数时,切换编码,输出画中画码流给应用程序APP,应用程序APP解码显示的码流为背景为可见光镜头采集的画面,在可见光画面的右下角嵌入一张红外镜头采集的红外画面,嵌入的红外画面的尺寸可以进行调整设置。In Figure 3, the pop-up window in the middle position, that is, the second pop-up window from the left, indicates the PIP picture-in-picture display mode. When the user selects the PIP picture-in-picture display mode, the application APP sends the PIP picture-in-picture display mode. The command corresponding to the display mode and the infrared image are embedded in the position parameters to the camera. In the embodiment of the present invention, when displaying the combined image of the visible light image and the infrared image, the infrared image is displayed in a certain area of the display interface, and the default is in the lower right corner of the display interface. The position displays the infrared image, and the infrared image embedded position parameter indicates the embedded position of the infrared image in the code stream fed back by the camera. When the camera receives the instruction corresponding to the PIP picture-in-picture display mode and the infrared picture embedded position parameter, it switches the encoding and outputs the picture-in-picture code stream to the application APP. The code stream decoded and displayed by the application APP is the background captured by the visible light lens. In the lower right corner of the visible light picture, an infrared picture captured by an infrared lens is embedded, and the size of the embedded infrared picture can be adjusted and set.
本发明实施例中,可以将PIP画中画显示模式对应的指令和红外画面嵌入位置参数发送给相机,由相机对码流进行处理,也可以直接获取相机采集的可见光画面和红外画面码流,然后依据红外画面嵌入位置参数对获取的码流进行处理。In the embodiment of the present invention, the instruction corresponding to the PIP picture-in-picture display mode and the infrared image embedded position parameters can be sent to the camera, and the code stream can be processed by the camera, and the visible light image and infrared image code stream collected by the camera can also be directly obtained. Then, the acquired code stream is processed according to the infrared image embedded position parameter.
本发明实施例中,在PIP画中画显示模式中,默认显示的红外嵌入位置在可见光画面的右下角,也可以设置在可见光画面的其它位置。在某些实施例中,可以触发应用程序APP下发红外画面嵌入位置参数指令给相机,改变相机编码,使相机输出画中画红外码流嵌入的位置。In the embodiment of the present invention, in the PIP picture-in-picture display mode, the infrared embedded position displayed by default is at the lower right corner of the visible light picture, and can also be set at other positions of the visible light picture. In some embodiments, the application program APP can be triggered to send the infrared picture embedded position parameter instruction to the camera, and the camera code can be changed, so that the camera can output the embedded position of the picture-in-picture infrared code stream.
本发明实施例中,最右边的弹窗代表MSX融合画面显示模式,可以通过点击mixlevel(融合强度)中的OFF键,关闭融合,即当前的融合强度为0,则此时,显示装置的显示界面中仅显示红外画面。当然,本发明实施例中,也可单独设置一个代表显示纯红外画面的弹窗。In the embodiment of the present invention, the rightmost pop-up window represents the MSX fusion screen display mode, and the fusion can be turned off by clicking the OFF key in the mixlevel (fusion strength), that is, the current fusion strength is 0, then at this time, the display of the display device Only infrared images are displayed in the interface. Of course, in this embodiment of the present invention, a pop-up window representing the display of a pure infrared image may also be set separately.
用户点击纯红外显示模式时,应用程序APP下发纯红外显示模式对应的指令给相机,触发相机切换编码输出纯红外码流给应用程序APP,应用程序APP解码显示的码流为红外镜头采集的红外画面。When the user clicks the pure infrared display mode, the application APP sends the corresponding command of the pure infrared display mode to the camera, which triggers the camera to switch the encoding and output the pure infrared code stream to the application APP. The code stream decoded and displayed by the application APP is collected by the infrared lens. Infrared picture.
本发明实施例中,对于MSX融合画面显示模式,相对应的,还设置有融合强度选项,即可见光画面和红外画面的融合强度可以调节,融合强度越高,则融合画面中物体的可见光边缘轮廓越明显。即红外画面中,显示的物体的轮廓越明显。In the embodiment of the present invention, for the MSX fusion image display mode, a fusion intensity option is also set correspondingly, that is, the fusion intensity of the visible light image and the infrared image can be adjusted. The higher the fusion intensity, the visible light edge contour of the object in the fusion image more obvious. That is, in the infrared picture, the outline of the displayed object is more obvious.
用户选择MSX融合画面显示模式对应的弹窗时,同时选择MSX融合画面显示模式对应的融合参数,应用程序APP下发MSX融合画面显示模式对应的指令和双光融合参数指令给相机,触发相机切换码流,输出指定双光融合参数的MSX码流给应用程序APP,应用程序APP解码显示的码流为以红外画面为背景,在背景红外图的基础上描上可见光的边缘线,即叠加了可见光的边缘信息到红外图上,呈现出融合的效果。When the user selects the pop-up window corresponding to the MSX fusion screen display mode, and selects the fusion parameters corresponding to the MSX fusion screen display mode, the application APP sends the command corresponding to the MSX fusion screen display mode and the dual-light fusion parameter command to the camera, triggering the camera switch Code stream, output the MSX code stream with the specified dual-light fusion parameters to the application program APP, the code stream decoded and displayed by the application program APP is based on the infrared image as the background, and the edge line of visible light is drawn on the basis of the background infrared image, that is, superimposed. The edge information of visible light is added to the infrared image, showing the effect of fusion.
本发明实施例中,在显示界面中,还设置有X offset(偏差补偿选项),用于调整红外画面和可见光画面二者的偏差。在实际应用过程中,在一段时间之后,红外镜头和可见光镜头之间的位置等参数可能会偏离原设定值,此时需要对红外镜头和可见光镜头进行校准,以消除偏差。本实施例中,可以通过软件在一定程度上进行调整以消除偏差,即保持红外画面不动,检测可见光画面和红外画面是否有偏差,如果有,则进行调整,使二者重合。具体检测是否有偏差可以通过画面中的一些特征图形、特征点等进行识别。当然,通过软件调节的幅度有限。实施过程中,当然也可以保持可将光画面不动,而调整红外画面。In the embodiment of the present invention, in the display interface, an X offset (offset compensation option) is also set, which is used to adjust the offset between the infrared picture and the visible light picture. In the actual application process, after a period of time, parameters such as the position between the infrared lens and the visible light lens may deviate from the original set values. At this time, the infrared lens and the visible light lens need to be calibrated to eliminate the deviation. In this embodiment, the software can be adjusted to a certain extent to eliminate the deviation, that is, keep the infrared image still, detect whether there is a deviation between the visible light image and the infrared image, and if so, adjust to make the two overlap. Whether there is a deviation in the specific detection can be identified by some feature graphics, feature points, etc. in the picture. Of course, the range of adjustment through software is limited. During the implementation, of course, it is also possible to keep the light picture still and adjust the infrared picture.
上述图2及图3所介绍的实施例,为本发明图像显示方法的实现的一个方面,在具体应用过程中,本发明实施例中的相机同时具有红外镜头和可见光镜头,始终可以获取红外画面和可见光画面,在应用程序APP通知相机当前需要哪种显示模式的画面时,优选的,相机可以根据指令处理码流,然后,将处理的码流反馈给应用程序APP,由APP解码后进行显示,以节约传输带宽。还可以触发相机仅回传可见光画面码流和红外画面码流,在应用程序APP端根据显示模式对应的指令进行处理,并显示。The embodiments introduced in the above-mentioned FIGS. 2 and 3 are an aspect of the implementation of the image display method of the present invention. In the specific application process, the camera in the embodiment of the present invention has both an infrared lens and a visible light lens, and can always obtain infrared images. And the visible light picture, when the application APP informs the camera of which display mode the camera currently needs, preferably, the camera can process the code stream according to the instruction, and then feed back the processed code stream to the application APP, which will be decoded and displayed by the APP. , to save transmission bandwidth. It can also trigger the camera to return only the visible light image stream and the infrared image stream, and process and display it on the APP side of the application program according to the instructions corresponding to the display mode.
本发明实施例提供的显示画面中,在显示界面的左下角可以显示当前图像采集区域的地图,在点击地图上的按钮时,也可以对显示的地图进行隐藏。In the display screen provided by the embodiment of the present invention, a map of the current image collection area can be displayed in the lower left corner of the display interface, and the displayed map can also be hidden when a button on the map is clicked.
可选地,若所述显示模式为显示可见光画面,则所述显示码流为所述相机的可见光镜头获取的码流。Optionally, if the display mode is to display a visible light picture, the display code stream is a code stream obtained by a visible light lens of the camera.
可选地,若所述显示模式为显示红外画面,则所述显示码流为所述相机的红外镜头获取的码流。Optionally, if the display mode is to display an infrared image, the display code stream is a code stream obtained by an infrared lens of the camera.
可选地,若所述显示模式为显示可见光画面和红外画面的组合画面,则所述显示码流为包括可见光画面和红外画面的码流。Optionally, if the display mode is to display a combined picture of a visible light picture and an infrared picture, the display code stream is a code stream including a visible light picture and an infrared picture.
可选地,若所述显示模式为显示可见光画面和红外画面的组合画面,则同时显示所述可见光画面和所述红外画面。Optionally, if the display mode is to display a combined picture of a visible light picture and an infrared picture, the visible light picture and the infrared picture are displayed simultaneously.
可选地,若所述显示模式为显示可见光画面和红外画面的组合画面,则所述模式选择指令中包括所述可见光画面与所述红外画面的相对位置参数。Optionally, if the display mode is to display a combined picture of a visible light picture and an infrared picture, the mode selection instruction includes a relative position parameter of the visible light picture and the infrared picture.
本实施例中,可以通过所述相对位置参数,确定可见光画面和红外画面在显示界面中的显示位置。In this embodiment, the display positions of the visible light picture and the infrared picture in the display interface can be determined by using the relative position parameter.
所述相对位置参数为:所述可见光画面作为背景显示,所述红外画面覆盖于所述可见光画面上的预定位置;本实施例中,可以在可见光画面上,在某个特定区域部分显示可见光画面和红外画面的叠加。The relative position parameter is: the visible light picture is displayed as a background, and the infrared picture covers a predetermined position on the visible light picture; in this embodiment, the visible light picture may be displayed in a specific area on the visible light picture Overlay with infrared images.
或or
所述红外画面作为背景显示,所述可见光画面覆盖于所述红外画面的预定位置。The infrared picture is displayed as a background, and the visible light picture covers a predetermined position of the infrared picture.
本实施例中,可以在在红外画面上,在某特定区域部分显示可见光画面和红外画面的叠加。In this embodiment, a superposition of the visible light picture and the infrared picture may be displayed in a certain area on the infrared picture.
本发明实施例中,所述红外画面和可见光画面还可以进行分屏显示,在显示界面的一部分区域中显示可见光画面,在另一部分中显示红外画面。In the embodiment of the present invention, the infrared picture and the visible light picture can also be displayed on a split screen, and the visible light picture is displayed in a part of the display interface, and the infrared picture is displayed in another part.
可选的,所述可见光画面上的预定位置为所述可见光画面的右下角。Optionally, the predetermined position on the visible light picture is the lower right corner of the visible light picture.
本发明实施例中,所述可见光画面上的预定位置还可以为所述可见光画面中的任意其它位置,通过设定的相对位置参数可以对预定位置进行调整。In the embodiment of the present invention, the predetermined position on the visible light screen may also be any other position in the visible light screen, and the predetermined position may be adjusted by setting relative position parameters.
本发明实施例中,若检测到对组合画面中的上层画面的点击或滑动操作,切换所述红外画面和可见光画面的显示方式。本实施例中,可见光画面与红外画面组合显示时,红外画面嵌入在可见光画面的某一区域位置处,当检测到用户对嵌入的红外画面进行点击或滑动操作时,对红外画面与可见光画面的显示区域进行切换。In the embodiment of the present invention, if a clicking or sliding operation on the upper-layer picture in the combined picture is detected, the display modes of the infrared picture and the visible light picture are switched. In this embodiment, when the visible light picture and the infrared picture are displayed in combination, the infrared picture is embedded in a certain area of the visible light picture. When it is detected that the user clicks or slides the embedded infrared picture, the difference between the infrared picture and the visible light picture The display area is switched.
可选地,若所述显示模式为显示可见光画面和红外画面的融合画面,则所述显示码流为可见光画面和红外画面融合后的码流。Optionally, if the display mode is to display a merged image of a visible light image and an infrared image, the display code stream is a code stream of a merged visible light image and an infrared image.
可选地,若所述显示模式为显示可见光画面和红外画面的融合画面,则显示所述可见光画面和红外画面的叠加画面。Optionally, if the display mode is to display a merged picture of a visible light picture and an infrared picture, a superimposed picture of the visible light picture and the infrared picture is displayed.
可选地,若所述显示模式为显示可见光画面和红外画面的融合画面,则所述模式选择指令中包括所述可见光画面和红外画面的融合方式。Optionally, if the display mode is to display a fusion image of a visible light image and an infrared image, the mode selection instruction includes a fusion manner of the visible light image and the infrared image.
可选地,所述融合方式为在所述红外画面的基础上显示所述可见光中物体的轮廓。Optionally, the fusion manner is to display the outline of the object in the visible light on the basis of the infrared image.
可选地,所述模式选择指令中还包括所述可见光画面和所述红外画面的融合强度,所述融合强度越大,则所述红外画面中所述可见光中物体的轮廓越清晰。Optionally, the mode selection instruction further includes a fusion intensity of the visible light picture and the infrared picture, and the greater the fusion intensity, the clearer the outline of the object in the visible light in the infrared picture.
可选地,所述模式选择指令中还包括所述可见光画面与所述红外画面融合的比例。Optionally, the mode selection instruction further includes a fusion ratio of the visible light picture and the infrared picture.
可选地,所述融合方式为在所述显示界面的预设区域融合可见光画面和红外画面。Optionally, the fusion method is to fuse the visible light picture and the infrared picture in a preset area of the display interface.
本发明实施例中,可以仅在画面的局部区域显示融合画面,而在其它区域仍显示纯可见光,由于观测红外画面或融合画面,没有观测可见光画面直观,通过在局部区域显示融合画面的方式,用户可通过观察周围区域清晰明了的了解当前拍摄画面的位置及拍摄物体的轮廓。In the embodiment of the present invention, the fusion picture can be displayed only in a partial area of the picture, while pure visible light is still displayed in other areas. Since the infrared picture or the fusion picture is observed, it is not intuitive to observe the visible light picture. By displaying the fusion picture in the local area, The user can clearly understand the position of the current shot and the outline of the shot object by observing the surrounding area.
可选地,若所述显示模式为显示可见光画面和红外画面的融合画面,则所述模式选择指令中包括所述可见光画面和所述红外画面的偏差补偿参数。Optionally, if the display mode is to display a merged picture of a visible light picture and an infrared picture, the mode selection instruction includes a deviation compensation parameter of the visible light picture and the infrared picture.
可选地,所述偏差补偿参数为根据所述可见光画面相对所述红外画面中物体的偏移量而确定。Optionally, the deviation compensation parameter is determined according to the offset of the visible light picture relative to the object in the infrared picture.
可选地,所述显示装置的显示界面中设置有触发控件,所述触发控件用于触发预设的多个显示模式选项进行显示。Optionally, a trigger control is provided in the display interface of the display device, and the trigger control is used to trigger multiple preset display mode options to be displayed.
可选地,所述多个显示模式选项以弹窗形式显示于所述显示装置的当前显示画面中,包括并排显示的多个预览画面,且当相应预览画面被选中时,显示所述预览画面所对应显示模式的关联操作项。Optionally, the multiple display mode options are displayed in the current display screen of the display device in the form of a pop-up window, including multiple preview screens displayed side by side, and when the corresponding preview screen is selected, the preview screen is displayed. The associated operation item of the corresponding display mode.
可选地,所述多个预览画面包括可见光预览画面、可见光画面和红外画面的组合预览画面以及可见光画面和红外画面的融合预览画面。Optionally, the plurality of preview pictures include visible light preview pictures, combined preview pictures of visible light pictures and infrared pictures, and fusion preview pictures of visible light pictures and infrared pictures.
可选地,当所述可见光画面和红外画面的融合预览画面被选中时,显示所述可见光画面和红外画面的融合强度选项和/或所述可见光画面和所述红外画面的偏差补偿参数设置选项。Optionally, when the fusion preview picture of the visible light picture and the infrared picture is selected, display the fusion intensity option of the visible light picture and the infrared picture and/or the deviation compensation parameter setting option of the visible light picture and the infrared picture .
本发明实施例提供一种图像显示装置。图4为本发明实施例提供的图像显示装置的结构示意图。如图4所示,该图像显示装置200包括:显示界面201、获取单元202、处理器203和显示单元204。Embodiments of the present invention provide an image display device. FIG. 4 is a schematic structural diagram of an image display device according to an embodiment of the present invention. As shown in FIG. 4 , the
所述显示界面201用于显示相机获取的画面,所述相机包括红外镜头和可见光镜头;The
获取单元202,用于获取用户输入的模式选择指令;an obtaining
处理器203,用于确定与所述模式选择指令对应的显示模式,所述显示模式为显示可见光画面及红外画面中的一种或其组合;a
显示单元204,用于根据所述显示模式,获取显示码流,并通过显示界面对所述显示码流对应的画面进行显示。The
可选地,所述显示单元204在根据所述显示模式,获取显示码流时,具体用于:Optionally, when acquiring the display code stream according to the display mode, the
发送与所述显示模式对应的获取指令至所述相机,触发所述相机反馈与所述获取指令对应的显示码流。Send an acquisition instruction corresponding to the display mode to the camera, and trigger the camera to feed back a display code stream corresponding to the acquisition instruction.
可选地,所述装置与控制设备连接,所述显示单元204在发送与所述显示模式对应的获取指令至所述相机时,具体用于:Optionally, the device is connected to a control device, and when the
将所述显示模式发送至所述控制设备,以使所述控制设备根据所述显示模式生成与所述显示模式对应的获取指令,并将所述获取指令发送给所述相机;sending the display mode to the control device, so that the control device generates an acquisition instruction corresponding to the display mode according to the display mode, and sends the acquisition instruction to the camera;
或or
所述显示装置根据所述显示模式生成对应的获取指令,并直接发送给所述相机。The display device generates a corresponding acquisition instruction according to the display mode, and directly sends it to the camera.
可选地,所述显示单元204根据所述显示模式,获取显示码流时,具体用于:Optionally, when the
获取所述相机反馈的包括可见光画面和红外画面的码流,并对所述码流进行处理,得到与所述显示模式对应的显示码流。A code stream including a visible light picture and an infrared picture fed back by the camera is acquired, and the code stream is processed to obtain a display code stream corresponding to the display mode.
可选地,所述装置与控制设备连接,所述显示单元204在获取所述相机反馈的包括可见光画面和红外画面的码流,并对所述码流进行处理,得到与所述显示模式对应的显示码流时,具体用于:Optionally, the device is connected to a control device, and the
将所述显示模式发送至所述控制设备,接收所述控制设备依据所述显示模式对所述相机反馈的码流进行处理后得到的显示码流;sending the display mode to the control device, and receiving a display code stream obtained after the control device processes the code stream fed back by the camera according to the display mode;
或or
获取所述相机反馈的包括可见光画面和红外画面的码流,所述显示装置根据所述显示模式对所述码流进行处理,得到与所述显示模式相对应的显示码流。A code stream including a visible light image and an infrared image fed back by the camera is acquired, and the display device processes the code stream according to the display mode to obtain a display code stream corresponding to the display mode.
可选地,所述显示单元204,在对所述画面进行显示之前,还用于:Optionally, before displaying the picture, the
对所述显示码流进行解码。Decode the display code stream.
可选地,所述显示模式,即显示可见光画面及红外画面中的一种或其组合至少包括:Optionally, the display mode, that is, displaying one of a visible light picture and an infrared picture or a combination thereof at least includes:
显示可见光画面;Display visible light screen;
显示红外画面;Display infrared screen;
显示可见光画面和红外画面的组合画面;Display the combined picture of visible light picture and infrared picture;
显示可见光画面和红外画面的融合画面。Display the fusion picture of visible light picture and infrared picture.
可选地,若所述显示模式为显示可见光画面,则所述显示码流为所述相机的可见光镜头获取的码流。Optionally, if the display mode is to display a visible light picture, the display code stream is a code stream obtained by a visible light lens of the camera.
可选地,若所述显示模式为显示红外画面,则所述显示码流为所述相机的红外镜头获取的码流。Optionally, if the display mode is to display an infrared image, the display code stream is a code stream obtained by an infrared lens of the camera.
可选地,若所述显示模式为显示可见光画面和红外画面的组合画面,则所述显示码流为包括可见光画面和红外画面的码流。Optionally, if the display mode is to display a combined picture of a visible light picture and an infrared picture, the display code stream is a code stream including a visible light picture and an infrared picture.
可选地,若所述显示模式为显示可见光画面和红外画面的组合画面,则同时显示所述可见光画面和所述红外画面。Optionally, if the display mode is to display a combined picture of a visible light picture and an infrared picture, the visible light picture and the infrared picture are displayed simultaneously.
可选地,若所述显示模式为显示可见光画面和红外画面的组合画面,则所述模式选择指令中包括所述可见光画面与所述红外画面的相对位置参数。Optionally, if the display mode is to display a combined picture of a visible light picture and an infrared picture, the mode selection instruction includes a relative position parameter of the visible light picture and the infrared picture.
可选地,所述相对位置参数为:所述可见光画面作为背景显示,所述红外画面覆盖于所述可见光画面上的预定位置;Optionally, the relative position parameter is: the visible light picture is displayed as a background, and the infrared picture covers a predetermined position on the visible light picture;
或or
所述红外画面作为背景显示,所述可见光画面覆盖于所述红外画面的预定位置。The infrared picture is displayed as a background, and the visible light picture covers a predetermined position of the infrared picture.
本实施例中,可以在可见光画面上,在某个特定区域部分显示可见光画面和红外画面的叠加。In this embodiment, the visible light picture and the infrared picture may be displayed in a certain specific area on the visible light picture.
也可以在在红外画面上,在某特定区域部分显示可见光画面和红外画面的叠加。It is also possible to display the superposition of the visible light picture and the infrared picture in a certain area on the infrared picture.
可选地,所述可见光画面上的预定位置为所述可见光画面的右下角。Optionally, the predetermined position on the visible light picture is the lower right corner of the visible light picture.
可选地,所述显示单元204还用于:若检测到对组合画面中的上层画面的点击或滑动操作,切换所述红外画面和可见光画面的显示方式。Optionally, the
可选地,若所述显示模式为显示可见光画面和红外画面的融合画面,则所述显示码流为可见光画面和红外画面融合后的码流。Optionally, if the display mode is to display a merged image of a visible light image and an infrared image, the display code stream is a code stream of a merged visible light image and an infrared image.
可选地,若所述显示模式为显示可见光画面和红外画面的融合画面,则显示所述可见光画面和红外画面的叠加画面。Optionally, if the display mode is to display a merged picture of a visible light picture and an infrared picture, a superimposed picture of the visible light picture and the infrared picture is displayed.
可选地,若所述显示模式为显示可见光画面和红外画面的融合画面,则所述模式选择指令中包括所述可见光画面和红外画面的融合方式。Optionally, if the display mode is to display a fusion image of a visible light image and an infrared image, the mode selection instruction includes a fusion manner of the visible light image and the infrared image.
可选地,所述融合方式为在所述红外画面的基础上显示所述可见光中物体的轮廓。Optionally, the fusion manner is to display the outline of the object in the visible light on the basis of the infrared image.
可选地,所述模式选择指令中还包括所述可见光画面和所述红外画面的融合强度,所述融合强度越大,则所述红外画面中所述可见光中物体的轮廓越清晰。Optionally, the mode selection instruction further includes a fusion intensity of the visible light picture and the infrared picture, and the greater the fusion intensity, the clearer the outline of the object in the visible light in the infrared picture.
可选地,所述模式选择指令中还包括所述可见光画面与所述红外画面融合的比例。Optionally, the mode selection instruction further includes a fusion ratio of the visible light picture and the infrared picture.
可选地,所述融合方式为在所述显示界面的预设区域融合可见光画面和红外画面。Optionally, the fusion method is to fuse the visible light picture and the infrared picture in a preset area of the display interface.
可选地,若所述显示模式为显示可见光画面和红外画面的融合画面,则所述模式选择指令中包括所述可见光画面和所述红外画面的偏差补偿参数。Optionally, if the display mode is to display a merged picture of a visible light picture and an infrared picture, the mode selection instruction includes a deviation compensation parameter of the visible light picture and the infrared picture.
可选地,所述偏差补偿参数为根据所述可见光画面相对所述红外画面中物体的偏移量而确定。Optionally, the deviation compensation parameter is determined according to the offset of the visible light picture relative to the object in the infrared picture.
可选地,所述装置的显示界面上设置有触发控件,所述触发控件用于触发预设的多个显示模式选项进行显示。Optionally, a trigger control is provided on the display interface of the device, and the trigger control is used to trigger multiple preset display mode options to be displayed.
可选地,所述多个显示模式选项以弹窗形式显示于所述显示装置的当前显示画面中,包括并排显示的多个预览画面,且当相应预览画面被选中时,显示所述预览画面所对应显示模式的关联操作项。Optionally, the multiple display mode options are displayed in the current display screen of the display device in the form of a pop-up window, including multiple preview screens displayed side by side, and when the corresponding preview screen is selected, the preview screen is displayed. The associated operation item of the corresponding display mode.
可选地,所述多个预览画面包括可见光预览画面、可见光画面和红外画面的组合预览画面以及可见光画面和红外画面的融合预览画面。Optionally, the plurality of preview pictures include visible light preview pictures, combined preview pictures of visible light pictures and infrared pictures, and fusion preview pictures of visible light pictures and infrared pictures.
可选地,当所述可见光画面和红外画面的融合预览画面被选中时,显示所述可见光画面和红外画面的融合强度选项和/或所述可见光画面和所述红外画面的偏差补偿参数设置选项。Optionally, when the fusion preview picture of the visible light picture and the infrared picture is selected, display the fusion intensity option of the visible light picture and the infrared picture and/or the deviation compensation parameter setting option of the visible light picture and the infrared picture .
本发明实施例提供的图像显示装置的具体原理和实现方式均与上述本发明实施例公开的图像显示方法对应的实施例类似,此处不再赘述。需要说明的是,在本发明实施例中图像显示装置可以为相机、手机、摄像机、无人机等及其组合。图像显示装置中包含于用户交互的人机界面。The specific principles and implementation manners of the image display apparatus provided by the embodiments of the present invention are similar to the embodiments corresponding to the image display methods disclosed in the above embodiments of the present invention, and details are not described herein again. It should be noted that, in the embodiment of the present invention, the image display device may be a camera, a mobile phone, a video camera, an unmanned aerial vehicle, etc., and combinations thereof. The image display device includes a human-machine interface for user interaction.
本发明实施例提供的图像显示装置,在接收到用户输入的模式选择指令时,确定与所述模式选择指令对应的显示模式,根据所述显示模式,获取显示码流,并通过显示界面对所述显示码流对应的画面进行显示。用户只需要输入模式选择指令,即可实现对可见光画面及红外画面的显示,操作更加快捷,也提升了图像的采集效率。The image display device provided by the embodiment of the present invention determines a display mode corresponding to the mode selection instruction when receiving a mode selection instruction input by a user, acquires a display code stream according to the display mode, and performs a display interface to the display mode. The picture corresponding to the above-mentioned display code stream is displayed. The user only needs to input the mode selection command to display the visible light picture and the infrared picture. The operation is faster and the image collection efficiency is improved.
如图5所示,示出了本发明实施例提供的一种控制方法的流程图,所述控制方法用于通过控制设备控制图像显示,所述控制设备与相机和显示装置通信连接,所述相机包括红外镜头和可见光镜头,所述控制方法包括:As shown in FIG. 5 , a flowchart of a control method provided by an embodiment of the present invention is shown. The control method is used to control image display through a control device, and the control device is communicatively connected to a camera and a display device, and the control device is connected to a camera and a display device. The camera includes an infrared lens and a visible light lens, and the control method includes:
S301、获取显示装置的显示模式,所述显示模式为显示可见光画面及红外画面中的一种或其组合;S301. Obtain a display mode of a display device, where the display mode is to display one of a visible light picture and an infrared picture or a combination thereof;
本实施例中,所述控制设备获取用户在显示装置的显示界面中选择的显示模式。In this embodiment, the control device acquires the display mode selected by the user in the display interface of the display device.
S302、依据所述显示模式,从相机获取码流;S302. Acquire a code stream from a camera according to the display mode;
本实施例中,所述控制设备,依据获取的显示模式,相对应的,从相机中获取与所述显示模式对应的码流。In this embodiment, the control device, according to the acquired display mode, correspondingly acquires a code stream corresponding to the display mode from the camera.
S303、将所述码流传送给所述显示装置进行显示。S303. Send the code stream to the display device for display.
本实施例中,所述控制设备,将从相机中获取的码流传送给显示装置进行显示。In this embodiment, the control device sends the code stream obtained from the camera to the display device for display.
本发明实施例提供的控制方法,用户在显示装置的显示界面中选择需要显示的显示模式后,显示装置将所述显示模式发送给控制设备,触发控制设备依据所述显示模式,从相机中获取对应的码流,并将获取的码流反馈至显示装置进行显示。In the control method provided by the embodiment of the present invention, after the user selects the display mode to be displayed on the display interface of the display device, the display device sends the display mode to the control device, and triggers the control device to obtain the display mode from the camera according to the display mode The corresponding code stream is fed back to the display device for display.
本发明实施例提供的控制方法,所述依据所述显示模式,从相机获取码流的过程,具体包括:In the control method provided by the embodiment of the present invention, the process of acquiring a code stream from a camera according to the display mode specifically includes:
根据所述显示模式生成与所述显示模式对应的获取指令,并发送所述获取指令至相机,触发所述相机反馈与所述获取指令对应的码流。An acquisition instruction corresponding to the display mode is generated according to the display mode, and the acquisition instruction is sent to the camera to trigger the camera to feed back a code stream corresponding to the acquisition instruction.
本实施例中,控制设备根据获取的显示模式,生成与所述显示模式对应的获取指令,并将所述获取指令发送至相机,触发相机反馈与所述获取指令对应的码流。In this embodiment, the control device generates an acquisition instruction corresponding to the display mode according to the acquired display mode, sends the acquisition instruction to the camera, and triggers the camera to feed back a code stream corresponding to the acquisition instruction.
本发明实施例提供的控制方法中,还包括:In the control method provided by the embodiment of the present invention, it also includes:
获取所述相机包括红外画面和可见光画面的码流,并根据所述显示模式对所述码流进行处理,得到与所述显示模式对应的码流,并将与所述显示模式对应的码流传送给所述显示装置进行显示。Acquire a code stream of the camera including an infrared image and a visible light image, and process the code stream according to the display mode to obtain a code stream corresponding to the display mode, and stream the code stream corresponding to the display mode sent to the display device for display.
本实施例中,控制设备获取相机采集的包括红外画面和可见光画面的码流,并根据所述显示模式对获取的红外画面和可见光画面的码流进行处理,得到与所述显示模式对应的码流,所述控制设备将经过处理获得的码流传送给显示装置进行显示。In this embodiment, the control device acquires the code stream including the infrared image and the visible light image collected by the camera, and processes the acquired code stream of the infrared image and the visible light image according to the display mode to obtain the code stream corresponding to the display mode. The control device sends the code stream obtained through processing to the display device for display.
本发明实施例提供的控制方法中,在将码流传送给所述显示装置之前,还包括:In the control method provided by the embodiment of the present invention, before sending the code stream to the display device, the method further includes:
对将要发送的码流进行解码。Decode the stream to be sent.
本实施例中,控制设备在将与显示模式对应的码流发送至显示装置之前,对所述码流进行解码,将所述码流解码成所述显示装置可以显示的格式,以使显示装置可以对码流进行直接显示。In this embodiment, before sending the code stream corresponding to the display mode to the display device, the control device decodes the code stream, and decodes the code stream into a format that can be displayed by the display device, so that the display device can display the code stream. The code stream can be displayed directly.
本发明实施例提供的控制方法中,所述显示模式,即显示可见光画面及红外画面中的一种或其组合至少包括:In the control method provided by the embodiment of the present invention, the display mode, that is, displaying one of a visible light picture and an infrared picture or a combination thereof at least includes:
显示可见光画面;Display visible light screen;
显示红外画面;Display infrared screen;
显示可见光画面和红外画面的组合画面;Display the combined picture of visible light picture and infrared picture;
显示可见光画面和红外画面的融合画面。Display the fusion picture of visible light picture and infrared picture.
可选地,若所述显示模式为显示可见光画面,则指示相机仅传回可见光码流;或通过控制设备从所述相机传回的码流中选取可见光画面的码流传送给显示装置。Optionally, if the display mode is to display visible light images, the camera is instructed to return only the visible light code stream; or the control device selects the code stream of the visible light image from the code streams returned by the camera and sends it to the display device.
本实施例中,在具体的实现过程中,相机可以根据显示模式对回传的可见光码流进行处理,也可以是控制设备根据显示模式对相机回传的码流进行处理。In this embodiment, in the specific implementation process, the camera may process the returned visible light code stream according to the display mode, or the control device may process the code stream returned by the camera according to the display mode.
可选地,若所述显示模式为显示红外画面,则指示相机仅传回红外码流;或通过控制设备从所述相机传回的码流中选取红外画面的码流传送给显示装置。Optionally, if the display mode is to display an infrared image, the camera is instructed to return only an infrared code stream; or a code stream of an infrared image is selected from the code stream returned by the camera through the control device and sent to the display device.
本实施例中,在具体的实现过程中,相机可以根据显示模式对回传的可见光码流进行处理,也可以是控制设备根据显示模式对相机回传的码流进行处理。In this embodiment, in the specific implementation process, the camera may process the returned visible light code stream according to the display mode, or the control device may process the code stream returned by the camera according to the display mode.
可选地,若所述显示模式为显示可见光画面和红外画面的组合画面,则指示所述相机将可见光画面和红外画面按照显示模式进行组合,并回传给控制设备;Optionally, if the display mode is to display a combined picture of a visible light picture and an infrared picture, instruct the camera to combine the visible light picture and the infrared picture according to the display mode, and send it back to the control device;
或or
根据所述显示模式将相机回传的红外画面和可见光画面进行组合。The infrared picture and the visible light picture returned by the camera are combined according to the display mode.
可选地,若所述显示模式为显示红外画面和可见光画面的组合画面,则将所述可见光画面作为背景显示,所述红外画面覆盖于所述可见光画面上的预定位置;或将所述红外画面作为背景显示,所述可见光画面覆盖于所述红外画面的预定位置。Optionally, if the display mode is to display a combined picture of an infrared picture and a visible light picture, the visible light picture is displayed as a background, and the infrared picture is covered at a predetermined position on the visible light picture; or the infrared picture is displayed as a background. The picture is displayed as a background, and the visible light picture covers a predetermined position of the infrared picture.
本实施例中,所述预定位置可以为一个默认的固定位置,也可以根据不同的需要进行设置。In this embodiment, the predetermined position may be a default fixed position, or may be set according to different needs.
可选地,若所述显示模式为显示红外画面和可见光画面的融合画面,则指示所述相机将所述红外画面和可见光画面按照显示模式进行融合,并回传给控制设备;或者Optionally, if the display mode is to display a fusion image of an infrared image and a visible light image, instruct the camera to fuse the infrared image and the visible light image according to the display mode, and transmit it back to the control device; or
根据所述显示模式将相机回传的红外画面和可见光画面进行融合。The infrared picture and the visible light picture returned by the camera are fused according to the display mode.
可选地,所述红外画面和可见光画面的融合为红外画面和可见光画面的叠加,即在所述红外画面的基础上显示所述可见光中物体的轮廓。Optionally, the fusion of the infrared picture and the visible light picture is a superposition of the infrared picture and the visible light picture, that is, the outline of the object in the visible light is displayed on the basis of the infrared picture.
本发明实施例提供的控制方法中,还包括:从显示装置获取融合强度参数,根据所述融合强度,调整所述红外画面和可见光画面的融合效果,所述融合强度越大,则所述红外画面中所述可将光中物体的轮廓则越清晰。The control method provided by the embodiment of the present invention further includes: acquiring a fusion intensity parameter from a display device, and adjusting the fusion effect of the infrared picture and the visible light picture according to the fusion intensity. The outlines of objects in the light can be more clearly described in the picture.
本发明实施例提供的控制方法中,还包括:从显示装置获取融合比例参数,根据所述融合比例参数,调整所述可见光画面和所述红外画面融合的比例。The control method provided by the embodiment of the present invention further includes: acquiring a fusion ratio parameter from a display device, and adjusting the fusion ratio of the visible light picture and the infrared picture according to the fusion ratio parameter.
可选地,所述将相机回传的红外画面和可见光画面进行融合具体包括:Optionally, the fusion of the infrared picture and the visible light picture returned by the camera specifically includes:
在预设区域对所述红外画面和可见光画面进行融合。The infrared picture and the visible light picture are fused in a preset area.
本实施例中,所述预设区域可以对应显示界面中的任何区域。In this embodiment, the preset area may correspond to any area in the display interface.
可选地,若所述显示模式为显示红外画面和可见光画面的融合画面,则获取所述可见光画面和所述红外画面的偏差补偿参数,Optionally, if the display mode is to display a fusion picture of an infrared picture and a visible light picture, then obtain the deviation compensation parameters of the visible light picture and the infrared picture,
指示所述相机将所述红外画面和可见光画面按照偏差补偿参数进行调整,并回传给控制设备;或者Instruct the camera to adjust the infrared picture and the visible light picture according to the deviation compensation parameters, and send it back to the control device; or
根据所述偏差补偿参数将相机回传的红外画面和可见光画面进行调整。The infrared picture and the visible light picture returned by the camera are adjusted according to the deviation compensation parameter.
本实施例中,相机在实际应用过程中,在一段时间之后,红外镜头和可见光镜头之间的位置等参数可能会偏离原设定值,此时需要对红外镜头和可见光镜头进行校准,以消除偏差。本实施例中,可以通过软件在一定程度上进行调整以消除偏差,即保持红外画面不动,检测可见光画面和红外画面是否有偏差,如果有,则进行调整,使二者重合。具体检测是否有偏差可以通过画面中的一些特征图形、特征点等进行识别。当然,通过软件调节的幅度有限。实施过程中,当然也可以保持可将光画面不动,而调整红外画面。In this embodiment, during the actual application of the camera, after a period of time, parameters such as the position between the infrared lens and the visible light lens may deviate from the original set values. At this time, the infrared lens and the visible light lens need to be calibrated to eliminate the deviation. In this embodiment, the software can be adjusted to a certain extent to eliminate the deviation, that is, keep the infrared image still, detect whether there is a deviation between the visible light image and the infrared image, and if so, adjust to make the two overlap. Whether there is a deviation in the specific detection can be identified by some feature graphics, feature points, etc. in the picture. Of course, the range of adjustment through software is limited. During the implementation, of course, it is also possible to keep the light picture still and adjust the infrared picture.
本实施例中,对红外画面和可见光画面进行调整的过程,可以由相机调整,也可以有控制设备进行调整。In this embodiment, the process of adjusting the infrared picture and the visible light picture may be adjusted by a camera or a control device.
本发明实施例提供一种控制设备。图6为本发明实施例提供的控制设备的结构图。该控制设备与相机和显示装置通信连接,所述相机包括红外镜头和可见光镜头,如图6所示,该控制设备包括:通信元件401和处理器402。Embodiments of the present invention provide a control device. FIG. 6 is a structural diagram of a control device provided by an embodiment of the present invention. The control device is connected in communication with the camera and the display device, and the camera includes an infrared lens and a visible light lens. As shown in FIG. 6 , the control device includes: a
通信元件401,用于获取显示装置的显示模式,所述显示模式为可见光画面及红外画面中的一种或其组合;The
处理器402,用于控制所述通信元件从所述相机获取码流;a
所述通信元件401还用于将所述码流传送给所述显示装置进行显示。The
可选地,所述处理器402在控制所述通信元件从所述相机获取码流时,还用于:Optionally, when controlling the communication element to acquire the code stream from the camera, the
根据所述显示模式生成与所述显示模式对应的获取指令,并发送所述获取指令至相机,触发所述相机反馈与所述获取指令对应的码流。An acquisition instruction corresponding to the display mode is generated according to the display mode, and the acquisition instruction is sent to the camera to trigger the camera to feed back a code stream corresponding to the acquisition instruction.
可选地,所述处理器402还用于:Optionally, the
获取所述相机包括红外画面和可见光画面的码流,并根据所述显示模式对所述码流进行处理,得到与所述显示模式对应的码流,并将与所述显示模式对应的码流传送给所述显示装置进行显示。Acquire a code stream of the camera including an infrared image and a visible light image, and process the code stream according to the display mode to obtain a code stream corresponding to the display mode, and stream the code stream corresponding to the display mode sent to the display device for display.
可选地,所述处理器402还用于:Optionally, the
在将码流传送给所述显示装置之前,对将要发送的码流进行解码。Before sending the code stream to the display device, the code stream to be sent is decoded.
可选地,所述显示模式,即显示可见光画面及红外画面中的一种或其组合至少包括:Optionally, the display mode, that is, displaying one of a visible light picture and an infrared picture or a combination thereof at least includes:
显示可见光画面;Display visible light screen;
显示红外画面;Display infrared image;
显示可见光画面和红外画面的组合画面;Display the combined picture of visible light picture and infrared picture;
显示可见光画面和红外画面的融合画面。Display the fusion picture of visible light picture and infrared picture.
可选地,若所述显示模式为显示可见光画面,则所述处理器402指示相机仅传回可见光码流;或通过控制设备从所述相机传回的码流中选取可见光画面的码流传送给显示装置。Optionally, if the display mode is to display a visible light picture, the
可选地,若所述显示模式为显示红外画面,则所述处理器指示相机仅传回红外码流;或通过控制设备从所述相机传回的码流中选取红外画面的码流传送给显示装置。Optionally, if the display mode is to display an infrared image, the processor instructs the camera to return only the infrared code stream; or selects the code stream of the infrared image from the code stream returned by the camera through the control device and sends it to the camera. display device.
可选地,若所述显示模式为显示可见光画面和红外画面的组合画面,则所述处理器指示所述相机将可见光画面和红外画面按照显示模式进行组合,并回传给控制设备;Optionally, if the display mode is to display a combined picture of a visible light picture and an infrared picture, the processor instructs the camera to combine the visible light picture and the infrared picture according to the display mode, and send it back to the control device;
或or
根据所述显示模式将相机回传的红外画面和可见光画面进行组合。The infrared picture and the visible light picture returned by the camera are combined according to the display mode.
可选地,若所述显示模式为显示红外画面和可见光画面的组合画面,则将所述可见光画面作为背景显示,所述红外画面覆盖于所述可见光画面上的预定位置;或将所述红外画面作为背景显示,所述可见光画面覆盖于所述红外画面的预定位置。Optionally, if the display mode is to display a combined picture of an infrared picture and a visible light picture, the visible light picture is displayed as a background, and the infrared picture is covered at a predetermined position on the visible light picture; or the infrared picture is displayed as a background. The picture is displayed as a background, and the visible light picture covers a predetermined position of the infrared picture.
可选地,若所述显示模式为显示红外画面和可见光画面的融合画面,则所述处理器指示所述相机将所述红外画面和可见光画面按照显示模式进行融合,并回传给控制设备;或者Optionally, if the display mode is to display a fusion image of an infrared image and a visible light image, the processor instructs the camera to fuse the infrared image and the visible light image according to the display mode, and transmit it back to the control device; or
根据所述显示模式将相机回传的红外画面和可见光画面进行融合Fusion of the infrared image and visible light image returned by the camera according to the display mode
可选地,所述红外画面和可见光画面的融合为红外画面和可见光画面的叠加,即在所述红外画面的基础上显示所述可见光中物体的轮廓。Optionally, the fusion of the infrared picture and the visible light picture is a superposition of the infrared picture and the visible light picture, that is, the outline of the object in the visible light is displayed on the basis of the infrared picture.
可选地,所述处理器402还用于:Optionally, the
从显示装置获取融合强度参数,根据所述融合强度,调整所述红外画面和可见光画面的融合效果,所述融合强度越大,则所述红外画面中所述可将光中物体的轮廓则越清晰。Obtain the fusion intensity parameter from the display device, and adjust the fusion effect of the infrared image and the visible light image according to the fusion intensity. clear.
可选地,所述处理器402还用于:Optionally, the
从显示装置获取融合比例参数,根据所述融合比例参数,调整所述可见光画面和所述红外画面融合的比例。A fusion ratio parameter is obtained from the display device, and the fusion ratio of the visible light picture and the infrared picture is adjusted according to the fusion ratio parameter.
可选地,所述处理器402在将相机回传的红外画面和可见光画面进行融合时,具体用于:Optionally, when the
在预设区域对所述红外画面和可见光画面进行融合。The infrared picture and the visible light picture are fused in a preset area.
可选地,若所述显示模式为显示红外画面和可见光画面的融合画面,则所述处理器获取所述可见光画面和所述红外画面的偏差补偿参数,Optionally, if the display mode is to display a fusion picture of an infrared picture and a visible light picture, the processor obtains the deviation compensation parameters of the visible light picture and the infrared picture,
指示所述相机将所述红外画面和可见光画面按照偏差补偿参数进行调整,并回传给控制设备;或者Instruct the camera to adjust the infrared picture and the visible light picture according to the deviation compensation parameters, and send it back to the control device; or
根据所述偏差补偿参数将相机回传的红外画面和可见光画面进行调整。The infrared picture and the visible light picture returned by the camera are adjusted according to the deviation compensation parameter.
本发明实施例提供的控制设备,用户在显示装置的显示界面中选择需要显示的显示模式后,显示装置将所述显示模式发送给控制设备,触发控制设备依据所述显示模式,从相机中获取对应的码流,并将获取的码流反馈至显示装置进行显示。In the control device provided by the embodiment of the present invention, after the user selects the display mode to be displayed on the display interface of the display device, the display device sends the display mode to the control device, and triggers the control device to obtain the display mode from the camera according to the display mode The corresponding code stream is fed back to the display device for display.
如图7所示,示出了本发明实施例提供的一种相机控制方法的流程图。所述相机包括红外镜头和可见光镜头,所述相机与控制设备通信连接,在该方法中,相机接收控制设备发送的指令,并依据所述指令对采集的码流进行处理,其具体过程包括:As shown in FIG. 7 , a flowchart of a camera control method provided by an embodiment of the present invention is shown. The camera includes an infrared lens and a visible light lens, and the camera is connected in communication with the control device. In this method, the camera receives an instruction sent by the control device, and processes the collected code stream according to the instruction. The specific process includes:
S501、获取所述控制设备发送的获取指令,所述获取指令与显示模式对应,所述显示模式为可见光画面及红外画面中的一种或其组合;S501. Acquire an acquisition instruction sent by the control device, where the acquisition instruction corresponds to a display mode, and the display mode is one of a visible light picture and an infrared picture or a combination thereof;
本实施例中,相机获取控制设备发送的获取指令,依据所述获取指令,确定获取指令对应的显示模式;In this embodiment, the camera acquires the acquisition instruction sent by the control device, and determines the display mode corresponding to the acquisition instruction according to the acquisition instruction;
S502、根据所述获取指令,对可见光画面和红外画面进行处理;S502, processing the visible light picture and the infrared picture according to the obtaining instruction;
本实施例中,相机对所述获取指令对应的显示模式,需要显示的可见光画面和红外画面进行处理。In this embodiment, the camera processes the visible light picture and the infrared picture that need to be displayed in the display mode corresponding to the acquisition instruction.
S503、将处理后的可见光画面和红外画面发送给所述控制设备。S503. Send the processed visible light picture and infrared picture to the control device.
本实施例中,相机将处理后的可见光画面和红外画面发送给所述控制设备。In this embodiment, the camera sends the processed visible light picture and the infrared picture to the control device.
本实施例中,用户在显示装置的显示界面中,选择需要显示的显示模式,显示装置将所述显示模式发送给控制设备,所述控制设备依据所述显示模式产生获取指令,并将所述获取指令发送给相机,触发相机依据所述获取指令,对采集的可见光画面和红外画面进行处理,并经处理后的可见光画面和红外画面发送给所述控制设备。In this embodiment, the user selects the display mode to be displayed on the display interface of the display device, the display device sends the display mode to the control device, the control device generates an acquisition instruction according to the display mode, and sends the display mode to the control device. The acquisition instruction is sent to the camera, which triggers the camera to process the collected visible light picture and infrared picture according to the acquisition instruction, and send the processed visible light picture and infrared picture to the control device.
本发明实施例提供的相机控制方法,所述显示模式,即显示可见光画面及红外画面中的一种或其组合至少包括:In the camera control method provided by the embodiment of the present invention, the display mode, that is, displaying one of a visible light picture and an infrared picture or a combination thereof at least includes:
显示可见光画面;Display visible light screen;
显示红外画面;Display infrared image;
显示可见光画面和红外画面的组合画面;Display the combined picture of visible light picture and infrared picture;
显示可见光画面和红外画面的融合画面。Display the fusion picture of visible light picture and infrared picture.
可选地,若所述显示模式为显示可见光画面,则将所述可见光镜头获取的画面发送给控制设备。Optionally, if the display mode is to display a visible light picture, the picture acquired by the visible light lens is sent to the control device.
可选地,若所述显示模式为Optionally, if the display mode is
显示红外画面,则将所述红外镜头获取的画面发送给控制设备。When the infrared image is displayed, the image obtained by the infrared lens is sent to the control device.
可选地,若所述显示模式为显示红外画面和可见光画面的组合画面,则将红外画面和可见光画面按照显示模式进行组合,并发送给控制设备。Optionally, if the display mode is to display a combined image of an infrared image and a visible light image, the infrared image and the visible light image are combined according to the display mode and sent to the control device.
可选地,若所述显示模式为显示红外画面和可见光画面的组合画面,则将所述可见光画面作为背景显示,所述红外画面覆盖于所述可见光画面上的预定位置;或所述红外画面作为背景显示,所述可见光画面覆盖于所述红外画面的预定位置。Optionally, if the display mode is to display a combined picture of an infrared picture and a visible light picture, the visible light picture is displayed as a background, and the infrared picture is covered at a predetermined position on the visible light picture; or the infrared picture is displayed. As a background display, the visible light picture covers a predetermined position of the infrared picture.
可选地,若所述显示模式为显示红外画面和可见光画面的融合画面,则将所述红外画面和可见光画面按照显示模式进行融合,并发送给控制设备。Optionally, if the display mode is to display a fusion image of an infrared image and a visible light image, the infrared image and the visible light image are merged according to the display mode, and sent to the control device.
可选地,所述红外画面和可见光画面的融合为红外画面和可见光画面的叠加,即在所述红外画面的基础上显示所述可见光中物体的轮廓。Optionally, the fusion of the infrared picture and the visible light picture is a superposition of the infrared picture and the visible light picture, that is, the outline of the object in the visible light is displayed on the basis of the infrared picture.
本发明实施例提供的相机控制方法,还包括:The camera control method provided by the embodiment of the present invention further includes:
从控制设备获取融合强度参数,根据所述融合强度,调整所述红外画面和可见光画面的融合效果,所述融合强度越大,则所述红外画面中所述可将光中物体的轮廓则越清晰。Obtain the fusion intensity parameter from the control device, and adjust the fusion effect of the infrared image and the visible light image according to the fusion intensity. clear.
本发明实施例提供的相机控制犯法,还包括:The camera control crime provided by the embodiment of the present invention further includes:
从控制设备获取融合比例参数,根据所述融合比例参数,调整所述可见光画面和所述红外画面融合的比例。The fusion ratio parameter is obtained from the control device, and the fusion ratio of the visible light picture and the infrared picture is adjusted according to the fusion ratio parameter.
可选地,所述将红外画面和可见光画面进行融合具体包括:Optionally, the fusion of the infrared picture and the visible light picture specifically includes:
在预设区域对所述红外画面和可见光画面进行融合。The infrared picture and the visible light picture are fused in a preset area.
可选地,若所述显示模式为显示红外画面和可见光画面的融合画面,从所述控制设备获取所述可见光画面和所述红外画面的偏差补偿参数,将所述红外画面和可见光画面按照偏差补偿参数进行调整,并发送给控制设备。Optionally, if the display mode is to display the fusion picture of the infrared picture and the visible light picture, the deviation compensation parameter of the visible light picture and the infrared picture is obtained from the control device, and the infrared picture and the visible light picture are calculated according to the deviation. The compensation parameters are adjusted and sent to the control device.
本发明实施例提供一种相机。图8为本发明实施例提供的相机的结构图。如图8所示,该相机包括:红外镜头601、可见光镜头602、通信元件603和处理器604。Embodiments of the present invention provide a camera. FIG. 8 is a structural diagram of a camera provided by an embodiment of the present invention. As shown in FIG. 8 , the camera includes: an
红外镜头601,用于获取红外画面;The
可见光镜头602,用于获取可见光画面;A
通信元件603,与控制设备通信连接,用于获取所述控制设备发送的获取指令,所述获取指令与显示模式对应,所述显示模式为可见光画面及红外画面中的一种或其组合;The
处理器604,用于根据所述获取指令,对可见光画面和红外画面进行处理;a
所述通信元件603还用于将处理后的可见光画面和红外画面发送给控制设备。The
可选地,所述显示模式,即显示可见光画面及红外画面中的一种或其组合至少包括:Optionally, the display mode, that is, displaying one of a visible light picture and an infrared picture or a combination thereof at least includes:
显示可见光画面;Display visible light screen;
显示红外画面;Display infrared image;
显示可见光画面和红外画面的组合画面;Display the combined picture of visible light picture and infrared picture;
显示可见光画面和红外画面的融合画面。Display the fusion picture of visible light picture and infrared picture.
可选地,若所述显示模式为显示可见光画面,则将所述可见光镜头获取的画面发送给控制设备。Optionally, if the display mode is to display a visible light picture, the picture acquired by the visible light lens is sent to the control device.
可选地,若所述显示模式为Optionally, if the display mode is
显示红外画面,则将所述红外镜头获取的画面发送给控制设备。When the infrared image is displayed, the image obtained by the infrared lens is sent to the control device.
可选地,若所述显示模式为显示红外画面和可见光画面的组合画面,则将红外画面和可见光画面按照显示模式进行组合,并发送给控制设备。Optionally, if the display mode is to display a combined image of an infrared image and a visible light image, the infrared image and the visible light image are combined according to the display mode and sent to the control device.
可选地,若所述显示模式为显示红外画面和可见光画面的组合画面,则将所述可见光画面作为背景显示,所述红外画面覆盖于所述可见光画面上的预定位置;或所述红外画面作为背景显示,所述可见光画面覆盖于所述红外画面的预定位置。Optionally, if the display mode is to display a combined picture of an infrared picture and a visible light picture, the visible light picture is displayed as a background, and the infrared picture is covered at a predetermined position on the visible light picture; or the infrared picture is displayed. As a background display, the visible light picture covers a predetermined position of the infrared picture.
可选地,若所述显示模式为显示红外画面和可见光画面的融合画面,则将所述红外画面和可见光画面按照显示模式进行融合,并发送给控制设备。Optionally, if the display mode is to display a fusion image of an infrared image and a visible light image, the infrared image and the visible light image are merged according to the display mode, and sent to the control device.
可选地,所述红外画面和可见光画面的融合为红外画面和可见光画面的叠加,即在所述红外画面的基础上显示所述可见光中物体的轮廓。Optionally, the fusion of the infrared picture and the visible light picture is a superposition of the infrared picture and the visible light picture, that is, the outline of the object in the visible light is displayed on the basis of the infrared picture.
可选地,所述处理器604还用于:Optionally, the
从控制设备获取融合强度参数,根据所述融合强度,调整所述红外画面和可见光画面的融合效果,所述融合强度越大,则所述红外画面中所述可将光中物体的轮廓则越清晰。Obtain the fusion intensity parameter from the control device, and adjust the fusion effect of the infrared image and the visible light image according to the fusion intensity. clear.
可选地,所述处理器604还用于:Optionally, the
从控制设备获取融合比例参数,根据所述融合比例参数,调整所述可见光画面和所述红外画面融合的比例。The fusion ratio parameter is obtained from the control device, and the fusion ratio of the visible light picture and the infrared picture is adjusted according to the fusion ratio parameter.
可选地,所述处理器604在所述将红外画面和可见光画面进行融合时,还具体用于:Optionally, when the
在预设区域对所述红外画面和可见光画面进行融合。The infrared picture and the visible light picture are fused in a preset area.
可选地,若所述显示模式为显示红外画面和可见光画面的融合画面,从所述控制设备获取所述可见光画面和所述红外画面的偏差补偿参数,将所述红外画面和可见光画面按照偏差补偿参数进行调整,并发送给控制设备。Optionally, if the display mode is to display the fusion picture of the infrared picture and the visible light picture, the deviation compensation parameter of the visible light picture and the infrared picture is obtained from the control device, and the infrared picture and the visible light picture are calculated according to the deviation. The compensation parameters are adjusted and sent to the control device.
在图8所示的相机的基础上,本发明实施例还提供了一种可移动设备包括设备主体以及装载于所述可移动设备上的相机。On the basis of the camera shown in FIG. 8 , an embodiment of the present invention further provides a movable device including a device body and a camera mounted on the movable device.
该相机包括:红外镜头、可见光镜头、通信元件和处理器。The camera includes: an infrared lens, a visible light lens, a communication element and a processor.
红外镜头,用于获取红外画面;Infrared lens, used to obtain infrared images;
可见光镜头,用于获取可见光画面;Visible light lens, used to obtain visible light images;
通信元件,与控制设备通信连接,用于获取所述控制设备发送的获取指令,所述获取指令与显示模式对应,所述显示模式为可见光画面及红外画面中的一种或其组合;a communication element, connected in communication with the control device, for acquiring an acquisition instruction sent by the control device, where the acquisition instruction corresponds to a display mode, and the display mode is one of a visible light picture and an infrared picture or a combination thereof;
处理器,用于根据所述获取指令,对可见光画面和红外画面进行处理;a processor, configured to process the visible light picture and the infrared picture according to the acquisition instruction;
所述通信元件还用于将处理后的可见光画面和红外画面发送给控制设备。The communication element is also used for sending the processed visible light picture and the infrared picture to the control device.
本发明实施例提供的可移动设备,可以为无人机,所述设备主体为机身,所述相机通过云台装载于所述机身。The movable device provided by the embodiment of the present invention may be an unmanned aerial vehicle, the main body of the device is a fuselage, and the camera is mounted on the fuselage through a pan/tilt.
如图9所示,示出了本发明实施例提供的另外一种相机控制方法,在图9所示的相机中,所述相机包括红外镜头和可见光镜头,分别用于获取红外画面和可见光画面,以及显示相机获取画面的显示界面,所述方法包括:As shown in FIG. 9 , another camera control method provided by an embodiment of the present invention is shown. In the camera shown in FIG. 9 , the camera includes an infrared lens and a visible light lens, which are respectively used to obtain an infrared picture and a visible light picture. , and a display interface for displaying a picture acquired by the camera, the method comprising:
S701、获取用户输入的模式选择指令时,确定所述模式选择指令对应的显示模式,所述显示模式为可见光画面及红外画面中的一种或其组合;S701. When acquiring a mode selection instruction input by a user, determine a display mode corresponding to the mode selection instruction, and the display mode is one of a visible light picture and an infrared picture or a combination thereof;
具体的,本实施例中,所述相机集成设置有显示设备,所述显示设备具有显示屏,用户可以在所述显示屏幕的显示界面中输入模式选择指令,相机在接收到用户输入的模式选择指令后,确定与所述模式选择指令对应的显示模式。Specifically, in this embodiment, the camera is integrally provided with a display device, the display device has a display screen, the user can input a mode selection instruction in the display interface of the display screen, and the camera selects the mode after receiving the user input. After the instruction, the display mode corresponding to the mode selection instruction is determined.
S702、根据所述显示模式生成显示码流并通过所述显示界面进行显示。S702. Generate a display code stream according to the display mode and display it through the display interface.
相机根据确定的显示模式,生成对应的显示码流,并在所述显示设备的显示界面中进行显示。The camera generates a corresponding display code stream according to the determined display mode, and displays it on the display interface of the display device.
本发明实施例提供的相机控制方法,在对所述显示码流进行显示之前,还包括:The camera control method provided by the embodiment of the present invention, before displaying the display code stream, further includes:
对所述显示码流进行解码。Decode the display code stream.
本发明实施例提供的相机控制方法中,所述显示模式,即显示可见光画面及红外画面中的一种或其组合至少包括:In the camera control method provided by the embodiment of the present invention, the display mode, that is, displaying one of a visible light picture and an infrared picture or a combination thereof at least includes:
显示可见光画面;Display visible light screen;
显示红外画面;Display infrared screen;
显示可见光画面和红外画面的组合画面;Display the combined picture of visible light picture and infrared picture;
显示可见光画面和红外画面的融合画面。Display the fusion picture of visible light picture and infrared picture.
可选地,若所述显示模式为显示可见光画面,则关闭所述红外镜头,并将所述可见光镜头获取的可见光画面的码流进行显示;或者Optionally, if the display mode is to display a visible light picture, the infrared lens is turned off, and the code stream of the visible light picture acquired by the visible light lens is displayed; or
从所述可见光镜头获取的可见光画面和所述红外镜头获取的红外画面的码流中选取可见光画面进行显示。The visible light picture is selected and displayed from the code stream of the visible light picture obtained by the visible light lens and the infrared picture obtained by the infrared lens.
可选地,若所述显示模式为显示红外画面,则关闭所述可见光镜头,并将所述红外镜头获取的画面的码流进行显示;或者Optionally, if the display mode is to display an infrared image, the visible light lens is turned off, and the code stream of the image acquired by the infrared lens is displayed; or
从所述可见光镜头获取的可见光画面和所述红外镜头获取的红外画面的码流中选取红外画面进行显示。An infrared image is selected and displayed from the code stream of the visible light image acquired by the visible light lens and the infrared image acquired by the infrared lens.
可选地,若所述显示模式为显示红外画面和可见光画面的组合画面,则所述显示码流为包括红外画面和可见光画面的码流。Optionally, if the display mode is to display a combined picture of an infrared picture and a visible light picture, the display code stream is a code stream including an infrared picture and a visible light picture.
可选地,若所述显示模式为显示红外画面和可见光画面的组合画面,则同时显示可见光画面和红外画面。Optionally, if the display mode is to display a combined picture of an infrared picture and a visible light picture, the visible light picture and the infrared picture are displayed at the same time.
可选地,当所述显示模式为显示红外画面和可见光画面的组合画面,则所述模式选择指令还包括所述红外画面与所述可见光画面的相对位置参数。Optionally, when the display mode is to display a combined picture of an infrared picture and a visible light picture, the mode selection instruction further includes a relative position parameter of the infrared picture and the visible light picture.
可选地,所述相对位置参数为:所述可见光画面作为背景显示,所述红外画面覆盖于所述可见光画面上的预定位置;或所述红外画面作为背景显示,所述可见光画面覆盖于所述红外画面的预定位置。Optionally, the relative position parameter is: the visible light picture is displayed as a background, and the infrared picture is overlaid on a predetermined position on the visible light picture; or the infrared picture is displayed as a background, and the visible light picture is overlaid on all the visible light pictures. The predetermined position of the infrared picture.
可选地,所述预定位置为所述可见光画面的右下角。Optionally, the predetermined position is the lower right corner of the visible light picture.
可选地,若检测到对组合画面中的上层画面的点击或滑动操作,切换所述红外画面和可见光画面的显示方式。Optionally, if a click or slide operation on the upper-layer picture in the combined picture is detected, the display modes of the infrared picture and the visible light picture are switched.
可选地,若所述显示模式为显示红外画面和可见光画面的融合画面,则所述显示码流为红外画面和可见光画面融合后的码流。Optionally, if the display mode is to display a merged image of an infrared image and a visible light image, the display code stream is a code stream after the infrared image and the visible light image are merged.
可选地,若所述显示模式为显示红外画面和可见光画面的融合画面,则显示所述可见光画面和红外画面的叠加。Optionally, if the display mode is to display a merged picture of an infrared picture and a visible light picture, the superposition of the visible light picture and the infrared picture is displayed.
可选地,若所述显示模式为显示红外画面和可见光画面的融合画面,所述模式选择指令包括所述红外画面和所述可见光画面的融合方式。Optionally, if the display mode is to display a fusion image of an infrared image and a visible light image, the mode selection instruction includes a fusion manner of the infrared image and the visible light image.
可选地,所述融合方式为在所述红外画面的基础上显示所述可见光中物体的轮廓。Optionally, the fusion manner is to display the outline of the object in the visible light on the basis of the infrared image.
可选地,所述模式选择指令包括所述红外画面和所述可见光画面的融合强度,所述融合强度越大,则所述红外画面中所述可将光中物体的轮廓则越清晰。Optionally, the mode selection instruction includes a fusion intensity of the infrared picture and the visible light picture, and the greater the fusion intensity, the clearer the outline of the object in the infrared picture.
可选地,所述模式选择指令还包括:所述可见光画面与所述红外画面融合的比例。Optionally, the mode selection instruction further includes: a fusion ratio of the visible light picture and the infrared picture.
可选地,所述融合方式为在预设区域融合可见光画面与红外画面。Optionally, the fusion method is to fuse the visible light picture and the infrared picture in a preset area.
可选地,若所述显示模式为显示红外画面和可见光画面的融合画面,所述模式选择指令还包括所述可见光画面和所述红外画面的偏差补偿参数。Optionally, if the display mode is to display a fusion image of an infrared image and a visible light image, the mode selection instruction further includes a deviation compensation parameter of the visible light image and the infrared image.
可选地,所述偏差补偿参数为根据所述可见光画面相对所述红外画面中物体的偏移量而确定。Optionally, the deviation compensation parameter is determined according to the offset of the visible light picture relative to the object in the infrared picture.
可选地,所述显示界面设置有触发控件,所述触发控件用于触发预设的多个所述显示模式选项进行显示。Optionally, the display interface is provided with a trigger control, and the trigger control is used to trigger a plurality of preset display mode options to be displayed.
可选地,所述多个显示模式选项以弹窗形式显示于所述显示界面的当前显示画面中,包括并排显示的多个预览画面,且当相应预览画面被选中时,显示所述预览画面所对应显示模式的关联操作项。Optionally, the multiple display mode options are displayed in the current display screen of the display interface in the form of a pop-up window, including multiple preview screens displayed side by side, and when the corresponding preview screen is selected, the preview screen is displayed. The associated operation item of the corresponding display mode.
可选地,所述多个预览画面包括纯可见光预览画面、可见光画面和红外画面的组合预览画面、以及可见光画面与红外画面融合的预览画面。Optionally, the plurality of preview pictures include a pure visible light preview picture, a combined preview picture of a visible light picture and an infrared picture, and a preview picture fused with a visible light picture and an infrared picture.
可选地,当所述可见光画面与红外画面融合的预览画面被选中时,显示所述融合强度选项和/或所述可见光画面和所述红外画面的偏差补偿参数设置选项。Optionally, when the preview image of the fusion of the visible light image and the infrared image is selected, the fusion intensity option and/or the deviation compensation parameter setting option of the visible light image and the infrared image is displayed.
本发明实施例提供一种相机。图10为本发明实施例提供的相机的结构图。如图10所示,该相机800包括:红外镜头801、可见光镜头802、显示界面803、获取单元804、处理器805和显示单元806。Embodiments of the present invention provide a camera. FIG. 10 is a structural diagram of a camera provided by an embodiment of the present invention. As shown in FIG. 10 , the
红外镜头801,用于获取红外画面;The
可见光镜头802,用于获取可见光画面;A
显示界面803,用于显示相机获取的画面;A
获取单元804,用于获取用户输入的模式选择指令;an obtaining
处理器805,用于根据所述模式选择指令确定所述模式选择指令对应的显示模式,所述显示模式为可见光画面及红外画面中的一种或其组合,并根据所述显示模式生成显示码流;The
显示单元806,接收显示码流并通过所述显示界面进行显示。The
可选地,所述处理器805还用于:Optionally, the
对所述显示码流进行解码。Decode the display code stream.
可选地,所述显示模式,即显示可见光画面及红外画面中的一种或其组合至少包括:Optionally, the display mode, that is, displaying one of a visible light picture and an infrared picture or a combination thereof at least includes:
显示可见光画面;Display visible light screen;
显示红外画面;Display infrared image;
显示可见光画面和红外画面的组合画面;Display the combined picture of visible light picture and infrared picture;
显示可见光画面和红外画面的融合画面。Display the fusion picture of visible light picture and infrared picture.
可选地,若所述显示模式为显示可见光画面,则关闭所述红外镜头,并将所述可见光镜头获取的可见光画面的码流进行显示;或者Optionally, if the display mode is to display a visible light picture, the infrared lens is turned off, and the code stream of the visible light picture acquired by the visible light lens is displayed; or
从所述可见光镜头获取的可见光画面和所述红外镜头获取的红外画面的码流中选取可见光画面进行显示。The visible light picture is selected and displayed from the code stream of the visible light picture obtained by the visible light lens and the infrared picture obtained by the infrared lens.
可选地,若所述显示模式为显示红外画面,则关闭所述可见光镜头,并将所述红外镜头获取的画面的码流进行显示;或者Optionally, if the display mode is to display an infrared image, the visible light lens is turned off, and the code stream of the image acquired by the infrared lens is displayed; or
从所述可见光镜头获取的可见光画面和所述红外镜头获取的红外画面的码流中选取红外画面进行显示。An infrared image is selected and displayed from the code stream of the visible light image acquired by the visible light lens and the infrared image acquired by the infrared lens.
可选地,若所述显示模式为显示红外画面和可见光画面的组合画面,则所述显示码流为包括红外画面和可见光画面的码流。Optionally, if the display mode is to display a combined picture of an infrared picture and a visible light picture, the display code stream is a code stream including an infrared picture and a visible light picture.
可选地,若所述显示模式为显示红外画面和可见光画面的组合画面,则同时显示可见光画面和红外画面。Optionally, if the display mode is to display a combined picture of an infrared picture and a visible light picture, the visible light picture and the infrared picture are displayed at the same time.
可选地,当所述显示模式为显示红外画面和可见光画面的组合画面,则所述模式选择指令还包括所述红外画面与所述可见光画面的相对位置参数。Optionally, when the display mode is to display a combined picture of an infrared picture and a visible light picture, the mode selection instruction further includes a relative position parameter of the infrared picture and the visible light picture.
可选地,所述相对位置参数为:所述可见光画面作为背景显示,所述红外画面覆盖于所述可见光画面上的预定位置;或所述红外画面作为背景显示,所述可见光画面覆盖于所述红外画面的预定位置。Optionally, the relative position parameter is: the visible light picture is displayed as a background, and the infrared picture is overlaid on a predetermined position on the visible light picture; or the infrared picture is displayed as a background, and the visible light picture is overlaid on all the visible light pictures. The predetermined position of the infrared picture.
可选地,所述预定位置为所述可见光画面的右下角。Optionally, the predetermined position is the lower right corner of the visible light picture.
可选地,所述处理器805还用于:若检测到对组合画面中的上层画面的点击或滑动操作,切换所述红外画面和可见光画面的显示方式。Optionally, the
可选地,所述处理器805还用于:若所述显示模式为显示红外画面和可见光画面的融合画面,则所述显示码流为红外画面和可见光画面融合后的码流。Optionally, the
可选地,若所述显示模式为显示红外画面和可见光画面的融合画面,则显示所述可见光画面和红外画面的叠加。Optionally, if the display mode is to display a merged picture of an infrared picture and a visible light picture, the superposition of the visible light picture and the infrared picture is displayed.
可选地,若所述显示模式为显示红外画面和可见光画面的融合画面,所述模式选择指令包括所述红外画面和所述可见光画面的融合方式。Optionally, if the display mode is to display a fusion image of an infrared image and a visible light image, the mode selection instruction includes a fusion manner of the infrared image and the visible light image.
可选地,所述融合方式为在所述红外画面的基础上显示所述可见光中物体的轮廓。Optionally, the fusion manner is to display the outline of the object in the visible light on the basis of the infrared image.
可选地,所述模式选择指令包括所述红外画面和所述可见光画面的融合强度,所述融合强度越大,则所述红外画面中所述可将光中物体的轮廓则越清晰。Optionally, the mode selection instruction includes a fusion intensity of the infrared picture and the visible light picture, and the greater the fusion intensity, the clearer the outline of the object in the infrared picture.
可选地,所述模式选择指令还包括:所述可见光画面与所述红外画面融合的比例。Optionally, the mode selection instruction further includes: a fusion ratio of the visible light picture and the infrared picture.
可选地,所述融合方式为在预设区域融合可见光画面与红外画面。Optionally, the fusion method is to fuse the visible light picture and the infrared picture in a preset area.
可选地,若所述显示模式为显示红外画面和可见光画面的融合画面,所述模式选择指令还包括所述可见光画面和所述红外画面的偏差补偿参数。Optionally, if the display mode is to display a fusion image of an infrared image and a visible light image, the mode selection instruction further includes a deviation compensation parameter of the visible light image and the infrared image.
可选地,所述偏差补偿参数为根据所述可见光画面相对所述红外画面中物体的偏移量而确定。Optionally, the deviation compensation parameter is determined according to the offset of the visible light picture relative to the object in the infrared picture.
可选地,所述显示界面设置有触发控件,所述触发控件用于触发预设的多个所述显示模式选项进行显示。Optionally, the display interface is provided with a trigger control, and the trigger control is used to trigger a plurality of preset display mode options to be displayed.
可选地,所述多个显示模式选项以弹窗形式显示于所述显示界面的当前显示画面中,包括并排显示的多个预览画面,且当相应预览画面被选中时,显示所述预览画面所对应显示模式的关联操作项。Optionally, the multiple display mode options are displayed in the current display screen of the display interface in the form of a pop-up window, including multiple preview screens displayed side by side, and when the corresponding preview screen is selected, the preview screen is displayed. The associated operation item of the corresponding display mode.
可选地,所述多个预览画面包括纯可见光预览画面、可见光画面和红外画面的组合预览画面、以及可见光画面与红外画面融合的预览画面。Optionally, the plurality of preview pictures include a pure visible light preview picture, a combined preview picture of a visible light picture and an infrared picture, and a preview picture fused with a visible light picture and an infrared picture.
可选地,当所述可见光画面与红外画面融合的预览画面被选中时,显示所述融合强度选项和/或所述可见光画面和所述红外画面的偏差补偿参数设置选项。Optionally, when the preview image of the fusion of the visible light image and the infrared image is selected, the fusion intensity option and/or the deviation compensation parameter setting option of the visible light image and the infrared image is displayed.
在本发明所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or can be implemented in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute the methods described in the various embodiments of the present invention. some steps. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of the description, only the division of the above functional modules is used for illustration. The internal structure is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the apparatus described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention. scope.
Claims (93)
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2017/108650 WO2019084791A1 (en) | 2017-10-31 | 2017-10-31 | Image display method, control method, and related device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109154874A CN109154874A (en) | 2019-01-04 |
| CN109154874B true CN109154874B (en) | 2020-10-09 |
Family
ID=64803791
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201780015213.3A Expired - Fee Related CN109154874B (en) | 2017-10-31 | 2017-10-31 | Image display method, control method and related equipment |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN109154874B (en) |
| WO (1) | WO2019084791A1 (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111373743A (en) * | 2019-01-24 | 2020-07-03 | 深圳市大疆创新科技有限公司 | Image display method, image control method, device and movable platform |
| CN111357274A (en) * | 2019-01-24 | 2020-06-30 | 深圳市大疆创新科技有限公司 | Display method and device of control terminal and storage medium |
| CN111510678B (en) * | 2020-04-21 | 2021-12-24 | 上海歌尔泰克机器人有限公司 | Unmanned aerial vehicle image transmission control method, device and system |
| WO2021212499A1 (en) * | 2020-04-24 | 2021-10-28 | 深圳市大疆创新科技有限公司 | Target calibration method, apparatus, and system, and remote control terminal of movable platform |
| CN117156267B (en) * | 2023-09-07 | 2024-05-14 | 思翼科技(深圳)有限公司 | Cloud deck camera working mode switching method and system based on environment self-adaption |
| CN118264894B (en) * | 2024-05-29 | 2024-11-22 | 南京诺源医疗器械有限公司 | Control system and method for dual-channel camera |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005173879A (en) * | 2003-12-10 | 2005-06-30 | Mitsubishi Electric Corp | Fusion image display device |
| CN101067710A (en) * | 2006-01-20 | 2007-11-07 | 红外线解决方案公司 | Camera with hybrid visible and infrared images |
| CN101111748A (en) * | 2004-12-03 | 2008-01-23 | 红外线解决方案公司 | Visible and IR combined image camera with laser pointer |
| CN104364800A (en) * | 2012-03-30 | 2015-02-18 | 前视红外系统股份公司 | Facilitating analysis and interpretation of associated visible light and infrared (IR) image information |
| CN104859857A (en) * | 2015-06-02 | 2015-08-26 | 宋南 | Single-lens panoramic unmanned aerial vehicle system |
| CN107005644A (en) * | 2016-08-15 | 2017-08-01 | 深圳市大疆创新科技有限公司 | An image processing device and image processing method |
-
2017
- 2017-10-31 CN CN201780015213.3A patent/CN109154874B/en not_active Expired - Fee Related
- 2017-10-31 WO PCT/CN2017/108650 patent/WO2019084791A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005173879A (en) * | 2003-12-10 | 2005-06-30 | Mitsubishi Electric Corp | Fusion image display device |
| CN101111748A (en) * | 2004-12-03 | 2008-01-23 | 红外线解决方案公司 | Visible and IR combined image camera with laser pointer |
| CN101067710A (en) * | 2006-01-20 | 2007-11-07 | 红外线解决方案公司 | Camera with hybrid visible and infrared images |
| CN104364800A (en) * | 2012-03-30 | 2015-02-18 | 前视红外系统股份公司 | Facilitating analysis and interpretation of associated visible light and infrared (IR) image information |
| CN104859857A (en) * | 2015-06-02 | 2015-08-26 | 宋南 | Single-lens panoramic unmanned aerial vehicle system |
| CN107005644A (en) * | 2016-08-15 | 2017-08-01 | 深圳市大疆创新科技有限公司 | An image processing device and image processing method |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2019084791A1 (en) | 2019-05-09 |
| CN109154874A (en) | 2019-01-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109154874B (en) | Image display method, control method and related equipment | |
| JP5365885B2 (en) | Handheld electronic device, double image acquisition method applied thereto, and program loaded thereon | |
| CN107580178B (en) | Image processing method and device | |
| US10298828B2 (en) | Multi-imaging apparatus including internal imaging device and external imaging device, multi-imaging method, program, and recording medium | |
| US9086790B2 (en) | Image displaying method, image displaying program, and display | |
| WO2021175269A1 (en) | Image processing method and mobile terminal | |
| CN109076161B (en) | An image processing method, mobile platform, control device and system | |
| CN107005675B (en) | Dynamic image editing device, dynamic image editing method and storage medium | |
| JP7111288B2 (en) | Video processing method, apparatus and storage medium | |
| CN109981944A (en) | Electronic device and its control method | |
| HK1220058A1 (en) | Wireless video camera | |
| US11823715B2 (en) | Image processing device and image processing method | |
| CN109598689A (en) | Real time image processing and device, electronic equipment, storage medium | |
| US11756302B1 (en) | Managing presentation of subject-based segmented video feed on a receiving device | |
| US11128764B2 (en) | Imaging apparatus, control method, and non-transitory computer readable medium | |
| TW201301131A (en) | Image processing apparatus and method, and program | |
| CN112449097A (en) | Video communication method, terminal and storage medium | |
| JP7386307B2 (en) | Method and system for transmitting video streams | |
| AU2011305074A1 (en) | Method and system for configuring a sequence of positions of a camera | |
| CN105491309A (en) | Image display method and device | |
| JP4314266B2 (en) | Image control apparatus and control method thereof | |
| CN109391769B (en) | Control apparatus, control method, and storage medium | |
| KR102108246B1 (en) | Method and apparatus for providing video in potable device | |
| CN112887603B (en) | Shooting preview method, device and electronic equipment | |
| CN111078085B (en) | Information processing device, control method of information processing device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201009 |