A display device and a color rendering method

By detecting sliding operation parameters and path pixel points in the display device, generating effect color values ​​and setting colors, the problem that existing devices cannot display brush painting smudge effect, and improving user experience.

CN114968049BActive Publication Date: 2024-11-22HISENSE VISUAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210564855.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-23
Publication Date
2024-11-22
Estimated Expiration
2042-05-23

AI Technical Summary

Technical Problem

Existing display devices cannot display the color smudge effect that will appear when painting, such as brushes, which will affect the user experience.

Method used

Provide a display device and color rendering method, which generates effect color values ​​by detecting user sliding operation parameters and path pixel points, and sets the colors of path pixel points and associated areas according to these color values ​​to achieve color, transparency and shading. Dynamic changes in radius simulate the painting effect of the brush.

Benefits of technology

It realizes the real color smudge effect of displaying brushes and other brushes when painting, improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114968049B_ABST
    Figure CN114968049B_ABST
Patent Text Reader

Abstract

The display device and color rendering method provided by the present application can obtain brush parameters, action parameters, and path pixel points passed by the sliding operation according to the sliding operation input by the user in the painting area, and generate effect color values ​​based on the brush parameters and the action parameters, and set the colors of the path pixel points and the areas associated with the path pixel points according to the effect color values, so that the color, transparency, blending radius and other effects of each path pixel point are different, and the real painting effect of brushes such as brushes that will produce color blending effects when painting can be displayed, which is beneficial to user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of smart TV drawing boards, and in particular to a display device and a color rendering method. Background Art

[0002] Display devices refer to terminal devices that can output specific display images, such as smart TVs, mobile terminals, smart advertising screens, projectors, etc. Taking smart TVs as an example, smart TVs can be based on Internet application technology, have open operating systems and chips, have open application platforms, can realize two-way human-computer interaction functions, and are TV products that integrate multiple functions such as audio and video, entertainment, education, and data to meet the diverse and personalized needs of users. For example, a display device can have a drawing board function, and users can interact with the display device, select the corresponding brush style, and leave a touch track on the display device. The display device will fill the pixels where the touch track passes with color to realize the drawing board function of the display device.

[0003] When the user enables the drawing board function of the display device, the fill colors of all pixels corresponding to the same touch track left on the display device are the same, which can display the real painting effects of brushes such as pencils and pens. However, it cannot display the real painting effects of brushes such as writing brushes that will produce color blending effects when painting, which is not conducive to user experience. Summary of the invention

[0004] The present application provides a display device and a color rendering method to solve the problem that existing display devices cannot display the true painting effect of brushes such as brushes that produce color blending effects when painting, which is beneficial to user experience.

[0005] In one aspect, the present application provides a display device, comprising:

[0006] A display, used to display an electronic drawing board interface, wherein the electronic drawing board interface includes a control area and a drawing area, and the control area includes at least one brush control;

[0007] A touch component, used to detect a touch pressure value and a touch duration when a user performs a touch operation on the display;

[0008] The controller is configured as:

[0009] In response to a sliding operation input by a user in the drawing area, obtaining brush parameters, the brush parameters including initial color parameters, water dipping amount parameters, and drawing paper style parameters;

[0010] Detecting action parameters of the sliding operation and path pixel points along which the sliding operation passes, the action parameters including pen tip direction parameters and writing force parameters;

[0011] Generate an effect color value according to the brush parameter and the action parameter;

[0012] The color of the path pixel point and the area associated with the path pixel point is set according to the effect color value.

[0013] On the other hand, the present application provides a color rendering method, comprising:

[0014] In response to a sliding operation input by a user in a drawing area, obtaining brush parameters, the brush parameters including initial color parameters, water dipping amount parameters, and drawing paper style parameters;

[0015] Detecting action parameters of the sliding operation and path pixel points along which the sliding operation passes, wherein the action parameters include a pen tip direction parameter, a sliding time parameter, and a writing force parameter;

[0016] Generate an effect color value according to the brush parameter and the action parameter;

[0017] The color of the path pixel point and the area associated with the path pixel point is set according to the effect color value.

[0018] It can be seen from the above technical solutions that the display device and color rendering method provided by the present application can obtain brush parameters, action parameters, and path pixel points passed by the sliding operation according to the sliding operation input by the user in the painting area, and generate effect color values ​​based on the brush parameters and action parameters, and set the colors of the path pixel points and the areas associated with the path pixel points according to the effect color values, so that the color, transparency, blending radius and other effects of each path pixel point are different, and the real painting effect of brushes such as brushes that will have color blending effects when painting can be displayed, which is beneficial to user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is an operation scenario between a display device and a control device provided exemplarily in this application;

[0020] Figure 2 A hardware configuration block diagram of a display device exemplarily provided in this application;

[0021] Figure 3 A software configuration diagram in a display device provided exemplarily in this application;

[0022] Figure 4 A schematic diagram of an electronic drawing board interface shown in some embodiments of the present application;

[0023] Figure 5 A schematic diagram of an electronic drawing board interface shown in some embodiments of the present application;

[0024] Figure 6 A flow chart for generating a water dipping amount parameter provided as an example in this application;

[0025] Figure 7 An electronic drawing board interface showing a drawing paper toolbar is provided as an example in this application;

[0026] Figure 8 A flow chart showing a touch track provided exemplarily in the present application;

[0027] Fig. 9 A schematic diagram of an electronic drawing board interface shown in some embodiments of the present application;

[0028] Fig.10 A schematic diagram of an electronic drawing board interface shown in some embodiments of the present application;

[0029] Fig.11 A flowchart for generating a transparency value provided as an example for this application;

[0030] Fig.12 A schematic diagram of the relationship between a touch pressure value and a transparency value provided exemplarily in this application;

[0031] Fig.13 A flowchart for generating a transparency value provided as an example for this application;

[0032] Fig.14 A flowchart for generating a transparency value provided as an example for this application;

[0033] Fig.15 A schematic diagram of the relationship between a blending radius value and a dipping water amount parameter provided as an example in this application;

[0034] Fig.16 A flowchart for generating a rendering radius value provided as an example for this application;

