Image display method and display device

By decoding and quality processing of the images captured by the camera on the display device, and using the parameters of the target application to generate the target image data, the problem of insufficient camera image quality processing capabilities is solved, and the image quality requirements for different application scenarios are achieved. Improved user experience.

CN114302203BActive Publication Date: 2024-11-05HISENSE VISUAL TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202110290335.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-18
Publication Date
2024-11-05
Estimated Expiration
2041-03-18

Smart Images

  • Figure CN114302203B_ABST
    Figure CN114302203B_ABST
Patent Text Reader

Abstract

The present application provides an image display method and a display device. The application can call the built-in camera on the display device to capture images or call the camera connected to the display device to capture images. After the call, the display device decodes the original image captured by the camera, and uses the target image quality parameters of the application to process the decoded data, thereby obtaining the target image data; the display device then uses the target image data to display the original image after image quality processing on the video display layer of the user interface. It can be seen that no matter what camera the application calls on the display device, the display device in the present application can perform corresponding image quality processing on the image data captured by different cameras, thereby meeting the image quality requirements of different applications and bringing users a better camera usage experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of display technology, and in particular to an image display method and a display device. Background Art

[0002] Currently, display devices can have built-in cameras or external cameras to realize functions such as taking pictures and video calls. Both the built-in cameras and external cameras on display devices have certain image quality processing capabilities, and can directly process the captured images, and then the display device displays the processed images.

[0003] However, the scenes that each application on the display device calls the camera for shooting are different, and the image quality requirements for the captured images in different scenes are also different. Whether it is the camera built into the display device or an external camera, each has its own image quality processing capability. If the image quality processing capability of the camera cannot meet the image quality requirements of the application in a specific scene, then the image finally displayed by the display device cannot meet the user's viewing needs, thereby affecting the user's experience. Summary of the invention

[0004] The present application provides an image display method and a display device to solve the problem that the image quality processing capability of the camera on the current display device cannot meet the image quality requirements of the application in a specific scenario.

[0005] In a first aspect, the present application provides a display device, including:

[0006] A display, for displaying a user interface;

[0007] The controller is configured as:

[0008] Get the decoded data of the original image captured by the camera;

[0009] Performing image quality processing on the decoded data using the target image quality parameter to obtain target image data;

[0010] The target image data is used to display the image of the original image after image quality processing on the video display layer of the user interface.

[0011] In some embodiments, the controller is further configured to:

[0012] Performing flip processing on the decoded data to obtain a flipped image of the original image captured by the camera;

[0013] The decoded data after the flipping process is subjected to image quality processing using the target image quality parameter to obtain target image data.

[0014] In some embodiments, the controller is further configured to:

[0015] When the target application calls the camera, displaying a prompt for setting an image mode to the user on the user interface;

[0016] Detect whether the user sets the target image mode;

[0017] When the user sets the target image mode, the target image quality parameters corresponding to the target application are determined according to the target image mode.

[0018] In some embodiments, the controller is further configured to:

[0019] When the user does not set a target image mode, obtaining a default image quality parameter of the target application;

[0020] The decoded data is processed for image quality using the default image quality parameters to obtain target image data.

[0021] In some embodiments, the controller is further configured to:

[0022] Identify the type of image captured by the camera; the image type includes at least picture type and video type;

[0023] The target image quality parameter is modified according to the image type.

[0024] In some embodiments, the controller is further configured to:

[0025] Obtaining the image quality requirement of the target application that calls the camera;

[0026] According to the image quality requirement, the target image quality parameter is modified.

[0027] In a second aspect, the present application also provides another display device, including:

[0028] A display, for displaying a user interface;

[0029] The controller is configured as:

[0030] When the target application calling the camera needs to perform image quality processing, obtaining decoded data of the original image captured by the camera;

[0031] Performing image quality processing on the decoded data using the target image quality parameter to obtain target image data;

[0032] The target image data is used to display the image of the original image after image quality processing on the video display layer of the user interface.

[0033] In some embodiments, the controller is further configured to:

[0034] When the target application that calls the camera does not need to perform image quality processing, obtaining an image data stream of an original image captured by the camera;

[0035] The original image is displayed on the dynamic display layer of the user interface using the image data stream.

[0036] In a third aspect, the present application provides an image display method, comprising:

[0037] Get the decoded data of the original image captured by the camera;

[0038] Performing image quality processing on the decoded data using the target image quality parameter to obtain target image data;

[0039] The target image data is used to display the image of the original image after image quality processing on the video display layer of the user interface.

[0040] In a fourth aspect, the present application also provides another image display method, comprising:

[0041] When the target application calling the camera needs to perform image quality processing, obtaining decoded data of the original image captured by the camera;

[0042] Performing image quality processing on the decoded data using the target image quality parameter to obtain target image data;

[0043] The target image data is used to display the image of the original image after image quality processing on the video display layer of the user interface.

[0044] From the above content, it can be seen that the technical solution of this application provides an image display method and a display device. The application can call the built-in camera on the display device to shoot images or call the camera external to the display device to shoot images. And after the call, the display device will decode the original image taken by the camera, and use the target image quality parameters of the application to process the decoded data, and then obtain the target image data; the display device then uses the target image data to display the original image after the image quality processing on the video display layer of the user interface. It can be seen that no matter what kind of camera the application calls on the display device, the display device in this application can perform corresponding image quality processing on the image data taken by different cameras, thereby meeting the image quality requirements of different applications and bringing users a better camera usage experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0046] Figure 1 A schematic diagram showing a usage scenario of a display device according to some embodiments;

[0047] Figure 2 shows a hardware configuration block diagram of a control device 100 according to some embodiments;

[0048] Figure 3 shows a hardware configuration block diagram of a display device 200 according to some embodiments;

[0049] Figure 4 shows a software configuration diagram in a display device 200 according to some embodiments;

[0050] Figure 5 A schematic diagram showing a camera image display on a display device 200 according to some embodiments is shown;

[0051] Figure 6 A schematic diagram of camera image display based on Android Camera architecture according to some embodiments is shown;

[0052] Figure 7 A schematic diagram showing an original image captured by a camera according to some embodiments;

[0053] Figure 8 A schematic diagram showing a display device 200 displaying an original image according to some embodiments;

[0054] Fig. 9 A schematic diagram showing a display device 200 displaying a flipped image according to some embodiments;

[0055] Fig.10 A schematic diagram showing a display page of a display device 200 according to some embodiments;

[0056] Fig.11 A schematic diagram showing a page displayed during a video call according to some embodiments;

[0057] Fig.12 A schematic diagram showing image quality processing on a display device 200 according to some embodiments is shown;

[0058] Fig.13 A schematic diagram showing an image mode selection page according to some embodiments;

[0059] Fig.14 A schematic diagram showing a camera image display on a second display device 200 according to some embodiments is shown;

[0060] Fig.15 A schematic diagram showing image quality processing on another display device 200 according to some embodiments is shown;

[0061] Fig.16 shows a schematic diagram of an image mode display according to some embodiments;

[0062] Fig.17 A schematic diagram showing a settings menu according to some embodiments;

[0063] Fig.18 A schematic diagram showing a process of adjusting target image quality parameters according to some embodiments;

[0064] Fig.19 A schematic diagram showing another process of adjusting target image quality parameters according to some embodiments;

[0065] Fig. 20 A schematic diagram showing a video image display according to some embodiments is shown;

[0066] Fig.21 A schematic diagram showing another video image display according to some embodiments;

[0067] Fig. 22 A schematic diagram showing a camera image display on a third display device 200 according to some embodiments is shown;

[0068] Fig.23 A schematic diagram of a prompting process according to some embodiments is shown. DETAILED DESCRIPTION

[0069] In order to make the purpose and implementation method of the present application clearer, the exemplary implementation method of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.

[0070] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.

[0071] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.

[0072] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.

[0073] The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic or combination of hardware and / or software code that is capable of performing the functions associated with that element.

[0074] Figure 1 FIG. 1 is a schematic diagram showing a usage scenario of a display device according to some embodiments. Figure 1 As shown, the display device 200 also performs data communication with the server 400 , and the user can operate the display device 200 through the smart device 300 or the control apparatus 100 .

[0075] In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication or Bluetooth protocol communication, and at least one of other short-range communication methods, to control the display device 200 wirelessly or wired. The user may control the display device 200 by inputting user commands through at least one of buttons on the remote controller, voice input, and control panel input.

[0076] In some embodiments, the smart device 300 may include any one of a mobile terminal, a tablet computer, a computer, a laptop computer, an AR / VR device, etc.

[0077] In some embodiments, the smart device 300 may also be used to control the display device 200. For example, the display device 200 may be controlled using an application running on the smart device.

[0078] In some embodiments, the smart device 300 and the display device may also be used to communicate data.

[0079] In some embodiments, the display device 200 can also be controlled in a manner other than the control device 100 and the smart device 300. For example, the user's voice command control can be directly received through a module for obtaining voice commands configured inside the display device 200, or the user's voice command control can be received through a voice control device set outside the display device 200.

[0080] In some embodiments, the display device 200 also communicates data with the server 400. The display device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 400 may provide various content and interactions to the display device 200. The server 400 may be one cluster or multiple clusters, and may include one or more types of servers.

[0081] In some embodiments, the software steps executed by a step execution subject can be migrated to another step execution subject in data communication with it as needed for execution. Exemplarily, the software steps executed by a server can be migrated to a display device in data communication with it as needed for execution, and vice versa.

[0082] Figure 2 FIG. 1 shows a hardware configuration block diagram of a control device 100 according to some embodiments. Figure 2 As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device 100 can receive input operation instructions from the user, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, playing the role of an interactive intermediary between the user and the display device 200.

[0083] In some embodiments, the communication interface 130 is used for communicating with the outside, and includes at least one of a WIFI chip, a Bluetooth module, NFC or an alternative module.

[0084] In some embodiments, the user input / output interface 140 includes at least one of a microphone, a touch pad, a sensor, a button, or alternative modules.

[0085] Figure 3 A hardware configuration block diagram of a display device 200 according to some embodiments is shown.

[0086] In some embodiments, the display apparatus 200 includes at least one of a tuner 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.

[0087] In some embodiments, the controller includes a central processing unit, a video processor, an audio processor, a graphics processor, a RAM, a ROM, and a first interface to an nth interface for input / output.

[0088] In some embodiments, the display 260 includes a display screen component for presenting images, and a driving component for driving image display, which is used to receive image signals output from a controller, display video content, image content, and a menu control interface component and a user control UI interface, etc.

[0089] In some embodiments, the display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.

[0090] In some embodiments, the tuner-demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.

[0091] In some embodiments, the communicator 220 is a component for communicating with an external device or server according to various communication protocol types. For example, the communicator may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display device 200 can establish transmission and reception of control signals and data signals with the control device 100 or the server 400 through the communicator 220.

[0092] In some embodiments, the detector 230 is used to collect signals of the external environment or external interaction. For example, the detector 230 includes a light receiver, a sensor for collecting the intensity of ambient light; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures; or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.

[0093] In some embodiments, the external device interface 240 may include, but is not limited to, any one or more of the following: a high-definition multimedia interface (HDMI), an analog or digital high-definition component input interface (component), a composite video input interface (CVBS), a USB input interface (USB), an RGB port, etc. It may also be a composite input / output interface formed by the above multiple interfaces.

[0094] In some embodiments, the controller 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.

[0095] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200. For example, in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 can perform operations related to the object selected by the user command.

[0096] In some embodiments, the object may be any one of the selectable objects, such as a hyperlink, an icon or other operable controls. Operations related to the selected object include: displaying a page, document, image, etc. connected to the hyperlink, or executing a program corresponding to the icon.

[0097] In some embodiments, the controller includes a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), RAM Random Access Memory (RAM), ROM (Read-Only Memory, ROM), a first interface to an nth interface for input / output, a communication bus (Bus), etc.

[0098] CPU processor. Used to execute operating system and application instructions stored in the memory, and to execute various applications, data and content according to various interactive instructions received from external input, so as to finally display and play various audio and video content. CPU processor may include multiple processors. For example, it includes a main processor and one or more sub-processors.

[0099] In some embodiments, the graphics processor is used to generate various graphic objects, such as at least one of icons, operation menus, and user input command display graphics. The graphics processor includes an operator, which performs operations by receiving various interactive instructions input by the user and displays various objects according to display attributes; and a renderer, which renders various objects obtained based on the operator, and the rendered objects are used to be displayed on the display.

[0100] In some embodiments, the video processor is used to receive an external video signal and perform at least one of the following video processing operations, such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis, according to a standard codec protocol of the input signal, to obtain a signal that can be directly displayed or played on the display device 200.

[0101] In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, and a display formatting module. The demultiplexing module is used to demultiplex the input audio and video data stream. The video decoding module is used to process the demultiplexed video signal, including decoding and scaling. The image synthesis module, such as an image synthesizer, is used to superimpose and mix the GUI signal generated by the graphics generator according to the user input or itself with the scaled video image to generate an image signal for display. The frame rate conversion module is used to convert the input video frame rate. The display formatting module is used to receive the video output signal after frame rate conversion and change the signal to conform to the display format signal, such as outputting an RGB data signal.

[0102] In some embodiments, the audio processor is used to receive an external audio signal, perform decompression and decoding according to a standard codec protocol of the input signal, and perform at least one of noise reduction, digital-to-analog conversion, and amplification processing to obtain a sound signal that can be played in a speaker.

[0103] In some embodiments, the user may input a user command in a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through a sensor.

[0104] In some embodiments, "user interface" is a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. A common form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be an interface element such as an icon, window, or control displayed on a display screen of an electronic device, wherein a control may include at least one of icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, and other visual interface elements.

[0105] In some embodiments, the user interface 280 is an interface that can be used to receive control input (such as a physical button on the display device body, or other interfaces).

[0106] In some embodiments, the system of the display device may include a kernel, a command parser (shell), a file system, and an application. The kernel, shell, and file system together constitute the basic operating system structure, which allows users to manage files, run programs, and use the system. After power-on, the kernel starts, activates the kernel space, abstracts hardware, initializes hardware parameters, etc., runs and maintains virtual memory, schedulers, signals, and inter-process communication (IPC). After the kernel starts, the shell and user applications are loaded. After startup, the application is compiled into machine code to form a process.

[0107] See also Figure 4 In some embodiments, the system is divided into four layers, from top to bottom, namely, the application layer (Applications) layer (referred to as "application layer"), the application framework layer (Application Framework) layer (referred to as "framework layer"), the Android runtime (Android runtime) and system library layer (referred to as "system runtime library layer"), and the kernel layer.

[0108] In some embodiments, at least one application is running in the application layer, and these applications can be window programs, system settings programs, clock programs, etc. provided by the operating system, or applications developed by third-party developers. In specific implementations, the application packages in the application layer are not limited to the above examples.

[0109] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center that determines the actions that applications in the application layer take. Through the API interface, applications can access system resources and obtain system services during execution.

[0110] like Figure 4As shown, in the embodiment of the present application, the application framework layer includes managers, content providers, etc., wherein the manager includes at least one of the following modules: an activity manager (ActivityManager) is used to interact with all activities running in the system; a location manager (Location Manager) is used to provide system services or applications with access to system location services; a package manager (Package Manager) is used to retrieve various information related to the application package currently installed on the device; a notification manager (NotificationManager) is used to control the display and clearing of notification messages; a window manager (Window Manager) is used to manage icons, windows, toolbars, wallpapers, and desktop components on the user interface.

[0111] In some embodiments, the activity manager is used to manage the life cycle of each application and the common navigation back function, such as controlling the exit, opening, and back of the application. The window manager is used to manage all window programs, such as obtaining the display screen size, determining whether there is a status bar, locking the screen, capturing the screen, and controlling the display window changes (for example, reducing the display window, shaking the display, distorting the display, etc.).

