Playback control method, device and panoramic camera

By projecting the screen to test the image and using the panoramic image captured by the panoramic camera to determine whether the HDR function is enabled, the problem of poor playback effect when casting the HDR video on the panoramic camera is solved, and the playback effect matching the video and device type is achieved.

CN118921515BActive Publication Date: 2025-03-18LABPANO TECHNOLOGY (CHANGZHOU) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411393158.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-08
Publication Date
2025-03-18
Estimated Expiration
2044-10-08

AI Technical Summary

Technical Problem

When the panoramic camera projects HDR video to the TV, the playback effect may be poor because the TV does not support or the HDR function is not enabled.

Method used

By projecting the specified test image to the target playback device and using the panoramic camera to capture a panoramic image of the monitor screen, it is determined whether the target playback device is enabled for HDR, thereby determining the video type and performing appropriate screen projection.

Benefits of technology

Ensure that the video to be projected matches the video type supported by the target playback device, so as to achieve better video playback effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921515B_ABST
    Figure CN118921515B_ABST
Patent Text Reader

Abstract

The present application is applicable to the field of video processing technology, and provides a playback control method, device and panoramic camera. The playback control method is applied to a panoramic camera, and the playback control method includes: projecting a specified test image to a target playback device, the specified test image is an image encoded based on high dynamic range imaging HDR technology, and the target playback device is provided with a display screen, and the display screen can display the specified test image; when the display screen displays the specified test image, a target panoramic image is obtained, and the target panoramic image is a panoramic image obtained by shooting the display screen with a panoramic camera; based on the target panoramic image, it is determined whether the target playback device has turned on the HDR function to obtain a judgment result; based on the judgment result, the target video type is determined; based on the target video type, the video to be projected is projected to the target playback device for playback. In this way, a better video playback effect can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of video processing technology, and in particular to a playback control method, device and panoramic camera. Background Art

[0002] At present, panoramic cameras are used more and more widely in various fields, such as entertainment, tourism, medical treatment and other fields. However, there are still some defects in the use of panoramic cameras.

[0003] For example, a panoramic camera can record High Dynamic Range Imaging (HDR) videos. When you need to project the video onto other devices (such as a TV) for playback, you may encounter problems with the video type not matching. Specifically, the TV does not support the HDR function or the HDR function is not turned on. If you force the TV to play HDR videos, the playback effect will be poor, for example, the colors of the played video may appear gray. Summary of the invention

[0004] The embodiments of the present application provide a playback control method, device and panoramic camera, which can solve the problem of poor video playback effect at present.

[0005] In a first aspect, the present application provides a playback control method, which is applied to a panoramic camera, and the playback control method includes: projecting a specified test image to a target playback device, wherein the specified test image is an image encoded based on high dynamic range imaging HDR technology, and the target playback device is provided with a display screen, and the display screen can display the specified test image; when the display screen displays the specified test image, a target panoramic image is obtained, and the target panoramic image is a panoramic image obtained by the panoramic camera shooting the display screen; based on the target panoramic image, it is determined whether the target playback device has an HDR function turned on to obtain a judgment result; based on the judgment result, a target video type is determined; based on the target video type, the video to be projected is projected to the target playback device for playback.

[0006] In a possible implementation of the first aspect, judging whether the target playback device has an HDR function turned on based on the target panoramic image to obtain a judgment result includes: expanding the target panoramic image into a target plane image; determining a plane display image area based on the target plane image, wherein the plane display image area is an image area in the target plane image used to represent the display screen; judging whether the target playback device has an HDR function turned on based on features of the plane display image area to obtain a judgment result.

[0007] In a possible implementation of the first aspect, before expanding the target panoramic image into a target plane image, it includes: determining a panoramic display image area, wherein the panoramic display image area is an image area in the target panoramic image used to represent the display screen; correspondingly, expanding the target panoramic image into a target plane image includes: expanding the target panoramic image into a target plane image according to a position of the panoramic display image area.

[0008] In a possible implementation of the first aspect, determining the panoramic display image area includes: expanding the target panoramic image into an initial plane image; determining an image area in the initial plane image used to represent the display screen based on a target detection algorithm, and determining the panoramic display image area according to the image area in the initial plane image used to represent the display screen and a correspondence relationship, wherein the correspondence relationship is a correspondence relationship between pixels of the initial plane image and pixels of the target panoramic image.

