CN116028145A - Data processing method, device and computer readable storage medium - Google Patents

Data processing method, device and computer readable storage medium Download PDF

Info

Publication number
CN116028145A
CN116028145A CN202111251474.XA CN202111251474A CN116028145A CN 116028145 A CN116028145 A CN 116028145A CN 202111251474 A CN202111251474 A CN 202111251474A CN 116028145 A CN116028145 A CN 116028145A
Authority
CN
China
Prior art keywords
color
color weakness
weakness
target
attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111251474.XA
Other languages
Chinese (zh)
Inventor
孙雨婷
莫琛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202111251474.XA priority Critical patent/CN116028145A/en
Publication of CN116028145A publication Critical patent/CN116028145A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application discloses a data processing method, device and computer readable storage medium, the method includes: displaying a color weakness enhancement control and initial multimedia data in a multimedia display page; responding to triggering operation aiming at the color weakness enhancement control, and acquiring a color weakness enhancement filter associated with the target color weakness attribute; updating and displaying the initial multimedia data as target multimedia data by adopting a color-weakening enhancement filter; the color vision display effect of the target multimedia data is associated with a target color weakness attribute. By adopting the method and the device, the display effect of the initial multimedia data can be improved. The embodiment of the application can be applied to various scenes such as cloud technology, artificial intelligence, intelligent traffic, auxiliary driving and the like.

Description