[0035] Fig.17 A schematic diagram of a path pixel point association area provided as an example in this application;

[0036] Fig.18 A flowchart for generating a color effect value provided as an example in this application;

[0037] Fig.19 A schematic diagram of a path pixel with a color point provided as an example in this application. DETAILED DESCRIPTION

[0038] 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.

[0039] 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.

[0040] 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.

[0041] 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.

[0042] 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.

[0043] Figure 1 FIG. 2 is a schematic diagram of an operation scenario between a display device 200 and a control device 100 according to an embodiment. Figure 1 As shown, the user can operate the display device 200 through the smart device 300 or the control apparatus 100 .

[0044] In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the display device 200 includes infrared protocol communication or Bluetooth protocol communication, and other short-range communication methods, and the display device 200 is controlled wirelessly or wired. The user can input user commands through buttons on the remote controller, voice input, control panel input, etc. to control the display device 200.

[0045] In some embodiments, a smart device 300 (such as a mobile terminal, a tablet computer, a computer, a laptop computer, etc.) may also be used to control the display device 200. For example, the display device 200 is controlled using an application running on the smart device.

[0046] 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 100 set outside the display device 200.

[0047] 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.

[0048] Figure 2 A hardware configuration block diagram of a display device 200 according to an exemplary embodiment is shown.

[0049] In some embodiments, the display device 200 includes a touch component, and the display device 200 can implement a touch interaction function through the touch component, so that the user can operate the host by simply touching the display 260 with a finger, thus getting rid of the keyboard, mouse, and remote control operation, making the human-computer interaction more straightforward. On the touch display 260, the user can input different control instructions through touch operation. When the user performs touch operation on the display screen, the touch component can be used to detect the user's touch action, touch force, and continuous touch time. For example, the user can input touch actions such as click, slide, long press, double click, etc. Different touch actions represent different touch instructions, and different touch instructions can trigger different control functions, or the user can input touch actions with different touch forces. For example, when the display 260 displays a painting interface, the user can lightly touch the display 260 to generate an instruction to display a function control, and the user can also touch the display 260 again to generate an instruction to select a painting target in the painting interface. Alternatively, the user can input touch actions with different touch times. For example, if the user's continuous touch time on a certain function control exceeds a threshold, an instruction to hide the function control is generated; if the user's continuous touch time on the function control does not exceed the threshold, an instruction to select the control touched by the user is generated, etc.

[0050] In order to realize the above-mentioned different touch actions, the touch component can detect the user's touch action, touch force and continuous touch time and other touch factors when the user inputs the touch operation, generate different electrical signals based on the detected touch factors, and send the generated electrical signals to the controller 250. The controller 250 can extract features of the received electrical signals, so as to determine the control function to be executed by the user according to the extracted features. For example, when the user inputs a click touch action at any program icon position in the application interface, the touch component will sense the touch action and generate an electrical signal. After receiving the electrical signal, the controller 250 can first judge the duration of the corresponding level of the touch action in the electrical signal, and when the duration is less than the preset time threshold, it is recognized that the user input is a click touch instruction. The controller 250 then extracts the position feature generated by the electrical signal to determine the touch position. When the touch position is within the display range of the application icon, it is determined that the user has input a click touch instruction at the application icon position. Accordingly, the click touch instruction is used to execute the function of running the corresponding application in the current scene, so the controller 250 can start running the corresponding application.

[0051] For another example, when the user inputs a sliding action in the media display page, the touch component also sends the sensed electrical signal to the controller 250. The controller 250 first determines the duration of the signal corresponding to the touch action in the electrical signal. When it is determined that the duration is greater than the preset time threshold, the position change of the signal generation is judged. Obviously, for interactive touch actions, the position where the signal is generated will change, thereby determining that the user has input a sliding touch instruction. The controller 250 then determines the sliding direction of the sliding touch instruction based on the change in the signal generation position, and controls the page turning of the display screen in the media display page to display more media options. Furthermore, the controller 250 can also extract the sliding speed, sliding distance, sliding force and other features of the sliding touch instruction, and control the page turning screen according to the extracted features to achieve a hand-following effect, etc.

[0052] Similarly, for touch commands such as double-click and long press, the controller 250 can extract different features, determine the type of touch command through feature judgment, and then execute the corresponding control function according to the preset interaction rules. In some embodiments, the touch component also supports multi-touch, so that the user can input touch actions on the touch screen through multiple fingers, such as multi-finger click, multi-finger long press, multi-finger slide, etc.

[0053] The above touch actions can also be combined with specific applications to achieve specific functions. For example, when the user opens the drawing board application, the display 260 can present a drawing area, and the user can draw a specific touch action track in the drawing area by sliding the touch command. The controller 250 determines the touch action pattern through the touch action detected by the touch component, and controls the display 260 to display it in real time to meet the demonstration effect.

[0054] In some embodiments, the display device 200 further includes at least one of a tuner and demodulator 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.

[0055] In some embodiments, the controller 250 includes a processor, a video processor, an audio processor, a graphic processor, RAM, ROM, and first to nth interfaces for input / output.

[0056] 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 the controller 250, and display video content, image content, and menu control interface components and user control UI interface.

[0057] In some embodiments, the display 260 may be a liquid crystal display 260, an OLED display 260, and a projection display 260, and may also be a projection device and a projection screen.

[0058] 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 external control device 100 or the server 400 through the communicator 220.

[0059] In some embodiments, the user interface may be used to receive a control signal from the control device 100 (eg, an infrared remote controller, etc.).

[0060] 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.

[0061] 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.

[0062] 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.

[0063] In some embodiments, the controller 250 controls the operation of the display device 200 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.

[0064] 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.

[0065] In some embodiments, the controller 250 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.

[0066] 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.

[0067] In some embodiments, the graphics processor is used to generate various graphic objects, such as 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 260.

[0068] 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.

[0069] 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 that the user can receive. The commonly used form of user interface is the 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, control, etc. displayed on the display screen of an electronic device, where the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, and other visual interface elements.

[0070] In some embodiments, the system of the display device 200 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 the 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.