[0009] In a possible implementation of the first aspect, the method of expanding the target panoramic image into a target plane image according to the position of the panoramic display image area includes: rotating the target panoramic image according to the position of the panoramic display image area so that the rotated panoramic display image area is in a middle position in a meridian extension direction in a preset spherical coordinate system, and the center of a sphere corresponding to the target panoramic image coincides with the origin of the preset spherical coordinate system; and expanding the rotated target panoramic image into a target plane image by using equidistant cylindrical projection technology.

[0010] In a possible implementation manner of the first aspect, the feature of the plane display image area includes brightness values ​​of pixels in the plane display image area. Correspondingly, judging whether the target playback device has an HDR function turned on based on the feature of the plane display image area to obtain a judgment result includes: determining a first data set and a second data set from the brightness values ​​of all pixels in the plane display image area, the first data set including brightness values ​​greater than or equal to a first preset value, the second data set including brightness values ​​less than or equal to a second preset value, and the first preset value being greater than the second preset value; judging whether the target playback device has an HDR function turned on based on the first data set and the second data set to obtain a judgment result.

[0011] In a possible implementation of the first aspect, the determining whether the target playback device has an HDR function turned on based on the first data set and the second data set to obtain a determination result includes: calculating a first average value based on the first data set, the first average value being the average value of all brightness values ​​in the first data set; calculating a second average value based on the second data set, the second average value being the average value of all brightness values ​​in the second data set; calculating a first difference based on the first average value and the second average value, the first difference being the difference obtained by subtracting the second average value from the first average value; calculating a second difference based on the first difference, the second difference being the difference obtained by subtracting a third preset value from the first difference; and determining whether the target playback device has an HDR function turned on based on the second difference to obtain a determination result.

[0012] In a second aspect, an embodiment of the present application provides a playback control device, which is applied to a panoramic camera, and the playback control device includes: a first projection unit, used to project a specified test image to a target playback device, wherein the specified test image is an image encoded based on high dynamic range imaging HDR technology, and the target playback device is provided with a display screen, and the display screen can display the specified test image; an image acquisition unit, used to acquire a target panoramic image when the display screen displays the specified test image, and the target panoramic image is a panoramic image obtained by the panoramic camera shooting the display screen; a judgment unit, used to judge whether the target playback device has an HDR function turned on based on the target panoramic image to obtain a judgment result; a type determination unit, used to determine the target video type based on the judgment result; a second projection unit, used to project the video to be projected to the target playback device for playback based on the target video type.

[0013] In a third aspect, an embodiment of the present application provides a panoramic camera, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the methods described in the first aspect when executing the computer program.

[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in any one of the first aspects above is implemented.

[0015] In an embodiment of the present application, a panoramic camera can project a designated test image to a target playback device, wherein the designated test image is an image encoded based on high dynamic range imaging HDR technology, and the target playback device is provided with a display screen, and the display screen can display the designated test image; when the display screen displays the designated test image, a target panoramic image is obtained, wherein the target panoramic image is a panoramic image obtained by the panoramic camera shooting the display screen; then, based on the target panoramic image, it is accurately determined whether the target playback device has an HDR function turned on to obtain a judgment result; then, based on the judgment result, the target video type is determined; and based on the target video type, the video to be projected is projected to the target playback device for playback. In this way, the video to be projected can be matched with the video type supported by the target playback device, thereby achieving a better video playback effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0017] Figure 1 is a flowchart of a playback control method provided by an embodiment of the present application;

[0018] Figure 2 It is a schematic diagram of a playback control device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0020] It should be noted that the terms "comprises" and "has" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product or equipment comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or equipment.

[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of this article and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of this article described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or equipment that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0022] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it may be directly on the other element or there may be an intermediate element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be an intermediate element at the same time.

[0023] In this article, the term "and / or" is only a description of the association relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the related objects before and after are in an "or" relationship.

[0024] Embodiment 1.

[0025] Figure 1 A flow chart of a playback control method provided in an embodiment of the present application is shown. The playback control method is applied to a panoramic camera, and the playback control method includes: step S101, step S102, step S103, step S104, and step S105.

[0026] Step S101: projecting a designated test image to a target playback device, wherein the designated test image is an image encoded based on high dynamic range imaging HDR technology, and the target playback device is provided with a display screen, and the display screen can display the designated test image.

[0027] As an example but not limitation, the number of the designated test images may be greater than or equal to 1. The target playback device is capable of receiving data sent by the panoramic camera, and the target playback device may be a television.