[0112] In some embodiments, the system runtime layer provides support for the upper layer, namely the framework layer. When the framework layer is used, the Android operating system will run the C / C++ library contained in the system runtime layer to implement the functions to be implemented by the framework layer.

[0113] In some embodiments, the kernel layer is a layer between hardware and software. Figure 4 As shown, the kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.

[0114] The display device 200 may have a built-in camera or an external camera to realize functions such as taking pictures and video calls. Both the built-in camera and the external camera on the display device 200 have certain image quality processing capabilities, and can directly process the captured image, and then the display device 200 displays the processed image.

[0115] The user interface displayed by the display device 200 may include a video display layer (video layer) and a dynamic display layer (osd layer). Regardless of whether the application calls the camera built into the display device 200 or an external camera to capture images, the display device 200 can directly display the original image processed by the camera on the osd layer of the user interface.

[0116] However, the scenes in which each application on the display device 200 calls the camera for shooting are different, and the image quality requirements for the captured images in different scenes are also different. For example, application A is an application specifically used to shoot images or videos, so its requirements for image quality are relatively high; while application B does not pay attention to image quality and only requires the smoothness of image display, so its requirements for image quality will be relatively low. However, the image quality processing capabilities of the camera itself are different. If application A calls a camera with low image quality processing capabilities, the image processed by the camera cannot meet the image quality requirements of application A.

[0117] It can be seen that whether it is the camera built into the display device 200 or the external camera, each has its own image quality processing capability. If the image quality processing capability of the camera cannot meet the image quality requirements of the application in a specific scenario, then the image finally displayed by the display device 200 cannot meet the user's viewing needs, thereby affecting the user's experience.

[0118] In order to solve the problem that the image displayed by the display device 200 cannot meet the requirements of the application scenario due to the insufficient image quality processing capability of the camera, Figure 5 As shown, the display device 200 in the embodiment of the present application can, after detecting that the application has called the camera, perform image quality processing on the image captured by the camera again according to the image quality requirements of the specific application, and display the image after image quality processing on the video layer of the user interface, so that the image finally displayed meets the image quality requirements of the application. In this process, the controller 250 in the display device 200 is configured to: first obtain the original image captured by the camera, and then decode the original image to obtain decoded data. Then, the obtained decoded data is processed using the target image quality parameters provided by the target application that calls the camera, and then the processed target image data is obtained. Finally, the target image data is used to display the image after the original image is processed, that is, the target image, on the video layer of the user interface. Among them, the target image quality parameters are used to indicate the image quality requirements of the target application that calls the camera for the image.

[0119] Both the video layer and the osd layer can display the complete image content. The difference between the two is that the osd layer can only directly display the image data stream sent by the camera, while the video layer can display the processed data of the image data stream. In the embodiment of the present application, in order to prevent the image processed by the camera itself from meeting the image quality requirements of the application, it is necessary to decode the image data stream of the original image processed by the camera and then perform image quality processing again; and because the image data stream of the original image obtained from the camera is decoded, the processed target image data can no longer be displayed by the osd layer. In the embodiment of the present application, the target image data is displayed on the video layer. In this way, it is ensured that the image after image quality processing can be displayed, and it is also ensured that the displayed image meets the image quality requirements of the target application, while ensuring the user experience.

[0120] Since the camera itself can process the captured images, and the image data it outputs are all encoded data streams, in order to perform secondary processing on these image data, the controller 250 needs to first decode the image data stream of the original image captured by the camera, and then perform image quality processing on the decoded data.

[0121] Figure 6 A schematic diagram of camera image display based on Android Camera architecture according to some embodiments is shown.

[0122] In some embodiments, the controller 250 may be configured to decode the image data stream based on the Android Camera architecture and perform image quality processing and image display on the decoded data. Figure 6 As shown, after the target application calls the camera, it will register in the upper-layer Android Camera architecture, and the server in the Android Camera architecture will instantiate the corresponding underlying decoding client. The underlying client can communicate with the underlying omx (decoding component) and tell omx when to decode, and receive some basic decoding parameters set by the target application for decoding. When the camera captures an image, the server takes out the camera image data stream in h264 format through the ioctrl function, and sends this code stream to the underlying omx for decoding. After receiving the image data stream, omx calls the decoding capability, decodes the image data stream, and saves the decoded data obtained after decoding at the kernel data address according to the decoding parameters.

[0123] After decoding, omx sends the kernel data address back to the upper Android Camera architecture. Nvtdisplay (display component) in the architecture obtains the decoded data from the corresponding address, and render (rendering component) processes the decoded data to obtain the target image data. Finally, Nvtdisplay displays the target image data on the video layer of the user interface.

[0124] The image in the embodiment of the present application may generally refer to pictures, videos, etc. captured by a camera. For pictures, the image data stream is the data after the picture is encoded; for videos, the image data stream is the data after each frame of the video is encoded.

[0125] In some embodiments, the camera used on the display device 200 is usually a front-facing camera. In order to make the image displayed on the display device 200 form a mirror image with the photographed object, the controller 250 is further configured to: perform a flipping process on the decoded data to obtain a flipped image of the original image photographed by the camera. For example, if character A is running in a real scene, raising his left arm and right leg at the same time, the action of character A photographed from the camera angle is Figure 7 As shown in FIG. 2 , the right arm is raised while the left leg is raised. If the controller 250 directly Figure 7 If it is displayed on the display device 200, it will appear as follows Figure 8 In the case shown, character A raises his left arm in front of the display device 200, while the arm raised by character A in the display device 200 is on the right. This display method makes it difficult for the user to determine which direction to move in front of the display device 200, thereby affecting the user's experience. Therefore, the controller 250 needs to flip the decoded data so that the image displayed on the display device 200 is a mirror image of the original image, such as Fig. 9 As shown, when the mirrored image of character A is displayed on the display device 200, the movement direction of character A in the image will be the same as the movement direction of character A in the real scene.

[0126] Then, the controller 250 may be further configured to perform image quality processing on the decoded data after the flipping processing using the target image quality parameters, so as to obtain the target image data.

[0127] Fig.10 A schematic diagram of a display page of a display device 200 according to some embodiments is shown.

[0128] Fig.10 The "media asset 1" shown in the figure may correspond to the "target application A", and the "target application A" is an application that can make video calls. Fig.10After selecting "Media Resource 1" on the page shown, "Media Resource 1" will call the camera of the display device 200, and after the video call is successfully connected, the camera will capture the video image a of the user in front of the display device 200, as shown in FIG. Fig.11 The image is displayed in the manner shown, and a video image b of the other party of the video call obtained through the network is displayed in the upper right corner of the displayed image.

[0129] If the current "target application A" has very high requirements for the image quality of the displayed video image a, then the controller 250 in the embodiment of the present application obtains the image data stream of the user video captured by the camera and the target image quality parameters set on the "target application A" after the "target application A" calls the camera and when the camera starts to shoot the user video content; then decodes the image data stream to obtain the decoded data of each frame of the image; and then uses the target image quality parameters to perform image quality processing on the decoded data of each frame of the image, so that each frame of the image during the user's video call can meet the image quality requirements.

[0130] In some embodiments, some target applications may provide users with some image mode choices in order to provide users with a better user experience, and then adjust the final image quality according to the user's choice. Before the user selects an image mode, the display device 200 will display an image mode selection page to the user on the display page after the target application is opened. Fig.12 As shown, in this process, the controller 250 is configured to display a prompt for setting the image mode to the user when the target application calls the camera. The prompt is as follows Fig.13 The selection page shown is displayed, and the page also provides the user with some optional image modes, such as standard mode, vivid mode, movie mode, game mode, etc. The user selects the corresponding mode according to his or her needs, that is, sets the target image mode.

[0131] In some embodiments, different image modes correspond to different image quality parameters. After the user selects the target image mode, the target image quality parameters of the target application are determined. Fig.12 As shown, the controller 250 is further configured to: determine the target image quality parameters corresponding to the target application according to the target image mode when the user sets the target image mode, and process the decoded data according to the target image quality parameters, so that the processed target image data meets the image quality requirements of the target application.

[0132] For example, if the user selects the vivid mode, the parameters for adjusting the image color in the target image quality parameters corresponding to the vivid mode will be different from those in other image modes. At this time, the controller 250 processes the decoded data using the target image quality parameters corresponding to the vivid mode, and can adjust the color vividness of the target image, thereby making the image quality of the target image meet the requirements of the vivid mode.

[0133] Alternatively, some target applications also provide users with options such as "standard mode" to maintain the original image quality. If the user selects this type of image mode, it means that the target application does not need to process the image quality when calling the camera to capture the image, and only uses the original image quality. Fig.14 As shown, the controller 250 can also be configured to directly display the image data stream captured by the camera on the OSD layer, that is, the original image captured by the camera is not processed again.

[0134] In some embodiments, the user sees Fig.13 After selecting the page shown, you can also select the "Cancel" option, or directly exit the image mode selection operation. In this case, it can be considered that the user has not selected the target image mode. Fig.15 As shown, the controller 250 is configured to: use the default image quality parameters to process the decoded data to obtain the target image data. The default image quality parameters are basic image quality parameters set by the technicians according to the usage scenarios and functional requirements of the target application. When the user has no special requirements for the image quality, the controller 250 can use the default image quality parameters of the target application to process the image quality, thereby ensuring that the displayed image can meet the most basic image quality requirements of the target application.

[0135] In addition, in some embodiments, regardless of whether the user selects the target image mode or not, the display device 200 will also synchronously display the current image mode on the image when displaying the image. Fig.16 As shown, if the user selects the vivid mode, the controller 250 will display the image after image quality processing on the video layer, and will also display the current "vivid mode" at a certain position of the image. The position of the image mode display is not fixed, but is usually set for the purpose of not blocking the main content of the image.

[0136] In some embodiments, the user can select the image mode again during the image display process. In this case, the user only needs to input the image mode selection command to the display device 200 to call up the selection page again on the display device 200. The image mode selection command can be input by pressing the "up", "down", "left", "right", "home" and other function keys on the control device 100, or by inputting a voice command. For example, Fig.17 On the display page shown, the user can press the "home" button on the control device 100 to call out a setting menu containing some function items on the display page, and "image mode" is also one of the function items. Then, the user can continue to select the "image mode" option on the display page, thereby controlling the display device 200 to display a selection page containing several image modes again.