[0071] See also Figure 3 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.

[0072] 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.

[0073] 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.

[0074] like Figure 3 As 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.

[0075] 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.).

[0076] 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.

[0077] In some embodiments, the kernel layer is a layer between hardware and software. Figure 3As 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.

[0078] In some embodiments, the controller 250 controls the operation of the display device 200 and responds to user operations related to the display 260 by running various software control programs (such as an operating system and / or various application programs) stored in the memory. For example, the controller 250 controls the presentation of a user interface on the display 260, and the user interface includes a number of UI objects; in response to a received user command on a UI object on the user interface, the controller 250 can perform an operation related to the object selected by the user command.

[0079] In some embodiments, the display device 200 may have multiple functions, such as a drawing board function, a karaoke function, a magic mirror function, a video call function, and a player function, etc., wherein the drawing board function can be implemented based on an application related to the drawing board function installed on the display device 200. For ease of explanation, the application related to the drawing board function installed on the display device 200 is referred to as a "drawing board application". After the display device 200 starts the drawing board application, an electronic drawing board interface is presented on the display 260. The electronic drawing board interface displays user interface objects, information, and / or areas where content can be input corresponding to one or more functions of the drawing board application. The aforementioned user interface objects refer to objects that constitute the electronic drawing board interface, and may include but are not limited to text, images, icons, soft keys (or "virtual buttons"), drop-down menus, radio buttons, check boxes, optional lists, and the like. The displayed user interface objects may include non-interactive objects for transmitting information or constituting the appearance of a user interface, interactive objects that can be interacted with by users, or a combination of non-interactive objects and interactive objects. The user can contact the touch screen at the touch screen position corresponding to the interactive object with which he wishes to interact, thereby interacting with the user interface object. The display device 200 detects the contact and responds to the detected contact by performing an operation corresponding to the interaction with the interactive object to enable drawing in the drawing board application.

[0080] In some embodiments, some or all of the steps involved in the embodiments of the present application are implemented in an operating system and / or an application. The drawing board application used to implement some or all of the steps in the embodiments of the present application can be stored in a memory, and the controller 250 controls the operation of the display device 200 and responds to user operations related to the application by running the application in the operating system.

[0081] It is worth noting that the display device 200 involved in the embodiment of the present application includes but is not limited to the display device 200 described in the above embodiment, and can also be other terminal devices with image display function, data processing and information receiving and sending function, such as mobile phones, tablet computers and other portable mobile terminals. The following will take the display device 200 as an example to explain the embodiment of the present application in detail.

[0082] In some embodiments, the electronic drawing board interface includes a drawing area 610 and a control area 620. The drawing area 610 is an area where content can be input, and the control area 620 is used to centrally display user interface objects and information corresponding to one or more functions of the drawing board application. The user interface objects include but are not limited to brush controls, eraser controls, color absorption controls, etc., and the information includes various parameter information corresponding to the brush controls, such as the current input color and optional colors, thickness, line shape, etc.

[0083] In some embodiments, the brush control may be a brush control corresponding to a pencil, a pen, etc. When a user selects a corresponding brush control, a touch track of a painting effect corresponding to the brush control may be left on the display device 200. The color and line size at each location on the touch track are usually consistent. Therefore, it is difficult to display the true painting effect of a brush such as a writing brush that will produce a color blending effect when painting, which is not conducive to user experience.

[0084] Figure 4 This is an electronic drawing board interface diagram shown in some embodiments of the present application. Figure 4 As shown, the electronic drawing board interface includes a drawing area 610 and a control area 620. The drawing area 610 is used to receive content input by the user through the controls in the control area 620, and display the received content, such as lines, graphics, text, etc. The control area 620 is used to display various functional controls, and at least includes a plurality of brush controls 621a, 621b, 621c and 621d of different styles, an erase control 622, a drawing paper control 623, an undo control 624 and a restore control 625. The brush control 621a can be a brush control corresponding to a brush effect. When the brush control 621a is selected, the display 260 is triggered to display the following. Figure 5 The brush control 621a shown corresponds to a brush toolbar 6211, which includes items for setting brush color and brush thickness. After the user sets the brush color and brush thickness, the brush corresponding to the brush control 621a is triggered to be picked up. When the brush is picked up, the user can input content based on contact with the drawing area 610, and the input content is the touch trajectory of the user on the drawing area 610.

[0085] In some embodiments, the user can perform a selection operation on any item used to set the brush color. In response to the user's selection operation, the controller 250 calls the initial color parameter corresponding to the item selected by the user for setting the brush color, and sets the input color of the brush control 621a according to the initial color parameter.

[0086] In some embodiments, the brush toolbar 6211 further includes a dipping control 6212. The user can perform a selection operation on the dipping control 6212. In response to the user's selection operation on the dipping control 6212, the controller 250 detects the duration for which the dipping control 6212 is selected, and generates a dipping amount parameter based on the duration. According to the dipping amount parameter, the input color of the brush control 621a can be set so that the output effect of the brush control 621a is consistent with the real output effect of a brush such as a writing brush that needs to be dipped in water.

[0087] In some embodiments, a time threshold corresponding to when the dipping amount parameter reaches the maximum value can be preset, and a functional relationship between the dipping amount parameter when it does not reach the maximum value and the duration of the user's selection operation on the dipping control can be set. For example, the maximum value of the dipping amount parameter can be set to V Max The maximum value V of the dipping amount parameter Max The corresponding time threshold is T Max If V represents the generated dipping amount parameter and T represents the duration of the user's selection operation on the dipping control, the relationship between the dipping amount parameter V and the duration T can be represented by the following function:

[0088]

[0089] where A is the dipping amount gradient coefficient and 0 < A ≤ 1. The value of A can be preset to control the growth rate of the dipping amount parameter, so that the growth rate of the dipping amount parameter increases with the increase of the value of the dipping amount gradient coefficient A, and the dipping amount parameter is positively correlated with the duration. For example, if A = 0.2 and V Max = 100%, then when the duration of the user's selection operation on the dipping control reaches 5 s, the dipping amount parameter can reach the maximum value, that is, when T = 5, V Max = 100%. If A = 0.02 and V Max = 100%, then when the duration of the user's selection operation on the dipping control is 20 s, the dipping amount parameter V = 40%, that is, when T = 20 s, V = 40%. When the duration of the user's selection operation on the dipping control reaches 50 s, the dipping amount parameter reaches the maximum value, that is, when T = 50, V Max = 100%.