[0028] In some embodiments, step S101 includes: projecting a designated test image to a target playback device via a High Definition Multimedia Interface (HDMI).

[0029] Since the specified test image is an image encoded based on HDR technology, it has obvious brightness areas and dark areas, which is helpful for subsequent judgment of whether the target playback device has the HDR function turned on. In order to save enough pixel brightness information, a large bit depth method can be adopted when encoding images using HDR technology.

[0030] Step S102: when the display screen displays the designated test image, a target panoramic image is acquired, where the target panoramic image is a panoramic image obtained by the panoramic camera shooting the display screen.

[0031] Specifically, when the display screen displays the designated test image, the panoramic camera shoots the external environment of the panoramic camera based on a 360-degree shooting angle to obtain a target panoramic image, and the display screen is located in the external environment.

[0032] Step S103: determining whether the target playback device has an HDR function enabled based on the target panoramic image to obtain a determination result.

[0033] The HDR function is to support the playback of HDR videos. The judgment result is that the HDR function is turned on or not turned on. The not turned on function can be divided into two cases: one is that the target playback device can realize the HDR function but the HDR function is not turned on, and the other is that the target playback device cannot realize the HDR function.

[0034] Optionally, the step S103 includes: step A1, step A2 and step A3.

[0035] Step A1: Expand the target panoramic image into a target planar image.

[0036] Step A2: determining a plane display image region based on the target plane image, wherein the plane display image region is an image region in the target plane image used to represent the display screen.

[0037] Step A3: judging whether the target playback device has an HDR function enabled based on the characteristics of the plane display image area to obtain a judgment result.

[0038] As an example but not limitation, step A1 may include: expanding the target panoramic image into a target plane image based on equirectangular projection technology; step A2 may include: determining a plane display image area based on a target detection algorithm and the target plane image, for example, the target detection algorithm may be a target detection algorithm based on convolutional neural networks (CNNs), such as a region-based convolutional neural network (R-CNN) algorithm. In addition, the features of the plane display image area can represent the brightness information of pixels in the plane display image area.

[0039] Optionally, before step A1, it includes: determining a panoramic display image area, the panoramic display image area being an image area in the target panoramic image used to represent the display screen; correspondingly, step A1 includes: expanding the target panoramic image into a target plane image according to the position of the panoramic display image area. For different panoramic display image area positions, the specific processing details of expanding the target panoramic image into the target plane image will be different, so that the expansion effect of the image can be optimized.

[0040] Specifically, determining the panoramic display image area includes: determining the position of the panoramic display image area based on a target detection algorithm and the target panoramic image.

[0041] In some embodiments, the determining of the panoramic display image area includes: expanding the target panoramic image into an initial plane image, determining the image area in the initial plane image used to represent the display screen based on a target detection algorithm, and determining the panoramic display image area according to the image area in the initial plane image used to represent the display screen and a correspondence relationship, wherein the correspondence relationship is a correspondence relationship between pixels of the initial plane image and pixels of the target panoramic image. In this way, the panoramic display image area can be quickly determined.

[0042] It should be noted that the initial plane image is the result of the first expansion of the target panoramic image, that is, the initial plane image is the plane image formed by the first expansion of the target panoramic image, and the expansion of the target panoramic image into the target plane image according to the position of the panoramic display image area is the process of the second expansion of the target panoramic image, that is, the target plane image is the plane image formed by the second expansion of the target panoramic image.

[0043] In some embodiments, the plane display image area is located at the center of the target plane image.

[0044] After the target panoramic image is expanded for the first time, the distortion of the image area in the initial plane image used to represent the display screen may be large. However, when the target panoramic image is expanded for the second time, when the plane display image area (the center) is located at the center position of the target plane image, the distortion of the plane display image area is greatly reduced, and the characteristics of the plane display image area can be determined more accurately in the future, thereby more accurately judging whether the target playback device has the HDR function turned on.

[0045] In some embodiments, the method of expanding the target panoramic image into a target plane image according to the position of the panoramic display image area includes: rotating the target panoramic image according to the position of the panoramic display image area, so that the rotated panoramic display image area is in the middle position in the direction of the meridian extension in the preset spherical coordinate system, and the sphere center corresponding to the target panoramic image coincides with the origin of the preset spherical coordinate system; and expanding the rotated target panoramic image into a target plane image by using equidistant cylindrical projection technology. In this way, the degree of distortion of the plane display image area can be reduced.