Data processing method, device and computer readable storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a data processing method, a data processing device, and a computer readable storage medium.
Background
Color weakness is also known as "abnormal trichromatic vision", a color vision defect. The weak object can recognize the color but has lower sensitivity, has poorer color discrimination capability, can see the color only when the color is saturated, and can distinguish the change of the tone only when the wavelength is greatly different.
When multimedia data displayed in a device screen includes a color that is perceived as weak by a weak object, since the weak object cannot perceive the content seen by itself or cannot recognize the true color of the content, the display effect of the multimedia data is reduced.
Disclosure of Invention
The embodiment of the application provides a data processing method, data processing equipment and a computer readable storage medium, which can improve the display effect of initial multimedia data.
In one aspect, an embodiment of the present application provides a data processing method, including:
displaying a color weakness enhancement control and initial multimedia data in a multimedia display page;
responding to triggering operation aiming at the color weakness enhancement control, and acquiring a color weakness enhancement filter associated with the target color weakness attribute;
updating and displaying the initial multimedia data as target multimedia data by adopting a color-weakening enhancement filter; the color vision display effect of the target multimedia data is associated with a target color weakness attribute.
An aspect of an embodiment of the present application provides a data processing apparatus, including:
the first display module is used for displaying the color weakness enhancement control and the initial multimedia data in the multimedia display page;
the first acquisition module is used for responding to the triggering operation of the color weakness enhancement control and acquiring the color weakness enhancement filter associated with the target color weakness attribute;
The first display module is also used for updating and displaying the initial multimedia data into target multimedia data by adopting a color-weakening enhancement filter; the color vision display effect of the target multimedia data is associated with a target color weakness attribute.
Wherein, first acquisition module includes:
the first response unit is used for responding to the triggering operation aiming at the color weakness enhancement control and displaying a color weakness attribute configuration page;
and the second response unit is used for responding to the configuration operation of the color weakness attribute configuration page, acquiring the target color weakness attribute and acquiring the color weakness enhancement filter associated with the target color weakness attribute.
The color weakness attribute configuration page comprises a first configuration control;
a second response unit comprising:
the first display subunit is used for responding to the selection operation aiming at the first configuration control and displaying a color weakness type list in the color weakness attribute configuration page;
the first display subunit is further configured to display a color weakness list associated with the target color weakness type in response to a selection operation for the target color weakness type in the color weakness type list;
the first obtaining subunit is configured to obtain the target color weakness attribute in response to a configuration operation for the target color weakness in the color weakness list.
Wherein the first acquisition subunit includes:
a first selecting subunit, configured to respond to a selecting operation for a target color weakness in the color weakness list, and display at least two color weakness degree parameters corresponding to the target color weakness;
and a second selecting subunit configured to determine, as the target color weakness attribute, the target color weakness and the target color weakness degree parameter in response to a selecting operation for the target color weakness degree parameter of the at least two color weakness degree parameters.
The color weakness attribute configuration page comprises a second configuration control;
a second response unit comprising:
the second display subunit is used for responding to the selection operation aiming at the second configuration control and displaying a color weakness test image in the color weakness attribute configuration page;
the second display subunit is further configured to display, when the color weakness testing operation for the color weakness testing image is completed, a color weakness degree testing image associated with the target color weakness in the color weakness attribute configuration page; the target color weakness is a color weakness determined based on a color weakness test result;
and the second acquisition subunit is used for responding to the color weakness degree testing operation aiming at the color weakness degree testing image and acquiring the target color weakness attribute.
The color weakness degree test image comprises an adjustment test image and a reference test image which have the same test content; the color type of the test content in the reference test image is different from the color type associated with the target color weakness;
a second acquisition subunit comprising:
the color vision updating subunit is used for displaying a color weakness degree slide bar aiming at the adjustment test image and a sliding component positioned on the color weakness degree slide bar;
the color vision updating subunit is further used for responding to the sliding operation of the sliding assembly on the color weakness degree sliding rod and updating the color vision of the adjustment test image based on the color weakness degree parameters indicated by the sliding operation; the reference test image is used for comparing and referencing the color vision updated adjustment test image;
a first determination subunit configured to determine, if a confirmation operation for the color vision updated adjustment test image is responded, a color weakness degree parameter indicated by the sliding operation as a target color weakness degree parameter;
and the second determination subunit is used for determining the target color weakness and the target color weakness degree parameter as target color weakness attributes.
Wherein, first acquisition module includes:
the first display unit is used for responding to the triggering operation of the target color weakness enhancement control and displaying the forward enhancement control of the target color weakness attribute;
The first acquisition unit is used for responding to the triggering operation of the forward enhancement control and acquiring a color-weakness forward enhancement filter positively associated with the target color-weakness attribute;
the first display module is specifically configured to update and display the initial multimedia data as target multimedia data by using a weak forward enhancement filter; the target multimedia data is used for assisting the color weakness object with the color weakness attribute being the target color weakness attribute to identify the initial multimedia data.
Wherein, the data processing device still includes:
the first sending module is used for setting a color weakness image tag for the target multimedia data, and sending the target multimedia data carrying the color weakness image tag and the target color weakness attribute to the first equipment so that the first equipment displays the target multimedia data, the color weakness image tag and the target color weakness attribute; the target color weakness attribute is used to provide a color weakness attribute configuration reference for the first object.
Wherein, first acquisition module includes:
the second display unit is used for responding to the triggering operation of the target color weakness enhancement control and displaying the reverse enhancement control of the target color weakness attribute;
the second acquisition unit is used for responding to the triggering operation aiming at the reverse enhancement control and acquiring a color-weakness reverse enhancement filter reversely associated with the target color-weakness attribute;
The first display module is specifically configured to update and display the initial multimedia data as target multimedia data by using a color-weak reverse enhancement filter; the target multimedia data is used for assisting the target object to perceive the initial multimedia data identified by the color weakness object with the color weakness attribute being the target color weakness attribute.
Wherein, the data processing device still includes:
the second sending module is used for taking the initial multimedia data as a reference image, taking the target multimedia data as a color-weak image, and sending the reference image and the color-weak image to the second equipment together so as to enable the second equipment to display the reference image and the color-weak image; the reference image is used to provide a second object with a color-weak perceived contrast for the color-weak image.
Wherein, the data processing device still includes:
the second display module is used for displaying a color weakness attribute configuration page in the multimedia display interface when the continuous trigger time length of the trigger operation of the color weakness enhancement control is equal to the time length threshold value; the color weakness attribute configuration page comprises a target color weakness attribute;
the second acquisition module is used for acquiring the updated color weakness attribute and acquiring the color weakness enhancement updating filter associated with the updated color weakness attribute if the modification operation aiming at the target color weakness attribute is responded;
And the second display module is also used for displaying the target multimedia data update as updated multimedia data by adopting the color-weakness enhancement update filter.
Wherein, first display module includes:
the first conversion unit is used for converting initial pixel parameters of the initial multimedia data from a first color space to a second color space to obtain initial visual data in the second color space;
the data updating unit is used for carrying out data updating processing on the initial visual data by adopting the color-weakness enhancement filter to obtain updated visual data in the second color space;
and the second conversion unit is used for converting the updated visual data from the second color space to the first color space, obtaining updated pixel parameters in the first color space and displaying the target multimedia data based on the updated pixel parameters.
The color weakness attribute configuration page comprises a second configuration control;
a second response unit comprising:
the third display subunit is used for responding to the selection operation aiming at the second configuration control and displaying a color weakness test image in the color weakness attribute configuration page;
the third acquisition subunit is used for responding to the color weakness test operation aiming at the color weakness test image, acquiring a color weakness test result and determining the target color weakness according to the color weakness test result;
The fourth display subunit is used for acquiring the color weakness degree test image mapped by the color weakness of the target color and displaying the color weakness degree test image in the color weakness attribute configuration page;
the fourth acquisition subunit is used for responding to the color weakness degree testing operation aiming at the color weakness degree testing image and acquiring a target color weakness degree parameter;
the fourth obtaining subunit is further configured to determine the target color weakness and the target color weakness degree parameter as a target color weakness attribute.
The color weakness test image comprises a first color weakness test image, a second color weakness test image and a third color weakness test image; the color weakness test result comprises a first test result, a second test result and a third test result;
a third acquisition subunit comprising:
the first response subunit is used for responding to the test operation aiming at the first color weakness test image and obtaining a first test result;
the second response subunit is used for responding to the test operation aiming at the second color weakness test image and obtaining a second test result;
the third response subunit is used for responding to the test operation aiming at the third color weakness test image and obtaining a third test result;
The third determining subunit is configured to obtain a test result with a weak tendency from the first test result, the second test result and the third test result, as a target test result;
and the fourth determination subunit is used for determining the color weakness related to the target test result as the target color weakness.
The color weakness degree test image comprises a color weakness degree slide bar and a sliding component positioned on the color weakness degree slide bar;
the fourth obtaining subunit is specifically configured to obtain, in response to a sliding operation on the color weakness level sliding rod for the sliding component, a target position of the sliding component on the color weakness level sliding rod, and determine a target color weakness level parameter based on the target position.
In one aspect, the present application provides a computer device comprising: a processor, a memory, a network interface;
the processor is connected to the memory and the network interface, where the network interface is used to provide a data communication function, the memory is used to store a computer program, and the processor is used to call the computer program to make the computer device execute the method in the embodiment of the present application.
In one aspect, embodiments of the present application provide a computer readable storage medium having a computer program stored therein, the computer program being adapted to be loaded by a processor and to perform a method according to embodiments of the present application.
In one aspect, embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer-readable storage medium; the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the methods in the embodiments of the present application.
In the embodiment of the application, by displaying the color weakness enhancement control in the multimedia display page, the computer equipment can acquire the color weakness enhancement filter associated with the target color weakness attribute when responding to the triggering operation for the color weakness enhancement control, and further, the initial multimedia data is updated and displayed as the target multimedia data by adopting the color weakness enhancement filter, wherein the color vision display effect of the target multimedia data is associated with the target color weakness attribute. The display effect of the initial multimedia data can be improved by the color-weakening enhancement filter.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a system architecture according to an embodiment of the present application;
FIG. 2a is a schematic diagram of a scenario of data processing according to an embodiment of the present application;
FIG. 2b is a schematic diagram of a scenario of data processing provided in an embodiment of the present application;
FIG. 3 is a schematic flow chart of a data processing method according to an embodiment of the present application;
FIG. 4a is a schematic view of a scenario of data processing provided in an embodiment of the present application;
FIG. 4b is a schematic view of a scenario of data processing provided in an embodiment of the present application;
FIG. 4c is a schematic view of a scenario of data processing provided in an embodiment of the present application;
FIG. 5 is a schematic flow chart of a data processing method according to an embodiment of the present application;
FIG. 6 is a schematic view of a scenario of data processing provided in an embodiment of the present application;
FIG. 7 is a schematic flow chart of a data processing method according to an embodiment of the present application;
FIG. 8 is a schematic view of a scenario of data processing provided in an embodiment of the present application;
FIG. 9 is a schematic flow chart of a data processing method according to an embodiment of the present application;
FIG. 10 is a schematic view of a scenario of data processing provided in an embodiment of the present application;
FIG. 11 is a schematic diagram of a data processing apparatus according to an embodiment of the present application;
Fig. 12 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
With the continuous development of internet technology, artificial intelligence (Artificial Intelligence, AI) technology has also been developed better. So-called artificial intelligence is the theory, method, technique and application of simulating, extending and expanding human intelligence, sensing the environment, obtaining knowledge and using knowledge to obtain optimal results using a digital computer or a machine controlled by a digital computer. In other words, artificial intelligence is an integrated technology of computer science that attempts to understand the essence of intelligence and to produce a new intelligent machine that can react in a similar way to human intelligence. Artificial intelligence, i.e. research on design principles and implementation methods of various intelligent machines, enables the machines to have functions of sensing, reasoning and decision.
The artificial intelligence technology is a comprehensive subject, and relates to the technology with wide fields, namely the technology with a hardware level and the technology with a software level. Artificial intelligence infrastructure technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a voice processing technology, a natural language processing technology, machine learning/deep learning, automatic driving, intelligent traffic and other directions.
The Computer Vision technology (CV) is a science for researching how to make a machine "look at", and more specifically, a camera and a Computer are used to replace human eyes to perform machine Vision such as identifying, tracking and measuring on a target, and further perform graphic processing, so that the Computer is processed into an image more suitable for human eyes to observe or transmit to an instrument to detect. As a scientific discipline, computer vision research-related theory and technology has attempted to build artificial intelligence systems that can acquire information from images or multidimensional data. Computer vision technologies typically include image processing, image recognition, image semantic understanding, image retrieval, OCR, video processing, video semantic understanding, video content/behavior recognition, three-dimensional object reconstruction, 3D technology, virtual reality, augmented reality, synchronous positioning and mapping, autopilot, intelligent transportation, etc., as well as common biometric technologies such as face recognition, fingerprint recognition, etc. In the embodiment of the application, the computer vision technology can be used for identifying the colors (values) respectively corresponding to the initial multimedia data and the target multimedia data.
Based on the above-mentioned computer vision technology in the AI technology, the present embodiment proposes a data processing scheme to implement visual assistance on a weak object and a target object (refer to an object with high sensitivity and capable of recognizing a color), where the visual assistance in the present application may include a manner of forward enhancing a color, helping the weak object to recognize a color better, and may further include a manner of reverse enhancing a color, helping the target object to perceive a color vision of the weak object, and a specific implementation process is described below.
Referring to fig. 1, fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present application. As shown in fig. 1, the system may include a service server 100 and a terminal cluster, and the terminal cluster may include: the terminal device 200a, the terminal device 200b, the terminal devices 200c, …, and the terminal device 200n, it will be appreciated that the above system may include one or more terminal devices, and the number of terminal devices is not limited in this application.
Wherein a communication connection may exist between the terminal clusters, for example, a communication connection exists between the terminal device 200a and the terminal device 200b, and a communication connection exists between the terminal device 200a and the terminal device 200 c. Meanwhile, any terminal device in the terminal cluster may have a communication connection with the service server 100, for example, a communication connection exists between the terminal device 200a and the service server 100, where the communication connection is not limited to a connection manner, may be directly or indirectly connected through a wired communication manner, may also be directly or indirectly connected through a wireless communication manner, and may also be other manners, which are not limited herein.
It should be understood that each terminal device in the terminal cluster shown in fig. 1 may be provided with an application client, and when the application client runs in each terminal device, the application client may perform data interaction, i.e. the above communication connection, with the service server 100 shown in fig. 1. The application client may be an application client with an image loading function, such as a short video application, a live broadcast application, a social application, an instant messaging application, a game application, a music application, a shopping application, a novel application, a browser, and the like. The application client may be an independent client, or may be an embedded sub-client integrated in a client (for example, a social client, an educational client, and a multimedia client), which is not limited herein. Taking a social application as an example, the service server 100 may be a set including a plurality of servers such as a background server and a data processing server corresponding to the social application, so each terminal device may perform data transmission with the service server 100 through an application client corresponding to the social application, for example, each terminal device may upload a local image of the terminal device to the service server 100 through an application client of the social application, and then the service server 100 may issue the image to other terminal devices or transmit the image to a cloud server.
For the convenience of subsequent understanding and description, the embodiment of the present application may select one terminal device as a target terminal device in the terminal cluster shown in fig. 1, for example, use the terminal device 200a as a target terminal device. When the color weakness enhancement control and the initial multimedia data are displayed in the multimedia display page, the terminal device 200a may acquire the target color weakness attribute in response to a trigger operation for the color weakness enhancement control, and send the target color weakness attribute and the initial multimedia data as query data to the service server 100. The service server 100 may obtain a color weakness enhancement filter matching the target color weakness attribute from the filter database, and then perform data update on the initial multimedia data using the color weakness enhancement filter to obtain target multimedia data, and the service server 100 returns the target multimedia data to the terminal device 200a. After the terminal device 200a acquires the target multimedia data, the initial multimedia data in the multimedia display page may be updated and displayed as the target multimedia data.
Optionally, the terminal device 200a sends the target color weakness attribute as query data to the service server 100, the service server 100 may obtain a color weakness enhancement filter matched with the target color weakness attribute from the filter database, then return the color weakness enhancement filter to the terminal device 200a, and after the terminal device 200a obtains the color weakness enhancement filter, perform data update on the initial multimedia data by using the color weakness enhancement filter to obtain the target multimedia data, and further update and display the initial multimedia data in the multimedia display page as the target multimedia data.
Alternatively, if the filter database is locally stored in the terminal device 200a, the target color weakness attribute may be obtained when the triggering operation for the color weakness enhancement control is responded, and then the color weakness enhancement filter matched with the target color weakness attribute is obtained from the locally stored filter database, and the subsequent processing is consistent with the processing procedure described above, so that details are omitted herein, please refer to the description above. It will be appreciated that the filter database stored locally by the terminal device 200a may be transmitted by the service server 100 to the terminal device 200 a.
It should be noted that all data mentioned in this application (such as the target color weakness attribute and the initial multimedia data mentioned above) are processed after the rights granted by the terminal object are acquired.
It can be understood that the filter database in the embodiment of the present application may be regarded as an electronic filing cabinet, where electronic files (the present application may include the target color weakness attribute and the color weakness enhancement filter matched with the target color weakness attribute, etc.) are stored, and the service server 100 may perform operations of adding, querying, updating, deleting, etc. on data in the files. A "database" is a collection of data stored together in a manner that can be shared with multiple users, with as little redundancy as possible, independent of the application.
Alternatively, it may be understood that a system architecture may include a plurality of service servers, where one terminal device may be connected to one service server, and each service server may obtain query data uploaded by a terminal device connected to the service server, so that target data (for example, the above-mentioned color-weakness enhancement filter or target multimedia data) may be obtained based on the query data, and the target data may be returned to the terminal device connected to the service server.
The service server 100, the terminal device 200a, the terminal device 200b, the terminal device 200c, and the terminal device 200n may be blockchain nodes in a blockchain network, and the data (for example, the target color weakness attribute and the color weakness enhancement filter) described in full text may be stored in a manner that the blockchain nodes generate blocks according to the data and add the blocks to the blockchains for storage.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like, and is mainly used for sorting data according to time sequence, encrypting the data into an account book, preventing the account book from being tampered and forged, and simultaneously verifying, storing and updating the data. A blockchain is essentially a de-centralized database in which each node stores an identical blockchain, and a blockchain network can distinguish nodes into core nodes, data nodes, and light nodes. The core nodes, data nodes and light nodes together form a blockchain node. The core node is responsible for the consensus of the whole blockchain network, that is to say, the core node is a consensus node in the blockchain network. The process of writing the transaction data in the blockchain network into the ledger may be that a data node or a light node in the blockchain network acquires the transaction data, transfers the transaction data in the blockchain network (that is, the node transfers in a baton manner) until the transaction data is received by a consensus node, packages the transaction data into a block, performs consensus on the block, and writes the transaction data into the ledger after the consensus is completed. Here, transaction data is exemplified by a target color weakness attribute and a color weakness enhancement filter, and after the transaction data is commonly recognized, the business server 100 (blockchain node) generates a block according to the transaction data, and stores the block into a blockchain network; for reading transaction data (i.e., the target color weakness attribute and the color weakness enhancement filter), a block containing the transaction data can be obtained in the blockchain network by the blockchain node, and further, the transaction data can be obtained in the block.
It is understood that the method provided in the embodiments of the present application may be performed by a computer device, including but not limited to a terminal device or a service server. The service server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing a cloud database, cloud service, cloud computing, cloud functions, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, basic cloud computing service such as big data and an artificial intelligence platform. The terminal equipment comprises, but is not limited to, mobile phones, computers, intelligent voice interaction equipment, intelligent household appliances, vehicle-mounted terminals and the like. The terminal device and the service server may be directly or indirectly connected through a wired or wireless manner, which is not limited herein.
It can be appreciated that the system architecture described above may be applicable to a scene in which the color of the page content color of the multimedia display page is enhanced in a forward direction, a scene in which the color of the page content color of the multimedia display page is enhanced in a reverse direction, and a service scene such as an image recognition scene for an image, where specific service scenes will not be listed one by one.
Further, referring to fig. 2a and fig. 2b, fig. 2a is a schematic view of a data processing scenario provided in an embodiment of the present application, and fig. 2b is a schematic view of a data processing scenario provided in an embodiment of the present application. The implementation process of the data processing scenario may be performed in a service server, or may be performed in a terminal device, or may be performed interactively in the terminal device and the service server, where the terminal device is not limited herein, and the service server may be any one of terminal devices in a terminal cluster in an embodiment corresponding to fig. 1, and the service server may be the service server 100 in an embodiment corresponding to fig. 1. Fig. 2a and 2b illustrate a terminal device 200a, and the embodiments of the present application may be applied to various scenarios, including, but not limited to, cloud technology, artificial intelligence, intelligent transportation, driving assistance, and the like.
As shown in fig. 2a, the terminal device 200a displays a color weakness enhancement control 203a and initial multimedia data in a multimedia display page 201a, the initial multimedia data may be an image 202a, the image 202a includes red rose, and the red rose may include petals and flower stems. In the embodiment of the present application, it is assumed that the target color weakness of the object 20e (the object with the identifiable color but the bottom of sensitivity) viewing the multimedia display page 201a is red-green and the target color weakness degree is 4 (may be abbreviated as ab 4), and the meaning of ab is described in the embodiment corresponding to fig. 3 below, which is not described herein. Under the viewing angle of the color-weak object 20e, the petal color of the red rose is color 20a (the color 20a is represented by diagonal solid stripes in the application), the flower stem color is color 20b (the color 20b is represented by fine particles in the application), under the viewing angle of the target object (the object with high sensitivity and the color can be identified), the petal color of the red rose is color 20c (the color 20c is represented by vertical solid stripes in the application, it is understood that the color 20c is red or the main tone is red), the flower stem color is color 20d (the color 20d is represented by the solid lattice line in the application, it is understood that the color 20d is green or the main tone is green), and obviously, the perceived color of the color-weak object 20e is different from the perceived color of the target object.
In order to clearly identify the color of the initial multimedia data (including red rose), the weak object 20e may trigger the weak enhancement control 203a in the multimedia display page 201a, and then the terminal device 200a obtains the target weak attribute in response to the triggering operation for the weak enhancement control 203a, where the target weak attribute in this embodiment of the present application includes the target color weakness (for example, red green weakness in the above example) and the target color weakness degree (for example, the color weakness degree 4 in the above example) of the weak object 20 e.
If the current triggering operation of the weak object 20e is the first triggering operation, that is, the weak object 20e has not previously turned on the weak enhancement filter associated with its own weak attribute (that is, the target weak attribute) in the terminal device 200a, the terminal device 200a needs to acquire the target weak attribute for the weak object 20e, at which time the terminal device 200a may display the weak attribute configuration page 204a. As shown in fig. 2a, the color weakness attribute configuration page 204a in the embodiments of the present application may include a first configuration control, which may be the known color weakness degree control 205a illustrated in fig. 2a, and a second configuration control, which may be the unknown color weakness degree control illustrated in fig. 2 a. If the color weakness object 20e knows its color weakness and degree of weakness, the first configuration control (i.e. the known degree of weakness control 205a in the color weakness attribute configuration page 204 a) can be selected, and the terminal device 200a displays the color weakness type list 206a in the color weakness attribute configuration page 204b in response to the selection operation for the first configuration control.
As shown in fig. 2a, the color weakness type list 206a may include two types of color weakness, i.e., a type color weakness and b type color weakness, and meanings corresponding to the type a color weakness and the type b color weakness respectively are described in the embodiment corresponding to fig. 3 below, which is not described herein. If the color weakness object 20e selects the a-type color weakness, as shown in fig. 2a, at this time, in response to a selection operation for the target color weakness type (i.e., the a-type color weakness) in the color weakness type list 206a, the color weakness list associated with the target color weakness type may be displayed in the color weakness attribute configuration page 204c, and referring to fig. 2b, the color weakness list 207a may include at least two colors, and in this embodiment, at least two colors are exemplified by bluish green weakness, reddish green weakness 208a and reddish blue weakness, it may be understood that, in real life, more common colors include reddish weakness, greenish weakness and reddish blue weakness 208a, bluish green weakness and reddish blue weakness, and other color types are extremely rare.
When the color weakness object 20e selects the red-green color weakness 208a, as shown in fig. 2b, in response to a selection operation for a target color weakness (i.e., the red-green color weakness 208 a) in the color weakness list 207a, at least two color weakness degree parameters 210a corresponding to the target color weakness may be displayed in the color weakness attribute configuration page 204d, each of the color weakness degree parameters is used to represent a color weakness degree or a color weakness level, the color weakness has a quantitative degree score, the similar myopia degree may be in one level of 25 degrees, and in this embodiment, the at least two color weakness degree parameters 210a may include 6 color weakness degree parameters, such as ab1, ab2, ab3, ab4, ab5, and ab6 shown in fig. 2b, where the greater the color weakness degree parameters represent the greater the color weakness degree, i.e., the poorer the color weakness object 20e has a poor discrimination capability for the red-green color.
When the weaker-color object 20e selects the weaker-color degree parameter 4 (i.e., ab 4) according to its own weaker-color degree (i.e., weaker-color degree 4 described above), and triggers the confirmation control 209a, the terminal device 200a determines the target weaker-color (i.e., red-green weaker-color) and the target weaker-color degree parameter (i.e., ab 4) as target weaker-color attributes in response to the confirmation operation for the target weaker-color degree parameter (i.e., ab 4). The embodiment of the present application does not limit the manner of selecting the target color weakness degree parameter, and may be set according to an actual application scenario, and in fig. 2b, the target color weakness degree parameter is selected by way of example in a form of a slide bar and a slide assembly.
Further, the terminal device 200a obtains a color-weakness enhancement filter associated with the target color-weakness attribute, in this embodiment of the present application, the terminal device 200a uses the color-weakness forward enhancement filter to update and display the initial multimedia data (including red rose) as the target multimedia data, as shown in fig. 2b, where the image 202c included in the target multimedia data is the same as the image included in the initial multimedia data, and includes red rose, but the color of the red rose is more saturated, so that the color of the color-weakness object 20e is easy to identify, as shown in fig. 2b, the color of the petal of the color-weakness object 20e is the color 20c, the color of the petal of the color-weakness object 20e is the same as the color of the petal of the initial multimedia data in the target object view, and the color of the flower stalk of the color-weakness object 20e is the color 20d, as the color of the flower stalk of the initial multimedia data in the target object view is the same as the color of the petal of the initial multimedia data, that in this embodiment of the present application can improve the identification degree of the color-weakness object 20e to the initial multimedia data.
In another possible embodiment, referring to fig. 2a again, when the color weakness object 20e triggers the color weakness enhancement control 203a, the terminal device 200a may display a color weakness attribute configuration page 201b, where the color weakness attribute configuration page 201b may include a first configuration control (equivalent to the known color weakness degree control 205 a), a second configuration control, a color weakness type list 206a, at least two preset displayed color weakness, and at least two color weakness degree parameters corresponding to each color weakness respectively, and in this embodiment, the default color weakness type is exemplified by the b-type color weakness, and at least two preset displayed color weakness are exemplified by the at least two color weakness corresponding to the b-type color weakness, that is, red, green and blue in the color weakness attribute configuration page 201 b; the at least two color weakness degree parameters corresponding to the red color weakness can include br1, br2, br3, br4, br5 and br6, br1 to br6, respectively, can represent the identification capability of the red color weakness object to the red color, and the larger the color weakness degree parameter is, the larger the color weakness degree is represented, namely the poorer the identification capability of the red color weakness object to the red color is; the at least two color weakness degree parameters corresponding to the green weakness can comprise bg1, bg2, bg3, bg4, bg5 and bg6, and bg1 to bg6 can respectively represent the identification capability of the green weakness object to the green, and the larger the color weakness degree parameter is, the larger the color weakness degree is represented, namely the worse the identification capability of the green weakness object to the green is; the at least two color weakness degree parameters corresponding to the blue color weakness may include bb1, bb2, bb3, bb4, bb5 and bb6, bb1 to bb6, respectively, and may represent the distinguishing ability of the blue color weakness object to the blue color, and the greater the color weakness degree parameter, the greater the color weakness degree, that is, the worse the distinguishing ability of the blue color weakness object to the blue color.
In this embodiment, more information may be displayed for the weak object 20e, and when the weak object 20e selects the a-type weak in the weak type list 206a, the terminal device 200a updates and displays the weak attribute configuration page 201b as the weak attribute configuration page 202b, as shown in fig. 2b, where the weak attribute configuration page 202b may include a blue-green weak, a red-green weak, and a red-green weak included in the a-type weak, and may further include at least two weak degree parameters corresponding to the blue-green weak, at least two weak degree parameters corresponding to the red-blue weak, and at least two weak degree parameters corresponding to the red-green weak; the at least two weak degree parameters corresponding to the bluish-green weak can be ar1, ar2, ar3, ar4, ar5 and ar6, and ar1 to ar6 can respectively represent the identification capability of the bluish-green weak object to the bluish-green, and the larger the weak degree parameter is, the larger the weak degree is represented, namely the worse the identification capability of the bluish-green weak object to the bluish-green is; the at least two color weakness degree parameters corresponding to the red and blue color weakness can be ag1, ag2, ag3, ag4, ag5 and ag6, and ag1 to ag6, which can respectively represent the identification capability of the red and blue color weakness object to the red and blue color, and the larger the color weakness degree parameter is, the larger the color weakness degree is, namely the worse the identification capability of the red and blue color weakness object to the red and blue color is; the at least two color weakness degree parameters corresponding to the red and green weakness can be ab1, ab2, ab3, ab4, ab5 and ab6, ab1 to ab6, and can respectively represent the identification capability of the red and green weakness object to the red and green, and the larger the color weakness degree parameter is, the larger the color weakness degree is represented, namely the worse the identification capability of the red and green weakness object to the red and green is.
The process of setting the target color weakness attribute of the color weakness object 20e according to its own color weakness (i.e., the above-described example of red-green weakness) and the color weakness degree (i.e., the above-described example of color weakness degree 4) is identical to the above-described process, so that a detailed description is omitted herein.
In summary, fig. 2 a-2 b describe a complete process of turning on the weak object 20e for the first time (the weak enhancement filter in the embodiment of the present application refers to the weak forward enhancement filter in particular), and then the terminal device 200a may update the initial multimedia data displayed on the multimedia display page 201a to the target multimedia data by using the weak forward enhancement filter, and the target multimedia data in the embodiment of the present application may be used to assist the weak object identification initial multimedia data with the weak attribute being the target weak attribute.
It will be appreciated that the interfaces and controls illustrated in fig. 2 a-2 b are merely some representations that may be referred to, and in an actual business scenario, a developer may perform related design according to product requirements, and the embodiments of the present application are not limited to the specific forms of the interfaces and controls involved.
Further, referring to fig. 3, fig. 3 is a flow chart of a data processing method according to an embodiment of the present application. The data processing method may be performed by a service server (e.g., the service server 100 shown in fig. 1 described above), or may be performed by a terminal device (e.g., the terminal device 200a shown in fig. 1 described above), or may be performed interactively by the service server and the terminal device. For easy understanding, the embodiment of the present application will be described with the method being executed by the terminal device as an example. As shown in fig. 3, the data processing method may include at least the following steps S101 to S103.
Step S101, displaying the color weakness enhancement control and the initial multimedia data in the multimedia display page.
Specifically, the color weakness, also called "abnormal trichromatism", is a color vision defect. The color-weak object can recognize the color but has lower sensitivity, has poorer color distinguishing capability, can sense the color only when the color is saturated, and can distinguish the change of the tone only when the wavelength is greatly different. The color weakness is not equivalent to color blindness, the color weakness can be divided into two types, namely a type color weakness and b type color weakness, the a type color weakness is characterized in that the functions of two elements in the cone cells (long-wave cone cells, medium-wave cone cells and short-wave cone cells) of human eyes are lower than that of a target object, and the three primary colors (namely red, green and blue) are not offset, and the three primary colors are specifically expressed as follows: the a-type blue-green weak (a-red, ar type for short) green and blue are weaker than the target object; the red and blue of the class a red and blue (a-green, abbreviated as ag type) are weaker than those of the target object; the red and green colors of the a-blue (ab type for short) class are weaker than those of normal people. The b-type color weakness is due to the fact that the function of a cone cell of a human eye is lower than that of a target object, and is characterized in that the wavelength of light waves absorbed by the cone cell is shifted, and the b-type color weakness is specifically expressed as follows: the b-type red (b-red, br type for short) is weaker than the target object, mainly because of the shift of the absorption peak value of the red light; the b-green is weaker than normal, and the main reason is that the absorption peak value of green light is shifted; the b-blue (bb type) is weaker than normal, mainly due to the shift of the absorption peak of blue light.
The embodiment of the application does not limit the multimedia display page, and the multimedia display page can be a full-screen display page of the terminal equipment, can be an application content display page of an application client in the terminal equipment, and can be set according to an actual scene during actual application.
The color weakness enhancement control in the embodiment of the present application is used for performing color enhancement on initial multimedia data, for convenience of description, the data color of the initial multimedia data is referred to as an initial data color, and the color enhancement may include two aspects, that is, the color of the initial data color is enhanced in a forward direction, that is, the saturation of the initial data color is enhanced, so that a color weakness object can perceive the color perceived by a target object; the second aspect is to perform color reverse enhancement on the initial data color, that is, reduce the saturation of the initial data color, so that the target object can perceive the color perceived by the weak object.
The embodiment of the application does not limit the form of the multimedia data, and the multimedia data may include visualized data such as images, videos, texts, and the like.
Referring to fig. 4a, fig. 4b, and fig. 4c, fig. 4a is a schematic view of a data processing scenario provided in an embodiment of the present application, fig. 4b is a schematic view of a data processing scenario provided in an embodiment of the present application, and fig. 4c is a schematic view of a data processing scenario provided in an embodiment of the present application. As shown in fig. 4a, the terminal device 4z displays the color weakness enhancement control 203a and the initial multimedia data in the multimedia display page 4x, the initial multimedia data may be an image 202a, the image 202a includes red rose, and the red rose may include petals and flower handles. The method for acquiring the initial multimedia data (i.e. the image 202 a) is not limited, for example, the multimedia display page 4x is an application content display page of a browser, and the image 202a may be an image being browsed by the color-weak object 4 g; for example, the multimedia display page 4x is an application content display page of the image capturing application, and the image 202a may be an image being captured by the color-weak object 4g, a captured image, or an image uploaded from a local area, so that the acquisition mode of the initial multimedia data (i.e., the image 202 a) may be set according to the actual application scenario. If the image 202a is an image of the weak object 4g being photographed, for better display effect of the image 202a, the time point of triggering the weak enhancement control may be earlier than the time point of photographing, or the time point of opening the weak enhancement filter may be earlier than the time point of photographing.
In the embodiment of the present application, it is assumed that the color weakness object 4g viewing the multimedia display page 4x knows that there is a color weakness condition of itself, but does not know the color weakness and the degree of the color weakness of itself, or does not know the color weakness of itself but does not know the degree of the color weakness of itself. At the perspective of the weak object 4g, the petal color of the red rose is color 20a (equivalent to color 20a illustrated in fig. 2 a), the flower stem color is color 20b (equivalent to color 20b illustrated in fig. 2 a), at the perspective of the target object (object that can recognize the color and is highly perceived), the petal color of the red rose is color 20c (equivalent to color 20c illustrated in fig. 2 a), the flower stem color is color 20d (equivalent to color 20d illustrated in fig. 2 a), and it is apparent that the color perceived by the weak object 4g is different from the color perceived by the target object.
Step S102, a color weakness enhancement filter associated with the target color weakness attribute is acquired in response to a triggering operation for the color weakness enhancement control.
Specifically, a color weakness attribute configuration page is displayed in response to a triggering operation aiming at a color weakness enhancement control; and responding to the configuration operation aiming at the color weakness attribute configuration page, acquiring the target color weakness attribute and acquiring the color weakness enhancement filter associated with the target color weakness attribute.
Wherein, the terminal device responds to the configuration operation aiming at the color weakness attribute configuration page, and one implementation method for acquiring the target color weakness attribute can comprise the following procedures: the color weakness attribute configuration page comprises a first configuration control; responding to the selection operation aiming at the first configuration control, and displaying a color weakness type list in a color weakness attribute configuration page; in response to a selection operation for a target color weak type in the color weak type list, displaying a color weak list associated with the target color weak type; and responding to configuration operation aiming at the target color weakness in the color weakness list, and acquiring the target color weakness attribute.
The specific process of obtaining the target color weakness attribute by the terminal device may include: responding to a selection operation aiming at target color weakness in the color weakness list, and displaying at least two color weakness degree parameters corresponding to the target color weakness; and determining the target color weakness and the target color weakness degree parameter as target color weakness attributes in response to a selection operation of the target color weakness degree parameter in the at least two color weakness degree parameters.
When the scene of the foregoing embodiment is the scene of the target color weakness attribute configured according to the known color weakness degree by the known color weakness degree when the color weakness enhancement filter is turned on for the first time (the device object corresponding to the terminal device may be a color weakness object or a target object, which is not limited in this embodiment), the specific implementation process of this embodiment may be referred to the description in the examples corresponding to fig. 2 a-2 b above, and will not be described herein.
Wherein, another implementation manner of the terminal device to obtain the target color weakness attribute in response to the configuration operation of the configuration page for the color weakness attribute may include the following procedures: responding to the selection operation aiming at the second configuration control, and displaying a color weakness test image in the color weakness attribute configuration page; when the color weakness test operation for the color weakness test image is completed, displaying a weakness degree test image associated with the target color weakness in the weakness attribute configuration page; the target color weakness is a color weakness determined based on a color weakness test result; and responding to the color weakness degree test operation aiming at the color weakness degree test image, and acquiring the target color weakness attribute.
The color weakness degree test image comprises an adjustment test image and a reference test image which have the same test content; the color type of the test content in the reference test image is different from the color type associated with the target color weakness; the specific process of the terminal device for obtaining the target color weakness attribute in response to the color weakness degree test operation for the color weakness degree test image may include: displaying a color weakness degree slide bar aiming at the adjustment test image and a sliding component positioned on the color weakness degree slide bar; responding to the sliding operation of the sliding component on the color weakness degree sliding rod, and performing color vision updating on the adjustment test image based on the color weakness degree parameter indicated by the sliding operation; the reference test image is used for comparing and referencing the color vision updated adjustment test image; if the confirmation operation of the adjustment test image after the color vision updating is responded, determining the color weakness degree parameter indicated by the sliding operation as a target color weakness degree parameter; and determining the target color weakness and the target color weakness degree parameter as target color weakness attributes.
Wherein, the terminal device responds to the configuration operation of the configuration page aiming at the color weakness attribute, and the further implementation method for acquiring the target color weakness attribute can comprise the following procedures: responding to the selection operation aiming at the second configuration control, and displaying a color weakness test image in the color weakness attribute configuration page; responding to the color weakness test operation aiming at the color weakness test image, obtaining a color weakness test result, and determining the target color weakness according to the color weakness test result; obtaining a color weakness degree test image mapped by the color weakness of the target, and displaying the color weakness degree test image in a color weakness attribute configuration page; responding to the color weakness degree test operation aiming at the color weakness degree test image, and acquiring a target color weakness degree parameter; and determining the target color weakness and the target color weakness degree parameter as target color weakness attributes.
The color weakness test image comprises a first color weakness test image, a second color weakness test image and a third color weakness test image; the color weakness test result comprises a first test result, a second test result and a third test result; the specific process for determining the target color weakness according to the color weakness test result comprises the following steps of: responding to a test operation aiming at the first color weakness test image, and acquiring a first test result; responding to the test operation aiming at the second color weakness test image, and acquiring a second test result; responding to the test operation aiming at the third color weakness test image, and acquiring a third test result; obtaining a test result with a weak tendency from the first test result, the second test result and the third test result as a target test result; and determining the color weakness related to the target test result as the target color weakness.
The color weakness degree test image comprises a color weakness degree slide bar and a sliding component positioned on the color weakness degree slide bar; the specific process for obtaining the target color weakness degree parameter comprises the following steps of: and responding to the sliding operation of the sliding component on the color weakness degree sliding rod, acquiring the target position of the sliding component on the color weakness degree sliding rod, and determining a target color weakness degree parameter based on the target position.
In order to clearly identify the color of the initial multimedia data (including red rose), please refer to fig. 4a again, the color weakness object 4g may trigger the color weakness enhancement control 203a in the multimedia display page 4x, and then the terminal device 4z responds to the triggering operation for the color weakness enhancement control 203a to obtain the target color weakness attribute, which in this embodiment includes the target color weakness of the color weakness object 4g and the target color weakness degree.
If the current triggering operation of the color weak object 4g is the first triggering operation, that is, the color weak object 4g has not previously turned on the color weak enhancement filter associated with its own color weak attribute (that is, the target color weak attribute) in the terminal device 4z, the terminal device 4z needs to acquire the target color weak attribute for the color weak object 4g, and at this time, the terminal device 4z may display the color weak attribute configuration page 40a. The form of the weak attribute configuration page 40a is not limited in the embodiment of the present application, and may be a sub-page of the multimedia display page, for example, the weak attribute configuration page 204a in fig. 2a is a sub-page of the multimedia display page 201 a; the color weakness property configuration page may be a page independent of the multimedia display page, as the terminal device 4z illustrated in fig. 4a switches the multimedia display page 4x to the color weakness property configuration page 40a in response to a trigger operation for the color weakness enhancement control 203 a.
The color weakness attribute configuration page 40a in the embodiment of the present application may include a first configuration control and a second configuration control, where the first configuration control may be a known color weakness degree control illustrated in fig. 4a, the second configuration control may be an unknown color weakness degree control 40b illustrated in fig. 4a, and optionally, the color weakness attribute configuration page 40a may include a return control 401a, and if the color weakness object 4a triggers the return control 401a, the terminal device 4z switches the color weakness attribute configuration page 40a to the multimedia display page 4x.
If the color weakness object 4g knows its own color weakness and degree of weakness, a first configuration control may be selected, and in this embodiment, it is assumed that the color weakness object 4g does not know its own color weakness and degree of weakness, at this time, the color weakness object 4g may select a second configuration control, that is, the control 40b of unknown degree of weakness in fig. 4a, and then the terminal device 4z displays, in response to a selection operation for the second configuration control, a first color weakness test image 403f and a confirmation control 40e in the color weakness attribute configuration page 40f, where the first color weakness test image 403f may include an image base color (such as fine particles illustrated in fig. 4a, and assumed to be gray), a first line 401f and a second line 402f, where the line color of the first line 401f is different from the line color of the second line 402f, for example, the line color of the first line 401f is purple, and the line color of the second line 402f is red. Optionally, the color weakness attribute configuration page 40f may include a prompt 40c, i.e. the prompt illustrated in fig. 4a "perform color vision test bar, know its own color weakness degree", and a prompt 40d, i.e. the prompt illustrated in fig. 4a "please draw a line in the drawing, and please confirm after completion.
According to the prompt 40c and the prompt 40d, the weak object 4g may draw the first line 401f and the second line 402f in the first color weak test image 403f, if the weak object 4g only senses the first line 401f and does not sense the second line 402f, at this time, the weak object 4g draws the first target line 401g only according to the first line 401f, as shown in the weak attribute configuration page 40g, after the weak object 4g triggers the confirmation operation, the terminal device 4z may confirm that the first test result is (that is, the color of the weak object 4g is weak) color weak 1, for example, the color weak 1 is red (br type); the terminal device 4z presents a color weakness test image according to the test result, obtains a new test result of the new color weakness test image, and can continue presenting the color weakness test image according to the first test result and the new test result, i.e. repeat the test to accurately obtain the target color weakness of the color weakness object 4 g.
If the weak object 4g does not sense the first line 401f and only senses the second line 402f, at this time, the weak object 4g only traces the second target line 401i according to the second line 402f, as shown in the weak attribute configuration page 40i, after the weak object 4g triggers the confirmation operation, the terminal device 4z may confirm that the first test result (the color of the weak object 4g is weak) is color and color 2, for example, color and color 1 is green (bg type); similarly, the terminal device 4z presents a color weakness test image according to the test result, obtains a new test result of the new color weakness test image, and can continue presenting the color weakness test image according to the first test result and the new test result, i.e. repeat the test to accurately obtain the target color weakness of the color weakness object 4 g.
Referring to fig. 4b together, if the color weakness object 4g perceives the first line 401f and the second line 402f, the color weakness object 4g may describe the first target line 401g according to the first line 401f, and may describe the second target line 401i according to the second line 402f, as shown in the color weakness attribute configuration page 40h, after the color weakness object 4g triggers the confirmation operation, the terminal device 4z may confirm that the first test result includes normal color vision, color blindness type 1 and color weakness 3, for example, the color blindness type 1 is red color blindness, the color weakness 3 is red green (ab type), and in case that the first test result is ambiguous, the terminal device 4z may display the color weakness attribute configuration page 40j, the color weakness attribute configuration page 40j may include the second color weakness test image 402j, the second color weakness test image 402j may include the image base color (as illustrated in fig. 4 b) and the third line 401j, assuming that the color of the third line 401j is green. Optionally, a question-answer prompt may be included in the weak attribute configuration page 40j, i.e., the title "you see" illustrated in the weak attribute configuration page 40 j: "and answer options (including no line, color 1 line, and color 2 line), and selection controls corresponding to the answer options, respectively, e.g., color 1 line is a green line, and color 2 line is a red line. According to the question and answer prompt and the perceived color of the color-impaired object 4g, the color-impaired object 4g may select an answer option, and it may be understood that if the color perception of the test object is high (i.e., normal color perception), the line color of the third line 401j may be determined to be green, and if the color perception of the test object (including the color-impaired object 4 g) belongs to the color blindness type 1 or the color impaired 3, the line color of the third line 401j may not be perceived, or the line color of the third line 401j may be perceived to be color 2, i.e., red.
Referring to fig. 4b again, the weak object 4g selects the wireless bar option, the terminal device 4z may confirm that the second test result includes the achromatopsia type 1 and the color weak 3, and in case that the second test result is ambiguous, the terminal device 4z may display the weak attribute configuration page 40k, the weak attribute configuration page 40k may include a third color weak test image 401k, and the third color weak test image 401k may include an image ground color (assumed to be green) and a red capital letter a (abbreviated as red a). Optionally, a question-answer prompt may be included in the weak attribute configuration page 40k, i.e., the title "you see" illustrated in the weak attribute configuration page 40 k: ", answer options (including A, B and none), and selection controls to which each answer option corresponds, respectively. According to the question-answer prompt and the perceived color of the color-weak object 4g, the color-weak object 4g can select an answer option, if the color-weak object 4g triggers a selection control with the option of none, the terminal device 4z can determine that a third test result of the color-weak object 4g is a color blindness type 1, and the color blindness type 1 can be exemplified as a red blindness; as shown in fig. 4b, the weak object 4g triggers the selection control of the option "a", so the terminal device 4z may determine that the third test result of the weak object 4g is color weak 3, and the color weak 3 may be exemplified as red-green weak.
The terminal device 4z obtains a test result with a color weakness tendency from the first test result, the second test result and the third test result, and as a preliminary test result, presents a color weakness test image according to the preliminary test result, obtains a new test result of a new color weakness test image, and according to the new test result, can continue presenting the color weakness test image, that is, repeatedly test to accurately obtain a target test result of the color weakness object 4g, and determines the color weakness associated with the target test result as a target color weakness.
When the color weakness test operation for the color weakness test image is completed, the terminal device may display a color weakness test image associated with the target color weakness, where the color weakness test image includes an adjustment test image and a reference test image with the same test content, the color type of the test content in the reference test image is different from the color type associated with the target color weakness, please refer to fig. 4c together, the terminal device 4z displays the adjustment test image 401m and the reference test image 402m in the color weakness attribute configuration page 40m, the adjustment test image 401m and the reference test image 402m each include two lines (which may be understood as test contents), where the line colors corresponding to the line 403m and the line 404m in the reference test image 402m may be the same or different, but the line colors corresponding to the line 403m and the line 404m respectively are all color weakness objects 4g and may sense stronger colors (such as white, black, etc.), and the line 403m and the line 404m may be understood as shapes for the reference position or the reference shape (or the reference line position); the line 405m and the line 406m in the adjustment test image 401m are different in color, and the line colors corresponding to the line 405m and the line 406m are the colors (for example, red and green) perceived by the weak object 4g, and the line shapes corresponding to the line 403m and the line 405m are the same, and the line shapes corresponding to the line 404m and the line 406m are the same.
The color weakness attribute configuration page 40m may further include a color weakness degree slide bar 407m for adjusting the test image 401m, and a slide member located on the color weakness degree slide bar 407 m; alternatively, the color weakness attribute configuration page 40m may include a prompt, such as the prompt "test for color weakness 3, please test for degree of color weakness" illustrated in fig. 4c, and the prompt "please move the upper slide bar until two lines in the left view are clearly visible and the two lines of different colors are similar in brightness.
According to the prompt, the line 402m perceived by the color weak object 4g and the line 403m, the color weak object 4g slides the sliding component located on the color weak slide bar 407m, then the terminal device 4z responds to the sliding operation on the color weak slide bar 407m for the sliding component, and based on the color weak degree parameter indicated by the sliding operation, performs color vision updating on the lines 405m and 406m in the adjustment test image 405m respectively, as illustrated in fig. 4c, obviously, the color saturation corresponding to the line 401n is higher than the color saturation corresponding to the line 405m, and if the color brightness corresponding to the line 401n is similar to the color brightness corresponding to the line 402n, then the terminal device 4z can trigger the completion control (which is equivalent to the confirmation control), as illustrated in fig. 4c, obtains the target position of the sliding component located on the color weak degree, determines the target weak degree parameter based on the target position, and determines the target color saturation parameter and the target color saturation is higher than the color saturation corresponding to the line 406 m.
According to the target color weakness, the terminal device 4z can determine the color to be enhanced, and according to the target color weakness degree parameter, can determine the degree to be enhanced, so that a color weakness enhancement filter matched with the target color weakness attribute can be obtained from a filter database, and the spectrum of the initial multimedia data is adjusted by the color weakness enhancement filter. Or, the spectrum is reversely adjusted by the color-weakening reverse enhancement filter, so as to present the perceived color of the color-weakening object to the target object, please refer to step S103 and the embodiment corresponding to fig. 5.
It can be appreciated that fig. 4a to fig. 4c are a possible scheme provided in the embodiments of the present application, and the color weakness testing operation for the color weakness testing image may be changed according to actual application scenarios, which are not limited in the embodiments of the present application.
It will be appreciated that the interfaces and controls illustrated in fig. 4 a-4 c are merely some representations that may be referred to, and in an actual business scenario, a developer may perform related designs according to product requirements, and the embodiments of the present application are not limited to the specific forms of interfaces and controls involved.
Step S103, updating and displaying the initial multimedia data as target multimedia data by adopting a color-weakening enhancement filter; the color vision display effect of the target multimedia data is associated with a target color weakness attribute.
Specifically, converting initial pixel parameters of initial multimedia data from a first color space to a second color space to obtain initial visual data in the second color space; performing data updating processing on the initial visual data by using a color-weakening enhancement filter to obtain updated visual data in a second color space; and converting the updated visual data from the second color space to the first color space to obtain updated pixel parameters in the first color space, and displaying the target multimedia data based on the updated pixel parameters.
There are three types of cones on the retina of the human body, namely long-wave cones (also called L cones), medium-wave cones (also called M cones) and short-wave cones (also called S cones), L cones sense long-wave light, M cones sense medium-wave light, S cones sense short-wave light, and achromatopsia patients are caused by the absence of some cell or the deficiency of some cell, such as the absence of L cones in the red blindness, and the spectral ranges affected by L cones and M cones overlap, so that they cannot distinguish red from green; the M cone cells are lost in the green blindness, and the red and green cannot be distinguished; blue blindness lacks S cone cells and cannot distinguish between blue and green. The color weakness is different from the color blindness, and the color weakness object can recognize the color, but has lower sensibility.
The first color space may be an RGB color space, which is based on three basic colors of R (Red), G (Green), and B (Blue), and is superimposed to different extents to generate rich and wide colors, so that the RGB color space is commonly called a three-primary color mode. The second color space may be an LMS color space, which is a color space represented by the responses of three cones (cones) of the human eye, named by their responsivity (sensitivity) peaks at long, medium and short wavelengths.
The eye system will transform the RGB parameters of each pixel displayed on the terminal device into signals absorbed by the three cone cells, so the terminal device needs to convert the initial pixel parameters of the initial multimedia data (such as the image 202a in fig. 4 a) from the first color space to the second color space to obtain the initial visual data in the second color space, and the expression of this process is shown in the formula (1).
Figure BDA0003322646310000241
Figure BDA0003322646310000242
U in the formula (1) is a first space conversion matrix between the first color space and the second color space, R, G, B is an initial pixel parameter of the initial multimedia data in the RGB color space (i.e., the first color space), L, M, S is an initial visual parameter of the initial multimedia data in the LMS color space, so the formula (1) can be expressed as formula (3) -formula (5).
L=0.3811R+0.5783G+0.0402B (3)
M=0.1967R+0.7244G+0.0782B (4)
S=0.0241R+0.1288G+0.8444B (5)
The terminal device performs data updating processing on the initial visual data by using a color-weakness enhancement filter to obtain updated visual data in a second color space, according to the color weakness of the target, the terminal device can determine the color to be enhanced, and according to the color weakness degree parameter of the target, can determine the color degree to be enhanced, so that the color-weakness enhancement filter matched with the color weakness attribute of the target can be obtained from a filter database, and the spectrum of the initial multimedia data is adjusted by using the color-weakness enhancement filter.
ar(n):(L’=(L*(1-(n/7)));M’=(M*(1+(n/7)));S’=(S*(1+(n/7)))
(6)
ag(n):(L’=(L*(1+(n/7)));M’=(M*(1-(n/7)));S’=(S*(1+(n/7)))
(7)
ab(n):(L’=(L*(1+(n/7)));M’=(M*(1+(n/7)));S’=(S*(1-(n/7)))
(8)
br(n):(L’=(L*(1+(n/7)));M’=(M*(1-(n/7)));S’=(S*(1-(n/7)))
(9)
bg(n):(L’=(L*(1-(n/7)));M’=(M*(1+(n/7)));S’=(S*(1-(n/7)))
(10)
bb(n):(L’=(L*(1-(n/7)));M’=(M*(1-(n/7)));S’=(S*(1+(n/7)))
(11)
In the examples of the present application, the at least two color weakness degree parameters are 6, and detailed parameters refer to fig. 2a and fig. 2b, which are not described herein, so there are 6 input degrees, and the original degree (ar 0) is added, and the total of 7 color weakness degrees is 7, and it can be understood that the parameter n can be set according to an actual application scenario, and the embodiment of the present application does not limit n. (L ', M ', S ') in the formula (6) -formula (11) respectively represent the corresponding forward updated visual data of the color weakness; ar (n) can indicate that the color weakness object belongs to bluish-green color weakness and the color weakness degree is n, if a color weakness forward enhancement filter is adopted, the M and S in the initial visual parameter are enhanced forward according to the color weakness degree n, namely, the perception of blue light and green light in a spectrum is improved, and the perception of L in the initial visual parameter can be enhanced reversely, namely, the perception of red light in the spectrum is weakened; the meanings corresponding to ab (n) and ag (n) can be understood by referring to the description of ar (n), and are not repeated; br (n) can represent that the color weakness object belongs to red color weakness and the color weakness degree is n, if a color weakness forward enhancement filter is adopted, the L in the initial visual parameter is enhanced forward according to the color weakness degree n, namely, the perception of red light in a spectrum is improved, and the M and the S in the initial visual parameter can be enhanced reversely, namely, the perception of blue light and green light in the spectrum is weakened; the meanings of bb (n) and bg (n) respectively corresponding to each other can be understood by referring to the description of ar (n), and will not be described in detail.
The foregoing describes that the data is updated in the forward direction, and the embodiment of the present application may also provide data reverse updating (i.e. the color weakness reverse enhancement filter), corresponding to the data reverse updating (equivalent to color reverse enhancement) formulas such as formula (12) -formula (17) of the respective color weaknesses illustrated in fig. 2 a.
ar'(n):(L”=(L*(1+(n/7)));M”=(M*(1-(n/7)));S”=(S*(1-(n/7)))
(12)
ag'(n):(L”=(L*(1-(n/7)));M”=(M*(1+(n/7)));S”=(S*(1-(n/7)))
(13)
ab'(n):(L”=(L*(1-(n/7)));M”=(M*(1-(n/7)));S”=(S*(1+(n/7)))
(14)
br'(n):(L”=(L*(1-(n/7)));M”=(M*(1+(n/7)));S”=(S*(1+(n/7)))
(15)
bg'(n):(L”=(L*(1+(n/7)));M”=(M*(1-(n/7)));S”=(S*(1+(n/7)))
(16)
bb'(n):(L”=(L*(1+(n/7)));M”=(M*(1+(n/7)));S”=(S*(1-(n/7)))
(17)
Wherein, the immediate amount of the parameter n in the formula (12) -formula (17) can be referred to the above description. (L ', M ', S ') in formulas (12) - (17) respectively represent the corresponding inversely updated visual data of the color weakness; ar' (n) can indicate that the color weakness object belongs to bluish-green color weakness and the color weakness degree is n, if a color weakness reverse enhancement filter is adopted, the M and S in the initial visual parameter are enhanced reversely according to the color weakness degree n, namely, the perception of blue light and green light in a spectrum is reduced, and the perception of L in the initial visual parameter can be enhanced positively, namely, the perception of red light in the spectrum is improved; the meanings corresponding to ab ' (n) and ag ' (n) can be understood by referring to the description of ar ' (n), and are not repeated; br' (n) can represent that the color weakness object belongs to red color weakness and the color weakness degree is n, if a color weakness reverse enhancement filter is adopted, L in the initial visual parameter is enhanced reversely according to the color weakness degree n, namely, the perception of red light in a spectrum is reduced, and M and S in the initial visual parameter can be enhanced positively, namely, the perception of blue light and green light in the spectrum is improved; the meanings corresponding to bb ' (n) and bg ' (n) can be understood by referring to the description of ar ' (n), and will not be described in detail.
The terminal device converts the updated visual data (including the forward updated visual data and the backward updated visual data) from the second color space to the first color space, obtains updated pixel parameters (including the forward updated pixel parameters and the backward updated pixel parameters) in the first color space, and displays the target multimedia data based on the updated pixel parameters, wherein the forward updated visual data to the forward updated pixel parameters can be represented by a formula (18) -a formula (20).
R’=4.4679L’–3.5873M’+0.1193S’ (18)
G’=–1.2186L’+2.3809M’–0.1624S’ (19)
B’=0.0497L’–0.2439M’+1.2045S’ (20)
R ', G ', B ' in formula (18) -formula (20) represent forward updated pixel parameters of the resulting target multimedia data under the first color space after the forward update of the data.
Wherein, the reverse updating of the visual data to the reverse updating of the pixel parameters can be represented by the formulas (21) - (23).
R”=4.4679L”–3.5873M”+0.1193S” (21)
G”=–1.2186L”+2.3809M”–0.1624S” (22)
B”=0.0497L”–0.2439M”+1.2045S” (23)
R ', G ', B ' in the formula (21) -formula (22) represent the reversely updated pixel parameters of the obtained target multimedia data under the first color space after the data reversely update.
Based on the above, the color-weakness enhancement filter in the embodiment of the present application includes a color-weakness forward enhancement filter and a color-weakness reverse enhancement filter, and the spectrum is adjusted forward by the color-weakness forward enhancement filter, so as to restore the color that should be presented by the normal color sense for the color-weakness object in the multimedia display page; or, the spectrum is reversely adjusted by the color-weakening reverse enhancement filter, so as to present the perceived color of the color-weakening object to the target object, and refer to the embodiment corresponding to fig. 5. Assuming that the target color weakness attribute of the color weakness object 4g is ab (4), fig. 4c temporarily describes page display after forward data update, and as shown in the multimedia display page 202d, the image 202c, that is, the target multimedia data after forward data update is displayed, at this time, under the viewing angle of the color weakness object 4g, the petal color of the red rose is color 20c, and the flower stem color is color 20d, which is the same as the perception of the initial multimedia data under the viewing angle of the target object.
It can be understood that, as long as the filter coefficient set by the object is set for the first time, the filter coefficient set by the object is saved as a preset parameter for the next adjustment, and then the object only needs to start the color weakness enhancement control, and the terminal device updates the data according to the recording target color weakness attribute.
The embodiment of the application can be applied to electronic products, such as screen colors of products of hardware, such as computers/mobile phones/digital cameras and the like, and digital products, such as application products or systems of images/shooting/video/browsers and the like, and the color on the screen can be restored to the color required by people with weak colors by the same adjustment technical scheme, so that the life quality of the people can be greatly improved.
The visual data mentioned in the whole text, such as the color weakness enhancement control in fig. 2a, the confirmation control 40e in fig. 4a, the return control 401a, etc., are all colors that can be clearly perceived by the target object and the color is not emphasized.
In the embodiment of the application, on one hand, the target multimedia data can assist the color weakness object with the color weakness attribute being the target color weakness attribute to identify the initial multimedia data, so that the identification degree of the color weakness object to the initial multimedia data can be improved; on the other hand, the target multimedia data can assist the target object to perceive the initial multimedia data recognized by the color weakness object with the color weakness attribute being the target color weakness attribute, so that the target object can assist the target object to perceive the color vision perception of the color weakness object. Therefore, by adopting the method and the device, the display effect of the initial multimedia data can be improved.
Referring to fig. 5, fig. 5 is a flowchart of a data processing method according to an embodiment of the present application. The method may be performed by a service server (e.g., the service server 100 shown in fig. 1 and described above), by a terminal device (e.g., the terminal device 200a shown in fig. 1 and described above), or by both the service server and the terminal device. For ease of understanding, the present embodiment will be described as an example in which the method is performed by the terminal device 200 a. As shown in fig. 5, the method may include at least the following steps.
Step S201, displaying the color weakness enhancement control and the initial multimedia data in the multimedia display page.
The specific implementation process of step S201 is referred to step S101 in the embodiment corresponding to fig. 3, and will not be described herein.
Step S202, in response to triggering operation of the target color weakness enhancement control, displaying the forward enhancement control of the target color weakness attribute.
Specifically, referring to fig. 6, fig. 6 is a schematic view of a data processing scenario provided in the embodiment of the present application. In fig. 6, some of the reference numerals are identical to those in fig. 2 a-2 b, and the meaning of identical reference numerals is identical in the 4 drawings, so that a detailed description is omitted here. As shown in fig. 6, the weak object 20e triggers the weak enhancement control 203a in the multimedia display page 201a, and in a scenario that is not triggered for the first time, the terminal device 200a may display the multimedia display page 60a, and the multimedia display page 60a may include a forward enhancement control (i.e., the optimized analog control in fig. 6) and a reverse enhancement control (i.e., the reverse analog control in fig. 6).
And step S203, a color weakness forward enhancement filter positively associated with the target color weakness attribute is acquired in response to the triggering operation of the forward enhancement control.
Specifically, if the color weakness object 20e triggers the forward enhancement control, the terminal device 200a acquires the color weakness forward enhancement filter positively associated with the target color weakness attribute in response to the triggering operation for the forward enhancement control, and if the target color weakness attribute is ab4 (i.e., red-green weakness and the degree of color weakness is 4), the terminal device 200a acquires the filter for forward enhancement of red-green weakness and the degree of color weakness is 4.
Step S204, the original multimedia data is updated and displayed as target multimedia data by adopting a color-weak forward enhancement filter; the target multimedia data is used for assisting the color weakness object with the color weakness attribute being the target color weakness attribute to identify the initial multimedia data.
Specifically, after the terminal device 200a obtains the weak forward enhancement filter, the weak forward enhancement filter is adopted to update and display the initial multimedia data (including the image 202 a) as the target multimedia data (including the image 202 c), at this time, under the view angle of the weak object 20e, the petal color of the red rose is the color 20c, and the flower stem color is the color 20d, which is the same as the perception of the initial multimedia data under the view angle of the target object. But at the target object perspective, the petals of the red rose in the target multimedia data are color 20f (more saturated red) and the stems are color 20g (more saturated green), as shown in fig. 6.
Step S205, setting a color-weak image tag for the target multimedia data, and sending the target multimedia data carrying the color-weak image tag and the target color-weak attribute to the first device so that the first device displays the target multimedia data, the color-weak image tag and the target color-weak attribute; the target color weakness attribute is used to provide a color weakness attribute configuration reference for the first object.
Specifically, as shown in fig. 6, the weak object 20e may add a weak image tag to the target multimedia data (including the image 202c in fig. 6) to indicate that the image is an image after the forward data update, send the target multimedia data carrying the weak image tag and the target weak attribute (such as ab4 illustrated in fig. 6) to the first device 20h, so that the first device 20h displays the target multimedia data, the weak image tag and the target weak attribute, and assuming that the first object 20i is another weak object, the first object 20i may configure the weak attribute with reference to the local according to the target weak attribute.
It will be appreciated that the interfaces and controls illustrated in fig. 6 are merely some representations that may be referred to, and in an actual business scenario, a developer may perform related design according to product requirements, and the embodiments of the present application do not limit the specific forms of interfaces and controls involved.
In the embodiment of the application, the initial multimedia data can be identified by the target multimedia data by assisting the color weakness object with the color weakness attribute being the target color weakness attribute, so that the identification degree of the color weakness object to the initial multimedia data can be improved; the above-mentioned results show that the application can improve the display effect of the initial multimedia data.
Referring to fig. 7, fig. 7 is a flowchart of a data processing method according to an embodiment of the present application. The method may be performed by a service server (e.g., the service server 100 shown in fig. 1 and described above), by a terminal device (e.g., the terminal device 200a shown in fig. 1 and described above), or by both the service server and the terminal device. For ease of understanding, the present embodiment will be described as an example in which the method is performed by the terminal device 200 a. As shown in fig. 7, the method may include at least the following steps.
Step S301, displaying the color weakness enhancement control and the initial multimedia data in the multimedia display page.
The specific implementation process of step S301 is referred to step S101 in the embodiment corresponding to fig. 3, and will not be described herein.
Step S302, in response to the triggering operation of the target color weakness enhancement control, displaying the reverse enhancement control of the target color weakness attribute.
Specifically, the specific implementation process of step S302 is referred to step S202 in the embodiment corresponding to fig. 5, which is not described herein.
Step S303, a color weakness reverse enhancement filter reversely associated with the target color weakness attribute is acquired in response to the trigger operation for the reverse enhancement control.
Specifically, referring to fig. 8, fig. 8 is a schematic view of a data processing scenario provided in the embodiment of the present application. It will be appreciated that reference numerals are present in fig. 8 that are identical to those mentioned above, and that the same reference numerals have the same meaning in each of the figures. As shown in fig. 8, the color weakness object 20e triggers a reverse enhancement control (i.e., a reverse simulation control in fig. 8), and the terminal device 200a acquires a color weakness reverse enhancement filter reversely associated with the target color weakness attribute in response to the triggering operation for the reverse enhancement control, and if the target color weakness attribute is ab4, the terminal device acquires a filter for reversely enhancing red-green weakness and the degree of color weakness is 4.
Step S304, updating and displaying the initial multimedia data as target multimedia data by adopting a color-weak reverse enhancement filter; the target multimedia data is used for assisting the target object to perceive the initial multimedia data identified by the color weakness object with the color weakness attribute being the target color weakness attribute.
Specifically, after the terminal device 200a obtains the weak reverse enhancement filter, the weak reverse enhancement filter is adopted to update and display the initial multimedia data (including the image 202 a) as the target multimedia data (including the image 80 b), at this time, under the view angle of the weak object 20e, the petal color of the red rose is the color 80c (red with lower saturation), the flower stem color is the color 80d (green with lower saturation), but under the view angle of the target object, the target multimedia data includes the image 202a, that is, the petal color of the red rose is the color 20a, the flower stem color is the color 20d, and the perception of the initial multimedia data by the weak object 20e is the same.
Step S305, taking the initial multimedia data as a reference image, taking the target multimedia data as a color-weak image, and jointly transmitting the reference image and the color-weak image to the second device so as to enable the second device to display the reference image and the color-weak image; the reference image is used to provide a second object with a color-weak perceived contrast for the color-weak image.
Specifically, the color-weak object 20e may send the initial multimedia data (including the image 202 a) as a reference image, the target multimedia data (including the image 80 b) as a color-weak image, and the reference image and the color-weak image together to the second device 80h, and assuming that the second object 80i is a normal color-vision object, the color-weak image perceived by the second object 80i through the second device 80h is equivalent to the reference image perceived by the color-weak object 20e, the perceived reference image is equivalent to the target multimedia data after the forward data perceived by the color-weak object 20e is updated, as the image 202c illustrated in fig. 6 is equivalent to the image 80e in fig. 8, wherein the color 80f in fig. 8 is equivalent to the color 20c in fig. 6, and the color 80g in fig. 8 is equivalent to the color 20d in fig. 6. Obviously, the second object 80i may perceive the initial multimedia data perceived by the weak object 20e through the weak image.
It will be appreciated that the interfaces and controls illustrated in fig. 8 are merely some representations that may be referred to, and in an actual business scenario, a developer may perform related design according to product requirements, and the embodiments of the present application do not limit the specific forms of interfaces and controls involved.
In the embodiment of the application, the target object can be assisted to perceive the initial multimedia data identified by the color weakness object with the color weakness attribute being the target color weakness attribute through the target multimedia data, so that the target object can be assisted to perceive the color vision perception of the color weakness object, and the display effect of the initial multimedia data can be improved by adopting the application.
Referring to fig. 9, fig. 9 is a flowchart of a data processing method according to an embodiment of the present application. The method may be performed by a service server (e.g., the service server 100 shown in fig. 1 and described above), by a terminal device (e.g., the terminal device 200a shown in fig. 1 and described above), or by both the service server and the terminal device. For ease of understanding, the present embodiment will be described as an example in which the method is performed by the terminal device 200 a. As shown in fig. 9, the method may include at least the following steps.
Step S401, displaying a color weakness enhancement control and initial multimedia data in a multimedia display page.
Step S402, a color weakness enhancement filter associated with the target color weakness attribute is acquired in response to a triggering operation for the color weakness enhancement control.
Step S403, updating and displaying the initial multimedia data as target multimedia data by adopting a color-weakening enhancement filter; the color vision display effect of the target multimedia data is associated with a target color weakness attribute.
For the specific implementation process of step S401 to step S403, please refer to step S101 to step S103 in the embodiment corresponding to fig. 3, which is not described herein.
Step S404, when the duration trigger time of the trigger operation of the color weakness enhancement control is equal to the time threshold, displaying a color weakness attribute configuration page in the multimedia display interface; the color weakness attribute configuration page includes a target color weakness attribute.
In step S405, if the modification operation for the target color weakness attribute is responded, the updated color weakness attribute is acquired, and the color weakness enhancement update filter associated with the updated color weakness attribute is acquired.
In step S406, the target multimedia data is updated and displayed as updated multimedia data using the color-weakening enhancement update filter.
Specifically, referring to fig. 10, fig. 10 is a schematic view of a data processing scenario provided in the embodiment of the present application. It will be appreciated that reference numerals are present in fig. 10 that are identical to those mentioned above, and that like reference numerals have the same meaning in each of the figures. As shown in fig. 10, when the weak object 20e does not first turn on the weak enhancement control 203, the terminal device 200a may switch the multimedia display page 201a to the multimedia display page 90a, and the multimedia display page 90a may include an image 202c for updating and displaying the initial multimedia data as the target multimedia data using the weak forward enhancement filter, where the petal color of the red rose is 20c and the stem color is 20d under the viewing angle of the weak object 20e, which is the same as the perception of the initial multimedia data under the viewing angle of the target object.
In the embodiment of the present application, when the configured target color weakness attribute is modified, as shown in fig. 10, and the color weakness object 20e presses the color weakness enhancement control 203a for a long time, that is, when the duration of the triggering operation for the color weakness enhancement control 203a is equal to the duration threshold, the terminal device 200a may display the color weakness attribute configuration page 90b in the multimedia display interface, where the color weakness attribute configuration page 90b includes the target color weakness attribute, as illustrated in fig. 10, ab4, that is, the target color weakness attribute is of the red-green color weakness type and the color weakness degree is 4. If the color weak object 20e wants to modify the configured target color weak attribute, the target color weak type may be reselected in the color weak type list, after selecting a new target color weak type, the color weak object 20e may select a new target color weak in the color weak list corresponding to the new target color weak type, for example, a red-green color weak type illustrated in fig. 10, further, the color weak object 20e may select a new color weak degree parameter, for example, ab3, in ab1-ab6, and after the color weak object 20e triggers the confirmation control, the terminal device 200a may respond to the modification operation for the target color weak attribute, and acquire the updated color weak attribute, for example, ab3, for example, in fig. 10, that is, the red-green color weak and the color weak degree is 3, and further, acquire the color weak enhancement update filter associated with the updated color weak attribute.
In step S406, the target multimedia data is updated and displayed as updated multimedia data using the color-weakening enhancement update filter.
For the specific implementation process of step S406, please refer to step S103 in the embodiment corresponding to fig. 3, which is not described herein. As shown in fig. 10, at this time, the terminal device 200a may display a multimedia display page 90c, and the multimedia display page 90c may include updated multimedia data (including an image 90 d), and the petal color of the red rose is a color 90e and the stem color is a color 90f under the view angle of the color-weak object 20 e.
It will be appreciated that the interfaces and controls illustrated in fig. 10 are merely some representations that may be referred to, and in an actual business scenario, a developer may perform related design according to product requirements, and the embodiments of the present application do not limit the specific forms of interfaces and controls involved.
It will be appreciated that embodiments of the present application, such as the embodiments of fig. 2 a-2 b, and the embodiments of fig. 3, 5, 7, and 9, respectively, may be combined to create new embodiments.
In the embodiment of the application, on one hand, the target multimedia data can assist the color weakness object with the color weakness attribute being the target color weakness attribute to identify the initial multimedia data, so that the identification degree of the color weakness object to the initial multimedia data can be improved; on the other hand, the target multimedia data can assist the target object to perceive the initial multimedia data recognized by the color weakness object with the color weakness attribute being the target color weakness attribute, so that the target object can assist the target object to perceive the color vision perception of the color weakness object. Therefore, by adopting the method and the device, the display effect of the initial multimedia data can be improved.
Further, referring to fig. 11, fig. 11 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. The data processing means may be a computer program (comprising program code) running in a computer device, for example the data processing means is an application software; the device can be used for executing corresponding steps in the method provided by the embodiment of the application. As shown in fig. 11, the data processing apparatus 1 may include: a first display module 11 and a first acquisition module 12.
The first display module 11 is used for displaying the color weakness enhancement control and the initial multimedia data in the multimedia display page;
the first obtaining module 12 is configured to obtain a weak enhancement filter associated with the target weak attribute in response to a triggering operation for the weak enhancement control;
the first display module 11 is further configured to update and display the initial multimedia data as target multimedia data using a weak enhancement filter; the color vision display effect of the target multimedia data is associated with a target color weakness attribute.
The specific functional implementation manner of the first display module 11 and the first obtaining module 12 may refer to step S101 to step S103 in the corresponding embodiment of fig. 3, which is not described herein.
Referring again to fig. 11, the first acquisition module 12 may include: the first response unit 121 and the second response unit 122.
A first response unit 121, configured to respond to a triggering operation for the color weakness enhancement control, and display a color weakness attribute configuration page;
the second response unit 122 is configured to obtain a target color weakness attribute and obtain a color weakness enhancement filter associated with the target color weakness attribute in response to a configuration operation for the color weakness attribute configuration page.
The specific functional implementation manner of the first response unit 121 and the second response unit 122 may refer to step S102 in the corresponding embodiment of fig. 3, which is not described herein.
Referring to fig. 11 again, the color weakness attribute configuration page includes a first configuration control;
the second response unit 122 may include: a first display subunit 1221, and a first acquisition subunit 1222.
A first display subunit 1221, configured to display, in response to a selection operation for the first configuration control, a list of weak types in the weak attribute configuration page;
the first display subunit 1221 further configured to display a color weakness list associated with the target color weakness type in response to a selection operation for the target color weakness type in the color weakness type list;
The first obtaining subunit 1222 is configured to obtain the target color weakness attribute in response to a configuration operation for the target color weakness in the color weakness list.
The specific functional implementation manner of the first display subunit 1221 and the first obtaining subunit 1222 may refer to step S102 in the corresponding embodiment of fig. 3, which is not described herein.
Referring again to fig. 11, the first acquisition subunit 1222 may include: a first selection subunit 12221 and a second selection subunit 12222.
A first selecting subunit 12221, configured to display at least two color weakness degree parameters corresponding to the target color weakness in response to a selecting operation for the target color weakness in the color weakness list;
the second selecting subunit 12222 is configured to determine, as the target color weakness attribute, the target color weakness and the target color weakness degree parameter in response to a selecting operation for the target color weakness degree parameter of the at least two color weakness degree parameters.
The specific functional implementation manner of the first selecting subunit 12221 and the second selecting subunit 12222 may refer to step S102 in the corresponding embodiment of fig. 3, which is not described herein.
Referring to fig. 11 again, the color weakness attribute configuration page includes a second configuration control;
The second response unit 122 may include: a second display subunit 1223 and a second acquisition subunit 1224.
A second display subunit 1223, configured to display a color weakness test image in the color weakness attribute configuration page in response to a selection operation for the second configuration control;
the second display subunit 1223 is further configured to display, when the color weakness test operation for the color weakness test image is completed, a weakness degree test image associated with the target color weakness in the weakness attribute configuration page; the target color weakness is a color weakness determined based on a color weakness test result;
a second obtaining subunit 1224, configured to obtain the target color weakness attribute in response to a color weakness degree test operation for the color weakness degree test image.
The specific functional implementation manner of the second display subunit 1223 and the second obtaining subunit 1224 may refer to step S102 in the corresponding embodiment of fig. 3, which is not described herein.
Referring to fig. 11 again, the color weakness degree test image includes an adjustment test image and a reference test image having the same test content; the color type of the test content in the reference test image is different from the color type associated with the target color weakness;
The second acquisition subunit 1224 may include: a color vision updating subunit 12241, a first determining subunit 12242, and a second determining subunit 12243.
A color vision updating subunit 12241, configured to display a color weakness degree slide bar for adjusting the test image, and a sliding component located on the color weakness degree slide bar;
the color vision updating subunit 12241 is further configured to respond to a sliding operation on the color weakness level sliding rod for the sliding component, and perform color vision updating on the adjustment test image based on the color weakness level parameter indicated by the sliding operation; the reference test image is used for comparing and referencing the color vision updated adjustment test image;
a first determining subunit 12242, configured to determine, if a confirmation operation for the color vision updated adjustment test image is responded, the color weakness degree parameter indicated by the sliding operation as a target color weakness degree parameter;
the second determining subunit 12243 is configured to determine the target color weakness and the target color weakness degree parameter as a target color weakness attribute.
The specific functional implementation manner of the color vision updating subunit 12241, the first determining subunit 12242, and the second determining subunit 12243 may refer to step S102 in the corresponding embodiment of fig. 3, and will not be described herein.
Referring again to fig. 11, the first acquisition module 12 may include: the first display unit 123 and the first acquisition unit 124.
A first display unit 123, configured to display a forward enhancement control for a target color weakness attribute in response to a trigger operation for the color weakness enhancement control;
a first obtaining unit 124, configured to obtain a weak forward enhancement filter that is forward associated with the target weak attribute in response to a trigger operation for the forward enhancement control;
the first display module 11 is specifically configured to update and display the initial multimedia data as the target multimedia data by using the weak forward enhancement filter; the target multimedia data is used for assisting the color weakness object with the color weakness attribute being the target color weakness attribute to identify the initial multimedia data.
The specific functional implementation manners of the first display unit 123, the first obtaining unit 124, and the first display module 11 may refer to step S202-step S204 in the corresponding embodiment of fig. 5, which are not described herein.
Referring again to fig. 11, the data processing apparatus 1 may further include: a first transmitting module 13.
A first sending module 13, configured to set a color weak image tag for the target multimedia data, and send the target multimedia data carrying the color weak image tag and the target color weak attribute to the first device, so that the first device displays the target multimedia data, the color weak image tag and the target color weak attribute; the target color weakness attribute is used to provide a color weakness attribute configuration reference for the first object.
The specific functional implementation manner of the first sending module 13 may refer to step S205 in the corresponding embodiment of fig. 5, which is not described herein.
Referring again to fig. 11, the first acquisition module 12 may include: a second display unit 125 and a second acquisition unit 126. A fourth determination unit 131, an eighth acquisition unit 132, and a fifth determination unit 133.
A second display unit 125, configured to display a reverse enhancement control for the target color weakness attribute in response to a trigger operation for the color weakness enhancement control;
a second obtaining unit 126, configured to obtain a weak reverse enhancement filter reversely associated with the target weak attribute in response to a trigger operation for the reverse enhancement control;
the first display module 11 is specifically configured to update and display the initial multimedia data as the target multimedia data by using the weak reverse enhancement filter; the target multimedia data is used for assisting the target object to perceive the initial multimedia data identified by the color weakness object with the color weakness attribute being the target color weakness attribute.
The specific functional implementation manners of the second display unit 125, the second obtaining unit 126, and the first display module 11 may be referred to the steps S302-S304 in the corresponding embodiment of fig. 7, and will not be described herein.
Referring again to fig. 11, the data processing apparatus 1 may further include: a second transmitting module 14.
A second transmitting module 14, configured to use the initial multimedia data as a reference image, use the target multimedia data as a color-weak image, and transmit the reference image and the color-weak image to a second device together, so that the second device displays the reference image and the color-weak image; the reference image is used to provide a second object with a color-weak perceived contrast for the color-weak image.
The specific functional implementation manner of the second sending module 14 may refer to step S305 in the corresponding embodiment of fig. 7, which is not described herein.
Referring again to fig. 11, the data processing apparatus 1 may further include: a second display module 15 and a second acquisition module 16.
The second display module 15 is configured to display a color weakness attribute configuration page in the multimedia display interface when a duration trigger time length of a trigger operation for the color weakness enhancement control is equal to a time length threshold; the color weakness attribute configuration page comprises a target color weakness attribute;
a second obtaining module 16, configured to obtain an updated color weakness attribute if a modification operation for the target color weakness attribute is responded, and obtain a color weakness enhancement update filter associated with the updated color weakness attribute;
The second display module 15 is further configured to display the target multimedia data update as updated multimedia data using the color-weakness enhancement update filter.
The specific functional implementation manner of the second display module 15 and the second obtaining module 16 may refer to step S404-step S406 in the corresponding embodiment of fig. 9, which is not described herein.
Referring again to fig. 11, the first display module 11 may include: a first conversion unit 111, a data update unit 112, and a second conversion unit 113.
A first conversion unit 111, configured to convert initial pixel parameters of initial multimedia data from a first color space to a second color space, to obtain initial visual data in the second color space;
a data updating unit 112, configured to perform data updating processing on the initial visual data by using a weak color enhancement filter, so as to obtain updated visual data in the second color space;
the second converting unit 113 is configured to convert the updated visual data from the second color space to the first color space, obtain updated pixel parameters in the first color space, and display the target multimedia data based on the updated pixel parameters.
The specific functional implementation manner of the first conversion unit 111, the data updating unit 112, and the second conversion unit 113 may refer to step S103 in the corresponding embodiment of fig. 3, and will not be described herein.
Referring to fig. 11 again, the color weakness attribute configuration page includes a second configuration control;
the second response unit 122 may include: a third display subunit 1225, a third acquisition subunit 1226, a fourth display subunit 1227, and a fourth acquisition subunit 1228.
A third display subunit 1225, configured to display a color weakness test image in the color weakness attribute configuration page in response to a selection operation for the second configuration control;
a third obtaining subunit 1226, configured to obtain a color weakness test result in response to a color weakness test operation for the color weakness test image, and determine a target color weakness according to the color weakness test result;
a fourth display subunit 1227, configured to obtain the color weakness degree test image mapped by the color weakness of the target color, and display the color weakness degree test image in the color weakness attribute configuration page;
a fourth obtaining subunit 1228, configured to obtain a target color weakness degree parameter in response to a color weakness degree test operation for the color weakness degree test image;
the fourth obtaining subunit 1228 is further configured to determine the target color weakness and the target color weakness degree parameter as a target color weakness attribute.
The specific functional implementation manner of the third display subunit 1225, the third obtaining subunit 1226, the fourth display subunit 1227, and the fourth obtaining subunit 1228 may refer to step S102 in the corresponding embodiment of fig. 3, and will not be described herein.
Referring to fig. 11, the color weakness test image includes a first color weakness test image, a second color weakness test image, and a third color weakness test image; the color weakness test result comprises a first test result, a second test result and a third test result;
the third acquisition subunit 1226 may include: the first response subunit 12261, the second response subunit 12262, the third response subunit 12263, the third determination subunit 12264, and the fourth determination subunit 12265.
A first response subunit 12261 configured to obtain a first test result in response to a test operation for the first color weakness test image;
a second response subunit 12262, configured to obtain a second test result in response to a test operation for the second color weakness test image;
a third response subunit 12263, configured to obtain a third test result in response to the test operation for the third color weakness test image;
a third determination subunit 12264, configured to obtain a test result with a tendency of color weakness from the first test result, the second test result, and the third test result, as a target test result;
the fourth determining subunit 12265 is configured to determine the color weakness associated with the target test result as a target color weakness.
The specific functional implementation manner of the first response subunit 12261, the second response subunit 12262, the third response subunit 12263, the third determining subunit 12264, and the fourth determining subunit 12265 may refer to step S102 in the foregoing corresponding embodiment of fig. 3, and will not be described herein.
Referring to fig. 11, the color weakness test image includes a color weakness slide bar and a sliding component located on the color weakness slide bar;
the fourth obtaining subunit 1228 is specifically configured to obtain, in response to a sliding operation on the weaker-color level slide bar for the sliding assembly, a target position of the sliding assembly on the weaker-color level slide bar, and determine a target weaker-color level parameter based on the target position.
The specific functional implementation manner of the fourth obtaining subunit 1228 may refer to step S102 in the corresponding embodiment of fig. 3, which is not described herein.
In the embodiment of the application, on one hand, the target multimedia data can assist the color weakness object with the color weakness attribute being the target color weakness attribute to identify the initial multimedia data, so that the identification degree of the color weakness object to the initial multimedia data can be improved; on the other hand, the target multimedia data can assist the target object to perceive the initial multimedia data recognized by the color weakness object with the color weakness attribute being the target color weakness attribute, so that the target object can assist the target object to perceive the color vision perception of the color weakness object. Therefore, by adopting the method and the device, the display effect of the initial multimedia data can be improved.
Further, referring to fig. 12, fig. 12 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 12, the computer device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, a memory 1005, at least one communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display (Display), a Keyboard (Keyboard), and the network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may also optionally be at least one storage device located remotely from the aforementioned processor 1001. As shown in fig. 12, the memory 1005, which is one type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a device control application.
In the computer device 1000 shown in fig. 12, the network interface 1004 may provide network communication functions; while user interface 1003 is primarily used as an interface for providing input to a user; and the processor 1001 may be used to invoke a device control application stored in the memory 1005 to implement:
Displaying a color weakness enhancement control and initial multimedia data in a multimedia display page;
responding to triggering operation aiming at the color weakness enhancement control, and acquiring a color weakness enhancement filter associated with the target color weakness attribute;
updating and displaying the initial multimedia data as target multimedia data by adopting a color-weakening enhancement filter; the color vision display effect of the target multimedia data is associated with a target color weakness attribute.
It should be understood that the computer device 1000 described in the embodiments of the present application may perform the description of the data processing method in the embodiments corresponding to fig. 3, 5, 7 and 9, and may also perform the description of the data processing apparatus 1 in the embodiments corresponding to fig. 11, which are not described herein. In addition, the description of the beneficial effects of the same method is omitted.
The embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program includes program instructions, and when executed by a processor, implement a data processing method provided by each step in fig. 3, fig. 5, fig. 7, and fig. 9, and specifically refer to an implementation manner provided by each step in fig. 3, fig. 5, fig. 7, and fig. 9, which is not repeated herein. In addition, the description of the beneficial effects of the same method is omitted.
The computer readable storage medium may be the data processing apparatus provided in any one of the foregoing embodiments or an internal storage unit of the computer device, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash card (flash card) or the like, which are provided on the computer device. Further, the computer-readable storage medium may also include both internal storage units and external storage devices of the computer device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
Embodiments of the present application also provide a computer program product or computer program comprising computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device can execute the data processing method in the embodiments corresponding to fig. 3, fig. 5, fig. 7, and fig. 9, which are not described herein. In addition, the description of the beneficial effects of the same method is omitted.
The terms first, second and the like in the description and in the claims and drawings of the embodiments of the present application are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the term "include" and any variations thereof is intended to cover a non-exclusive inclusion. For example, a process, method, apparatus, article, or device that comprises a list of steps or elements is not limited to the list of steps or modules but may, in the alternative, include other steps or modules not listed or inherent to such process, method, apparatus, article, or device.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The methods and related devices provided in the embodiments of the present application are described with reference to the method flowcharts and/or structure diagrams provided in the embodiments of the present application, and each flowchart and/or block of the method flowcharts and/or structure diagrams may be implemented by computer program instructions, and combinations of flowcharts and/or blocks in the flowchart and/or block diagrams. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or structural diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or structures.
The foregoing disclosure is only illustrative of the preferred embodiments of the present application and is not intended to limit the scope of the claims herein, as the equivalent of the claims herein shall be construed to fall within the scope of the claims herein.

Claims (18)

1. A method of data processing, comprising:
displaying a color weakness enhancement control and initial multimedia data in a multimedia display page;
responding to the triggering operation aiming at the color weakness enhancement control, and acquiring a color weakness enhancement filter associated with the target color weakness attribute;
updating and displaying the initial multimedia data into target multimedia data by adopting the color weakness enhancement filter; the color vision display effect of the target multimedia data is associated with the target color weakness attribute.
2. The method of claim 1, wherein the obtaining the weak enhancement filter associated with the target weak attribute in response to the triggering operation of the weak enhancement control comprises:
responding to the triggering operation aiming at the color weakness enhancement control, and displaying a color weakness attribute configuration page;
and responding to configuration operation aiming at the color weakness attribute configuration page, acquiring the target color weakness attribute, and acquiring the color weakness enhancement filter associated with the target color weakness attribute.
3. The method of claim 2, wherein the color weakness property configuration page includes a first configuration control;
the response to the configuration operation of the color weakness attribute configuration page, obtaining the target color weakness attribute, includes:
responding to the selection operation aiming at the first configuration control, and displaying a color weakness type list in the color weakness attribute configuration page;
displaying a color gamut list associated with a target color gamut type in the color gamut type list in response to a selection operation for the target color gamut type in the color gamut type list;
and responding to configuration operation aiming at the target color weakness in the color weakness list, and acquiring the target color weakness attribute.
4. A method according to claim 3, wherein said responding to a configuration operation for a target color weakness in said color weakness list, obtaining said target color weakness attribute, comprises:
responding to a selection operation aiming at target color weakness in the color weakness list, and displaying at least two color weakness degree parameters corresponding to the target color weakness;
and determining the target color weakness and the target color weakness degree parameter as the target color weakness attribute in response to a selection operation for the target color weakness degree parameter in the at least two color weakness degree parameters.
5. The method of claim 2, wherein the color weakness property configuration page includes a second configuration control;
the response to the configuration operation of the color weakness attribute configuration page, obtaining the target color weakness attribute, includes:
responding to the selection operation aiming at the second configuration control, and displaying a color weakness test image in the color weakness attribute configuration page;
when the color weakness test operation for the color weakness test image is completed, displaying a color weakness degree test image associated with a target color weakness in the color weakness attribute configuration page; the target color weakness is determined based on a color weakness test result;
and responding to the color weakness degree testing operation aiming at the color weakness degree testing image, and acquiring the target color weakness attribute.
6. The method of claim 5, wherein the weakness test image includes an adjustment test image and a reference test image having the same test content; the color type of the test content in the reference test image is different from the color type associated with the target color weakness;
the response to the weakness degree test operation of the weakness degree test image, obtaining the target weakness attribute, includes:
Displaying a color weakness degree slide bar for the adjustment test image and a sliding component positioned on the color weakness degree slide bar;
responding to the sliding operation of the sliding component on the color weakness degree sliding rod, and performing color vision updating on the adjustment test image based on the color weakness degree parameter indicated by the sliding operation; the reference test image is used for comparing and referencing the adjustment test image after color vision updating;
if the confirmation operation of the adjustment test image after the color vision updating is responded, determining the color weakness degree parameter indicated by the sliding operation as a target color weakness degree parameter;
and determining the target color weakness and the target color weakness degree parameter as the target color weakness attribute.
7. The method of claim 1, wherein the obtaining the weak enhancement filter associated with the target weak attribute in response to the triggering operation of the weak enhancement control comprises:
responding to the triggering operation of the target color weakness enhancement control, and displaying the forward enhancement control of the target color weakness attribute;
responding to the triggering operation aiming at the forward enhancement control, and acquiring a color weakness forward enhancement filter positively associated with the target color weakness attribute;
The updating and displaying the initial multimedia data as target multimedia data by adopting the color weakness enhancement filter comprises the following steps:
adopting the weak forward enhancement filter to update and display the initial multimedia data as target multimedia data; the target multimedia data is used for assisting a color weakness object with the color weakness attribute being the target color weakness attribute to identify the initial multimedia data.
8. The method of claim 7, wherein the method further comprises:
setting a color weakness image tag for the target multimedia data, and sending the target multimedia data carrying the color weakness image tag and the target color weakness attribute to a first device so that the first device displays the target multimedia data, the color weakness image tag and the target color weakness attribute; the target color weakness attribute is used to provide a color weakness attribute configuration reference for the first object.
9. The method of claim 1, wherein the obtaining the weak enhancement filter associated with the target weak attribute in response to the triggering operation of the weak enhancement control comprises:
responding to the triggering operation of the target color weakness enhancement control, and displaying the reverse enhancement control of the target color weakness attribute;
Responding to the triggering operation aiming at the reverse enhancement control, and acquiring a color-weakness reverse enhancement filter reversely associated with the target color-weakness attribute;
the updating and displaying the initial multimedia data as target multimedia data by adopting the color weakness enhancement filter comprises the following steps:
updating and displaying the initial multimedia data into target multimedia data by adopting the color-weak reverse enhancement filter; the target multimedia data is used for assisting a target object to perceive the initial multimedia data of which the color weakness attribute is recognized by the color weakness object of the target color weakness attribute.
10. The method of claim 8, wherein the method further comprises:
the initial multimedia data is used as a reference image, the target multimedia data is used as a color-weak image, and the reference image and the color-weak image are jointly sent to second equipment so that the second equipment can display the reference image and the color-weak image; the reference image is used to provide a second object with a color-weak perceived contrast for the color-weak image.
11. The method according to claim 1, wherein the method further comprises:
when the continuous trigger time length of the trigger operation of the color weakness enhancement control is equal to a time length threshold value, displaying a color weakness attribute configuration page in the multimedia display interface; the color weakness attribute configuration page comprises the target color weakness attribute;
If the modification operation aiming at the target color weakness attribute is responded, acquiring an updated color weakness attribute and acquiring a color weakness enhancement updating filter associated with the updated color weakness attribute;
and displaying the target multimedia data update as updated multimedia data by adopting the color weakness enhancement update filter.
12. The method of claim 1, wherein said displaying the initial multimedia data update as target multimedia data using the weak enhancement filter comprises:
converting initial pixel parameters of the initial multimedia data from a first color space to a second color space to obtain initial visual data in the second color space;
performing data updating processing on the initial visual data by adopting the color weakness enhancement filter to obtain updated visual data in the second color space;
and converting the updated visual data from the second color space to the first color space to obtain updated pixel parameters in the first color space, and displaying the target multimedia data based on the updated pixel parameters.
13. The method of claim 2, wherein the color weakness property configuration page includes a second configuration control;
The response to the configuration operation of the color weakness attribute configuration page, obtaining the target color weakness attribute, includes:
responding to the selection operation aiming at the second configuration control, and displaying a color weakness test image in the color weakness attribute configuration page;
responding to the color weakness test operation aiming at the color weakness test image, obtaining a color weakness test result, and determining the target color weakness according to the color weakness test result;
acquiring a color weakness degree test image mapped by the color weakness of the target, and displaying the color weakness degree test image in the color weakness attribute configuration page;
responding to the color weakness degree test operation aiming at the color weakness degree test image, and acquiring a target color weakness degree parameter;
and determining the target color weakness and the target color weakness degree parameter as the target color weakness attribute.
14. The method of claim 13, wherein the color weakness test image comprises a first color weakness test image, a second color weakness test image, and a third color weakness test image; the color weakness test result comprises a first test result, a second test result and a third test result;
The response is aimed at the color weakness test operation of the color weakness test image, a color weakness test result is obtained, and the target color weakness is determined according to the color weakness test result, including:
responding to the test operation aiming at the first color weakness test image, and acquiring a first test result;
responding to the test operation aiming at the second color weakness test image, and obtaining a second test result;
responding to the test operation aiming at the third color weakness test image, and obtaining a third test result;
obtaining a test result with a weak tendency from the first test result, the second test result and the third test result as a target test result;
and determining the color weakness associated with the target test result as the target color weakness.
15. The method of claim 13, wherein the color weakness test image includes a color weakness bar and a sliding assembly on the color weakness bar;
the response is directed at the color weakness degree testing operation of the color weakness degree testing image, and the target color weakness degree parameter is obtained, and comprises the following steps:
and responding to the sliding operation of the sliding component on the color weakness degree sliding rod, acquiring a target position of the sliding component on the color weakness degree sliding rod, and determining the target color weakness degree parameter based on the target position.
16. A computer device, comprising: a processor, a memory, and a network interface;
the processor is connected to the memory and the network interface, wherein the network interface is configured to provide a data communication function, the memory is configured to store a computer program, and the processor is configured to invoke the computer program to cause the computer device to perform the method of any of claims 1 to 15.
17. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program adapted to be loaded and executed by a processor to cause a computer device having the processor to perform the method of any of claims 1-15.
18. A computer program product, characterized in that the computer program product comprises computer instructions stored in a computer-readable storage medium, the computer instructions being adapted to be read and executed by a processor to cause a computer device having the processor to perform the method of any of claims 1-15.
CN202111251474.XA 2021-10-27 2021-10-27 Data processing method, device and computer readable storage medium Pending CN116028145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111251474.XA CN116028145A (en) 2021-10-27 2021-10-27 Data processing method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111251474.XA CN116028145A (en) 2021-10-27 2021-10-27 Data processing method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN116028145A true CN116028145A (en) 2023-04-28

Family

ID=86069298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111251474.XA Pending CN116028145A (en) 2021-10-27 2021-10-27 Data processing method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN116028145A (en)

Similar Documents

Publication Publication Date Title
CN1849823B (en) Video communications method and system
EP3097542B1 (en) Creating a realistic color for a virtual object in an augmented reality environment
DE112015003407T5 (en) Invisible optical identifier for communicating information between computing devices
US20050244057A1 (en) Method for automatic identification of a hair region
CN104636726A (en) Method and device for identifying image colors and terminal
CN111866483B (en) Color restoration method and device, computer readable medium and electronic device
CN101669371A (en) Image processor, and image processing method
CN109104619B (en) Image processing method and device for live broadcast
CN113763296A (en) Image processing method, apparatus and medium
CN106778627A (en) Detect method, device and the mobile terminal of face face value
CN106227327A (en) A kind of display converting method, device and terminal unit
CN113453027A (en) Live video and virtual makeup image processing method and device and electronic equipment
CN114360018A (en) Rendering method and device of three-dimensional facial expression, storage medium and electronic device
CN110248207B (en) Image reality display server, image reality display method, recording medium and image reality display system
CN106412718A (en) Rendering method and device for subtitles in 3D space
Akyüz et al. An evaluation of image reproduction algorithms for high contrast scenes on large and small screen display devices
CN112967193A (en) Image calibration method and device, computer readable medium and electronic equipment
CN109194942A (en) A kind of naked eye 3D video broadcasting method, terminal and server
CN106506991A (en) Video data loading method and charger
CN112999654A (en) Image processing method, image processing device, computer equipment and storage medium
CN116028145A (en) Data processing method, device and computer readable storage medium
CN115063800B (en) Text recognition method and electronic equipment
CN113360820B (en) Page display method, system, equipment and storage medium
KR101998037B1 (en) Method and Smart device for matching character type with user based augmented reality
CN113658287A (en) User interface color matching processing method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination