CN115880193A - Image processing method, image processing device, electronic equipment and storage medium - Google Patents
Image processing method, image processing device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115880193A CN115880193A CN202111145746.8A CN202111145746A CN115880193A CN 115880193 A CN115880193 A CN 115880193A CN 202111145746 A CN202111145746 A CN 202111145746A CN 115880193 A CN115880193 A CN 115880193A
- Authority
- CN
- China
- Prior art keywords
- projection
- image
- projected
- brightness
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 15
- 238000012545 processing Methods 0.000 title claims description 27
- 238000000034 method Methods 0.000 claims abstract description 56
- 230000000712 assembly Effects 0.000 claims abstract description 8
- 238000000429 assembly Methods 0.000 claims abstract description 8
- 238000004590 computer program Methods 0.000 claims description 8
- 238000012937 correction Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 11
- 230000000694 effects Effects 0.000 description 10
- 230000006870 function Effects 0.000 description 9
- 238000004364 calculation method Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 235000019557 luminance Nutrition 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000008186 active pharmaceutical agent Substances 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000010297 mechanical methods and process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002688 persistence Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 210000000707 wrist Anatomy 0.000 description 1
Images
Landscapes
- Transforming Electric Information Into Light Information (AREA)
Abstract
Description
技术领域technical field
本申请涉及图像处理领域,更具体地,涉及一种图像处理方法、装置、电子设备及存储介质。The present application relates to the field of image processing, and more specifically, to an image processing method, device, electronic equipment, and storage medium.
背景技术Background technique
高位深图像通常包含非常精细的图像数据,可以向用户展示更加丰富而真实的画面。但是,高位深图像对投影组件的性能要求较高,低位深的投影组件无法精确地投射高位深图像。High-bit-depth images usually contain very fine image data, which can show users a richer and more realistic picture. However, high-bit-depth images have higher requirements on the performance of projection components, and low-bit-depth projection components cannot accurately project high-bit-depth images.
发明内容Contents of the invention
本申请提出了一种图像处理方法、装置、电子设备及存储介质,以改善上述缺陷。The present application proposes an image processing method, device, electronic equipment and storage medium to improve the above defects.
第一方面,本申请实施例提供了一种图像处理方法,应用于投影系统的处理器,所述投影系统包括至少两台投影组件,所述方法包括:获取目标投影图像;若所述目标投影图像的位深高于每台所述投影组件的位深,基于所述目标投影图像确定与所述至少两台投影组件相对应的多个待投影图像,以使每个所述待投影图像的显示亮度之和等于所述目标投影图像的显示亮度;控制每台所述投影组件投射与每台所述投影组件对应的每个所述待投影图像,使所述多个待投影图像重合显示,其中,每个所述待投影图像对应一台所述投影组件。In the first aspect, an embodiment of the present application provides an image processing method, which is applied to a processor of a projection system, the projection system includes at least two projection components, and the method includes: acquiring a target projection image; if the target projection The bit depth of the image is higher than the bit depth of each of the projection components, and a plurality of images to be projected corresponding to the at least two projection components are determined based on the target projection image, so that each of the images to be projected The sum of the display brightness is equal to the display brightness of the target projected image; each of the projection components is controlled to project each of the images to be projected corresponding to each of the projection components, so that the multiple images to be projected are overlapped and displayed, Wherein, each of the images to be projected corresponds to one of the projection components.
第二方面,本申请实施例还提供了一种图像处理装置,应用于投影系统的处理器,所述投影系统包括至少两台投影组件,所述装置包括:获取模块、处理模块和控制模块。获取模块,用于获取目标投影图像;处理模块,用于若所述目标投影图像的位深高于每台所述投影组件的位深,基于所述目标投影图像确定与所述至少两台投影组件相对应的多个待投影图像,以使每个所述待投影图像的显示亮度之和等于所述目标投影图像的显示亮度;控制模块,用于控制每台所述投影组件投射与每台所述投影组件对应的每个所述待投影图像,使所述多个待投影图像重合显示,其中,每个所述待投影图像对应一台所述投影组件。In a second aspect, the embodiment of the present application also provides an image processing device, which is applied to a processor of a projection system, where the projection system includes at least two projection components, and the device includes: an acquisition module, a processing module, and a control module. An acquisition module, configured to acquire a target projection image; a processing module, configured to determine, based on the target projection image, the bit depth of the at least two projection components if the bit depth of the target projection image is higher than the bit depth of each of the projection components A plurality of images to be projected corresponding to the components, so that the sum of the display brightness of each of the images to be projected is equal to the display brightness of the target projected image; the control module is used to control the projection of each of the projection components and each For each of the images to be projected corresponding to the projection assembly, the multiple images to be projected are overlapped and displayed, wherein each image to be projected corresponds to one of the projection assemblies.
第三方面,本申请实施例还提供了一种电子设备,包括处理器、存储器,所述存储器存储有计算机程序,所述处理器通过调用所述计算机程序,所述处理器通过调用所述计算机程序执行以下操作:获取目标投影图像;若所述目标投影图像的位深高于每台所述投影组件的位深,基于所述目标投影图像确定与所述至少两台投影组件相对应的多个待投影图像,以使每个所述待投影图像的显示亮度之和等于所述目标投影图像的显示亮度;控制每台所述投影组件投射与每台所述投影组件对应的每个所述待投影图像,使所述多个待投影图像重合显示,其中,每个所述待投影图像对应一台所述投影组件。In the third aspect, the embodiment of the present application also provides an electronic device, including a processor and a memory, the memory stores a computer program, the processor invokes the computer program, and the processor invokes the computer The program performs the following operations: acquire the target projection image; if the bit depth of the target projection image is higher than the bit depth of each of the projection components, determine the multiple projection components corresponding to the at least two projection components based on the target projection image images to be projected, so that the sum of the display brightness of each of the images to be projected is equal to the display brightness of the target projected image; each of the projection components is controlled to project each of the projection components corresponding to each of the projection components The images to be projected are overlapped and displayed, wherein each image to be projected corresponds to one projection assembly.
第四方面,本申请实施例还提供了一种投影系统,所述投影系统包括处理器以及至少两台投影组件,所述处理器用于执行以上方法。In a fourth aspect, an embodiment of the present application further provides a projection system, the projection system includes a processor and at least two projection components, and the processor is configured to execute the above method.
第五方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现以上方法。In the fifth aspect, the embodiment of the present application also provides a computer-readable storage medium, where at least one instruction, at least one program, code set or instruction set is stored in the computer-readable storage medium, and the at least one instruction, all The at least one program, the code set or the instruction set is loaded and executed by the processor to realize the above method.
本申请实施例提供的图像处理方法、装置、电子设备及存储介质,首先获取目标投影图像,若所述目标投影图像的位深高于每台所述投影组件的位深,将基于所述目标投影图像确定与所述至少两台投影组件相对应的多个待投影图像,以使每个所述待投影图像的显示亮度之和等于所述目标投影图像的显示亮度。然后控制每台所述投影组件投射与每台所述投影组件对应的每个所述待投影图像,使所述多个待投影图像重合显示,其中,每个所述待投影图像对应一台所述投影组件。本申请通过将位深高于投影组件的图像分为多个待投影图像,使用多台投影组件进行投射,可以达到使用较低位深的投影组件投影高位深图像的目的。In the image processing method, device, electronic equipment, and storage medium provided in the embodiments of the present application, the target projection image is first obtained, and if the bit depth of the target projection image is higher than the bit depth of each of the projection components, based on the target The projected image determines a plurality of images to be projected corresponding to the at least two projection components, so that the sum of the display brightness of each of the images to be projected is equal to the display brightness of the target projected image. Then control each of the projection components to project each of the images to be projected corresponding to each of the projection components, so that the multiple images to be projected are overlapped and displayed, wherein each of the images to be projected corresponds to one of the projection components Projection components described above. In the present application, the image with a bit depth higher than that of the projection component is divided into multiple images to be projected, and multiple projection components are used for projection, so that the purpose of using a lower bit depth projection component to project a high bit depth image can be achieved.
本申请实施例的其他特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请实施例而了解。本申请实施例的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Other features and advantages of the embodiments of the present application will be set forth in the following description, and partly become apparent from the description, or can be understood by implementing the embodiments of the present application. The objectives and other advantages of the embodiments of the application will be realized and attained by the structure particularly pointed out in the written description, claims hereof as well as the appended drawings.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1示出了本申请一实施例提供的一种投影系统的示意图;FIG. 1 shows a schematic diagram of a projection system provided by an embodiment of the present application;
图2示出了本申请一实施例提供的图像处理方法的方法流程图;FIG. 2 shows a method flowchart of an image processing method provided by an embodiment of the present application;
图3示出了本申请另一实施例提供一种投影系统的投影流程框图;FIG. 3 shows a block diagram of a projection process of a projection system provided by another embodiment of the present application;
图4示出了本申请又一实施例提供的图像处理方法的方法流程图;FIG. 4 shows a method flowchart of an image processing method provided in another embodiment of the present application;
图5示出了本申请另一实施例提供的图像处理方法的方法流程图;FIG. 5 shows a method flowchart of an image processing method provided by another embodiment of the present application;
图6示出了本申请一实施例提供的待投影图像的亮度关系示意图;Fig. 6 shows a schematic diagram of brightness relationship of an image to be projected provided by an embodiment of the present application;
图7示出了本申请另一实施例提供的待投影图像的像素值的示意图;Fig. 7 shows a schematic diagram of pixel values of an image to be projected provided by another embodiment of the present application;
图8示出了本申请一实施例提供的图像处理装置的模块框图;Fig. 8 shows a module block diagram of an image processing device provided by an embodiment of the present application;
图9示出了本申请一实施例提供的电子设备的结构框图;FIG. 9 shows a structural block diagram of an electronic device provided by an embodiment of the present application;
图10示出了本申请一实施例提供的计算机可读存储介质的结构框图。FIG. 10 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all of them. The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of the present application.
在目前最常见的图像位深通常为8位,但在高位深图像中,位深可高达10位、12位或14位等等,因此高位深图像能够包含非常精细的图像数据,所能显示的色彩层次更加丰富,可以向用户展示更加丰富而真实的画面,高位深图像的应用也越来越广泛。在实际应用中,低位深的投影设备因其硬件条件限制,只能显示一定位深范围的图像,而高位深图像对投影组件的位深要求较高,高位深的投影组件比较缺乏,而低位深的投影组件无法精确地投射高位深图像。At present, the most common image bit depth is usually 8 bits, but in high bit depth images, the bit depth can be as high as 10 bits, 12 bits or 14 bits, etc., so high bit depth images can contain very fine image data and can be displayed The color levels are richer, which can show users a richer and more realistic picture, and the application of high-bit-depth images is becoming more and more extensive. In practical applications, low-bit-depth projection equipment can only display images with a certain bit-depth range due to hardware constraints, while high-bit-depth images have higher requirements for bit-depth projection components, and high-bit-depth projection components are relatively scarce, while low-bit-depth images have relatively high bit-depth requirements for projection components. Deep projection components cannot accurately project high bit depth images.
发明人在研究中发现,可以通过图像重合的方式结合多台较低位深的投影组件的位深范围实现较高范围的位深显示,使人眼看见的重合图像与原始的高位深图像呈现出一致的显示效果,可以达到使用较低位深的投影组件投影高位深图像的目的。The inventor found in the research that it is possible to combine the bit-depth ranges of multiple lower-bit-depth projection components to achieve a higher-range bit-depth display by means of image overlap, so that the overlapped image seen by the human eye is presented with the original high-bit-depth image The same display effect can be achieved, and the purpose of projecting high-bit-depth images by using lower-bit-depth projection components can be achieved.
因此,为了改善上述缺陷,申请实施例提供一种图像处理方法、装置、电子设备及存储介质,该方法的执行主体可以是本申请实施例提供的图像处理装置,或者集成了该图像处理装置的电子设备,以及集成了该图像处理装置的投影设备等,该图像处理装置可以采用硬件或者软件的方式实现。其中,电子设备可以是如平板电脑、游戏主机、电子书阅读器、多媒体播放设备、智能手表、手机、PC(Personal Computer,个人计算机)等设备。电子设备内安装有多个应用程序,用户可以使用多个应用程序实现不同的功能、用途。Therefore, in order to improve the above defects, the embodiment of the application provides an image processing method, device, electronic equipment, and storage medium. The execution subject of the method may be the image processing device provided in the embodiment of the application, or the Electronic equipment, projection equipment integrated with the image processing device, etc., the image processing device may be implemented in hardware or software. Wherein, the electronic device may be a device such as a tablet computer, a game console, an e-book reader, a multimedia playback device, a smart watch, a mobile phone, a PC (Personal Computer, personal computer), and the like. There are multiple application programs installed in the electronic device, and the user can use the multiple application programs to realize different functions and purposes.
请参考图1,其示出了本申请一实施例提供的一种投影系统的示意图,该投影系统100包括本申请实施例所述的处理器110以及至少两台投影组件120。在一些实施例中,所述处理器110将获取到的图像根据每台投影组件120的性能划分成多个待投影图像,然后将待投影图像发送给每台投影组件120并控制每台投影组件120进行投影。其中,为了使人眼看见的多个待投影图像重合,每台投影组件120显示待投影图像的投影区域130也可以重合。可以理解的是,所述投影系统100还可以包括投影幕布,每台投影组件120可以将待投影图像投射到投影幕布上,这样每台投影组件120的投影区域130可以在投影幕布上实现重合。Please refer to FIG. 1 , which shows a schematic diagram of a projection system provided by an embodiment of the present application. The
请参考图2,其示出了本申请一实施例提供的图像处理方法的方法流程图,所述图像处理方法例如可以应用于如图1所示投影系统100的处理器110,所述投影系统100包括至少两台投影组件120。该方法包括:步骤S210至步骤S230。Please refer to FIG. 2 , which shows a method flow chart of an image processing method provided by an embodiment of the present application. The image processing method can be applied to the
步骤S210:获取目标投影图像。Step S210: Obtain a target projection image.
在本申请实施例中,可以根据用户的投影指令,开始对投影指令指示的图像进行投影。其中,首先应当获取用户指定投射的原始图像,可以将所述原始图像作为待处理的目标投影图像。其中,目标投影图像可以是一张张独立的图片,也可以是一段视频流中的视频帧。若目标投影图像是一张张独立的图片,可以根据图片传输到本申实施例中的处理器的顺序,对目标投影图像进行处理;若目标投影图像是一段视频流中的视频帧,可以按照视频流中视频帧播放的顺序,对目标投影图像进行处理,可选地,为保证投影后用户能够看见连续而流畅的视频画面,投影组件也可以按照视频流中视频帧的播放顺序投射对视频帧处理后得到的待投影图像。In the embodiment of the present application, the projection of the image indicated by the projection instruction may be started according to the user's projection instruction. Wherein, firstly, the original image specified by the user for projection should be obtained, and the original image can be used as the target projection image to be processed. Wherein, the target projection images may be individual pictures, or may be video frames in a video stream. If the target projection image is an independent picture, the target projection image can be processed according to the order in which the pictures are transmitted to the processor in the embodiment of the application; if the target projection image is a video frame in a video stream, it can be processed according to The order in which the video frames are played in the video stream is used to process the target projected image. Optionally, in order to ensure that users can see continuous and smooth video images after projection, the projection component can also project the video in the order in which the video frames in the video stream are played. The image to be projected after frame processing.
在一些实施方式中,目标投影图像可以来源于外部设备,也可以存储在投影系统内部的存储器中。其中,外部设备可以为手机、PC(Personal Computer,个人计算机)等电子设备,也可以是相机、录影机等成像设备。处理器可以根据用户的投影指令接收由该外部设备或存储器传输的目标投影图像。In some implementations, the projected image of the target may come from an external device, and may also be stored in a memory inside the projection system. Wherein, the external device may be an electronic device such as a mobile phone or a PC (Personal Computer, personal computer), or may be an imaging device such as a camera or a video recorder. The processor can receive the target projection image transmitted by the external device or memory according to the user's projection instruction.
步骤S220:若所述目标投影图像的位深高于每台所述投影组件的位深,基于所述目标投影图像确定与所述至少两台投影组件相对应的多个待投影图像,以使每个所述待投影图像的显示亮度之和等于所述目标投影图像的显示亮度。Step S220: If the bit depth of the target projection image is higher than the bit depth of each of the projection components, determine a plurality of images to be projected corresponding to the at least two projection components based on the target projection image, so that The sum of the display brightness of each of the images to be projected is equal to the display brightness of the target projected image.
作为一种方式,若目标投影图像的位深低于或等于投影系统中任一投影组件的位深,那么可以直接使用位深高于或等于目标投影图像的投影组件来投射目标投影图像。但在实际使用中,由于高位深图像的位深通常高达10位、12位、14位等等,而投影组件的位深通常为低于10位,例如大部分投影组件为8位位深,很难达到高位深图像对投影组件显示性能的高要求。因此,在本申请的实施例中,若目标投影图像的位深高于投影系统中每台投影组件的位深,可以将目标投影图像划分为多个待投影图像,其中,每个待投影图像对应一台投影组件。示例性地,每个待投影图像都将由投影系统中的一台投影组件来投射,因此,待投影图像可以根据目标投影图像以及投影系统中所有投影组件的数量和性能来确定。As a method, if the bit depth of the target projection image is lower than or equal to that of any projection component in the projection system, then the projection component whose bit depth is higher than or equal to the target projection image can be directly used to project the target projection image. But in actual use, since the bit depth of high bit depth images is usually as high as 10 bits, 12 bits, 14 bits, etc., and the bit depth of projection components is usually lower than 10 bits, for example, most projection components have a bit depth of 8 bits, It is difficult to meet the high requirements of high bit depth images on the display performance of projection components. Therefore, in the embodiment of the present application, if the bit depth of the target projected image is higher than the bit depth of each projection component in the projection system, the target projected image can be divided into multiple images to be projected, wherein each image to be projected Corresponds to a projection component. Exemplarily, each image to be projected will be projected by a projection component in the projection system, therefore, the image to be projected can be determined according to the target projected image and the quantity and performance of all projection components in the projection system.
在一些实施方式中,投影组件与待投影图像可以是一一对应的关系,例如,一台投影组件对应投射一个待投影图像,这样每个待投影图像可以由不同的投影组件投射,每个待投影图像的确定都与目标投影图像以及投射该待投影图像的投影组件的性能有关。例如,若除位深以外的其他性能相同的情况下,若投影组件的位深越高,可以使该投影组件对应投射的待投影图像越接近于目标投影图像。In some implementations, there may be a one-to-one correspondence between the projection components and the images to be projected. The determination of the projected image is related to the target projected image and the performance of the projecting component projecting the image to be projected. For example, if other performances except the bit depth are the same, if the bit depth of the projection component is higher, the corresponding projected image to be projected by the projection component can be closer to the target projected image.
在另一些实施方式中,投影组件与待投影图像可以是一对多的关系。例如,一台投影组件可以对应投射两个待投影图像,其中,可以分别将两个待投影图像作为主备图像,可以根据目标投影图像以及投射这两个待投影图像的投影组件先确定主图像后再确定备图像。In some other implementation manners, there may be a one-to-many relationship between the projection component and the image to be projected. For example, a projection component can project two images to be projected correspondingly, wherein the two images to be projected can be used as the main and backup images respectively, and the main image can be determined first according to the target projected image and the projection component that projects the two images to be projected Then confirm the backup image.
此外,可以理解的是,为了使人眼看见的,由所述投影系统投射出的多个待投影图像与原始的目标投影图像呈现出一致的显示效果,还可以每个待投影图像的显示亮度之和等于所述目标投影图像的显示亮度。In addition, it can be understood that, in order to make the plurality of images to be projected projected by the projection system present a consistent display effect with the original target projection image, the display brightness of each image to be projected can also be adjusted. The sum is equal to the display brightness of the target projected image.
步骤S230:控制每台所述投影组件投射与每台所述投影组件对应的每个所述待投影图像,使所述多个待投影图像重合显示,其中,每个所述待投影图像对应一台所述投影组件。Step S230: Control each of the projection components to project each of the images to be projected corresponding to each of the projection components, so that the multiple images to be projected are overlapped and displayed, wherein each of the images to be projected corresponds to a Taiwan described projection assembly.
本申请实施例中,在确定多个待投影图像后,投影系统的处理器将控制每台投影组件分别投射与该台投影组件对应的每一个待投影图像,多个待投影图像还将重合显示,由此能够让才能使多个待投影图像重合显示的重合亮度等于每个待投影图像的显示亮度之和,从而使重合亮度等于目标投影图像的显示亮度,与原始的目标投影图像呈现出一致的显示效果。In the embodiment of the present application, after determining a plurality of images to be projected, the processor of the projection system will control each projection assembly to project each image to be projected corresponding to the projection assembly, and the multiple images to be projected will also be overlapped and displayed , so that the overlapping brightness of multiple images to be projected can be overlapped and displayed equal to the sum of the display brightness of each image to be projected, so that the overlapping brightness is equal to the display brightness of the target projection image, which is consistent with the original target projection image display effect.
在一些实施例中,除了需要可以将每台投影组件投影区域重合外,还需要控制每台投影组件同步投影所有待投影图像,这样才能使待投影图像能够同时在同一个投影区域显示,达到使多个待投影图像重合显示的效果。示例性地,为了实现同步投影,在确定了多个待投影图像后,处理器可以同时将同步信号以及待投射图像发送给对应的投影组件。其中,若一台投影组件对应只投射一个待投影图像,可以通过同步信号控制所有投影组件在相同的投射时间里投射对应待投影图像;若一台投影组件对应投射两个及两个以上待投影图像,在控制该投影组件时,可以控制该投影组件较高的频率来投射待投影图像,利用人眼的视觉暂留效果,实现同步投影的效果。例如,在使用同一台投影组件投影第一待投影图像和第二待投影图像时,若两个待投影图像的切换频率快于视觉暂留时间,当第一待投影图像消失后,按照切换频率第二待投影图像将显示出来,人眼能继续在视觉暂留时间内保留第一待投影图像的画面,并且由于第一待投影图像和第二待投影图像投影区域重合,因此人眼看见的效果就是两个图像完全重合。In some embodiments, in addition to overlapping the projection areas of each projection assembly, it is also necessary to control each projection assembly to simultaneously project all the images to be projected, so that the images to be projected can be displayed in the same projection area at the same time, so that The effect of overlapping and displaying multiple images to be projected. Exemplarily, in order to realize synchronous projection, after determining a plurality of images to be projected, the processor may simultaneously send a synchronization signal and the images to be projected to corresponding projection components. Among them, if one projection component corresponds to projecting only one image to be projected, all projection components can be controlled to project the corresponding image to be projected in the same projection time through a synchronous signal; if one projection component corresponds to projecting two or more images to be projected When controlling the projection component, the high frequency of the projection component can be controlled to project the image to be projected, and the effect of synchronous projection can be realized by using the persistence of vision effect of human eyes. For example, when using the same projection assembly to project the first image to be projected and the second image to be projected, if the switching frequency of the two images to be projected is faster than the duration of vision, when the first image to be projected disappears, the switching frequency The second image to be projected will be displayed, and the human eyes can continue to retain the picture of the first image to be projected within the duration of vision, and since the projection areas of the first image to be projected and the second image to be projected overlap, the human eyes see The effect is that the two images overlap completely.
若目标投影图像是一段视频流中的视频帧,在一些典型的实施例中,投影系统中的投影组件可以同时投射对应于同一个视频帧的多个待投影图像,让这些待投影图像达到重合显示的效果,当播放下一个视频帧时,也同时投射对应于下一帧的多个待投影图像。If the target projection image is a video frame in a video stream, in some typical embodiments, the projection component in the projection system can project multiple images to be projected corresponding to the same video frame at the same time, so that these images to be projected can be overlapped The displayed effect is that when the next video frame is played, multiple images to be projected corresponding to the next frame are simultaneously projected.
如图3所示,在一些实施方式中,可以将投影系统中的一台投影组件作为主投影,将除主投影外的其他投影组件作为辅助投影,按照投影组件各自的性能为主投影及辅助投影分别分配不同的待投影图像,然后控制主投影和辅助投影分别投射与该台投影组件对应的每一个待投影图像,来使多个待投影图像重合显示。特别地,可以将性能最高的一台投影组件作为主投影,例如位深最高或投影亮度最高等,由于主投影的性能最高,可以使主投影对应投射的待投影图像越接近于目标投影图像,可以为主投影对应投射的待投影图像分配最大的投影亮度等。应当理解,投影系统中可以有一个或多个主投影,例如可以将投影系统中性能较高的多台性能完全相同的投影组件作为主投影;投影系统中也可以不区分主投影与辅助投影,例如,若投影系统中每台投影组件的性能相同,可以为每台投影组件分配相同的待投影图像。As shown in Figure 3, in some embodiments, one projection component in the projection system can be used as the main projection, and other projection components except the main projection can be used as auxiliary projections. The projection allocates different images to be projected, and then controls the main projection and the auxiliary projection to respectively project each image to be projected corresponding to the projection assembly, so that multiple images to be projected are overlapped and displayed. In particular, a projection component with the highest performance can be used as the main projection, such as the highest bit depth or the highest projection brightness, etc. Since the performance of the main projection is the highest, the image to be projected corresponding to the main projection can be closer to the target projection image, The maximum projection brightness and the like may be assigned to the image to be projected corresponding to the main projection. It should be understood that there may be one or more main projections in the projection system, for example, multiple projection components with higher performance and identical performance in the projection system may be used as the main projections; the main projection and the auxiliary projection may not be distinguished in the projection system, For example, if the performance of each projection component in the projection system is the same, the same image to be projected can be allocated to each projection component.
可以理解的是,本申请实施例所述的目标投影图像不仅可以是高位深图像,只要目标投影图像的位深高于投影系统中每台投影组件的位深,就可以使用本申请实施例所述的方法使用多台位深低于目标投影图像的投影组件来投射目标投影图像。例如,若目标投影图像的位深为8位,那么可以使用位深为4位的至少两台投影组件来投射目标投影图像。It can be understood that the target projection image described in the embodiment of the present application can not only be a high-bit-depth image, as long as the bit-depth of the target projection image is higher than the bit-depth of each projection component in the projection system, the target projection image described in the embodiment of the present application can be used. The method described above uses a plurality of projection components with a bit depth lower than that of the target projection image to project the target projection image. For example, if the bit depth of the target projection image is 8 bits, then at least two projection components with a bit depth of 4 bits can be used to project the target projection image.
综上所述,本申请实施例提供技术方案,首先获取目标投影图像,若所述目标投影图像的位深高于每台所述投影组件的位深,将基于所述目标投影图像确定与所述至少两台投影组件相对应的多个待投影图像,以使每个所述待投影图像的显示亮度之和等于所述目标投影图像的显示亮度。然后控制每台所述投影组件投射与每台所述投影组件对应的每个所述待投影图像,使所述多个待投影图像重合显示,其中,每个所述待投影图像对应一台所述投影组件。本申请通过将位深高于投影组件的图像分为多个待投影图像,使用多台投影组件进行投射,可以达到使用较低位深的投影组件投影高位深图像的目的。To sum up, the embodiment of the present application provides a technical solution. First, the target projection image is obtained. If the bit depth of the target projection image is higher than the bit depth of each of the projection components, the target projection image will be determined based on the target projection image. a plurality of images to be projected corresponding to the at least two projection assemblies, so that the sum of the display brightness of each of the images to be projected is equal to the display brightness of the target projected image. Then control each of the projection components to project each of the images to be projected corresponding to each of the projection components, so that the multiple images to be projected are overlapped and displayed, wherein each of the images to be projected corresponds to one of the projection components Projection components described above. In the present application, the image with a bit depth higher than that of the projection component is divided into multiple images to be projected, and multiple projection components are used for projection, so that the purpose of using a lower bit depth projection component to project a high bit depth image can be achieved.
在本申请的一些实施例中,若目标投影图像的位深高于投影系统中每台投影组件的位深,可以根据投影系统中投影组件的数量和性能将目标投影图像划分为多个待投影图像。在一些方式中,目标投影图像的位深n还需小于本申请实施例所示的投影系统所能显示图像的最高位深。In some embodiments of the present application, if the bit depth of the target projection image is higher than the bit depth of each projection component in the projection system, the target projection image can be divided into multiple projection components according to the number and performance of the projection components in the projection system image. In some manners, the bit depth n of the target projected image needs to be smaller than the highest bit depth of the image that can be displayed by the projection system shown in the embodiment of the present application.
其中,投影系统所能显示图像的最高位深可以根据投影系统中每台投影组件的最高投影亮度和位深计算得到。以k台位深均为8位的投影组件组成的投影系统为例,可以计算得到该投影系统的位深最大值和最小值。k台投影组件的最高投影亮度可以分别表示为L1、L2、…、Lk,那么由该投影系统的最高投影亮度可以为L=L1+L2+…+Lk,其中,若第k台投影组件的最高投影亮度最大,那么该投影系统的位深最大值可以为Mmax=log2((L1+L2+…+Lk)/(L1/256)),位深最小值可以为Mnin=log2((L1+L2+…+Lk)/(Lk/256))。进一步地,投影系统所能显示图像的最高位深可以设置在Mnin与Mmax之间(可以取值为Mnin或Mmax)。更进一步地,于在实际使用中使用高位深进行投射可能会加速投影组件的损耗,因此投影系统所能显示图像的最高位深可以取值为位深最小值Mnin=log2((L1+L2+…+Lk)/(Lk/256))。Wherein, the maximum bit depth of the image that the projection system can display can be calculated according to the maximum projection brightness and bit depth of each projection component in the projection system. Taking a projection system composed of projection components whose bit depths are all 8 bits as an example, the maximum and minimum bit depths of the projection system can be calculated. The highest projection luminance of k projection assemblies can be expressed as L1, L2, ..., Lk respectively, then the maximum projection luminance of the projection system can be L=L1+L2+...+Lk, wherein, if the kth projection assembly has the highest If the projection brightness is the largest, then the maximum bit depth of the projection system can be Mmax=log2((L1+L2+…+Lk)/(L1/256)), and the minimum bit depth can be Mnin=log2((L1+L2+… +Lk)/(Lk/256)). Further, the highest bit depth of the image that can be displayed by the projection system can be set between Mnin and Mmax (the value can be Mnin or Mmax). Furthermore, using a high bit depth for projection in actual use may accelerate the loss of the projection components, so the highest bit depth of the image that the projection system can display can be set as the minimum bit depth value Mnin=log2((L1+L2+... +Lk)/(Lk/256)).
在一些实施例中,若目标投影图像的位深高于投影系统中每台投影组件的位深,并且还小于本申请实施例所示的投影系统所能显示图像的最高位深,可以将目标投影图像划分为多个待投影图像,其中,每个待投影图像对应一台投影组件。In some embodiments, if the bit depth of the projected image of the target is higher than the bit depth of each projection component in the projection system, and is also smaller than the highest bit depth of the image that can be displayed by the projection system shown in the embodiment of the application, the target can be The projected image is divided into multiple images to be projected, wherein each image to be projected corresponds to a projection component.
示例性地,每个待投影图像都将由投影系统中的一台投影组件来投射,因此,待投影图像可以根据目标投影图像以及投影系统中所有投影组件的数量和性能来确定。具体地,在本申请的一些实施例中,请参阅图4,步骤S220可以包括:步骤S410至步骤S420。Exemplarily, each image to be projected will be projected by a projection component in the projection system, therefore, the image to be projected can be determined according to the target projected image and the quantity and performance of all projection components in the projection system. Specifically, in some embodiments of the present application, referring to FIG. 4 , step S220 may include: step S410 to step S420.
步骤S410:获取每台所述投影组件的亮度阶梯值及所述投影系统的亮度阶梯值。Step S410: Obtain the brightness gradient value of each of the projection components and the brightness gradient value of the projection system.
在本申请的实施例中,多个待投影图像的显示亮度的确定与每台投影组件的亮度阶梯值有关,此外,目标投影图像的显示亮度与投影系统的亮度阶梯值有关。其中,在一些实施例中,每台投影组件的亮度阶梯值可以基于该台投影组件的最高投影亮度、该台投影组件的位深而确定,而投影系统的亮度阶梯值可以基于投影系统的最高投影亮度以及目标投影图像的位深而确定。请参阅图5,步骤S410可以包括:步骤S510至步骤S530。In the embodiment of the present application, the determination of the display brightness of multiple images to be projected is related to the brightness step value of each projection assembly. In addition, the display brightness of the target projected image is related to the brightness step value of the projection system. Wherein, in some embodiments, the brightness step value of each projection component can be determined based on the highest projection brightness of the projection component and the bit depth of the projection component, while the brightness step value of the projection system can be determined based on the highest projection brightness of the projection system. Determined by the projection brightness and the bit depth of the target projected image. Referring to FIG. 5, step S410 may include: step S510 to step S530.
步骤S510:获取每台所述投影组件的最高投影亮度、每台所述投影组件的位深。Step S510: Obtain the highest projection brightness of each projection component and the bit depth of each projection component.
在本申请的实施例中,首先可以获取投影系统中每台投影组件的最高投影亮度。In the embodiment of the present application, firstly, the highest projection brightness of each projection component in the projection system can be obtained.
作为一种方式,每台投影组件的最高投影亮度为固定参数,可以根据投影组件制造时测量得到的最高投影亮度为准。作为另一种方式,若投影组件的最高投影亮度未知,可以控制每台投影组件以最高亮度进行投影,通过对每台投影组件的投影区域进行亮度测量,可以得到每台投影组件的最高投影亮度。可选地,可以使用九点法进行亮度测量,具体测量方式可以为:将待测量的投影组件安装在离投影幕布2.4米远的位置,控制待测量的投影组件以最高亮度进行投影,用照度计测量投影幕布的“田”字形九个交叉点上的各点照度,各点照度乘以面积得到投影画面的9个点的亮度,最后取9个点的亮度的平均值即可得到该投影组件的最高投影亮度。As a method, the maximum projection brightness of each projection assembly is a fixed parameter, which may be based on the maximum projection brightness measured during the manufacture of the projection assembly. As another way, if the maximum projection brightness of the projection components is unknown, each projection component can be controlled to project at the highest brightness, and the maximum projection brightness of each projection component can be obtained by measuring the brightness of the projection area of each projection component . Optionally, the nine-point method can be used for brightness measurement. The specific measurement method can be: install the projection component to be measured at a position 2.4 meters away from the projection screen, control the projection component to be measured to project at the highest brightness, and use the illuminance Measure the illuminance of each point on the nine intersection points of the "Tian" shape of the projection screen, multiply the illuminance of each point by the area to get the brightness of the 9 points of the projection screen, and finally take the average of the brightness of the 9 points to get the projection The maximum projected brightness of the component.
除此之外,在一些实施方式中,还将获取每台投影组件的位深。In addition, in some implementation manners, the bit depth of each projection component will also be acquired.
步骤S520:基于所述每台所述投影组件的最高投影亮度、所述每台所述投影组件的位深确定每台所述投影组件的亮度阶梯值。Step S520: Determine the brightness gradient value of each projection assembly based on the highest projection brightness of each projection assembly and the bit depth of each projection assembly.
在本申请的实施例中,可以基于每台投影组件的最高投影亮度以及每台投影组件的位深来确定每台投影组件的亮度阶梯值。In the embodiment of the present application, the brightness step value of each projection assembly may be determined based on the highest projection brightness of each projection assembly and the bit depth of each projection assembly.
以投影系统中某台投影组件i为例,将投影组件i的最高投影亮度记为Li,将投影组件i的位深记为ni,以目标投影图像的位深为10位为例,那么ni例如可以为8位,Li可以由上述实施例所述的方法获取得到。在一些实施例中,投影组件的位深可以用于表示该投影组件可投射图像的亮度阶梯的数量,那么投影组件的亮度阶梯值表示投影组件的每个亮度阶梯可以显示的最高亮度值,例如投影组件i的位深ni可以理解为该投影组件i有个亮度阶梯,那么投影组件i的亮度阶梯值可以为/> Taking a certain projection component i in the projection system as an example, record the highest projection brightness of projection component i as L i , record the bit depth of projection component i as ni i , and take the bit depth of the target projected image as 10 bits as an example, Then n i can be, for example, 8 bits, and L i can be obtained by the method described in the above-mentioned embodiment. In some embodiments, the bit depth of the projection component can be used to represent the number of brightness steps that the projection component can project an image, then the brightness step value of the projection component represents the highest brightness value that each brightness step of the projection component can display, for example The bit depth ni of projection component i can be understood as the projection component i has brightness steps, then the brightness step value of projection component i can be />
步骤S530:基于所述投影系统的最高投影亮度、所述目标投影图像的位深确定所述投影系统的亮度阶梯值。Step S530: Determine the brightness gradient value of the projection system based on the highest projection brightness of the projection system and the bit depth of the target projection image.
在本申请的实施例中,可以基于投影系统的最高投影亮度以及目标投影图像的位深来确定投影系统的亮度阶梯值。In the embodiment of the present application, the brightness step value of the projection system may be determined based on the highest projection brightness of the projection system and the bit depth of the target projection image.
由前述实施例可知,投影系统中每台投影组件显示待投影图像的投影区域可以重合,因此该投影系统的所能显示的最高投影亮度可以根据每台投影组件的最高投影亮度得到。在一些实施方式中,可以将每台投影组件的最高投影亮度之和作为该投影系统的最高投影亮度。例如,若投影系统中有k台投影组件,每台投影组件的最高投影亮度分别为L1、L2、…、Lk,那么由该k台投影组件组成的投影系统的最高投影亮度可以为L=L1+L2+…+Lk。It can be seen from the foregoing embodiments that the projection areas of each projection unit in the projection system for displaying images to be projected can overlap, so the highest projection brightness that can be displayed by the projection system can be obtained according to the highest projection brightness of each projection unit. In some embodiments, the sum of the highest projection luminances of each projection assembly may be used as the maximum projection luminance of the projection system. For example, if there are k projection assemblies in the projection system, and the highest projection brightness of each projection assembly is L1, L2, ..., Lk respectively, then the maximum projection brightness of the projection system composed of the k projection assemblies can be L=L1 +L2+…+Lk.
与每台投影组件的亮度阶梯值的计算方式类似,若确定投影系统的最高投影亮度为L,目标投影图像的位深为n,由于位深可以用于表示图像的亮度阶梯的数量,那么投影系统的亮度阶梯值可以理解为整个投影系统的每个亮度阶梯可以显示的最高亮度值,即投影系统的亮度阶梯值可以由投影系统的最高投影亮度L除以目标投影图像的亮度阶梯数2^n得到,即投影系统的亮度阶梯值可以为L/2^n。Similar to the calculation method of the brightness step value of each projection component, if it is determined that the highest projection brightness of the projection system is L, and the bit depth of the target projected image is n, since the bit depth can be used to represent the number of brightness steps of the image, then the projection The brightness step value of the system can be understood as the highest brightness value that each brightness step of the entire projection system can display, that is, the brightness step value of the projection system can be divided by the highest projection brightness L of the projection system by the brightness step number 2^ of the target projected image n is obtained, that is, the brightness step value of the projection system can be L/2^n.
步骤S420:基于所述目标投影图像的显示亮度、所述投影系统的亮度阶梯值及所述投影组件的亮度阶梯值确定每个所述待投影图像的显示亮度,其中,所述目标投影图像的显示亮度等于每个所述待投影图像的显示亮度之和。Step S420: Determine the display brightness of each image to be projected based on the display brightness of the target projected image, the brightness step value of the projection system, and the brightness step value of the projection component, wherein the target projected image's The display brightness is equal to the sum of the display brightness of each image to be projected.
在本申请的实施例中,由于目标投影图像的显示亮度等于每个所述待投影图像的显示亮度之和,且基于亮度阶梯值的含义(例如投影系统的亮度阶梯值可以理解为整个投影系统的每个亮度阶梯可以显示的最高亮度值),最终可以基于目标投影图像的显示亮度、投影系统的亮度阶梯值及投影组件的亮度阶梯值确定得到每个待投影图像的显示亮度。In the embodiments of the present application, since the display brightness of the target projection image is equal to the sum of the display brightness of each of the images to be projected, and based on the meaning of the brightness step value (for example, the brightness step value of the projection system can be understood as the entire projection system The highest brightness value that can be displayed by each brightness step of each brightness step), and finally the display brightness of each image to be projected can be determined based on the display brightness of the target projected image, the brightness step value of the projection system and the brightness step value of the projection component.
可选地,为了更好地理解每个待投影图像的显示亮度的计算过程,将引入像素值的概念进行解释。Optionally, in order to better understand the calculation process of the display brightness of each image to be projected, the concept of pixel value will be introduced for explanation.
在本申请实施例中,像素值可以用于表示图像中每个像素点颜色深度,示例性地,像素值可以是像素点的灰阶值,也可以是将该灰阶值进行伽马解码后得到的灰阶亮度。可以理解的是,图像中每个像素点的像素值可以决定一幅图像的具体画面。In this embodiment of the application, the pixel value can be used to represent the color depth of each pixel in the image. For example, the pixel value can be the grayscale value of the pixel point, or the grayscale value after gamma decoding The resulting grayscale brightness. It can be understood that the pixel value of each pixel in an image can determine a specific picture of an image.
在一些实施方式中,目标投影图像的显示亮度等于投影系统的亮度阶梯值与目标投影图像的像素值的乘积,同时,每个待投影图像的显示亮度等于每台投影组件的亮度阶梯值与每台所述投影组件的像素值的乘积。In some embodiments, the display brightness of the target projection image is equal to the product of the brightness step value of the projection system and the pixel value of the target projection image, and at the same time, the display brightness of each image to be projected is equal to the brightness step value of each projection component and each The product of the pixel values of the projection components.
示例性地,下面将以目标投影图像上的像素A的灰阶亮度P为例对目标投影图像的显示亮度的确定过程进行说明。图像的像素值也可以理解为颜色的明暗程度,即显示亮度的具体阶梯数,那么像素值(以灰阶亮度P为例)与投影系统的亮度阶梯值相乘可以得到目标投影图像在该投影系统中像素A的显示亮度,像素A的显示亮度例如可以为P×L/2n。基于上述方法,可以确定目标投影图像中所有像素的显示亮度,将目标投影图像中所有像素的显示亮度作为该目标投影图像的显示亮度。Exemplarily, the determination process of the display brightness of the target projection image will be described below by taking the gray scale brightness P of the pixel A on the target projection image as an example. The pixel value of the image can also be understood as the degree of lightness and darkness of the color, that is, the specific number of steps of the display brightness. Then the pixel value (take the gray scale brightness P as an example) is multiplied by the brightness step value of the projection system to get the target projection image in the projection. The display brightness of the pixel A in the system, for example, the display brightness of the pixel A may be P×L/2 n . Based on the above method, the display brightness of all pixels in the target projection image can be determined, and the display brightness of all pixels in the target projection image can be used as the display brightness of the target projection image.
在一些实施例中,待投影图像中每个像素点的像素值,可以决定待投影图像的显示亮度,进而决定待投影图像呈现出的具体画面。因此,要得到投影系统中每台投影组件投射的待投影图像的显示亮度,可以先确定每个待投影图像中每个像素点的像素值。In some embodiments, the pixel value of each pixel in the image to be projected can determine the display brightness of the image to be projected, and further determine the specific picture presented by the image to be projected. Therefore, to obtain the display brightness of the image to be projected by each projection component in the projection system, the pixel value of each pixel in each image to be projected can be determined first.
在本申请实施例中,投影系统中每台投影组件投射的待投影图像的显示亮度同样可以根据待投影图像中每个像素点的像素值与该投影组件的亮度阶梯值而确定,其中,为保证使人眼看见的重合图像与原始的目标投影图像呈现出一致的显示效果,应当满足目标投影图像的显示亮度等于每个所述待投影图像的显示亮度之和。基于此,在本实施例中,每台投影组件投射的待投影图像中每个像素点的像素值可以根据目标投影图像的显示亮度及该投影组件的亮度阶梯值而确定。In the embodiment of the present application, the display brightness of the image to be projected by each projection component in the projection system can also be determined according to the pixel value of each pixel in the image to be projected and the brightness step value of the projection component, where To ensure that the overlapped image seen by human eyes presents a consistent display effect with the original target projection image, it should be satisfied that the display brightness of the target projection image is equal to the sum of the display brightness of each of the images to be projected. Based on this, in this embodiment, the pixel value of each pixel in the image to be projected by each projection assembly can be determined according to the display brightness of the target projection image and the brightness gradient value of the projection assembly.
在一些实施例中,与目标投影图像的显示亮度的计算方式类似,对于待投影图像j的像素A',其中,像素A'与目标投影图像的像素A相对应,像素A'的显示亮度可以由像素A'的灰阶亮度Pj与投射该待投影图像的投影组件的亮度阶梯值的乘积得到。以k台投影组件且一台投影组件对应投射一个待投影图像为例,由于重合亮度需要目标投影图像的显示亮度一致,如图6所示,可以得出亮度关系为:待投影图像1的显示亮度1、待投影图像2的显示亮度2、…、待投影图像的显示亮度k之和等于目标投影图像的显示亮度,可以列出等式如下:In some embodiments, similar to the calculation method of the display brightness of the target projected image, for the pixel A' of the image j to be projected, where the pixel A' corresponds to the pixel A of the target projected image, the display brightness of the pixel A' can be It is obtained from the product of the grayscale brightness P j of the pixel A' and the brightness gradient value of the projection component that projects the image to be projected. Taking k projection components and one projection component correspondingly projecting an image to be projected as an example, the display brightness of the target projection image needs to be consistent due to overlapping brightness, as shown in Figure 6, it can be concluded that the brightness relationship is: the display of the image to be projected 1 The sum of brightness 1, the display brightness 2 of the image to be projected 2, ..., the display brightness k of the image to be projected is equal to the display brightness of the target projected image, and the equation can be listed as follows:
P×L/2n=P1×L1/2n1+P2×L2/2n2+…+Pk×Lk/2nk P×L/2 n =P 1 ×L 1 /2 n1 +P 2 ×L 2 /2 n2 +…+P k ×L k /2 nk
需要说明的是,P1、P2、…、Pk分别表示k个待投影图像中与目标投影图像的像素A相对应的每个待投影图像的像素A'的灰阶亮度(其中,像素值可以表示伽马解码后得到的灰阶亮度),n1、n2、…、nk分别表示k台投影组件的位深,L1、L2、…、Lk分别表示k台投影组件的最高投影亮度。It should be noted that P 1 , P 2 , ..., P k respectively represent the grayscale brightness of each pixel A' of the image to be projected corresponding to the pixel A of the target projected image among the k images to be projected (wherein, pixel The value can represent the grayscale brightness obtained after gamma decoding), n1, n2, ..., nk respectively represent the bit depth of k projection components, L 1 , L 2 , ..., L k represent the highest projection of k projection components brightness.
在一些方式中,由于像素值为正整数,因此可以将第一台投影组件的亮度阶梯值L1/2n1作为除数对目标投影图像的显示亮度P×L/2n取模得到该投影组件的待投影图像的像素A'的像素值经伽马解码后得到的灰阶亮度P1及余数T1,紧接着,可以第二台投影组件的亮度阶梯值L2/2n2作为除数对余数T1取模得到该投影组件的待投影图像的像素A'的像素值经伽马解码后得到的灰阶亮度P2及余数T2,以此类推,直到得到第k台投影组件的亮度阶梯值Lk/2nk作为除数对上一次计算得到的余数取模得到该投影组件的待投影图像的像素A'的像素值经伽马解码后得到的灰阶亮度Pk。最后,可以分别由P1、P2、…、Pk即可得到每个待投影图像的像素A'的像素值。In some ways, since the pixel value is a positive integer, the brightness step value L 1 /2 n1 of the first projection component can be used as a divisor to obtain the projection component by moduloing the display brightness P×L/2 n of the target projection image The pixel value of the pixel A' of the image to be projected is gamma-decoded to obtain the gray-scale brightness P 1 and the remainder T1. Then, the brightness step value L 2 /2 n2 of the second projection component can be used as the divisor to the remainder T1 Take the modulus to obtain the gray-scale brightness P2 and the remainder T2 obtained after gamma decoding the pixel value of the pixel A' of the image to be projected by the projection component, and so on until the brightness step value L k of the kth projection component is obtained /2 nk is used as a divisor to take the modulus of the remainder obtained from the last calculation to obtain the grayscale brightness P k obtained by gamma decoding the pixel value of the pixel A' of the image to be projected by the projection component. Finally, the pixel value of the pixel A' of each image to be projected can be obtained from P 1 , P 2 , . . . , P k respectively.
基于上述方法,可以确定每个待投影图像中每个像素点的像素值。特别地,每个待投影图像中每个像素都与目标投影图像中一个像素相对应。Based on the above method, the pixel value of each pixel in each image to be projected can be determined. In particular, each pixel in each to-be-projected image corresponds to a pixel in the target projected image.
在一些实施方式中,由于每台投影组件的最高投影亮度和位深各有不同,对每台投影组件计算顺序的不同可能得到不同的待投影图像。在一些典型的实施例中,可以将投影系统中亮度阶梯值最大的那台投影组件作为主投影,首先计算主投影对应的待投影图像中每个像素点的像素值。In some embodiments, since the highest projection brightness and bit depth of each projection assembly are different, different calculation sequences of each projection assembly may result in different images to be projected. In some typical embodiments, the projection component with the largest brightness step value in the projection system can be used as the main projection, and the pixel value of each pixel in the image to be projected corresponding to the main projection is calculated first.
在另一些实施例中,目标投影图像及待投影图像的每个像素的像素值可以至少包括三个颜色通道的像素分量,针对每个待投影图像的每个颜色通道,可以基于与每个颜色通道相对应的显示亮度以及该待投影图像的亮度阶梯值确定每个待投影图像的每个颜色通道的像素分量。以目标投影图像及待投影图像均采用RGB颜色模式为例,RGB颜色模式下可以将图像的像素值分为红色通道的第一分量、绿色通道的第二分量及蓝色通道的第三分量。In some other embodiments, the pixel value of each pixel of the target projection image and the image to be projected may at least include pixel components of three color channels, and for each color channel of each image to be projected, it may be based on the The display brightness corresponding to the channel and the brightness gradient value of the image to be projected determine the pixel component of each color channel of each image to be projected. Taking the RGB color mode as an example for both the projected image and the image to be projected, the pixel values of the image can be divided into the first component of the red channel, the second component of the green channel and the third component of the blue channel in the RGB color mode.
可以理解的是,目标投影图像的显示亮度可以包括与每个所述颜色通道相对应的显示亮度,因此,在所述目标投影图像中,每个颜色通道相对应的显示亮度可以等于投影系统的亮度阶梯值与该颜色通道对应的像素分量的乘积。同理,每个待投影图像的显示亮度也可以包括每个颜色通道相对应的显示亮度,因此,在每个待投影图像中,每个颜色通道相对应的显示亮度等于每台投影组件的亮度阶梯值与该颜色通道对应的像素分量的乘积。It can be understood that the display brightness of the target projection image may include display brightness corresponding to each of the color channels, therefore, in the target projection image, the display brightness corresponding to each color channel may be equal to the display brightness of the projection system The product of the brightness step value and the pixel component corresponding to this color channel. Similarly, the display brightness of each image to be projected may also include the display brightness corresponding to each color channel, therefore, in each image to be projected, the display brightness corresponding to each color channel is equal to the brightness of each projection component The product of the step value and the pixel component corresponding to this color channel.
仍然以目标投影图像的某一个像素A为例,如图7所述,对于RGB颜色模式的三个颜色分量,针对待投影图像1、待投影图像2、…、待投影图像k这k个待投影图像的像素A'可以得到以下三个亮度关系:Still taking a certain pixel A of the target projected image as an example, as shown in FIG. The pixel A' of the projected image can get the following three brightness relations:
R×L/2n=R1×L1/2n1+R2×L2/2n2+…+Rk×Lk/2nk R×L/2 n = R 1 ×L 1 /2 n1 +R 2 ×L 2 /2 n2 +…+R k ×L k /2 nk
G×L/2n=G1×L1/2n1+G2×L2/2n2+…+Gk×Lk/2nk G×L/2 n =G 1 ×L 1 /2 n1 +G 2 ×L 2 /2 n2 +…+G k ×L k /2 nk
B×L/2n=B1×L1/2n1+B2×L2/2n2+…+Bk×Lk/2nk B×L/2 n =B 1 ×L 1 /2 n1 +B 2 ×L 2 /2 n2 +…+B k ×L k /2 nk
其中,R×L/2n表示目标投影图像像素A红色通道的显示亮度、G×L/2n表示目标投影图像像素A绿色通道的显示亮度、B×L/2n表示目标投影图像像素A蓝色通道的显示亮度,R1、R2、…、Rk分别表示每个待投影图像中像素A'的第一分量对应的灰阶亮度,G1、G2、…、Gk分别表示每个待投影图像中像素A'的第二分量对应的灰阶亮度,B1、B2、…、Bk分别表示每个待投影图像中像素A'的第三分量对应的灰阶亮度。可选地,由于像素值为正整数,同样可以采用上述实施例中的方式,以每个投影组件的亮度阶梯值分别对三个通道对应的显示亮度取模得到每个待投影图像中像素A'的第一分量、第二分量及第三分量。Among them, R×L/2 n represents the display brightness of the red channel of the target projected image pixel A, G×L/2 n represents the display brightness of the green channel of the target projected image pixel A, B×L/2 n represents the target projected image pixel A The display brightness of the blue channel, R 1 , R 2 , ..., R k respectively represent the gray scale brightness corresponding to the first component of pixel A' in each image to be projected, and G 1 , G 2 , ..., G k represent respectively The gray scale brightness corresponding to the second component of pixel A' in each image to be projected, B 1 , B 2 , . . . , B k represent the gray scale brightness corresponding to the third component of pixel A' in each image to be projected. Optionally, since the pixel value is a positive integer, the method in the above-mentioned embodiment can also be used to obtain the pixel A in each image to be projected by moduloing the display brightness corresponding to the three channels with the brightness step value of each projection component. 'The first component, the second component and the third component.
同样地,基于上述方法,可以由每个待投影图像中每个像素的像素分量来确定像素值。Likewise, based on the above method, the pixel value can be determined from the pixel component of each pixel in each image to be projected.
可以理解的是,如果目标投影图像与投影组件的颜色模式或包括的颜色分量不相同,例如目标投影图像为RGB模式,投影组件为YUV模式,在以目标投影图像的颜色模式或包括的颜色分量计算出该颜色模式或该颜色分量下待投影图像的像素值后,还可以将待投影图像的像素值转换为投影组件所采用的颜色模式或对应颜色分量的像素值。It can be understood that if the target projected image is different from the color mode or included color components of the projected component, for example, the target projected image is in RGB mode, and the projected component is in YUV mode, the color mode or included color components of the target projected image After calculating the pixel value of the image to be projected under the color mode or the color component, the pixel value of the image to be projected can also be converted into the color mode adopted by the projection component or the pixel value of the corresponding color component.
通过本申请实施例可以计算得到每个待投影图像中每个像素点的像素值,然后可以将待投影图像中每个像素点的像素值与所述亮度阶梯值相乘得到与每台所述投影组件相对应的每个所述待投影图像的显示亮度。示例性地,仍然以灰阶亮度作为像素值进行说明,在得到待投影图像1中像素点A的灰阶亮度后,像素点A的显示亮度可以表示为灰阶亮度与对应投影组件的亮度阶梯值的乘积,像素点A的显示亮度例如可以为P1×L1/2n1。Through the embodiment of the present application, the pixel value of each pixel in each image to be projected can be calculated, and then the pixel value of each pixel in the image to be projected can be multiplied by the brightness step value to obtain the Display brightness of each image to be projected corresponding to the projection assembly. Exemplarily, the gray-scale brightness is still used as the pixel value for illustration. After obtaining the gray-scale brightness of pixel A in the image to be projected 1, the display brightness of pixel A can be expressed as the gray-scale brightness and the brightness gradient of the corresponding projection component The product of the values, the display brightness of the pixel point A can be, for example, P 1 ×L 1 /2 n1 .
基于上述方法,可以确定待投影图像中所有像素的显示亮度,将待投影图像中所有像素的显示亮度作为该待投影图像的显示亮度。Based on the above method, the display brightness of all pixels in the image to be projected can be determined, and the display brightness of all pixels in the image to be projected can be used as the display brightness of the image to be projected.
在一些实施方式中,投影组件可以按照每个待投影图像的显示亮度来投射待投影图像。In some implementations, the projection component can project images to be projected according to the display brightness of each image to be projected.
在一些实施例中,在控制投影组件投射待投影图像之前,还可以对每台投影组件进行重叠校正,在重叠校正后,对应为目标投影图像上同一个像素的所有待投影图像上的对应像素,经过每台投影组件投射后,都落到投影区域上的同一点,从而可以使得每台投影组件的投影区域重合。In some embodiments, before controlling the projection components to project the image to be projected, each projection component can also be subjected to overlap correction. After the overlap correction, corresponding pixels on all images to be projected that correspond to the same pixel on the target projection image , after being projected by each projection component, they all fall to the same point on the projection area, so that the projection areas of each projection component can overlap.
在一些方式中,可以采用机械方式进行重叠校正。示例性地,可以先确定一个固定的显示区域,例如将投影幕布的位置作为每台投影组件的显示区域,再依次挪动每台投影组件的位置,将每台投影组件的投影区域与显示区域精确对位,即可以保证每台投影组件的投影区域重合。在另一些方式中,可以采用数码方式进行重叠校正。示例性地,可以先确定一个固定的显示区域,再调整每台投影组件的投影区域,将其完全覆盖显示区域,然后可以利用四点校正或八点校正的方式将投影区域和显示区域精确对准。在一些典型的实施例中,可以同时使用上述两种校正方式,例如先用机械方式进行粗调,然后利用数码方式进行精调。In some approaches, overlay correction can be done mechanically. Exemplarily, a fixed display area can be determined first, for example, the position of the projection screen can be used as the display area of each projection component, and then the position of each projection component can be moved sequentially, so that the projection area of each projection component can be accurately aligned with the display area. Alignment, that is, it can ensure that the projection areas of each projection component coincide. In other ways, overlay correction can be done digitally. For example, a fixed display area can be determined first, and then the projection area of each projection component can be adjusted to completely cover the display area, and then the projection area and the display area can be accurately aligned using four-point calibration or eight-point calibration. allow. In some typical embodiments, the above two calibration methods can be used at the same time, for example, a mechanical method is used for rough adjustment first, and then a digital method is used for fine adjustment.
可选地,如果投影组件的镜头具有较大畸变,还可以对畸变进行校正。例如,在一个平直的投影幕布上投射棋盘格或其他图像,使用一个已经经过标定的相机或测量仪器进行拍摄得到棋盘格或其他图像的像素畸变情况,并根据像素畸变情况对棋盘格或其他图像进行校正。Optionally, if the lens of the projection assembly has large distortion, the distortion can also be corrected. For example, project a checkerboard or other images on a flat projection screen, use a calibrated camera or measuring instrument to take pictures to obtain the pixel distortion of the checkerboard or other images, and analyze the checkerboard or other images according to the pixel distortion. The image is corrected.
在本申请的实施例中,可以在重叠校正后,再控制投影组件投射待投影图像的方式可以参考前述实施例所述的内容,投射后多个待投影图像将重合显示,并且满足多个待投影图像重合得到的重合亮度与目标投影图像的目标投影图像的显示亮度一致的条件,可以达到使人眼看见的重合图像与原始的目标投影图像呈现出一致的显示效果。In the embodiment of the present application, after overlapping correction, the method of controlling the projection component to project the image to be projected can refer to the content described in the foregoing embodiments. After projection, multiple images to be projected will overlap and display, and satisfy multiple requirements The overlapping brightness obtained by overlapping the projection images is consistent with the display brightness of the target projection image of the target projection image, so that the overlapping image seen by human eyes and the original target projection image can present a consistent display effect.
综上所述,本申请实施例提供技术方案,首先获取目标投影图像,接着获取投影组件的最高投影亮度和位深,然后基于每台投影组件的最高投影亮度可以得到投影系统的最高投影亮度。接着根据投影系统的最高投影亮度、目标投影图像的位深和目标投影图像中每个像素点的像素值确定目标投影图像的显示亮度。如果所述目标投影图像的位深高于每台所述投影组件的位深,还将获取每台所述投影组件的最高投影亮度,然后基于每台投影组件的最高投影亮度、每台投影组件的位深确定每台投影组件的亮度阶梯值,基于目标投影图像的显示亮度及每台投影组件的亮度阶梯值确定与每台投影组件相对应的每个待投影图像中每个像素点的像素值。接着,基于每个待投影图像中每个像素点的像素值以及对应的亮度阶梯值可以得到与每台投影组件相对应的每个待投影图像的显示亮度,最后控制投影组件以该显示亮度投射与每台投影组件对应的每个待投影图像,使得多个待投影图像重合显示,以使每个待投影图像的显示亮度之和等于目标投影图像的显示亮度。本申请通过将位深高于投影组件的图像分为多个待投影图像,使用多台投影组件进行投射,可以达到使用较低位深的投影组件投影高位深图像的目的,同时多个投影组件重合投影还扩大了整个投影系统的投影亮度范围。To sum up, the embodiment of the present application provides a technical solution, first obtain the target projection image, then obtain the maximum projection brightness and bit depth of the projection components, and then obtain the maximum projection brightness of the projection system based on the maximum projection brightness of each projection component. Then, the display brightness of the target projection image is determined according to the highest projection brightness of the projection system, the bit depth of the target projection image, and the pixel value of each pixel in the target projection image. If the bit depth of the target projection image is higher than the bit depth of each of the projection components, the highest projection brightness of each of the projection components will also be obtained, and then based on the highest projection brightness of each projection component, each projection component The bit depth determines the brightness step value of each projection component, and determines the pixel of each pixel in each image to be projected corresponding to each projection component based on the display brightness of the target projection image and the brightness step value of each projection component value. Then, based on the pixel value of each pixel in each image to be projected and the corresponding brightness step value, the display brightness of each image to be projected corresponding to each projection component can be obtained, and finally the projection component is controlled to project at the display brightness For each image to be projected corresponding to each projection assembly, multiple images to be projected are overlapped and displayed, so that the sum of the display brightness of each image to be projected is equal to the display brightness of the target projected image. In this application, by dividing the image with a bit depth higher than that of the projection component into multiple images to be projected, and using multiple projection components for projection, the purpose of using a lower bit depth projection component to project a high bit depth image can be achieved. Coincident projection also expands the projected brightness range of the entire projection system.
请参阅图8,示出了本申请一实施例提供的图像处理装置的模块框图。具体地,所述图像处理装置应用于投影系统的处理器,所述投影系统包括至少两台投影组件,该装置包括:获取模块810、处理模块820和控制模块830。Please refer to FIG. 8 , which shows a block diagram of modules of an image processing device provided by an embodiment of the present application. Specifically, the image processing device is applied to a processor of a projection system, and the projection system includes at least two projection components, and the device includes: an
获取模块810,用于获取目标投影图像;处理模块820,用于若所述目标投影图像的位深高于每台所述投影组件的位深,基于所述目标投影图像确定与所述至少两台投影组件相对应的多个待投影图像,以使每个所述待投影图像的显示亮度之和等于所述目标投影图像的显示亮度;控制模块830,用于控制每台所述投影组件投射与每台所述投影组件对应的每个所述待投影图像,使所述多个待投影图像重合显示,其中,每个所述待投影图像对应一台所述投影组件。An
可选地,上述处理模块820可以包括:亮度阶梯获取模块,用于获取每台所述投影组件的亮度阶梯值及所述投影系统的亮度阶梯值;显示亮度确定模块,用于基于所述目标投影图像的显示亮度、所述投影系统的亮度阶梯值及所述投影组件的亮度阶梯值确定每个所述待投影图像的显示亮度,其中,所述目标投影图像的显示亮度等于每个所述待投影图像的显示亮度之和。Optionally, the above-mentioned
进一步地,所述目标投影图像的显示亮度等于所述投影系统的亮度阶梯值与所述目标投影图像的像素值的乘积,每个所述待投影图像的显示亮度等于每台所述投影组件的亮度阶梯值与所述每台所述投影组件的像素值的乘积。Further, the display brightness of the target projection image is equal to the product of the brightness gradient value of the projection system and the pixel value of the target projection image, and the display brightness of each to-be-projected image is equal to the brightness of each projection component. The product of the brightness step value and the pixel value of each of the projection components.
在一些实施方式中,亮度阶梯获取模块可以包括:组件获取模块,用于获取每台所述投影组件的最高投影亮度、每台所述投影组件的位深;第一确定模块,用于基于所述每台所述投影组件的最高投影亮度、所述每台所述投影组件的位深确定每台所述投影组件的亮度阶梯值;第二确定模块,用于基于所述投影系统的最高投影亮度、所述目标投影图像的位深确定所述投影系统的亮度阶梯值。In some implementations, the brightness step acquisition module may include: a component acquisition module, configured to acquire the highest projection brightness of each projection component, and the bit depth of each projection component; a first determination module, configured to obtain the highest projection brightness of each projection component; The highest projection brightness of each of the projection components and the bit depth of each of the projection components determine the brightness step value of each of the projection components; the second determination module is used to determine the highest projection based on the projection system The brightness and the bit depth of the target projection image determine the brightness step value of the projection system.
可选地,所述投影系统的最高投影亮度等于每台所述投影组件的最高投影亮度之和。Optionally, the maximum projection brightness of the projection system is equal to the sum of the maximum projection brightness of each of the projection components.
在一些实施方式中,每个所述待投影图像的像素值至少包括三个颜色通道的像素分量,所述每个所述待投影图像的显示亮度包括每个所述颜色通道相对应的显示亮度。基于此,在每个所述待投影图像中,每个所述颜色通道相对应的显示亮度等于每台所述投影组件的亮度阶梯值与该颜色通道对应的像素分量的乘积。In some implementations, the pixel values of each of the images to be projected include pixel components of at least three color channels, and the display brightness of each of the images to be projected includes display brightness corresponding to each of the color channels . Based on this, in each image to be projected, the display brightness corresponding to each color channel is equal to the product of the brightness step value of each projection assembly and the pixel component corresponding to the color channel.
在另一些实施方式中,所述目标投影图像的像素值至少包括三个颜色通道的像素分量,所述目标投影图像的显示亮度包括与每个所述颜色通道相对应的显示亮度。在所述目标投影图像中,每个所述颜色通道相对应的显示亮度等于所述投影系统的亮度阶梯值与该颜色通道对应的像素分量的乘积。In other embodiments, the pixel values of the target projection image include at least pixel components of three color channels, and the display brightness of the target projection image includes display brightness corresponding to each of the color channels. In the target projection image, the display brightness corresponding to each color channel is equal to the product of the brightness gradient value of the projection system and the pixel component corresponding to the color channel.
可选地,上述图像处理装置还可以包括:矫正模块,用于对每台所述投影组件进行重叠校正,使所述每台投影组件的投影区域重合。Optionally, the above-mentioned image processing device may further include: a correction module, configured to perform overlap correction on each of the projection components, so that the projection areas of each of the projection components coincide.
可选地,上述组件获取模块可以包括:测量模块,用于控制每台所述投影组件以最高亮度进行投影,通过对每台所述投影组件的投影区域进行亮度测量,得到每台所述投影组件的最高投影亮度。Optionally, the above-mentioned component acquisition module may include: a measurement module, configured to control each of the projection components to project with the highest brightness, and obtain the brightness of each projection component by measuring the brightness of the projection area of each of the projection components. The maximum projected brightness of the component.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described devices and modules can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
请参阅图9,其示出了本申请一实施例提供的电子设备的结构框图,具体地,所述电子设备一个或多个如下部件:处理器910、存储器920以及一个或多个应用程序。一个或多个应用程序可以被存储在存储器920中并被配置为由一个或多个处理器910执行,一个或多个应用程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 9 , which shows a structural block diagram of an electronic device provided by an embodiment of the present application. Specifically, the electronic device has one or more components as follows: a processor 910 , a
电子设备可以为移动、便携式并执行无线通信的各种类型的计算机系统设备中的任何一种。具体的,电子设备可以为移动电话或智能电话(例如,基于iPhone TM,基于Android TM的电话)、便携式游戏设备(例如Nintendo DS TM,PlayStation Portable TM,Gameboy Advance TM,iPhone TM)、膝上型电脑、PDA、便携式互联网设备、音乐播放器、数据存储设备以及集成了本申请所述的图像处理装置的投影设备等,其他手持设备以及诸如智能手表、智能手环、耳机、吊坠等,电子设备还可以为其他的可穿戴设备(例如,诸如电子眼镜、电子衣服、电子手镯、电子项链、电子纹身、电子设备或头戴式设备(HMD))。The electronic device may be any of various types of computer system devices that are mobile, portable, and perform wireless communications. Specifically, the electronic device can be a mobile phone or a smart phone (for example, based on iPhone TM, a phone based on Android TM), a portable game device (such as Nintendo DS TM, PlayStation Portable TM, Gameboy Advance TM, iPhone TM), a laptop Computers, PDAs, portable Internet devices, music players, data storage devices, and projection devices integrating the image processing device described in this application, etc., other handheld devices and electronic devices such as smart watches, smart bracelets, earphones, pendants, etc. It can also be other wearable devices (for example, such as electronic glasses, electronic clothes, electronic bracelets, electronic necklaces, electronic tattoos, electronic devices or head-mounted devices (HMD)).
电子设备还可以是多个电子设备中的任何一个,多个电子设备包括但不限于蜂窝电话、智能电话、智能手表、智能手环、其他无线通信设备、个人数字助理、音频播放器、其他媒体播放器、音乐记录器、录像机、照相机、其他媒体记录器、收音机、医疗设备、车辆运输仪器、计算器、可编程遥控器、寻呼机、膝上型计算机、台式计算机、打印机、上网本电脑、个人数字助理(PDA)、便携式多媒体播放器(PMP)、运动图像专家组(MPEG-1或MPEG-2)音频层3(MP3)播放器,便携式医疗设备,投影设备以及数码相机及其组合。The electronic device may also be any of a number of electronic devices including, but not limited to, cellular phones, smart phones, smart watches, smart bracelets, other wireless communication devices, personal digital assistants, audio players, other media Players, Music Recorders, Video Recorders, Cameras, Other Media Recorders, Radios, Medical Equipment, Vehicle Transportation Instruments, Calculators, Programmable Remote Controls, Pagers, Laptop Computers, Desktop Computers, Printers, Netbook Computers, Personal Digital Assistants (PDAs), Portable Multimedia Players (PMPs), Moving Picture Experts Group (MPEG-1 or MPEG-2) Audio Layer 3 (MP3) players, Portable Medical Devices, Projection Devices, and Digital Cameras and combinations thereof.
在一些情况下,电子设备可以执行多种功能(例如,播放音乐,显示视频,存储图片以及接收和发送电话呼叫)。如果需要,电子设备可以是诸如蜂窝电话、媒体播放器、其他手持设备、腕表设备、吊坠设备、听筒设备或其他紧凑型便携式设备。In some cases, an electronic device can perform multiple functions (eg, play music, display video, store pictures, and receive and send phone calls). If desired, the electronic device may be a device such as a cellular phone, media player, other handheld device, wrist watch device, pendant device, earpiece device, or other compact portable device.
处理器910可以包括一个或者多个处理核。处理器910利用各种接口和线路连接整个电子设备内的各个部分,通过运行或执行存储在存储器920内的指令、应用程序、代码集或指令集,以及调用存储在存储器920内的数据,执行电子设备的各种功能和处理数据。可选地,处理器910可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器910可集成中央处理器(CentralProcessing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器910中,单独通过一块通信芯片进行实现。Processor 910 may include one or more processing cores. The processor 910 uses various interfaces and lines to connect various parts of the entire electronic device, and executes or executes instructions, application programs, code sets or instruction sets stored in the
存储器920可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器920可用于存储指令、应用程序、代码、代码集或指令集。存储器920可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等),用于获取目标投影图像,若所述目标投影图像的位深高于每台所述投影组件的位深,将基于所述目标投影图像确定与所述至少两台投影组件相对应的多个待投影图像,以使每个所述待投影图像的显示亮度之和等于所述目标投影图像的显示亮度,然后控制每台所述投影组件投射与每台所述投影组件对应的每个所述待投影图像,使所述多个待投影图像重合显示,其中,每个所述待投影图像对应一台所述投影组件。存储数据区还可以存储电子设备在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的电子设备的处理器910、存储器920的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the processor 910 and the
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过计算机程序来指令相关的硬件来完成,所述计算机程序可以存储于计算机可读存储介质中,所述存储介质可以包括但不限于:只读存储器(ROM,Read OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。It should be noted that those skilled in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium In this example, the storage medium may include but not limited to: a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.
请参考图10,其示出了本申请一实施例提供的计算机可读存储介质的结构框图。该计算机可读存储介质1000中存储有程序代码1010,所述程序代码可被处理器调用执行上述方法实施例中所描述的图像处理方法。Please refer to FIG. 10 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
计算机可读存储介质1000可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质1000包括非易失性计算机可读存储介质(non-transitory computer-readable storage medium)。计算机可读存储介质1000具有执行上述方法中的任何方法步骤的程序代码1010的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码1010可以例如以适当形式进行压缩。The computer readable storage medium 1000 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 1000 includes a non-transitory computer-readable storage medium (non-transitory computer-readable storage medium). The computer-readable storage medium 1000 has a storage space for
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that each part of the present application may be realized by hardware, software, firmware or a combination thereof. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读存储介质中。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. During execution, one or a combination of the steps of the method embodiments is included. In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, each unit may exist separately physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium.
尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present application, and those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations.
本发明实施例的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一区域和第二区域等是用于区别不同的区域,而不是用于描述区域的特定顺序。在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或两个以上。The terms "first" and "second" in the description and claims of the embodiments of the present invention are used to distinguish different objects, rather than to describe a specific sequence of objects. For example, the first area, the second area, etc. are used to distinguish different areas, not to describe a specific order of the areas. In the description of the embodiments of the present invention, unless otherwise specified, "plurality" means two or more.
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this article is an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone These three situations. The symbol "/" in this document indicates that the associated object is an or relationship, for example, A/B indicates A or B.
在本发明的实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention shall not be construed as being more preferred or more advantageous than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制。尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art will understand that: they can still modify the technical solutions described in the aforementioned embodiments, or perform equivalent replacements for some of the technical features; and these The modification or replacement does not drive the essence of the corresponding technical solutions away from the spirit and scope of the technical solutions of the various embodiments of the present application.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111145746.8A CN115880193A (en) | 2021-09-28 | 2021-09-28 | Image processing method, image processing device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111145746.8A CN115880193A (en) | 2021-09-28 | 2021-09-28 | Image processing method, image processing device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115880193A true CN115880193A (en) | 2023-03-31 |
Family
ID=85763690
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111145746.8A Pending CN115880193A (en) | 2021-09-28 | 2021-09-28 | Image processing method, image processing device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115880193A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117676107A (en) * | 2024-01-31 | 2024-03-08 | 武汉中观自动化科技有限公司 | Image laser projection method and laser projection device |
-
2021
- 2021-09-28 CN CN202111145746.8A patent/CN115880193A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117676107A (en) * | 2024-01-31 | 2024-03-08 | 武汉中观自动化科技有限公司 | Image laser projection method and laser projection device |
CN117676107B (en) * | 2024-01-31 | 2024-05-24 | 武汉中观自动化科技有限公司 | Image laser projection method and laser projection device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110619836B (en) | Display screen processing method and device, storage medium and electronic equipment | |
US10978027B2 (en) | Electronic display partial image frame update systems and methods | |
US10298840B2 (en) | Foveated camera for video augmented reality and head mounted display | |
WO2020011169A1 (en) | Method and device for gamma correction, display device and computer storage medium | |
CN108537889A (en) | Adjustment method, device, storage medium and electronic device for augmented reality model | |
JP6903150B2 (en) | Display device and its control method | |
CN111915481B (en) | Image processing method, device, electronic equipment and medium | |
CN112383719B (en) | Image brightness adjusting method, device and equipment and readable storage medium | |
US20210335391A1 (en) | Resource display method, device, apparatus, and storage medium | |
US20170018097A1 (en) | Image Displaying Methods, Devices, and Storage Media | |
JP6182225B2 (en) | Color buffer compression | |
US11615609B2 (en) | Learning apparatus, inferring apparatus, learning method, program, and inferring method | |
US11651719B2 (en) | Enhanced smoothness digital-to-analog converter interpolation systems and methods | |
CN105550973A (en) | Graphic processing unit, a graphic processing system including the same, and an anti-aliasing method using the same | |
WO2023142915A1 (en) | Image processing method, apparatus and device, and storage medium | |
CN115880193A (en) | Image processing method, image processing device, electronic equipment and storage medium | |
CN114495863B (en) | Screen brightness control method, device, equipment, storage medium and program product | |
CN114693885B (en) | Three-dimensional virtual object generation method, device, equipment, medium and program product | |
CN117234650A (en) | Image display method and device, storage medium and electronic equipment | |
CN115798417A (en) | Backlight brightness determination method, device, equipment and computer readable storage medium | |
CN116304396A (en) | Page rendering method and device, electronic equipment and storage medium | |
CN111415393B (en) | Method and device for adjusting display of multimedia blackboard, medium and electronic equipment | |
CN115774529A (en) | Screen color gamut adjusting method and device, storage medium and electronic equipment | |
CN110097619A (en) | Animation effect implementation method, device and equipment in application program | |
CN111367604A (en) | Processing method and device for file display, storage medium and terminal |
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 |