[0046] Among them, the center of the sphere corresponding to the target panoramic image may be the center of the sphere corresponding to the sphere that can cover the target panoramic image, and the rotated panoramic display image area is in the middle position in the direction of meridian extension in the preset spherical coordinate system, which is equivalent to the center of the rotated panoramic display image area being located at the latitude of 0 degrees.

[0047] In some embodiments, the rotated panoramic display image area is located in the middle position of the longitudinal extension direction in the preset spherical coordinate system, and the rotated panoramic display image area is located in the middle position of the latitude extension direction in the preset spherical coordinate system. The rotated panoramic display image area is located in the middle position of the latitude extension direction in the preset spherical coordinate system, which can be equivalent to the center of the rotated panoramic display image area being located at the position of longitude 0 degrees.

[0048] Optionally, the characteristics of the plane display image area include brightness values ​​of pixels in the plane display image area. Correspondingly, step A3 includes: determining a first data set and a second data set from the brightness values ​​of all pixels in the plane display image area, the first data set including brightness values ​​greater than or equal to a first preset value, the second data set including brightness values ​​less than or equal to a second preset value, and the first preset value being greater than the second preset value; based on the first data set and the second data set, determining whether the target playback device has an HDR function turned on to obtain a determination result.

[0049] As an example but not limitation, the pixels in all the plane display image areas may be all the pixels in the plane display image areas corresponding to a plurality of target plane images, or all the pixels in the plane display image area corresponding to a plane display image. The plurality of target plane images may be target plane images corresponding to a plurality of specified test images.

[0050] In some embodiments, judging whether the target playback device has the HDR function turned on based on the first data set and the second data set to obtain a judgment result includes: calculating a first average value based on the first data set, the first average value being the average value of all brightness values ​​in the first data set; calculating a second average value based on the second data set, the second average value being the average value of all brightness values ​​in the second data set; calculating a first difference based on the first average value and the second average value, the first difference being the difference obtained by subtracting the second average value from the first average value; calculating a second difference based on the first difference, the second difference being the difference obtained by subtracting a third preset value from the first difference; judging whether the target playback device has the HDR function turned on based on the second difference to obtain a judgment result. That is, the embodiment of the present application can obtain an accurate judgment result.

[0051] For example, judging whether the target playback device has the HDR function turned on based on the second difference to obtain a judgment result includes: if the absolute value of the second difference is less than or equal to a fourth preset value, judging that the target playback device has the HDR function turned on; if the absolute value of the third difference is greater than the fourth preset value, judging that the target playback device has not the HDR function turned on.

[0052] Step S104: determine the target video type based on the judgment result.

[0053] The target video type is the video type of the video to be projected.

[0054] Specifically, if the judgment result is that the target playback device has turned on the HDR function, the target video type is determined to be the HDR video type; if the judgment result is that the target playback device has not turned on the HDR function, the target video type is determined to be the SDR video type.

[0055] Step S105: Project the video to be projected to the target playback device for playback based on the target video type.

[0056] Specifically, if the original video type of the video to be projected is the same as the target video type, the video to be projected is projected to the target playback device for playback; if the original video type of the video to be projected is different from the target video type, the video type of the video to be projected is converted, and the video type of the converted video is the target video type, and the converted video is projected to the target playback device (display screen) for playback.

[0057] As an example but not limitation, the original video type of the video to be projected is an HDR video type, and the target video type is an SDR video type. Correspondingly, converting the video type of the video to be projected includes: converting the video type of the video to be projected into an SDR video type.

[0058] In an embodiment of the present application, the panoramic camera can project a specified test image to a target playback device, the specified test image is an image encoded based on high dynamic range imaging HDR technology, and the target playback device is provided with a display screen, and the display screen can display the specified test image; when the display screen displays the specified test image, a target panoramic image is obtained, and the target panoramic image is a panoramic image obtained by the panoramic camera shooting the display screen; then based on the target panoramic image, it is accurately judged whether the target playback device has the HDR function turned on to obtain a judgment result; then the target video type is determined based on the judgment result; based on the target video type, the video to be projected is projected to the target playback device for playback. In this way, the video to be projected can be matched with the video type supported by the target playback device, so that a better video playback effect can be achieved. In particular, when the target playback device cannot / cannot directly send a prompt message to the panoramic camera, the prompt message is used to indicate that the target playback device has not turned on the HDR function or has turned on the HDR function. Through the embodiment of the present application, the panoramic camera can indirectly determine whether the target playback device has turned on the HDR function, thereby achieving a better video playback effect.