[0137] Fig.18 A schematic diagram of a process for adjusting target image quality parameters according to some embodiments is shown.

[0138] In some embodiments, some target applications have different requirements for image quality due to their own usage attributes. For example, if application A is specifically used for taking pictures, then the image displayed by application A must meet relatively high image color, contrast, brightness and other requirements while meeting the image quality requirements set by the user; while application B is specifically used for making video calls, then the image displayed by application B only needs to meet basic image quality requirements and does not require relatively high image quality, but only needs to ensure good video fluency and low latency risk. Therefore, in some embodiments, Fig.18 As shown, even if the user sets the corresponding target image mode, the target image quality parameters can be further adjusted according to the actual requirements of the target application, so as to further achieve the image quality requirements of the target application while satisfying the user's image quality requirements.

[0139] In this process, the controller 250 is also configured to: first obtain the image quality requirements of the target application from the target application that calls the camera. Then modify the target image quality parameters according to the image quality requirements of the target application. In addition, it is worth noting that the image quality parameters in the embodiments of the present application do not refer to just one parameter, but to a series of parameters for adjusting image brightness, color, contrast, motion compensation, noise, etc. When modifying the target image quality parameters, one or more parameters of the target image quality parameters can be modified accordingly according to the image quality requirements of the target application.

[0140] Alternatively, in some cases, the target application is not a functional application specifically used for shooting or video calls, but a general application that can provide photo or video functions. In this case, the image quality requirements of this target application can also be determined according to the scene in which the camera is used, that is, what kind of image the camera is shooting. If the camera is shooting photos, the current image requirements of the target application need to meet relatively high image color, contrast, brightness, etc. If the camera is shooting video content, then in order to reduce the delay of video display, the current image requirements of the target application need to reduce the risk of delay, and then the parameters corresponding to some time-consuming processes such as motion compensation and noise reduction need to be modified.

[0141] Therefore, in some embodiments, Fig.19 As shown, the controller 250 is further configured to first identify the type of image captured by the camera according to the camera shooting mode, such as picture type or video type, etc. Then, according to the image type, modify the target image quality parameter accordingly.

[0142] For example, if the target application calls the camera to shoot a video, and the number of fingers of the user in the video changes from one to two, if the image quality is not processed, the video image will be displayed as follows: Fig. 20 As shown, the display device 200 may synchronously display the process of the user's finger index changing from one to two; and if image quality processing is performed, a series of operations such as motion compensation and noise reduction need to be performed on each frame of the video, and the processing time of each frame of the image will be longer, such as Fig.21 As shown, the current finger count of the user may become two, but the display device 200 is still displaying the image with the finger count of one, which causes a delay problem in image display. To avoid this problem, according to the method in the above embodiment, when it is detected that the camera is shooting a video, the time-consuming parameters such as Memc (motion compensation) and noise reduction in the target image quality parameters are modified, and then the motion compensation, noise reduction and other processes are directly turned off to improve the speed of image quality processing and reduce the risk of delay in video image display.

[0143] From the above content, it can be known that the display device 200 provided in the embodiment of the present application, when the target application calls the image captured by the camera, can perform a second image quality processing on the image data of the original image processed by the camera using the target image quality parameters set by the user, while the camera itself performs basic image quality processing on the original image, and use the processed target image data to display the target image on the video layer of the user interface. It can be seen that no matter whether the target application calls the built-in camera or the external camera on the display device 200, the display device 200 can perform corresponding image quality processing on the image data of different cameras, thereby meeting the image quality requirements of different applications and different users, and bringing users a better camera usage experience.

[0144] As described in the above embodiment, the user interface displayed by the display 260 includes a video layer and an osd layer. When the display device 200 needs to process the image quality of the image captured by the camera, the processed image data needs to be displayed on the video layer; and when the display device 200 does not need to process the image quality of the image captured by the camera, the image data stream captured by the camera can be directly displayed on the osd layer.

[0145] Furthermore, if Fig. 22 As shown, the display device 200 in the embodiment of the present application can also detect whether the target application needs to perform image quality processing after the target application calls the camera. In this process, the controller 250 is configured to detect whether the target application needs to perform image quality processing after the target application calls the camera. If the target application that calls the camera needs to perform image quality processing, then the original image taken by the camera is first obtained, and then the original image is decoded to obtain decoded data. Then, the decoded data is processed using the target image quality parameters provided by the target application to obtain the target image data. Finally, using the target image data, the image of the original image after image quality processing, that is, the target image, is displayed on the video layer of the user interface.

[0146] Furthermore, if the target application does not require image quality processing, such as Fig. 22 As shown, the controller 250 is also configured to obtain an image data stream of the original image taken by the camera from the camera. Then, the original image taken by the camera is displayed on the OSD layer of the user interface using the image data stream.

[0147] When the controller 250 detects whether the target application needs to perform image quality processing, it can perform the detection based on the decoding parameters set by the target application itself. Usually, the decoding parameters of the target application include not only some basic decoding parameters, such as decoding frame rate, decoding format, etc., but also a field for indicating whether the video layer needs to be used to display images. If the content of the field indicates that the target application needs to use the video layer to display images, the controller 250 detects that the target application needs to perform image quality processing; if the content of the field indicates whether the target application needs to use the video layer to display images, the controller 250 detects that the target application does not need to perform image quality processing.