[0090] Figure 6A flow chart for generating water dipping amount parameters is provided as an example in this application, such as Figure 6 As shown, it includes: step S601, when the user performs a selection operation on the dipping control 6212, the controller 250 detects the duration of the dipping control being selected in response to the user's selection operation on the dipping control 6212; step S602, if it is detected that the duration is less than the time threshold, calling V=A*T function; step S603, if it is detected that the duration is greater than or equal to the time threshold, calling V=V Max Function; Step S604, generating water dipping amount parameters based on the called function.

[0091] In some embodiments, after the controller 250 generates the water dipping amount parameter, it can control the display of the water dipping amount parameter at a preset position in the electronic drawing board interface to prompt the user the degree of water dipping of the brush, for example, see Figure 5 After the controller 250 controls the generation of the water dipping amount parameters, it can control the display of the generated water dipping amount parameters on the water dipping control.

[0092] In some embodiments, the user can select the drawing paper control 623, and the controller 250 detects the user's selection of the drawing paper control 623 and controls the display of the drawing paper toolbar 6221 in the electronic drawing board interface. Figure 7 , is an electronic drawing board interface showing a drawing paper toolbar provided by the present application as an example, Figure 7 As shown, the drawing paper toolbar 6221 includes at least a plurality of drawing paper controls of different styles. The user can set the drawing background by selecting different drawing paper controls. Different brush controls 621a produce different effects when drawn in different drawing backgrounds. The drawing paper styles include but are not limited to gouache paper, oil painting paper, sketch paper, rice paper, etc.

[0093] In some embodiments, the user selects a drawing paper control, and the controller 250 responds to the user's selection of the drawing paper control by calling the drawing paper style parameters corresponding to the drawing paper control, and based on the drawing paper style parameters, controls the presentation of the drawing paper style corresponding to the drawing paper control selected by the user in the electronic drawing board interface.

[0094] In some embodiments, default drawing paper style parameters may be pre-set. If the controller 250 does not detect a user selection operation on the drawing paper control, the default drawing paper style parameters are called, and based on the default drawing paper style parameters, the corresponding drawing paper style is controlled to be presented in the electronic drawing board interface.

[0095] In some embodiments, after the controller 250 detects that the user has set the brush parameters, it controls the brush control 621a to be in the picked-up state. When the brush control 621a is in the picked-up state, the user can input content based on contact with the drawing area 610, and the input content is the touch trajectory of the user on the drawing area 610.

[0096] Figure 8 A flow chart showing a touch track is provided as an example in this application. Figure 8 As shown, it includes: S801, the user draws a specific touch track in the drawing area through a sliding operation, and the controller 250 can obtain brush parameters and action parameters in response to the sliding operation input by the user in the drawing area 610; S802, the controller 250 sets the color of the pixel point passed by the sliding operation based on the brush parameters and action parameters, wherein the brush parameters at least include the initial color parameters and the water dipping amount parameters generated when the corresponding brush control 621a is selected in advance and the input color and water dipping amount of the brush control 621a are set, and the drawing paper style parameters generated when the corresponding drawing paper control is selected in advance. The action parameters are generated when the controller 250 detects that the user inputs a sliding operation in the drawing area 610, and the action parameters at least include the pen tip direction parameters and the writing force parameters.

[0097] In some embodiments, when a user inputs a sliding operation in the drawing area 610 by touching the display 260, the touch component can detect the position passed by the user during the sliding operation, and generate the coordinates of each position passed by the sliding operation in the reference coordinate system of the display 260. In response to the sliding operation input by the user, the controller 250 can obtain the starting point coordinates and real-time coordinates generated by the touch component, wherein the starting point coordinates are the coordinates of the starting point of the sliding operation in the reference coordinate system of the display 260, and the real-time coordinates are the coordinates of the path pixel points passed by the sliding operation in the reference coordinate system of the display 260. The controller 250 can determine the sliding trajectory between the starting point and the path pixel points based on the obtained starting point coordinates and real-time coordinates, and generate a pen tip direction parameter based on the sliding trajectory. The pen tip direction parameter includes the coordinates of each pixel point passed by the sliding operation in the reference coordinate system of the display 260, so as to reflect the sliding direction and sliding distance corresponding to the user's sliding operation.

[0098] In some embodiments, when a user inputs a sliding operation in the drawing area 610 through touch with the display 260, the touch component can detect the touch pressure value of the user's sliding operation when it passes through each path pixel point. In response to the sliding operation input by the user, the controller 250 can obtain the touch pressure value detected by the touch component when the sliding operation passes through each path pixel point, and generate a writing force parameter based on the touch pressure value when the sliding operation passes through each path pixel point.

[0099] In some embodiments, the controller 250 may generate a blending color value according to the initial color parameter and the water dipping amount parameter in response to a sliding operation input by the user in the painting area 610, so as to set the input color of the brush control 621a according to the generated blending color value. The relationship between the initial color parameter, the water dipping amount parameter and the color value may be represented by the following function:

[0100]

[0101] Among them, Color' represents the blending color value, Color represents the initial color parameter, and the blending color value decreases as the dipping water parameter increases, that is, the color corresponding to the blending color value is obtained by diluting the color corresponding to the initial color parameter according to the dipping water parameter. Fig. 9 As shown, the initial color parameters of line L1 and line L2 are the same, the water dipping parameter of line L1 is 30%, and the water dipping parameter of line L2 is 50%. In the electronic drawing board interface, the color of line L2 is lighter than that of line L1.