[0059] Embodiment 2.

[0060] Corresponding to the playback control method described in the above embodiment, an embodiment of the present application provides a playback control device. Figure 2 A schematic diagram of a playback control device provided in an embodiment of the present application is shown.

[0061] The playback control device is applied to a panoramic camera, and includes: a first screen projection unit 201 , an image acquisition unit 202 , a judgment unit 203 , a type determination unit 204 and a second screen projection unit 205 .

[0062] The first projection unit 201 is used to project a specified test image to a target playback device, where the specified test image is an image encoded based on high dynamic range imaging HDR technology, and the target playback device is provided with a display screen, which can display the specified test image.

[0063] The image acquisition unit 202 is used to acquire a target panoramic image when the display screen displays the designated test image. The target panoramic image is a panoramic image obtained by the panoramic camera shooting the display screen.

[0064] The determination unit 203 is configured to determine whether the target playback device has an HDR function enabled based on the target panoramic image to obtain a determination result.

[0065] Optionally, the judgment unit 203 is specifically used to: expand the target panoramic image into a target plane image; determine a plane display image area based on the target plane image, and the plane display image area is an image area in the target plane image used to represent the display screen; based on the characteristics of the plane display image area, judge whether the target playback device has an HDR function turned on to obtain a judgment result.

[0066] In some embodiments, before executing the step of expanding the target panoramic image into a target plane image, the judgment unit 203 is also used to: determine a panoramic display image area, where the panoramic display image area is an image area in the target panoramic image used to represent the display screen; correspondingly, the step of expanding the target panoramic image into a target plane image includes: expanding the target panoramic image into a target plane image according to the position of the panoramic display image area.

[0067] The type determination unit 204 is configured to determine the target video type based on the determination result.

[0068] The second screen projection unit 205 is used to project the video to be projected to the target playback device for playback based on the target video type.

[0069] It should be noted that for technical details not described in detail in this embodiment, reference may be made to the playback control methods provided in the various embodiments in the above-mentioned embodiment 1.

[0070] Embodiment three.

[0071] The panoramic camera in this embodiment includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor. When the processor executes the computer program, the steps in any of the above-mentioned playback control method embodiments are implemented.

[0072] When the processor executes the computer program, the steps in the above-mentioned various playback control method embodiments are implemented, for example: Figure 1 Alternatively, when the processor executes the computer program, the functions of each unit in the above-mentioned device embodiments are implemented, for example, Figure 2 The functions of units 201 to 205 are shown.

[0073] Those skilled in the art will understand that this embodiment is merely an example of a panoramic camera and does not constitute a limitation on the panoramic camera. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components, for example, it may also include input and output devices, network access devices, etc.

[0074] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0075] In some embodiments, the memory may be an internal storage unit of the panoramic camera, such as a hard disk or memory of the panoramic camera. In other embodiments, the memory may also be an external storage device of the panoramic camera, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the panoramic camera. Furthermore, the memory may also include both the internal storage unit of the panoramic camera and an external storage device. The memory is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory may also be used to temporarily store data that has been output or is to be output.

[0076] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0077] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0078] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0079] An embodiment of the present application provides a computer program product. When the computer program product runs on a panoramic camera, the panoramic camera can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0080] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the panoramic camera, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0081] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0082] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0083] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0084] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0085] The embodiments described above 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, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A playback control method, characterized in that: The playback control method is applied to a panoramic camera, and the playback control method includes: Projecting a specified test image to a target playback device, wherein the specified test image is an image encoded based on high dynamic range imaging HDR technology, and the target playback device is provided with a display screen, and the display screen can display the specified test image; When the display screen displays the designated test image, a target panoramic image is acquired, where the target panoramic image is a panoramic image obtained by the panoramic camera shooting the display screen; Determining whether the target playback device has an HDR function enabled based on the target panoramic image to obtain a determination result, wherein the determining whether the target playback device has an HDR function enabled based on the target panoramic image to obtain a determination result comprises: unfolding the target panoramic image into a target plane image, determining a plane display image area based on the target plane image, wherein the plane display image area is an image area in the target plane image used to represent the display screen, and determining whether the target playback device has an HDR function enabled based on features of the plane display image area to obtain a determination result, wherein the features of the plane display image area include brightness values ​​of pixels in the plane display image area, and correspondingly, determining whether the target playback device has an HDR function enabled based on the features of the plane display image area to obtain a determination result comprises: determining a first data set and a second data set from the brightness values ​​of all pixels in the plane display image area, wherein the first data set includes brightness values ​​greater than or equal to a first preset value, and the second data set includes brightness values ​​less than or equal to a second preset value, wherein the first preset value is greater than the second preset value, and determining whether the target playback device has an HDR function enabled based on the first data set and the second data set to obtain a determination result; Determine the target video type based on the judgment result; Based on the target video type, the video to be projected is projected to the target playback device for playback.