[0148] It is also worth noting that the technician can estimate whether the target application has higher requirements for image quality based on the usage scenarios and functional requirements of the target application. If the basic image quality processing of the camera can meet the usage requirements of the target application, then it can be considered that the target application does not need to perform image quality processing on the display device 200. At this time, the technician can modify the field content to indicate that no image quality processing is required; if the basic image quality processing of the camera is difficult to meet the usage requirements of the target application, then it is considered that the target application needs to perform image quality processing on the display device 200. At this time, the technician can modify the field content to indicate that image quality processing is required.

[0149] And, the controller 250 can still decode the image data stream based on the Android Camera architecture and perform image quality processing and image display on the decoded data. After calling the camera, the target application is registered in the upper-level AndroidCamera architecture. During registration, it can determine whether the video layer needs to be displayed according to the decoding parameters of the target application. If necessary, the server in the Android Camera architecture will instantiate the corresponding underlying decoding client. The underlying client can communicate with the underlying omx (decoding component) and inform omx when decoding should be performed, while receiving some basic parameters set by the target application for decoding. When there is camera video data, the server side takes out the camera image data stream in h264 format through the ioctrl function, and sends this code stream to the underlying omx for decoding. After receiving the image data stream, omx calls the decoding capability, decodes the image data stream, and saves the decoded data obtained after decoding at the kernel data address according to the decoding parameters.

[0150] After decoding, omx sends the kernel data address back to the upper Android Camera architecture. Nvtdisplay (display component) in the architecture obtains the decoded data from the corresponding address, and render (rendering component) processes the decoded data to obtain the target image data. Finally, Nvtdisplay displays the target image data on the video layer of the user interface.

[0151] If the target application is registered, and the Android Camera architecture determines based on the decoding parameters that the video layer does not need to be displayed but the osd layer needs to be displayed, then the display process of the camera image can directly follow the Android Camera process, that is, directly display the camera's image data stream on the osd layer.

[0152] Fig.23 A schematic diagram of a prompting process according to some embodiments is shown.

[0153] In some embodiments, Fig.23 As shown, when the target application calls the image taken by the camera and does not need image quality processing, the display device 200 will issue a prompt to the user, thereby reminding the user that the camera's own image quality processing parameters are currently being used for image display; and when the target application calls the image taken by the camera and needs image quality processing, the display device 200 will also issue a prompt to the user, thereby reminding the user to select a corresponding image mode. In this process, the controller 250 is also configured to: detect whether the target application requires image quality processing; and, if the target application requires image quality processing, display a prompt on the display 260 to use the camera's own parameters for image display; and if the target application does not require image quality processing, display a prompt on the display 260 to remind the user to select an image mode. The image mode selection page can still refer to the aforementioned embodiment. Fig.10 .

[0154] From the above content, it can be known that the display device 200 provided in the embodiment of the present application can capture images with its own camera or with an external camera. After the target application calls the camera, if the target application needs to perform further image quality processing, the display device 200 will decode the image data stream captured by the camera, and use the target image quality parameters of the application to process the decoded data, thereby obtaining the target image data; the display device 200 then uses the target image data to display the image of the original image after image quality processing on the video layer of the user interface. If the target application does not need to perform further image quality processing, the display device 200 can directly display the image data stream captured by the camera on the osd layer, thereby directly displaying the original image.

[0155] It can be seen that no matter what kind of camera the target application calls on the display device 200, the display device 200 in the embodiment of the present application can perform corresponding image quality processing on the image data of different cameras, thereby meeting the image quality requirements of different applications and bringing users a better camera usage experience.

[0156] In addition, in order to meet the image quality requirements of different applications, the embodiment of the present application also provides an image display method, which can be used in the display device 200 as in the aforementioned embodiment and implemented by the controller 250, and can specifically include the following steps: obtaining decoded data of the image data stream captured by the camera; performing image quality processing on the decoded data using target image quality parameters to obtain target image data; and using the target image data to display the target image captured by the camera on the video layer of the user interface displayed on the display 260.

[0157] At the same time, in order to meet the image quality requirements of different applications, another image display method is also provided in the embodiment of the present application. The method can also be used in the display device 200 in the aforementioned embodiment and implemented by the controller 250. The method can specifically include the following steps: when the target application that calls the camera needs to perform image quality processing, obtain the decoded data of the image data stream captured by the camera; use the target image quality parameters to perform image quality processing on the decoded data to obtain the target image data; use the target image data to display the target image captured by the camera in the video layer of the user interface displayed on the display 260. And, when the target application that calls the camera does not need to perform image quality processing, obtain the image data stream captured by the camera; use the image data stream to display the target image captured by the camera in the osd layer of the user interface displayed on the display 260.

[0158] Since the image display method described in the embodiment of the present application can be applied to the controller 250 described in the aforementioned embodiment, other contents of the image display method in the embodiment of the present application can refer to the contents of the aforementioned embodiment and will not be repeated here.

[0159] 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 it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0160] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.

Claims