[0102] In some embodiments, the controller 250 responds to the sliding operation input by the user in the drawing area 610, and can set the transparency value corresponding to the input color of the selected brush control 621a according to the pen direction parameter, wherein the controller 250 calculates the distance between the path pixel point and the starting point of the sliding operation according to the pen direction parameter, and generates the transparency value corresponding to the input color of the brush control 621a according to the distance, such as Fig.10 As shown, U is the starting point of the sliding operation. The larger the distance value is, the larger the transparency value corresponding to the input color of the brush control 621a generated by the controller 250 should be, that is, the farther the pixel point is from the starting point, the greater the transparency of the set color.

[0103] In some embodiments, a distance threshold between the path pixel point corresponding to the maximum transparency value and the starting point of the sliding operation can be preset, and a functional relationship between the transparency value and the distance when the transparency value does not reach the maximum can be set. For example, the maximum transparency value can be set to Q Max , the corresponding distance threshold is S Max , if Q represents the generated transparency value, and S represents the distance between the path pixel point and the starting point of the sliding operation, the relationship between the transparency value Q and the distance S can be expressed by the following function:

[0104]

[0105] Among them, B is the first transparency gradient coefficient and 0 < B ≤ 1. The user can preset the value of B to control the growth rate of the transparency value. The growth rate of the transparency value increases with the increase of the value of the first transparency gradient coefficient B, and the transparency value is positively correlated with the value corresponding to the distance. For example, if A = 0.1, Q Max = 100%, then when the distance between the path pixel point and the starting point of the sliding operation reaches 10 cm, the transparency value can reach the maximum value, that is, when S = 10, Q Max = 100%. When S = 5 cm, Q = 50%, that is, when the value corresponding to the distance is 5 cm, the generated transparency value is 50%. And when the transparency value reaches the maximum value, the sliding path corresponding to the user's sliding operation after the transparency value reaches the maximum value will not be displayed on the electronic drawing board interface.

[0106] Fig.11 FIG. is a flowchart of generating a transparency value provided exemplarily by the present application. As Fig.11 shown, it includes: step S111, the controller 250 responds to the sliding operation input by the user in the drawing area 610 and calls the pen tip direction parameter; step S112, calculates the distance between the starting point of the sliding operation and the path pixel points passed according to the called pen tip direction parameter; step S113, if it is detected that the distance is less than the distance threshold, calls the Q = B * S function; step S114, if it is detected that the distance is greater than or equal to the distance threshold, calls the Q = Q Max function; step S115, generates a transparency value based on the called function.

[0107] In some embodiments, the controller 250 responds to the sliding operation input by the user in the drawing area 610, and can set the transparency value corresponding to the input color of the selected brush control 621a according to the writing force parameter. Among them, the controller 250 can obtain the touch pressure value when the user's sliding operation passes through each path pixel point according to the writing force parameter, and generate the transparency value corresponding to the input color of the brush control 621a according to the obtained touch pressure value. And in order to make the colors and effects of each path pixel point closer to the real effects presented by brushes that need to dip in water, such as a writing brush, the greater the touch pressure value, the smaller the transparency value corresponding to the input color of the brush control 621a controlled by the controller 250.

[0108] In some embodiments, the touch pressure values corresponding to when the transparency value reaches the minimum and maximum respectively can be preset, and the functional relationship between the transparency value when it does not reach the minimum and maximum and the touch pressure value can be set. For example, the minimum transparency value can be set to Q Min , the maximum transparency value is Q Max , the maximum touch pressure value corresponding to the minimum transparency value Q Min is P Max, the maximum transparency value is Q Max The corresponding minimum touch pressure value is P Max , if Q represents the generated transparency value and P represents the touch pressure value, the relationship between the transparency value Q and the touch pressure value P can be expressed by the following function:

[0109]

[0110] where C is the second transparency gradient coefficient and 0 < C ≤ 1. When the value range of the touch pressure value P is P Min ≤ P ≤ P Max , the user can preset the value of C to control the growth rate of the transparency value. The growth rate of the transparency value increases with the increase of the value of the second transparency gradient coefficient C, and the transparency value Q is negatively correlated with the touch pressure value.

[0111] Fig.12 is a schematic diagram of the relationship between the touch pressure value and the transparency value provided exemplarily by this application. As Fig.12 shown, where the initial color parameters and water dipping amount parameters of line L3 and line L4 are the same, and the writing strength parameter of line L3 is greater than that of line L4, that is, the touch pressure value corresponding to line L3 is greater than the touch pressure value corresponding to line L4. In the electronic drawing board interface, the color of line L4 is lighter than that of line L3.

[0112] Fig.13 is a flowchart of generating a transparency value provided exemplarily by this application. As Fig.13 shown, it includes: step S131, the controller 250 responds to the sliding operation input by the user in the drawing area 610 and calls the writing strength parameter; step S132, according to the called writing strength parameter, obtains the touch pressure value P when the user's sliding operation passes through each path pixel point; step S133, if it is detected that the touch pressure value P is greater than or equal to the maximum touch pressure value P Max , then call Q = Q Min function; step S134, if it is detected that the touch pressure value p is less than or equal to the minimum touch pressure value P Min , then call Q = Q Max function; step S135, if it is detected that the range of the touch pressure value P is between the minimum touch pressure value P Min and the maximum touch pressure value P Max , then call Step S126, generate a transparency value based on the called function.

[0113] In some embodiments, Fig.14 is a flowchart of generating a transparency value provided exemplarily by this application. As Fig.14As shown in the figure, it includes: Step S141, the controller 250 can calculate the distance between the path pixel points and the starting point of the sliding operation according to the pen tip direction parameter in response to the sliding operation input by the user in the drawing area 610, and generate a transparency value Q1 related to the pen tip direction parameter according to the distance; Step S142, the controller 250 can also obtain the touch pressure value when the user's sliding operation passes through each path pixel point according to the writing force parameter, and generate a transparency value Q2 related to the writing force parameter according to the touch pressure value; Step S143, the controller calculates the transparency value Q corresponding to the input color of the selected brush control 621a according to the transparency value Q1 and the transparency value Q2. For example, Q = Q1 * Q2. Among them, the method for the controller 250 to generate the transparency value Q1 related to the pen tip direction parameter according to the distance and the transparency value Q2 related to the writing force parameter according to the touch pressure value can refer to the above embodiments and will not be repeated here.