2. The playback control method according to claim 1, characterized in that: Before expanding the target panoramic image into a target planar image, the method includes: Determine a panoramic display image area, where the panoramic display image area is an image area in the target panoramic image used to represent the display screen; Correspondingly, the step of expanding the target panoramic image into a target planar image includes: The target panoramic image is expanded into a target plane image according to the position of the panoramic display image area.

3. The playback control method according to claim 2, characterized in that: Determining the panoramic display image area includes: Expanding the target panoramic image into an initial planar image; Based on the target detection algorithm, the image area in the initial plane image used to represent the display screen is determined, and the panoramic display image area is determined according to the image area in the initial plane image used to represent the display screen and the corresponding relationship, wherein the corresponding relationship is the corresponding relationship between the pixels of the initial plane image and the pixels of the target panoramic image.

4. The playback control method according to claim 2, characterized in that: The step of expanding the target panoramic image into a target plane image according to the position of the panoramic display image area includes: Rotating the target panoramic image according to the position of the panoramic display image area so that the rotated panoramic display image area is located in the middle position in the meridian extension direction in the preset spherical coordinate system, and the sphere center corresponding to the target panoramic image coincides with the origin of the preset spherical coordinate system; The rotated target panoramic image is expanded into a target plane image through equirectangular projection technology.

5. The playback control method according to claim 1, characterized in that: The determining whether the target playback device has an HDR function enabled based on the first data set and the second data set to obtain a determination result includes: Calculate a first average value based on the first data set, where the first average value is an average value of all brightness values ​​in the first data set; Calculate a second average value based on the second data set, where the second average value is an average value of all brightness values ​​in the second data set; Calculate a first difference based on the first average value and the second average value, the first difference being a difference obtained by subtracting the second average value from the first average value; Calculating a second difference based on the first difference, where the second difference is a difference obtained by subtracting a third preset value from the first difference; Based on the second difference, it is determined whether the target playback device turns on the HDR function to obtain a determination result.

6. A playback control device, characterized in that: The playback control device is applied to a panoramic camera, and the playback control device comprises: A first screen projection unit is used to project a specified test image to a target playback device, wherein the specified test image is an image encoded based on a high dynamic range imaging HDR technology, and the target playback device is provided with a display screen, and the display screen can display the specified test image; an image acquisition unit, configured to acquire a target panoramic image when the display screen displays the specified test image, The target panoramic image is a panoramic image obtained by photographing the display screen by the panoramic camera; a judgment unit, configured to judge whether the target playback device has an HDR function enabled based on the target panoramic image to obtain a judgment result, wherein the judging whether the target playback device has an HDR function enabled based on the target panoramic image to obtain a judgment result comprises: unfolding the target panoramic image into a target plane image, determining a plane display image area based on the target plane image, wherein the plane display image area is an image area in the target plane image used to represent the display screen, judging whether the target playback device has an HDR function enabled based on a feature of the plane display image area to obtain a judgment result, wherein the feature of the plane display image area comprises a brightness value of a pixel in the plane display image area, and correspondingly, judging whether the target playback device has an HDR function enabled based on the feature of the plane display image area to obtain a judgment result comprises: determining a first data set and a second data set from the brightness values ​​of all pixels in the plane display image area, wherein the first data set comprises a brightness value greater than or equal to a first preset value, wherein the second data set comprises a brightness value less than or equal to a second preset value, wherein the first preset value is greater than the second preset value, and judging whether the target playback device has an HDR function enabled based on the first data set and the second data set to obtain a judgment result; A type determination unit, configured to determine a target video type based on the determination result; The second screen projection unit is used to project the video to be projected to the target playback device for playback based on the target video type.

7. A panoramic camera, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Screen test system and method

    CN104349159A

  • 3D (Three-Dimensional) interview system based on virtual reality

    CN107491934A