1. A display device, characterized in that: include: A display, for displaying a user interface; The controller is configured as: Obtaining decoded data of the original image taken by the camera and target image quality parameters set on the target application that calls the camera to take the original image, wherein the decoded data is obtained by the controller in the kernel data address, and the decoding component of the controller decodes the original image according to the decoding parameters and saves the obtained decoded data in the kernel data address, the decoding parameters are registered in the AndroidCamera architecture after the target application calls the camera to take the original image, the server in the Android Camera architecture instantiates the corresponding decoding client, the decoding client communicates with the decoding component so that the decoding component receives the decoding parameters set by the target application, and the decoding parameters at least include a field for indicating whether the video layer needs to be used to display the image; If the field indicates that the target application needs to use the video layer to display images, the decoded data is processed using the target image quality parameter to obtain target image data, wherein the target image quality parameter is used to indicate the image quality requirement of the target application that calls the camera; The target image data is used to display the image of the original image after image quality processing on the video display layer of the user interface.

2. The display device according to claim 1, characterized in that The controller is further configured to: Performing a flipping process on the decoded data to obtain a flipped image of the original image captured by the camera; The decoded data after the flipping process is subjected to image quality processing using the target image quality parameter to obtain target image data.

3. The display device according to claim 1, characterized in that The controller is further configured to: When the target application calls the camera, displaying a prompt for setting an image mode to the user on the user interface; Detect whether the user sets the target image mode; When the user sets the target image mode, the target image quality parameters corresponding to the target application are determined according to the target image mode.

4. The display device according to claim 3, characterized in that The controller is further configured to: When the user does not set the target image mode, obtaining the default image quality parameters of the target application; The decoded data is processed for image quality using the default image quality parameters to obtain target image data.

5. The display device according to any one of claims 1 to 3, characterized in that: The controller is further configured to: Identify the type of image captured by the camera; the image type includes at least picture type and video type; The target image quality parameter is modified according to the image type.

6. The display device according to any one of claims 1 to 3, characterized in that: The controller is further configured to: Obtaining the image quality requirement of the target application that calls the camera; According to the image quality requirement, the target image quality parameter is modified.

7. A display device, characterized in that: include: A display, for displaying a user interface; The controller is configured as: In the case where the target application that calls the camera needs to perform image quality processing, the decoded data of the original image taken by the camera and the target image quality parameters set on the target application that calls the camera to take the original image are obtained, wherein the decoded data is obtained by the controller in the kernel data address, and the decoding component of the controller decodes the original image according to the decoding parameters and saves the obtained decoded data in the kernel data address, the decoding parameters are registered in the Android Camera architecture after the target application calls the camera to take the original image, the server in the Android Camera architecture instantiates the corresponding decoding client, the decoding client communicates with the decoding component so that the decoding component receives the decoding parameters set by the target application, and the decoding parameters at least include a field for indicating whether it is necessary to use the video layer to display the image; In the case where the field indicates that the target application needs to use the video layer to display images, the decoded data is processed using the target image quality parameter to obtain target image data, wherein the target image quality parameter is used to indicate the image quality requirement of the target application that calls the camera; The target image data is used to display the image of the original image after image quality processing on the video display layer of the user interface.

8. The display device according to claim 7, characterized in that The controller is further configured to: When the target application that calls the camera does not need to perform image quality processing, obtaining an image data stream of an original image captured by the camera; The original image is displayed on the dynamic display layer of the user interface using the image data stream.

9. An image display method, characterized in that: include: Obtaining decoded data of the original image captured by the camera and target image quality parameters set on the target application that calls the camera to capture the original image, wherein the decoded data is obtained by the controller in the kernel data address, and the decoding component of the controller decodes the original image according to the decoding parameters and saves the obtained decoded data in the kernel data address, and the decoding parameters are registered in the Android Camera architecture after the target application calls the camera to capture the original image, and the server in the Android Camera architecture instantiates a corresponding decoding client, and the decoding client communicates with the decoding component so that the decoding component receives the decoding parameters set by the target application, and the decoding parameters at least include a field for indicating whether the video layer needs to be used to display the image; If the field indicates that the target application needs to use the video layer to display images, the decoded data is processed using the target image quality parameter to obtain target image data, wherein the target image quality parameter is used to indicate the image quality requirement of the target application that calls the camera; The target image data is used to display the image of the original image after image quality processing on the video display layer of the user interface.

10. An image display method, characterized in that: include: In the case that the target application that calls the camera needs to perform image quality processing, the decoded data of the original image taken by the camera and the target image quality parameters set on the target application that calls the camera to take the original image are obtained, wherein the decoded data is obtained by the controller in the kernel data address, and the decoding component of the controller decodes the original image according to the decoding parameters and saves the obtained decoded data in the kernel data address, the decoding parameters are registered in the Android Camera architecture after the target application calls the camera to take the original image, the server in the AndroidCamera architecture instantiates the corresponding decoding client, the decoding client communicates with the decoding component so that the decoding component receives the decoding parameters set by the target application, and the decoding parameters at least include a field for indicating whether it is necessary to use the video layer to display the image; In the case where the field indicates that the target application needs to use the video layer to display images, the decoded data is processed using the target image quality parameter to obtain target image data, wherein the target image quality parameter is used to indicate the image quality requirement of the target application that calls the camera; The target image data is used to display the image of the original image after image quality processing on the video display layer of the user interface.

Citation Information

Patent Citations

  • Image processing apparatus with function for specifying image quality, and method and storage medium

    CN102685379A

  • Mode switching method and device

    CN104378688A

  • Invoking method, apparatus and system of camera

    CN106851172A

  • Electronic device and filter processing method for photographed image thereof, storage medium

    CN109068056A

  • Intelligent image quality switching method and display equipment

    CN111405338A