[0114] In some embodiments, the controller 250 can call the water dipping amount parameter in response to the sliding operation input by the user in the drawing area 610, and generate a bleeding radius value according to the water dipping amount parameter, so as to determine the associated area of each path pixel point according to the bleeding radius value, and set the colors of each path pixel point and the associated area of each path pixel point, which can present a bleeding effect presented by a brush that needs to be dipped in water, such as a writing brush.

[0115] In some embodiments, the water dipping amount parameter corresponding to when the bleeding radius value reaches the maximum can be preset, and the functional relationship between the bleeding radius value that has not reached the maximum and the water dipping amount parameter can be set. For example, the maximum bleeding radius value can be set to R Max , and the corresponding maximum water dipping amount parameter is V Max , if R is used to represent the generated bleeding radius value, the relationship between the bleeding radius value R and the water dipping amount parameter V can be represented by the following function:

[0116]

[0117] Among them, D is the first bleeding radius coefficient and 0 < D ≤ 1. The user can preset the value of D to control the growth rate of the rendering radius value, and the growth rate of the rendering radius value increases with the increase of the value of the first bleeding radius coefficient D. Fig.15 FIG. is a schematic diagram of the relationship between the bleeding radius value and the water dipping amount parameter provided exemplarily in the present application. Among them, V1, V2, V3, V4, V5, and V6 are all water dipping amount parameters, and V1 > V2 ≥ V Max > V3 > V4 > V5 > V6. The corresponding bleeding radius values obtained according to each water dipping amount parameter are R1, R1, R2, R3, R4, and R5 respectively, and R1 = R Max>R2>R3>R4>R5, that is, when the water dipping amount parameter V is less than the maximum water dipping amount parameter V Max when, the rendering radius value is positively correlated with the water dipping amount parameter. When the water dipping amount parameter V is greater than or equal to the maximum water dipping amount parameter V Max when, the rendering radius value remains unchanged.

[0118] In some embodiments, in response to a sliding operation input by the user in the drawing area 610, the controller 250 may call the writing force parameter and generate a bleeding radius value according to the writing force parameter, so as to determine the associated area of each path pixel point according to the bleeding radius value, and set the colors of each path pixel point and the associated area of each path pixel point, and a bleeding effect presented by a brush that needs to be dipped in water, such as a writing brush, can be presented.

[0119] In some embodiments, the maximum writing force parameter corresponding to when the bleeding radius value reaches the maximum may be preset, and the functional relationship between the bleeding radius value and the writing force parameter when the bleeding radius value does not reach the maximum may be set. For example, the maximum bleeding radius value may be set to R Max and the corresponding maximum writing force parameter is L Max If R is used to represent the generated bleeding radius value, the relationship between the bleeding radius value R and the writing force parameter L may be represented by the following function:

[0120]

[0121] where E is the second bleeding radius coefficient and 0 < E ≤ 1. The user can preset the value of E to control the growth rate of the rendering radius value. The growth rate of the rendering radius value increases with the increase of the value of the second bleeding radius coefficient E. For further reference, see Fig.14 where L1, L2, L3, L4, L5, and L6 are all writing force parameters, and L1 > L2 ≥ L Max >L3>L4>L5>L6. The corresponding bleeding radius values obtained according to each writing force parameter are R1, R1, R2, R3, R4, and R5 respectively, and R1 = R Max >R2>R3>R4>R5, that is, when the writing force parameter is less than the maximum writing force parameter L Max when, the rendering radius value is positively correlated with the writing force parameter. When the writing force parameter is greater than or equal to the maximum writing force parameter L Max when, the rendering radius value remains unchanged.

[0122] In some embodiments, in response to a sliding operation input by the user in the drawing area 610, the controller 250 may call the drawing paper style parameters, generate a smudging radius value according to the drawing paper style parameters, determine the associated area of each path pixel point according to the smudging radius value, and set the colors of each path pixel point and the associated area of each path pixel point, so as to present a smudging effect presented by a paintbrush that needs to be dipped in water, such as a writing brush.

[0123] In some embodiments, the drawing paper style parameters may reflect the water absorption capacity of the drawing paper of the corresponding style. The relationship between the smudging radius value R and the drawing paper style parameter K can be represented by the following function:

[0124] R = F * K;

[0125] Wherein, F is the third smudging radius coefficient and 0 < F ≤ 1. The user can preset the value of F to control the growth rate of the rendering radius value. The growth rate of the rendering radius value increases with the increase of the value of the third smudging radius coefficient F, and the rendering radius value is positively correlated with the drawing paper style parameter.

[0126] In some embodiments, Fig.16 is a flowchart for generating a rendering radius value provided exemplarily in the present application. As Fig.16 shown, it includes: Step S161, in response to a sliding operation input by the user in the drawing area 610, the controller 250 may generate a rendering radius value R1 related to the water dipping amount parameter according to the water dipping amount parameter; Step S162, the controller generates a rendering radius value R2 related to the writing force parameter according to the writing force parameter; Step S163, the controller generates a rendering radius value R3 related to the drawing paper style parameter according to the drawing paper style parameter. Step S164, the controller calculates the smudging radius value R according to R1, R2 and R3. For example, R = R1 * R2 * R3. Among them, the method by which the controller 250 generates a rendering radius value R1 related to the water dipping amount parameter according to the water dipping amount parameter, generates a rendering radius value R2 related to the writing force parameter according to the writing force parameter, and generates a rendering radius value R3 related to the drawing paper style parameter according to the drawing paper style parameter can refer to the above embodiments and will not be elaborated herein.

[0127] In some embodiments, in response to a sliding operation input by the user in the drawing area 610, the controller 250 may detect the path pixel point coordinates, and calculate the boundary coordinates of the path pixel point associated area according to the path pixel point coordinates and the smudging radius value, so as to obtain the path pixel point associated area, wherein the boundary coordinates are the coordinates whose distance from the path pixel point coordinates is equal to the smudging radius value. Refer to Fig.17 , which is a schematic diagram of a path pixel point associated area provided in the present application. As Fig.16As shown, the path pixel point associated area 161 is a circular area with the path pixel point 162 as the center and the shading radius value R as the radius.

[0128] In some embodiments, the controller 250 can generate an effect color value based on the blending color value, transparency value and blending radius value, and after obtaining the boundary coordinates of the path pixel point associated area by calculation, set the color of the path pixel point and the path pixel point associated area based on the effect color value.

[0129] In some embodiments, the path pixel point associated area includes a plurality of filling points. Fig.18 A flowchart for generating a color effect value is provided as an example in this application, such as Fig.18 As shown, it includes: step S181, the controller 250 can detect the fill point coordinates corresponding to each fill point in response to the sliding operation input by the user in the drawing area 610; step S182, the controller 250 calculates the distance between each fill point and the path pixel point according to the fill point coordinates and the path pixel point coordinates; step S183, the controller 250 adjusts the transparency value according to the distance to update the effect color value according to the adjusted transparency value; step S184, the controller 250 sets the color of the path pixel point according to the effect color value before adjustment; step S185, the controller 250 sets the color of the corresponding fill point according to the adjusted effect color value. Among them, the fill point farther away from the path pixel point has a larger transparency value corresponding to the color displayed, so as to present the following between the path pixel point and the path pixel point associated area. Fig.19 The effect shown is that the boundary color from the path pixel point to the path pixel point associated area gradually becomes lighter (the transparency value of the color becomes larger).

[0130] In some embodiments, the controller 250 responds to a sliding operation input by the user in the drawing area 610. If it is detected that at least one of the color parameter, the pen direction parameter, and the writing force parameter is a null value, the effect color value is updated to a null value. If the effect color value is a null value, the color of the path pixel points and the area associated with the path pixel points through which the sliding operation passes will not change.

[0131] In some embodiments, if the controller 250 has already generated an effect color value, and the user re-selects the color item corresponding to the brush control, the controller 250, in response to the user's selection operation, will call the initial color parameters corresponding to the color item selected by the user and the current water dip volume parameters and paper style parameters, and the brush parameters can be obtained based on the most recently called initial color parameters, water dip volume parameters and paper style parameters, and the controller 250 clears the action parameters obtained before responding to the user's selection operation, so that when the user inputs a sliding operation in the drawing area again, the controller 250, in response to the user's sliding operation, generates a new effect color value based on the brush parameters and the detected action parameters of the sliding operation, and sets the color of the path pixel points and the area associated with the path pixel points passed by the user's sliding operation according to the new effect color value.

[0132] It can be seen from the above technical solution that the present application provides a display device 200, which can obtain brush parameters, action parameters and path pixel points passed by the sliding operation according to the sliding operation input by the user in the painting area 610, and generate effect color values ​​based on the brush parameters and action parameters, and set the color of the path pixel points and the area associated with the path pixel points according to the effect color value, so that the color, transparency, blending radius and other effects of each path pixel point are different, and the real painting effect of a brush such as a brush that will have a color blending effect when painting can be displayed, which is beneficial to the user experience.

[0133] According to the display device 200 provided in the above embodiment, the present application further provides a color rendering method, which is applied to the above display device 200. The method may include:

[0134] In response to a sliding operation input by the user in the drawing area 610 , obtaining brush parameters, wherein the brush parameters at least include an initial color parameter, a water dipping amount parameter, and a drawing paper style parameter;

[0135] Detecting action parameters of the sliding operation and path pixel points along which the sliding operation passes, wherein the action parameters at least include a pen tip direction parameter, a sliding time parameter, and a writing force parameter;

[0136] Generate an effect color value according to the brush parameter and the action parameter;

[0137] The color of the path pixel point and the area associated with the path pixel point is set according to the effect color value.

[0138] In some embodiments, in response to a sliding operation step input by a user in the drawing area 610, the method further includes: receiving a dipping instruction input by the user; in response to the dipping instruction, displaying a dipping control on the electronic drawing board interface; in response to a selection operation of the dipping control by the user, detecting the duration of the selection operation on the dipping control; and generating the dipping amount parameter according to the duration.

[0139] In some embodiments, in the step of generating the water dipping amount parameter, the method further includes: if the operation time is less than a preset time, setting the water dipping amount parameter according to the operation time, and the water dipping amount parameter is positively correlated with the operation time; if the operation time is greater than or equal to the preset time, setting the water dipping amount parameter equal to a preset value.

[0140] In some embodiments, in the step of detecting the action parameters of the sliding operation and the path pixel points passed by the sliding operation, the method also includes: obtaining the starting point coordinates of the sliding operation and the real-time coordinates corresponding to the path pixel points; obtaining the sliding trajectory between the starting point and the path pixel points based on the starting point coordinates and the real-time coordinates; and generating the pen tip direction parameters based on the sliding trajectory.

[0141] In some embodiments, in the step of detecting the action parameters of the sliding operation and the path pixel points passed by the sliding operation, the method further includes:

[0142] Acquire the touch pressure value when the sliding operation passes through the path pixel point;

[0143] The writing force parameter is generated according to the touch pressure value.

[0144] In some embodiments, the method also includes: generating a blending color value based on the initial color parameter and the water dipping amount parameter; generating a transparency value based on the pen tip direction parameter and the writing force parameter; generating a blending radius value based on the water dipping amount parameter, the writing force parameter and the drawing paper style parameter; generating an effect color value based on the blending color value, the transparency value and the blending radius value.

[0145] In some embodiments, in the step of setting the color of the path pixel point and the area associated with the path pixel point according to the effect color value, the method also includes: detecting the coordinates of the path pixel point; calculating the boundary coordinates of the area associated with the path pixel point according to the coordinates of the path pixel point and the blending radius value; setting the color of the pixel point according to the blending color value; setting the color of the area associated with the path pixel point according to the blending color value and the transparency value.

[0146] In some embodiments, the path pixel point associated area includes multiple filling points, and in the step of setting the color of the path pixel point and the path pixel point associated area according to the blending color value and the transparency value, the method also includes: detecting the filling point coordinates corresponding to the filling point; calculating the distance between the filling point and the path pixel point according to the path pixel point coordinates and the filling point coordinates; adjusting the transparency value according to the distance; and setting the color of the filling point according to the blending color value and the adjusted transparency value.

[0147] In some embodiments, the method further includes: if it is detected that at least one of the color parameter, the pen direction parameter and the writing force parameter is a null value, updating the effect color value to a null value.

[0148] The above-described embodiments of the present invention do not limit the protection scope of the present invention.

Claims

1. A display device, characterized in that: include: A display, used to display an electronic drawing board interface, wherein the electronic drawing board interface includes a control area and a drawing area, and the control area includes at least one brush control; A touch component, used to detect a touch pressure value and a touch duration when a user performs a touch operation on the display; The controller is configured as: In response to a sliding operation input by a user in the drawing area, obtaining brush parameters, the brush parameters including initial color parameters, water dipping amount parameters, and drawing paper style parameters; Detecting action parameters of the sliding operation and path pixel points along which the sliding operation passes, the action parameters including pen tip direction parameters and writing force parameters; Generate a blending color value according to the initial color parameter and the water dipping amount parameter; Calculating the distance between the path pixel points and the starting point of the sliding operation according to the pen stroke direction parameter, and acquiring the touch pressure value when the user's sliding operation passes through each path pixel point according to the writing force parameter; Generating a transparency value Q1 related to the pen tip direction parameter according to the distance, and generating a transparency value Q2 related to the writing force parameter according to the touch pressure value; Calculate the transparency value according to the transparency value Q1 and the transparency value Q2; Generate a blending radius value according to the water dipping amount parameter, the writing force parameter and the drawing paper style parameter; Generate an effect color value according to the blending color value, the transparency value and the shading radius value; Setting the color of the path pixel point and the area associated with the path pixel point according to the effect color value; Wherein, in setting the color of the path pixel point and the area associated with the path pixel point according to the effect color value, the controller is further configured to: Detecting the coordinates of the path pixel points; Calculating the boundary coordinates of the path pixel point associated area according to the coordinates of the path pixel point and the blending radius value; the path pixel point associated area includes a plurality of filling points; Setting the color of the pixel point according to the blending color value; Setting the color of the path pixel associated area according to the blending color value and the transparency value; Wherein, in setting the color of the path pixel associated area according to the blending color value and the transparency value, the controller is further configured to: Detecting the filling point coordinates corresponding to the filling point; Calculate the distance between the filling point and the path pixel point according to the path pixel point coordinates and the filling point coordinates; According to the distance, adjusting the transparency value; The color of the filling point is set according to the blending color value and the adjusted transparency value.

2. The display device according to claim 1, characterized in that Before responding to the sliding operation input by the user in the drawing area, the controller is further configured to: Receiving a dipping instruction input by a user; In response to the dipping instruction, displaying a dipping control on the electronic drawing board interface; In response to a user selecting the dip control, detecting a duration of the selection operation on the dip control; The water dipping amount parameter is generated according to the duration.

3. The display device according to claim 2, characterized in that In the generating the water dipping amount parameter, the controller is further configured to: If the operation time is less than the preset time, the water dipping amount parameter is set according to the operation time, and the water dipping amount parameter is positively correlated with the operation time; If the operation time is greater than or equal to the preset time, the water dipping amount parameter is set to be equal to the preset value.

4. The display device according to claim 1, characterized in that In the detecting of the action parameters of the sliding operation and the path pixel points passed by the sliding operation, the controller is further configured to: Obtaining the starting point coordinates of the sliding operation and the real-time coordinates corresponding to the path pixel points; According to the starting point coordinates and the real-time coordinates, a sliding track between the starting point and the path pixel point is obtained; The pen tip direction parameter is generated according to the sliding trajectory.

5. The display device according to claim 1, characterized in that In the detecting of the action parameters of the sliding operation and the path pixel points passed by the sliding operation, the controller is further configured to: Acquire the touch pressure value when the sliding operation passes through the path pixel point; The writing force parameter is generated according to the touch pressure value.

6. The display device according to claim 1, characterized in that The controller is also configured to: If it is detected that at least one of the color parameter, the pen direction parameter and the writing force parameter is a null value, the effect color value is updated to a null value.

7. A color rendering method, characterized in that: include: In response to a sliding operation input by a user in a drawing area, obtaining brush parameters, the brush parameters including initial color parameters, water dipping amount parameters, and drawing paper style parameters; Detecting action parameters of the sliding operation and path pixel points along which the sliding operation passes, wherein the action parameters include a pen tip direction parameter, a sliding time parameter, and a writing force parameter; Generate a blending color value according to the initial color parameter and the water dipping amount parameter; Calculating the distance between the path pixel points and the starting point of the sliding operation according to the pen stroke direction parameter, and acquiring the touch pressure value when the user's sliding operation passes through each path pixel point according to the writing force parameter; Generating a transparency value Q1 related to the pen tip direction parameter according to the distance, and generating a transparency value Q2 related to the writing force parameter according to the touch pressure value; Calculate the transparency value according to the transparency value Q1 and the transparency value Q2; Generate a blending radius value according to the water dipping amount parameter, the writing force parameter and the drawing paper style parameter; Generate an effect color value according to the blending color value, the transparency value and the shading radius value; Setting the color of the path pixel point and the area associated with the path pixel point according to the effect color value; Wherein, in setting the color of the path pixel point and the area associated with the path pixel point according to the effect color value, the controller is further configured to: Detecting the coordinates of the path pixel points; Calculating the boundary coordinates of the path pixel point associated area according to the coordinates of the path pixel point and the blending radius value; the path pixel point associated area includes a plurality of filling points; Setting the color of the pixel point according to the blending color value; Setting the color of the path pixel associated area according to the blending color value and the transparency value; Wherein, in setting the color of the path pixel associated area according to the blending color value and the transparency value, the controller is further configured to: Detecting the filling point coordinates corresponding to the filling point; Calculate the distance between the filling point and the path pixel point according to the path pixel point coordinates and the filling point coordinates; According to the distance, adjusting the transparency value; The color of the filling point is set according to the blending color value and the adjusted transparency value.