WO2022042180A1 - 壁纸生成方法、装置、终端及存储介质 - Google Patents

壁纸生成方法、装置、终端及存储介质 Download PDF

Info

Publication number
WO2022042180A1
WO2022042180A1 PCT/CN2021/108755 CN2021108755W WO2022042180A1 WO 2022042180 A1 WO2022042180 A1 WO 2022042180A1 CN 2021108755 W CN2021108755 W CN 2021108755W WO 2022042180 A1 WO2022042180 A1 WO 2022042180A1
Authority
WO
WIPO (PCT)
Prior art keywords
color
target
wallpaper
display element
instruction
Prior art date
Application number
PCT/CN2021/108755
Other languages
English (en)
French (fr)
Inventor
芮涵
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022042180A1 publication Critical patent/WO2022042180A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • the embodiments of the present application relate to the technical field of terminals, and in particular, to a method, device, terminal, and storage medium for generating wallpaper.
  • Wallpaper refers to the background image used on the computer desktop or mobile phone desktop. Users can beautify their own terminals by choosing different styles of wallpapers.
  • the terminal is provided with a wallpaper store, and the user selects his/her favorite wallpaper in the above-mentioned wallpaper store, and downloads the above-mentioned selected wallpaper to the local terminal through the terminal.
  • Embodiments of the present application provide a method, device, terminal, and storage medium for generating a wallpaper.
  • the technical solution is as follows:
  • an embodiment of the present application provides a method for generating a wallpaper, the method comprising:
  • a synthetic wallpaper is generated according to the color corresponding to the display element, the target saturation value, and the target brightness value.
  • an embodiment of the present application provides a wallpaper generation device, the device includes:
  • the instruction receiving module is used to receive the wallpaper creation instruction
  • a material acquisition module configured to acquire a target image and a target wallpaper template according to the wallpaper creation instruction, where the target wallpaper template includes at least one display element;
  • a color-picking processing module configured to perform color-picking processing on the target image to obtain at least one color, and the color-picking processing refers to identifying and acquiring a color in the target image;
  • a first determining module configured to determine the color corresponding to the display element in the at least one color
  • an interval obtaining module configured to obtain a saturation value interval and a brightness value interval corresponding to the display element
  • a second determination module configured to determine a target saturation value in a saturation value interval corresponding to the display element, and determine a target brightness value in a brightness value interval corresponding to the display element;
  • a wallpaper generation module configured to generate a synthetic wallpaper according to the color corresponding to the display element, the target saturation value, and the target brightness value.
  • an embodiment of the present application provides a terminal, the terminal includes a processor and a memory, the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the method as provided in the present application How to generate wallpaper.
  • an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to realize the wallpaper generation as provided in the present application method.
  • an embodiment of the present application provides a computer program product, where the computer program product or computer program includes computer instructions, and the computer instructions are 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 executes the wallpaper generation method provided by the present application.
  • Fig. 1 is a kind of schematic diagram of generating synthetic wallpaper provided by an embodiment of the present application
  • FIG. 2 is a flowchart of a method for synthesizing wallpaper provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of displaying a preset animation effect provided by an embodiment of the present application.
  • FIG. 4 is a flowchart of a method for synthesizing wallpaper provided by another embodiment of the present application.
  • FIG. 5 is a schematic diagram of a synthetic wallpaper provided by another embodiment of the present application.
  • FIG. 6 is a structural block diagram of a wallpaper synthesis device shown in an embodiment of the present application.
  • FIG. 7 is a structural block diagram of a terminal according to an embodiment of the present application.
  • the related art does not provide an implementable wallpaper generation scheme, and the form of obtaining the wallpaper is relatively simple.
  • the present application provides a wallpaper generation scheme.
  • the target image selected by the user is used as the wallpaper generation material, the color required for generating the wallpaper is obtained from the above-mentioned target image, and finally the color obtained from the target image and the preset
  • the selected target wallpaper template generates a synthetic wallpaper, and the technical solutions provided in the embodiments of the present application allow users to customize the generation of synthetic wallpapers and enrich the forms of obtaining wallpapers.
  • the execution subject of each step is a terminal.
  • a designated application is installed in the terminal, and the above designated application is a wallpaper mall, or an application dedicated to generating wallpapers.
  • the execution subject of each step may also be the above-mentioned designated application. In the embodiments of the present application, only the execution subject of each step is taken as the terminal as an example for description.
  • a method for generating wallpaper comprising:
  • a synthetic wallpaper is generated according to the color corresponding to the display element, the target saturation value, and the target brightness value.
  • determining the color corresponding to the display element in the at least one color includes:
  • the color corresponding to the display element is determined from the at least one color; wherein, the natural color corresponding to the display element refers to the color presented by the display element in the natural environment colour.
  • the obtaining the saturation value interval and the brightness value interval corresponding to the display element includes:
  • the saturation value interval corresponding to the display element from a first correspondence, where the first correspondence includes the correspondence between different display elements and different saturation value intervals;
  • the saturation value interval corresponding to the display element is obtained from a second correspondence relationship, where the second correspondence relationship includes a correspondence relationship between different display elements and different luminance value intervals.
  • the target wallpaper template includes at least one layer, and each layer includes at least one display element;
  • the generating of the synthetic wallpaper according to the color corresponding to the display element, the target saturation value, and the target brightness value includes:
  • For the display element in each layer fill the display element with the color corresponding to the display element, the target saturation value, and the target brightness value to obtain an intermediate layer;
  • the intermediate layers corresponding to each of the display elements are superimposed to obtain the composite wallpaper.
  • performing color picking processing on the target image to obtain at least one color including:
  • the color value corresponding to the pixel is calculated through the display parameters of the pixel, different color values correspond to different colors, and the display parameters of the pixel include the following items or a combination of: Hue, Saturation, Lightness;
  • the at least one color is determined according to color values corresponding to the respective pixel points in the target image.
  • the determining the at least one color according to the color values corresponding to the respective pixel points in the target image includes:
  • the at least one color is determined according to the number of each color value.
  • the wallpaper creation instruction includes a first instruction and a second instruction, the first instruction is used to acquire the target image, and the second instruction is used to acquire the target wallpaper template.
  • the receiving a wallpaper creation instruction includes:
  • the screen In response to being in the locked screen state, when receiving a physical key operation, the screen is turned on;
  • the target wallpaper template in response to receiving a first instruction, the first instruction being generated when a first button in the template selection interface is triggered;
  • the image selection interface includes the target image
  • the target image is acquired.
  • the method further includes:
  • an image whose number of the display elements meets the target number is determined as a candidate image
  • a candidate image is displayed on the image selection interface, and the candidate image includes the target image.
  • the color required for generating the wallpaper is obtained from the above-mentioned target image, and finally the synthetic wallpaper is generated by the color obtained from the target image and the pre-selected target wallpaper template.
  • This application implements The technical solution provided by the example allows users to customize the generation of synthetic wallpapers to enrich the acquisition forms of wallpapers.
  • FIG. 1 is a schematic diagram of generating a synthetic wallpaper provided by an embodiment of the present application.
  • the target image 11 includes display elements such as the sky, the sun, and mountains.
  • the terminal performs color picking processing on the target image 11 to obtain multiple colors such as blue, green, and gold, and obtains the display elements in the target wallpaper template 12 from the first correspondence
  • the target brightness value corresponding to "sun", the target brightness value corresponding to the display element "sea water” in the target wallpaper template 12, and the target saturation value corresponding to the display element "sun” in the target wallpaper template 12 is obtained from the second correspondence relationship .
  • the target saturation value corresponding to the display element "sea water” in the target wallpaper template 12 is obtained from the second correspondence relationship .
  • the terminal fills the display element "seawater” in the target wallpaper template 12 according to the blue color, the target saturation value corresponding to "seawater”, and the target brightness value corresponding to "seawater”. After that, the terminal fills the display element "sun” in the target wallpaper template 12 according to the gold color, the target saturation value corresponding to "sun”, and the target luminance value corresponding to "sun” to obtain a composite wallpaper 13 .
  • FIG. 2 is a flowchart of a method for generating a wallpaper provided by an embodiment of the present application.
  • the method includes:
  • Step 201 receiving a wallpaper creation instruction.
  • the wallpaper creation instruction is used to trigger the wallpaper creation process.
  • the terminal is installed with a specified application program, and a user interface (abbreviation: UI; English: User Interface) of the specified application program is provided with a wallpaper creation control, when the terminal receives a trigger signal corresponding to the above wallpaper creation control, Receive wallpaper creation instructions.
  • UI user interface
  • the above designated application may be a wallpaper mall, or the above designated application may also be an application dedicated to generating wallpapers.
  • the wallpaper creation instruction includes a first instruction and a second instruction, the first instruction is used to acquire the target image, and the second instruction is used to acquire the target wallpaper template.
  • the wallpaper creation instruction shown in this application may be an instruction set including multiple instructions.
  • the wallpaper creation instruction includes a first instruction and a second instruction.
  • the first instruction is used to instruct the terminal to acquire the target image
  • the second instruction is used to instruct the terminal to acquire the target wallpaper template.
  • the target image may be an image stored in an image library.
  • the first instruction includes an instruction to determine the target image from the image library. It should be noted that the first instruction may also be an instruction set.
  • the second instruction may also be an instruction for determining a target wallpaper template from a library containing multiple wallpaper templates. The second instruction may also be an instruction set.
  • the terminal may replace step 201 by performing steps (a1) to (a5).
  • step (a1) in response to being in the locked screen state, when receiving a physical key operation, the screen is turned on.
  • the terminal may directly provide replacement and generation of wallpapers in a screen-locked state. Because this operation is relatively private content. Therefore, in one possible way, the process can be implemented without unlocking the terminal. In this example, when a physical key in the terminal is pressed, the terminal lights up its own screen. In another possible manner, the terminal can also be woken up by voice to turn on the screen.
  • Step (a2) displaying a template selection interface in response to receiving a wallpaper editing and replacing instruction in the locked screen state.
  • the terminal may display a wallpaper replacement button in the user interface in the locked screen state, and when the button is clicked, the terminal receives a wallpaper editing and replacement instruction.
  • at least one wallpaper template can be displayed in the template selection interface.
  • Step (a3) acquiring the target wallpaper template in response to receiving the first instruction, where the first instruction is generated when the first button in the template selection interface is triggered.
  • the first instruction of the terminal may be an instruction triggered when the user determines a target wallpaper template from multiple wallpaper templates.
  • the first button can be used to confirm the target wallpaper template. It can be either a button with visual graphics, or a button that is covered on each wallpaper template and is automatically triggered when the wallpaper template is selected.
  • Step (a4) in response to the image selection instruction, displaying an image selection interface, wherein the image selection interface includes the target image.
  • the terminal needs to verify the identity of the user.
  • the terminal can also determine candidate images according to the target number of corresponding display elements in the target wallpaper template. For example, if the target number of corresponding display elements in the target wallpaper template is 3, the terminal may randomly traverse the images in the terminal or traverse all the images in the terminal, and display images with 3 display elements as candidate images. Optionally, the terminal may arrange images with high display scores in the front order of the candidate graphics. Subsequently, the terminal displays candidate images on the image selection interface, and the candidate images include the target image. That is, the display elements in the target image finally selected by the terminal meet the requirements of the target wallpaper model.
  • Step (a5) in response to receiving the second instruction, acquiring the target image.
  • Step 202 Acquire a target image and a target wallpaper template according to the wallpaper creation instruction.
  • the target image is selected by the user.
  • the target image is an image stored locally, or an image downloaded from a network.
  • a wallpaper creation interface is displayed, and the above-mentioned wallpaper creation interface includes an image selection control. If the terminal receives a trigger signal corresponding to the image selection control, it acquires the target image.
  • the terminal invokes the photo album application after receiving the trigger signal corresponding to the image selection control, and the user selects the target image in the photo album application program.
  • the target image is an image downloaded from the network
  • the terminal displays the image list provided by the network after receiving the trigger signal corresponding to the image selection control, the user selects the target image from the above image list, and then the terminal selects the image selected by the user.
  • the target image is downloaded from the network to the local.
  • the target wallpaper template is also selected by the user.
  • the terminal displays a wallpaper template list in the wallpaper creation interface, the wallpaper template selected by the frame in the wallpaper template list is also the target wallpaper template, and the terminal switches the target wallpaper when receiving a designated sliding signal corresponding to the wallpaper creation interface. template.
  • the sliding direction of the above specified sliding signal is the same as or opposite to the arrangement direction of the wallpaper templates in the wallpaper template list.
  • the target wallpaper template includes at least one display element.
  • the above-mentioned display elements include but are not limited to snow-capped mountains, sun, grass, flowers, rivers, big trees, birds, dogs or cats, and so on.
  • Step 203 Perform color picking processing on the target image to obtain at least one color.
  • Color picking processing refers to acquiring and identifying the various colors possessed by the target image.
  • the target image includes display elements such as sky, sun, and grass.
  • the terminal performs color processing on the target image to obtain blue corresponding to the sky, gold corresponding to the sun, and green corresponding to the grass.
  • the terminal performs color extraction processing on the target image through a preset color extraction algorithm.
  • the preset color extraction algorithm is a Palette (Chinese: palette) algorithm.
  • a preset animation effect is displayed.
  • the above-mentioned preset animation effect is set by default by the terminal, or is set by the user, which is not limited in this embodiment of the present application.
  • the preset animation effect is mosaic.
  • FIG. 3 it shows a schematic diagram of displaying a preset animation effect provided by an embodiment of the present application.
  • the terminal superimposes and displays the mosaic on the upper layer of the target image.
  • Step 204 Determine the color corresponding to the display element in at least one color.
  • the terminal determines the color corresponding to the display element from at least one color according to the natural color corresponding to the display element.
  • the natural color corresponding to the above display element refers to the color presented by the display element in the natural environment. For example, if the color of roses in the natural environment is red, the natural color of roses is red.
  • the terminal determines the similarity between each of the at least one color and the natural color corresponding to the display element, and determines the color with the largest similarity and greater than the similarity threshold as the color corresponding to the display element.
  • the similarity between each of the above at least one color and the natural color corresponding to the display element is determined according to the distribution of the two in the color spectrum space.
  • the terminal displays a color list, the color list includes at least one of the above colors, the terminal receives a drag signal corresponding to the target color, and when the terminal position of the drag signal is located in a certain display element, The target color is determined as the color corresponding to the above display element.
  • the user-defined setting of the display elements is realized.
  • Step 205 Obtain the saturation value interval and the brightness value interval corresponding to the display element.
  • the terminal acquires the saturation value interval corresponding to the display element from the first correspondence.
  • the first correspondence includes correspondences between different display elements and different saturation value intervals.
  • the first corresponding relationship is actually set according to the state presented by the display element in the natural environment. For example, when the display element is a snow mountain, the corresponding saturation value range is relatively large.
  • Table-1 exemplarily shows the first correspondence provided by an embodiment of the present application.
  • the terminal acquires the brightness value interval corresponding to the display element from the second correspondence.
  • the second correspondence includes correspondences between different display elements and different luminance value intervals.
  • the second corresponding relationship is actually set according to the state presented by the display element in the natural environment. For example, when the display element is a snow mountain, its corresponding brightness value range is relatively large.
  • Table-2 exemplarily shows the second correspondence provided by an embodiment of the present application.
  • Step 206 Determine the target saturation value in the saturation value interval corresponding to the display element, and determine the target luminance value in the brightness value interval corresponding to the display element.
  • the terminal obtains recommendation information from the server, determines the target saturation value in the saturation value interval corresponding to the display element according to the recommendation information, and determines the target brightness value in the brightness value interval corresponding to the display element.
  • the other terminal receives the satisfaction survey corresponding to the synthetic wallpaper, and then feeds back the above-mentioned satisfaction survey results to the server, and the server collects statistics on the satisfaction survey results, and matches the satisfaction with the results of the satisfaction survey.
  • the saturation value and brightness value used in the synthetic wallpaper under the preset conditions are carried in the recommendation information, and the recommendation information is sent to the terminal, and the terminal determines the saturation value carried in the recommendation information as the target saturation value, and carries the recommendation information in the The brightness value of is determined as the target brightness value.
  • the terminal displays a saturation adjustment progress bar and a brightness adjustment progress bar corresponding to the display element.
  • the adjustment range of the saturation adjustment progress bar is also the saturation value interval corresponding to the display element, and the adjustment range of the brightness adjustment progress bar is also the brightness value interval corresponding to the display element.
  • the terminal receives the adjustment signal corresponding to the saturation adjustment progress bar, and determines the target saturation value according to the adjustment signal.
  • the terminal receives the adjustment signal corresponding to the brightness adjustment progress bar, and determines the target brightness value according to the adjustment signal.
  • the terminal displays the preview effect in real time according to the adjusted saturation value and/or brightness value, and the user determines the final target saturation value and target brightness value when he is satisfied with the preview effect.
  • the terminal randomly determines the target saturation value in the saturation value interval corresponding to the display element, and the terminal randomly determines the target brightness value in the brightness value interval corresponding to the display element.
  • Step 207 Generate a synthetic wallpaper according to the color corresponding to the display element, the target saturation value, and the target brightness value.
  • the terminal fills the color, target saturation value, and target brightness value corresponding to each display element respectively to each display element to obtain a composite wallpaper.
  • the target image selected by the user is used as the wallpaper generation material, the color required to generate the wallpaper is obtained from the above-mentioned target image, and finally the color obtained from the target image is filled into each of the target wallpaper template.
  • the technical solutions provided by the embodiments of the present application use the target image selected by the user as the wallpaper generation material, select the color from the above target image to obtain the color required for generating the wallpaper, and finally use the color obtained from the target image. And pre-selected target wallpaper templates to generate synthetic wallpapers, allowing users to customize the generation of synthetic wallpapers, enriching the form of obtaining wallpapers.
  • FIG. 4 shows a flowchart of a method for generating a wallpaper provided by an embodiment of the present application.
  • the method includes:
  • Step 401 receiving a wallpaper creation instruction.
  • Step 402 Acquire a target image and a target wallpaper template according to the wallpaper creation instruction.
  • the target wallpaper template includes at least one layer, and each layer includes at least one display element.
  • each layer includes one display element.
  • Step 403 for each pixel in the target image, calculate the color value corresponding to the pixel through the display parameter of the pixel.
  • the display parameters of a pixel include one or a combination of the following: hue, saturation, and brightness.
  • Hue refers to the texture and appearance of the color, which is the primary characteristic of the color.
  • Saturation refers to the vividness of a color, also known as purity.
  • Brightness is used to reflect the subjective bright feeling of human beings.
  • the terminal processes the display parameters of each pixel point through a preset color quantization algorithm to obtain the color value corresponding to the pixel point.
  • the above preset color quantization algorithm is a median segmentation algorithm.
  • Step 404 Determine at least one color according to the color values corresponding to each pixel in the target image.
  • the terminal counts the number of each color value, and determines at least one color according to the number of each color value.
  • the terminal arranges the number of color values in descending order, and then determines the color corresponding to the color value in the top n positions as at least one color, n is set according to experiments or experience, this application The embodiment does not limit this. In the above manner, the color of a larger area in the target image is screened out for the subsequent wallpaper synthesis process.
  • the terminal displays a color value list, the color value list includes all color values in the target image, receives a user's selection signal for the target color value in the color value list, and displays the color value corresponding to the target color value. Determined to be at least one color.
  • the target color value is one or more.
  • Step 405 Determine the color corresponding to the display element in at least one color.
  • Step 406 Obtain a saturation value interval and a brightness value interval corresponding to the display element.
  • Step 407 Determine the target saturation value in the saturation value interval corresponding to the display element, and determine the target luminance value in the brightness value interval corresponding to the display element.
  • Step 408 Generate a synthetic wallpaper according to the color corresponding to the display element, the target saturation value, and the target brightness value.
  • step 408 is implemented as: for the display element in each layer, the color corresponding to the display element, the target saturation value , the target brightness value is filled into the display elements to obtain an intermediate layer; the intermediate layers corresponding to each display element are superimposed to obtain a composite wallpaper.
  • the terminal divides the target wallpaper template into multiple layers, each layer carries a display element, and then processes it layer by layer to avoid filling difficulties caused by stacking display elements The situation occurs, and the efficiency of wallpaper synthesis is improved.
  • the target wallpaper template includes 3 layers, namely the first layer 51, the second layer 52 and the third layer 53, each layer includes at least one display element, and the terminal stores each layer in the target wallpaper template After filling according to the corresponding color, target saturation value, and target brightness value of the display elements included, the above three layers are superimposed to obtain a composite wallpaper 54 .
  • the terminal receives an application instruction corresponding to the synthetic wallpaper, and then sets the synthetic wallpaper as the wallpaper currently used by the terminal.
  • the terminal receives an upload instruction corresponding to the synthetic wallpaper, and the terminal uploads the synthetic wallpaper to the server according to the upload instruction for other users to download and use.
  • the terminal displays a satisfaction survey interface after generating the synthetic wallpaper
  • the terminal receives the satisfaction opinion input in the satisfaction survey interface, and then uses the target wallpaper template, target saturation value, target brightness value and The satisfaction opinion is sent to the server for the server to generate the recommendation information mentioned in step 407 .
  • the technical solutions provided by the embodiments of the present application use the target image selected by the user as the wallpaper generation material, select the color from the above target image to obtain the color required for generating the wallpaper, and finally use the color obtained from the target image. And pre-selected target wallpaper templates to generate synthetic wallpapers, allowing users to customize the generation of synthetic wallpapers, enriching the form of obtaining wallpapers.
  • the target saturation value and the target brightness value are also set according to the recommendation information provided by the server, so that the synthesis effect of the synthesized wallpaper is better and more beautiful.
  • the target saturation value and the target brightness value are also set by the user, so that the synthetic wallpaper is more in line with the user's expectation.
  • FIG. 6 shows a block diagram of an apparatus for generating wallpaper provided by an exemplary embodiment of the present application.
  • the wallpaper generating apparatus can be implemented as all or a part of the terminal through software, hardware or a combination of the two.
  • the wallpaper generating device includes:
  • the instruction receiving module 601 is used for receiving a wallpaper creation instruction.
  • the material acquisition module 602 is configured to acquire a target image and a target wallpaper template according to the wallpaper creation instruction.
  • the color picking processing module 603 is configured to perform color picking processing on the target image to obtain at least one color, and the color picking processing refers to identifying and acquiring the color in the target image.
  • the first determination module 604 is configured to determine the color corresponding to the display element from the at least one color.
  • the interval obtaining module 605 is configured to obtain the saturation value interval and brightness value interval corresponding to the display element.
  • the second determination module 606 is configured to determine the target saturation value in the saturation value interval corresponding to the display element, and determine the target luminance value in the luminance value interval corresponding to the display element.
  • the wallpaper generation module 607 is configured to generate a synthetic wallpaper according to the color corresponding to the display element, the target saturation value, and the target brightness value.
  • the technical solutions provided by the embodiments of the present application use the target image selected by the user as the wallpaper generation material, select the color from the above target image to obtain the color required for generating the wallpaper, and finally use the color obtained from the target image. And pre-selected target wallpaper templates to generate synthetic wallpapers, allowing users to customize the generation of synthetic wallpapers, enriching the form of obtaining wallpapers.
  • the first determining module 604 is configured to: determine the at least one color according to the natural color corresponding to the display element.
  • the color corresponding to the display element wherein, the natural color corresponding to the display element refers to the color presented by the display element in the natural environment.
  • the interval obtaining module 605 is configured to: obtain the saturation value interval corresponding to the display element from the first correspondence, the first The corresponding relationship includes the corresponding relationship between different display elements and different saturation value ranges;
  • the saturation value interval corresponding to the display element is obtained from a second correspondence relationship, where the second correspondence relationship includes a correspondence relationship between different display elements and different luminance value intervals.
  • the target wallpaper template includes at least one layer, and each layer includes a display element
  • the wallpaper generation module 607 is used for:
  • For the display element in each layer fill the display element with the color corresponding to the display element, the target saturation value, and the target brightness value to obtain an intermediate layer;
  • the intermediate layers corresponding to each of the display elements are superimposed to obtain the composite wallpaper.
  • the color picking processing module 603 is configured to:
  • the color value corresponding to the pixel is calculated through the display parameters of the pixel, different color values correspond to different colors, and the display parameters of the pixel include the following items or a combination of: Hue, Saturation, Lightness;
  • the at least one color is determined according to color values corresponding to the respective pixel points in the target image.
  • the color picking processing module 603 is used for:
  • the at least one color is determined according to the number of each color value.
  • the color picking processing module 603 is used for:
  • the at least one color is determined based on the target color value.
  • the wallpaper creation instruction involved in the device includes a first instruction and a second instruction, the first instruction is used to acquire the target image, and the second instruction is used to acquire the target wallpaper template.
  • the instruction receiving module 601 is configured to: in response to being in a locked screen state, when receiving a physical key operation, light up the screen; in response to receiving a wallpaper editing and replacement instruction in the locked screen state, display a template selection interface ; In response to receiving the first instruction, obtain the target wallpaper template, the first instruction is generated when the first button in the template selection interface is triggered; In response to the image selection instruction, display the image selection interface , the image selection interface includes the target image; in response to receiving the second instruction, acquire the target image.
  • the apparatus further includes: a third determination module and a display module.
  • the third determining module is configured to, according to the target number of the display elements corresponding to the target wallpaper template, determine an image whose number of the display elements meets the target number as a candidate image; the display The module is configured to display candidate images on the image selection interface, where the candidate images include the target image.
  • FIG. 7 shows a structural block diagram of a mobile terminal provided by an exemplary embodiment of the present application.
  • the mobile terminal in this application may include one or more of the following components: a processor 710 and a memory 720 .
  • Processor 710 may include one or more processing cores.
  • the processor 710 uses various interfaces and lines to connect various parts in the entire mobile terminal, and executes the mobile by running or executing the instructions, programs, code sets or instruction sets stored in the memory 720, and calling the data stored in the memory 720.
  • the processor 710 may adopt at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA).
  • the processor 710 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a modem, and the like. Among them, the CPU mainly handles the operating system and application programs; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 710, but is implemented by a single chip.
  • CPU Central Processing Unit
  • the processor 710 executes the program instructions in the memory 720, the method for generating wallpaper provided by each of the foregoing method embodiments is implemented.
  • the memory 720 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory, ROM).
  • the memory 720 includes a non-transitory computer-readable storage medium.
  • Memory 720 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 720 may include a stored program area and a stored data area, wherein the stored program area may store an instruction for implementing an operating system, an instruction for at least one function, an instruction for implementing the above-mentioned various method embodiments, etc.; the storage data area Data and the like created according to the use of the mobile terminal may be stored.
  • the structure of the above-mentioned mobile terminal is only illustrative. In actual implementation, the mobile terminal may include more or less components, such as a camera, etc., which is not limited in this embodiment.
  • FIG. 7 does not constitute a limitation on the mobile terminal 700, and may include more or less components than the one shown, or combine some components, or adopt different component arrangements.
  • a computer-readable storage medium is also provided, and at least one instruction is stored in the computer-readable storage medium, and the at least one instruction is loaded and executed by the processor of the mobile terminal to implement the above method The wallpaper generation method in the embodiment.
  • the above-mentioned computer-readable storage medium may be a ROM, a RAM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
  • a computer program product is also provided, when the computer program product is executed, it is used to implement the wallpaper generation method provided in the above method embodiments.
  • a computer program product the 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 executes the above-mentioned wallpaper generation method.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Color Image Communication Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本申请实施例提供一种壁纸生成方法、装置、终端及存储介质。该方法包括:接收壁纸创作指令;根据壁纸创作指令获取目标图像,以及目标壁纸模板;对目标图像进行取色处理,得到至少一种颜色;在至少一种颜色中确定出显示元素对应的颜色;根据显示元素确定目标饱和度值及目标亮度值;根据显示元素对应的颜色、目标饱和度值、目标亮度值生成合成壁纸。本申请实施例提供的技术方案,通过将用户选择的目标图像作为壁纸生成素材,从上述目标图像中取色得到生成壁纸所需的颜色,最后通过从目标图像中获得的颜色以及预先选择的目标壁纸模板生成合成壁纸,允许用户自定义生成合成壁纸,丰富壁纸的获取形式。

Description

壁纸生成方法、装置、终端及存储介质
本申请要求于2020年8月31日提交的申请号为202010893702.2、发明名称为“壁纸生成方法、装置、终端及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及终端技术领域,特别涉及一种壁纸生成方法、装置、终端及存储介质。
背景技术
壁纸是指电脑桌面或者手机桌面所使用的背景图片。用户通过选择不同样式的壁纸来美化自己所拥有的终端。
相关技术中,终端提供有壁纸商店,用户在上述壁纸商店中选择自己心仪的壁纸,并通过终端将上述被选择的壁纸下载到终端本地。
发明内容
本申请实施例提供一种壁纸生成方法、装置、终端及存储介质。所述技术方案如下:
一方面,本申请实施例提供一种壁纸生成方法,所述方法包括:
接收壁纸创作指令;
根据所述壁纸创作指令获取目标图像,以及目标壁纸模板,所述目标壁纸模板包括至少一个显示元素;
对所述目标图像进行取色处理,得到至少一种颜色,所述取色处理是指识别并获取所述目标图像中的颜色;
在所述至少一种颜色中确定出所述显示元素对应的颜色;
获取所述显示元素对应的饱和度取值区间、亮度取值区间;
在所述显示元素对应的饱和度取值区间确定目标饱和度值,在所述显示元素对应的亮度取值区间确定目标亮度值;
根据所述显示元素对应的颜色、所述目标饱和度值、所述目标亮度值生成合成壁纸。
另一方面,本申请实施例提供一种壁纸生成装置,所述装置包括:
指令接收模块,用于接收壁纸创作指令;
素材获取模块,用于根据所述壁纸创作指令获取目标图像,以及目标壁纸模板,所述目标壁纸模板包括至少一个显示元素;
取色处理模块,用于对所述目标图像进行取色处理,得到至少一种颜色,所述取色处理是指识别并获取所述目标图像中的颜色;
第一确定模块,用于在所述至少一种颜色中确定出所述显示元素对应的颜色;
区间获取模块,用于获取所述显示元素对应的饱和度取值区间、亮度取值区间;
第二确定模块,用于在所述显示元素对应的饱和度取值区间确定目标饱和度值,在所述显示元素对应的亮度取值区间确定目标亮度值;
壁纸生成模块,用于根据所述显示元素对应的颜色、所述目标饱和度值、所述目标亮度值生成合成壁纸。
又一方面,本申请实施例提供了一种终端,所述终端包括处理器和存储器,所述存储器存储有计算机程序,所述计算机程序由所述处理器加载并执行以实现如本申请提供的壁纸生成方法。
又一方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现如本申请提供的壁纸生成方法。
又一方面,本申请实施例提供了一种计算机程序产品,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行本申请提供的壁纸生成方法。
附图说明
图1是本申请一个实施例提供的一种生成合成壁纸的示意图;
图2是本申请一个实施例提供的一种壁纸合成方法的流程图;
图3是本申请一个实施例提供的一种显示预设的动画效果的示意图;
图4是本申请另一个实施例提供的一种壁纸合成方法的流程图;
图5是本申请另一个实施例提供的一种合成壁纸的示意图;
图6是本申请一个实施例示出的一种壁纸合成装置的结构框图;
图7是本申请一个实施例示出的一种终端的结构框图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
相关技术并未提供可实施的壁纸生成方案,获取壁纸的形式较为单一。基于此,本申请实施提供一种壁纸生成方案,将用户选择的目标图像作为壁纸生成素材,从上述目标图像中取色得到生成壁纸所需的颜色,最后通过从目标图像中获得的颜色以及预先选择的目标壁纸模板生成合成壁纸,本申请 实施例提供的技术方案,允许用户自定义生成合成壁纸,丰富壁纸的获取形式。
本申请实施例提供的技术方案,各步骤的执行主体为终端。可选地,终端中安装有指定应用程序,上述指定应用程序为壁纸商城,或者,专用于生成壁纸的应用程序。各步骤的执行主体也可以为上述指定应用程序。在本申请实施例中,仅以各步骤的执行主体为终端为例进行说明。
在本申请实施例中,提供有如下技术方案:
一种壁纸生成方法,其中,所述方法包括:
接收壁纸创作指令;
根据所述壁纸创作指令获取目标图像,以及目标壁纸模板,所述目标壁纸模板包括至少一个显示元素;
对所述目标图像进行取色处理,得到至少一种颜色,所述取色处理是指识别并获取所述目标图像中的颜色;
在所述至少一种颜色中确定出所述显示元素对应的颜色;
获取所述显示元素对应的饱和度取值区间、亮度取值区间;
在所述显示元素对应的饱和度取值区间确定目标饱和度值,在所述显示元素对应的亮度取值区间确定目标亮度值;
根据所述显示元素对应的颜色、所述目标饱和度值、所述目标亮度值生成合成壁纸。
可选地,所述在所述至少一种颜色中确定出所述显示元素对应的颜色,包括:
根据所述显示元素对应的自然色,在所述至少一种颜色中确定出所述显示元素对应的颜色;其中,所述显示元素对应的自然色是指所述显示元素在自然环境所呈现的颜色。
可选地,所述获取所述显示元素对应的饱和度取值区间、亮度取值区间,包括:
从第一对应关系中获取所述显示元素对应的饱和度取值区间,所述第一对应关系包括不同显示元素与不同饱和度取值区间的对应关系;
从第二对应关系中获取所述显示元素对应的饱和度取值区间,所述第二对应关系包括不同显示元素与不同亮度取值区间的对应关系。
可选地,所述目标壁纸模板包括至少一个图层,每一图层包括至少一个显示元素;
所述根据所述显示元素对应的颜色、所述目标饱和度值、所述目标亮度值生成所述合成壁纸,包括:
对于所述每一图层中的所述显示元素,将所述显示元素对应的颜色、所述目标饱和度值、所述目标亮度值填充至所述显示元素,得到中间图层;
对各个所述显示元素分别对应的所述中间图层进行叠加处理,得到所述合成壁纸。
可选地,所述对所述目标图像进行取色处理,得到至少一种颜色,包括:
对于所述目标图像中的每一个像素点,通过所述像素点的显示参数计算所述像素点对应的颜色值,不同的颜色值对应不同的颜色,所述像素点的显示参数包括以下一项或多项的组合:色相、饱和度、亮度;
根据所述目标图像中的各个所述像素点分别对应的颜色值确定所述至少一种颜色。
可选地,所述根据所述目标图像中的各个所述像素点分别对应的颜色值确定所述至少一种颜色,包括:
统计每种所述颜色值的数量;
根据所述每种颜色值的数量确定所述至少一种颜色。
可选地,所述壁纸创作指令包括第一指令和第二指令,所述第一指令用于获取所述目标图像,所述第二指令用于获取所述目标壁纸模版。
可选地,所述接收壁纸创作指令,包括:
响应于处于锁屏状态,在接收到实体按键操作时,点亮屏幕;
响应于在锁屏状态的接收壁纸编辑更换指令,显示模版选择界面;
响应于接收到第一指令,获取所述目标壁纸模板,所述第一指令是在在所述模版选择界面中的第一按钮被触发时生成的;
响应于图像选择指令,显示图像选择界面,所述图像选择界面中包括所述目标图像;
响应于接收到第二指令,获取所述目标图像。
可选地,在所述响应于图像选择指令,显示图像选择界面后,所述方法还包括:
根据所述目标壁纸模板对应的所述显示元素的目标个数,将所述显示元素的个数符合所述目标个数的图像确定为候选图像;
在所述图像选择界面显示候选图像,所述候选图像包括所述目标图像。
本申请实施例提供的技术方案带来的有益效果可以包括:
通过将用户选择的目标图像作为壁纸生成素材,从上述目标图像中取色得到生成壁纸所需的颜色,最后通过从目标图像中获得的颜色以及预先选择的目标壁纸模板生成合成壁纸,本申请实施例提供的技术方案,允许用户自定义生成合成壁纸,丰富壁纸的获取形式。
请参考图1,图1是本申请一个实施例提供的一种生成合成壁纸的示意图。目标图像11包括天空、太阳和山等显示元素,终端对目标图像11进行取色处理,得到蓝色、绿色和金色等多个颜色,从第一对应关系中获取目标壁纸模板12中的显示元素“太阳”对应的目标亮度值、目标壁纸模板12中的显示元素“海水”对应的目标亮度值,从第二对应关系中获取目标壁纸模板12中的显示元素“太阳”对应的目标饱和度值、目标壁纸模板12中的显示元素“海水”对应的目标饱和度值。之后,终端根据蓝色、“海水”对应的目标饱和度值、“海水”对应的目标亮度值填充目标壁纸模板12中的显示元素“海 水”。之后,终端根据金色、“太阳”对应的目标饱和度值、“太阳”对应的目标亮度值填充目标壁纸模板12中的显示元素“太阳”,得到合成壁纸13。
请参考图2,图2是本申请一个实施例提供的一种壁纸生成方法的流程图。该方法包括:
步骤201,接收壁纸创作指令。
壁纸创作指令用于触发壁纸创作流程。可选地,终端安装有指定应用程序,该指定应用程序的用户界面(缩写:UI;英文:User Interface)上提供有壁纸创作控件,当终端接收到对应于上述壁纸创作控件的触发信号时,接收到壁纸创作指令。示意性的,上述指定应用程序可以是壁纸商城,或者,上述指定应用程序也可以是专用于生成壁纸的应用程序。
在一种可能的方式中,壁纸创作指令包括第一指令和第二指令,第一指令用于获取目标图像,第二指令用于获取目标壁纸模版。需要说明的是,在用户界面较为复杂的情况下,本申请所示的壁纸创作指令可以是一个包含多个指令的指令集。一种方式中,壁纸创作指令包括第一指令和第二指令。
其中,第一指令用于指示终端获取目标图像,第二指令用于指示终端获取目标壁纸模版。在一种实现场景中,目标图像可以是图像库中存储的图像。该第一指令包括从图像库中确定出目标图像的指令。需要说明的是,第一指令也可以是指令集。类似的,第二指令也可以是用于从包含多个壁纸模版的库中确定出目标壁纸模版的指令。该第二指令也可以是指令集。
在一种实际交互场景中,终端可以通过执行步骤(a1)至步骤(a5)来替代步骤201。
步骤(a1),响应于处于锁屏状态,在接收到实体按键操作时,点亮屏幕。
在本实施例中,终端可以在锁屏状态下直接提供壁纸的更换与生成。由于该操作相对不涉及隐私内容。因此,一种可能的方式中,该过程可以在没有解锁终端时实现。在本例中,当终端中的实体键被按压时,终端点亮自身的屏幕。在另一种可能的方式中,终端还能够被语音唤醒亮屏。
步骤(a2),响应于在锁屏状态的接收壁纸编辑更换指令,显示模版选择界面。
可选地,终端可以在锁屏状态的用户界面中显示壁纸更换按钮,当该按钮被点击时,终端接收壁纸编辑更换指令。其中,模版选择界面中可以显示至少一种壁纸模版。
步骤(a3),响应于接收到第一指令,获取所述目标壁纸模板,所述第一指令是在所述模版选择界面中的第一按钮被触发时生成的。
可选地,终端第一指令可以是用户从多种壁纸模版中确定出目标壁纸模版时触发的指令。其中,第一按钮可以用于确认目标壁纸模版。其既可以是具有可视图形的按钮,也可以是蒙在各个壁纸模版上,在壁纸模版被选定时自动被触发的按钮。
步骤(a4),响应于图像选择指令,显示图像选择界面,所述图像选择界 面中包括所述目标图像。
可选的,当图像选择界面中需要显示终端拍摄的图像时,终端需要对用户的身份进行验证。
在本申请中,终端还能够按照目标壁纸模版中对应的显示元素的目标个数,确定出候选图像。比如,目标壁纸模版中对应的显示元素的目标个数是3个,则终端可以随机遍历终端中的图像或者全部遍历终端中的图像,将显示元素是3个的图像作为候选图像进行显示。可选的,终端可以将显示评分高的图像排列在候选图形的靠前次序。随后,终端在图像选择界面显示候选图像,候选图像中包括目标图像。也即,终端最终选择出的目标图像中的显示元素符合目标壁纸模型的需求。
步骤(a5),响应于接收到第二指令,获取所述目标图像。
步骤202,根据壁纸创作指令获取目标图像以及目标壁纸模板。
目标图像由用户选择得到。可选地,目标图像为本地存储的图像,或者,从网络中下载的图像。
可选地,终端接收壁纸创作指令后显示壁纸创作界面,上述壁纸创作界面包括图像选择控件,若终端接收到对应于图像选择控件的触发信号,则获取目标图像。
示例性地,当目标图像为本地存储的图像时,终端接收到对应于图像选择控件的触发信号后调用相册应用程序,用户在相册应用程序中选择目标图像。示例性地,当目标图像为从网络中下载的图像,终端接收到对应于图像选择控件的触发信号后显示网络提供的图像列表,用户在上述图像列表中选择目标图像,之后终端将用户选择的目标图像由网络下载至本地。
目标壁纸模板也由用户选择得到。可选地,终端在壁纸创作界面中显示壁纸模板列表,壁纸模板列表中被框选的壁纸模板也即是目标壁纸模板,终端在接收到对应于壁纸创作界面的指定滑动信号时,切换目标壁纸模板。上述指定滑动信号的滑动方向与壁纸模板列表中壁纸模板的排布方向相同或相反。可选地,目标壁纸模板包括至少一个显示元素。上述显示元素包括且不限于雪山、太阳、草地、鲜花、河流、大树、小鸟、狗或猫等等。
步骤203,对目标图像进行取色处理,得到至少一种颜色。
取色处理是指获取并识别出目标图像所拥有的各种颜色。比如,目标图像中包括天空、太阳、草地等显示元素,终端对目标图像进行取色处理,分别得到天空对应的蓝色、太阳对应的金色、草地对应的绿色。
可选地,终端通过预设的颜色提取算法对目标图像进行取色处理。可选地,上述预设的颜色提取算法为Palette(中文:调色板)算法。
可选地,终端在进行取色处理时,显示预设的动画效果。上述预设的动画效果由终端默认设定,或者,由用户自定义设定,本申请实施例对此不作限定。示例性地,预设的动画效果为马赛克。
结合参考图3,其示出了本申请一个实施例提供的一种显示预设的动画效果的示意图。在取色过程中,终端在目标图像的上层叠加显示马赛克。
步骤204,在至少一种颜色中确定出显示元素对应的颜色。
可选地,终端根据显示元素对应的自然色,在至少一种颜色中确定出显示元素对应的颜色。上述显示元素对应的自然色是指显示元素在自然环境所呈现的颜色。比如,玫瑰在自然环境所呈现的颜色为红色,则玫瑰的自然色为红色。
可选地,终端确定上述至少一种颜色中的每一种颜色,与显示元素对应的自然色之间的相似度,将相似度最大且大于相似度门限的颜色,确定为显示元素对应的颜色。其中,上述至少一种颜色中的每一种颜色,与显示元素对应的自然色之间的相似度根据二者在色谱空间的分布情况确定。
在其它可能的实现方式中,终端显示颜色列表,该颜色列表包括上述至少一种颜色,终端接收对应于目标颜色的拖拽信号,当该拖拽信号的终端位置位于某一显示元素内时,将该目标颜色确定为上述显示元素对应的颜色。通过上述方式,实现由用户自定义设置显示元素。
步骤205,获取显示元素对应的饱和度取值区间、亮度取值区间。
可选地,终端从第一对应关系中获取显示元素对应的饱和度取值区间。第一对应关系包括不同显示元素与不同饱和度取值区间之间的对应关系。第一对应关系根据显示元素在自然环境中所呈现的状态实际设定。比如,显示元素为雪山时,其对应的饱和度取值区间较大。表-1示例性示出了本申请一个实施例提供的第一对应关系。
显示元素 饱和度取值区间
雪山 第一取值区间
草地 第二取值区间
太阳 第三取值区间
河流 第四取值区间
表-1
可选地,终端从第二对应关系中获取显示元素对应的亮度取值区间。第二对应关系包括不同显示元素与不同亮度取值区间之间的对应关系。第二对应关系根据显示元素在自然环境中所呈现的状态实际设定。比如,显示元素为雪山时,其对应的亮度取值区间较大。表-2示例性示出了本申请一个实施例提供的第二对应关系。
显示元素 亮度取值区间
雪山 第五取值区间
草地 第六取值区间
太阳 第七取值区间
河流 第八取值区间
表-2
步骤206,在显示元素对应的饱和度取值区间确定目标饱和度值,在显示元素对应的亮度取值区间确定目标亮度值。
在一种可能的实现方式中,终端从服务器获取推荐信息,根据该推荐信息在显示元素对应的饱和度取值区间确定目标饱和度值,在显示元素对应的亮度取值区间确定目标亮度值。示例性地,其它终端在通过目标壁纸模板生成合成壁纸后,接收对应于合成壁纸的满意度调查,之后将上述满意度调查结果反馈至服务器,服务器对满意度调查结果进行统计,将满意度符合预设条件的合成壁纸所采用的饱和度值、亮度值携带于推荐信息,并将推荐信息发送至终端,终端将推荐信息中携带的饱和度值确定为目标饱和度值,将推荐信息中携带的亮度值确定为目标亮度值。
在另一种可能的实现方式中,终端显示该显示元素对应的饱和度调节进度条和亮度调节进度条。饱和度调节进度条的调节范围也即是该显示元素对应的饱和度取值区间,亮度调节进度条的调节范围也即是该显示元素对应的亮度取值区间。终端接收对应于饱和度调节进度条的调节信号,根据该调节信号确定目标饱和度值。终端接收对应于亮度调节进度条的调节信号,根据该调节信号确定目标亮度值。可选地,终端根据被调节的饱和度值和/或亮度值实时显示预览效果,用户在对预览效果满意时确定最终采用的目标饱和度值和目标亮度值。
在其它可能的实现方式中,终端在显示元素对应的饱和度取值区间随机确定目标饱和度值,终端在显示元素对应的亮度取值区间随机确定目标亮度值。
步骤207,根据显示元素对应的颜色、目标饱和度值、目标亮度值生成合成壁纸。
可选地,终端将各个显示元素分别对应的颜色、目标饱和度值、目标亮度值分别填充至各个显示元素,得到合成壁纸。
在本申请实施例中,将用户选择的目标图像作为壁纸生成素材,从上述目标图像中取色得到生成壁纸所需的颜色,最后将从目标图像中获得的颜色填充至目标壁纸模板中的各个显示元素,丰富壁纸的获取形式,提高用户在选择壁纸时的参与度。
综上所述,本申请实施例提供的技术方案,通过将用户选择的目标图像作为壁纸生成素材,从上述目标图像中取色得到生成壁纸所需的颜色,最后通过从目标图像中获得的颜色以及预先选择的目标壁纸模板生成合成壁纸,允许用户自定义生成合成壁纸,丰富壁纸的获取形式。
结合参考图4,其示出了本申请一个实施例提供的一种壁纸生成方法的流程图。该方法包括:
步骤401,接收壁纸创作指令。
步骤402,根据壁纸创作指令获取目标图像,以及目标壁纸模板。
在本申请实施例中,目标壁纸模板包括至少一个图层,每个图层包括至少一个显示元素。示例性地,每个图层包括一个显示元素。
步骤403,对于目标图像中的每一个像素点,通过像素点的显示参数计算 像素点对应的颜色值。
不同的颜色值对应不同的颜色。像素点的显示参数包括以下一项或多项的组合:色相、饱和度、亮度。色相是指色彩所呈现的质地面貌,为色彩的首要特征。饱和度是指色彩的鲜艳程度,也称做纯度。亮度用于反映人类的主观明亮感受。
终端通过预设的颜色量化算法对各个像素点的显示参数进行处理,得到像素点对应的颜色值。上述预设的颜色量化算法为中位切分算法。
步骤404,根据目标图像中的各个像素点分别对应的颜色值确定至少一种颜色。
可选地,终端统计每种颜色值的数量,根据每种颜色值的数量确定至少一种颜色。示例性地,终端将颜色值的数量按照由大到小的顺序进行排列,之后将排序在前n位的颜色值对应的颜色确定为至少一种颜色,n根据实验或经验设定,本申请实施例对此不作限定。通过上述方式,将目标图像中较大面积的颜色筛选出来,用于后续的壁纸合成流程。
在其它可能的实现方式中,终端显示颜色值列表,该颜色值列表中包括目标图像中的所有颜色值,接收用户对颜色值列表中的目标颜色值的选择信号,将目标颜色值对应的颜色确定为至少一种颜色。目标颜色值为一种或多种。通过上述方式,实现由用户自定义选择目标图像中的颜色,用于后续的壁纸合成流程。
步骤405,在至少一种颜色中确定出显示元素对应的颜色。
步骤406,获取显示元素对应的饱和度取值区间、亮度取值区间。
步骤407,在显示元素对应的饱和度取值区间确定目标饱和度值,在显示元素对应的亮度取值区间确定目标亮度值。
步骤408,根据显示元素对应的颜色、目标饱和度值、目标亮度值生成合成壁纸。
可选地,当目标壁纸模板包括至少一个图层,每一图层包括一个显示元素时;步骤408实现为:对于每一图层中的显示元素,将显示元素对应的颜色、目标饱和度值、目标亮度值填充至显示元素,得到中间图层;对各个显示元素分别对应的中间图层进行叠加处理,得到合成壁纸。
当目标壁纸模板存在多个显示元素时,终端将其划分为目标壁纸模板划分为多个图层,每个图层承载一个显示元素,之后逐图层进行处理,避免显示元素堆叠时造成填充困难的情况发生,提高壁纸合成效率。
结合参考图5,其示出了本申请一个实施例提供的一种合成壁纸的示意图。目标壁纸模板包括3个图层,分别为第一图层51、第二图层52和第三图层53,每个图层均包括至少一个显示元素,终端将目标壁纸模板中的各个图层均按照其包括的显示元素对应的颜色、目标饱和度值、目标亮度值填充后,将上述三个图层进行叠加,得到合成壁纸54。
可选地,终端在生成合成壁纸之后,接收对应于合成壁纸的应用指令,之后将上述合成壁纸设置为终端当前使用的壁纸。
可选地,终端在生成合成壁纸之后,接收对应于合成壁纸的上传指令,终端根据该上传指令将合成壁纸上传至服务器,以供其他用户下载使用。
可选地,终端在生成合成壁纸之后显示满意度调查界面,终端接收在满意度调查界面输入的满意度意见,之后将上述合成壁纸所采用的目标壁纸模板、目标饱和度值、目标亮度值以及满意度意见发送至服务器,以供服务器生成步骤407中提到的推荐信息。
综上所述,本申请实施例提供的技术方案,通过将用户选择的目标图像作为壁纸生成素材,从上述目标图像中取色得到生成壁纸所需的颜色,最后通过从目标图像中获得的颜色以及预先选择的目标壁纸模板生成合成壁纸,允许用户自定义生成合成壁纸,丰富壁纸的获取形式。
还通过根据服务器提供的推荐信息来设置目标饱和度值以及目标亮度值,以使得合成壁纸的合成效果更好,更为美观。
还通过由用户自定义来设置目标饱和度值以及目标亮度值,以使得合成壁纸更符合用户期待。
以下为本申请装置实施例,对于装置实施例中未详细阐述的部分,可以参考上述方法实施例中公开的技术细节。
请参考图6,其示出了本申请一个示例性实施例提供的壁纸生成装置的框图。该壁纸生成装置可以通过软件、硬件或者两者的组合实现成为终端的全部或一部分。该壁纸生成装置包括:
指令接收模块601,用于接收壁纸创作指令。
素材获取模块602,用于根据所述壁纸创作指令获取目标图像,以及目标壁纸模板。
取色处理模块603,用于对所述目标图像进行取色处理,得到至少一种颜色,所述取色处理是指识别并获取所述目标图像中的颜色。
第一确定模块604,用于在所述至少一种颜色中确定出所述显示元素对应的颜色。
区间获取模块605,用于获取所述显示元素对应的饱和度取值区间、亮度取值区间。
第二确定模块606,用于在所述显示元素对应的饱和度取值区间确定目标饱和度值,在所述显示元素对应的亮度取值区间确定目标亮度值。
壁纸生成模块607,用于根据所述显示元素对应的颜色、所述目标饱和度值、所述目标亮度值生成合成壁纸。
综上所述,本申请实施例提供的技术方案,通过将用户选择的目标图像作为壁纸生成素材,从上述目标图像中取色得到生成壁纸所需的颜色,最后通过从目标图像中获得的颜色以及预先选择的目标壁纸模板生成合成壁纸,允许用户自定义生成合成壁纸,丰富壁纸的获取形式。
在基于图6所示实施例提供的一个可选实施例中,所述第一确定模块604,用于:根据所述显示元素对应的自然色,在所述至少一种颜色中确定出所述 显示元素对应的颜色;其中,所述显示元素对应的自然色是指所述显示元素在自然环境所呈现的颜色。
在基于图6所示实施例提供的一个可选实施例中,所述区间获取模块605,用于:从第一对应关系中获取所述显示元素对应的饱和度取值区间,所述第一对应关系包括不同显示元素与不同饱和度取值区间的对应关系;
从第二对应关系中获取所述显示元素对应的饱和度取值区间,所述第二对应关系包括不同显示元素与不同亮度取值区间的对应关系。
可选地,所述目标壁纸模板包括至少一个图层,每一图层包括一个显示元素;
所述壁纸生成模块607,用于:
对于所述每一图层中的所述显示元素,将所述显示元素对应的颜色、所述目标饱和度值、所述目标亮度值填充至所述显示元素,得到中间图层;
对各个所述显示元素分别对应的所述中间图层进行叠加处理,得到所述合成壁纸。
在基于图6所示实施例提供的一种可选实施例中,所述取色处理模块603,用于:
对于所述目标图像中的每一个像素点,通过所述像素点的显示参数计算所述像素点对应的颜色值,不同的颜色值对应不同的颜色,所述像素点的显示参数包括以下一项或多项的组合:色相、饱和度、亮度;
根据所述目标图像中的各个所述像素点分别对应的颜色值确定所述至少一种颜色。
可选地,所述取色处理模块603,用于:
统计每种所述颜色值的数量;
根据所述每种颜色值的数量确定所述至少一种颜色。
可选地,所述取色处理模块603,用于:
显示颜色值列表,所述颜色值列表包括所述各个像素点分别对应的颜色值;
接收对应于所述颜色值列表中的目标颜色值的选择信号;
根据所述目标颜色值确定所述至少一种颜色。
可选地,所述装置涉及的所述壁纸创作指令包括第一指令和第二指令,所述第一指令用于获取所述目标图像,所述第二指令用于获取所述目标壁纸模版。
可选地,所述指令接收模块601,用于:响应于处于锁屏状态,在接收到实体按键操作时,点亮屏幕;响应于在锁屏状态的接收壁纸编辑更换指令,显示模版选择界面;响应于接收到第一指令,获取所述目标壁纸模板,所述第一指令是在在所述模版选择界面中的第一按钮被触发时生成的;响应于图像选择指令,显示图像选择界面,所述图像选择界面中包括所述目标图像;响应于接收到第二指令,获取所述目标图像。
可选地,所述装置还包括:第三确定模块和显示模块。所述第三确定模 块,用于根据所述目标壁纸模板对应的所述显示元素的目标个数,将所述显示元素的个数符合所述目标个数的图像确定为候选图像;所述显示模块,用于在所述图像选择界面显示候选图像,所述候选图像包括所述目标图像。
需要说明的是,上述实施例提供的装置在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
参考图7,其示出了本申请一个示例性实施例提供的移动终端的结构方框图。本申请中的移动终端可以包括一个或多个如下部件:处理器710和存储器720。
处理器710可以包括一个或者多个处理核心。处理器710利用各种接口和线路连接整个移动终端内的各个部分,通过运行或执行存储在存储器720内的指令、程序、代码集或指令集,以及调用存储在存储器720内的数据,执行移动终端的各种功能和处理数据。可选地,处理器710可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器710可集成中央处理器(Central Processing Unit,CPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统和应用程序等;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器710中,单独通过一块芯片进行实现。
可选地,处理器710执行存储器720中的程序指令时实现下上述各个方法实施例提供的壁纸生成方法。
存储器720可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。可选地,该存储器720包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器720可用于存储指令、程序、代码、代码集或指令集。存储器720可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令、用于实现上述各个方法实施例的指令等;存储数据区可存储根据移动终端的使用所创建的数据等。
上述移动终端的结构仅是示意性的,在实际实现时,移动终端可以包括更多或更少的组件,比如:摄像头等,本实施例对此不作限定。
本领域技术人员可以理解,图7中示出的结构并不构成对移动终端700的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
在示例性实施例中,还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条指令,所述至少一条指令由移动终端的处理器加载并执行以实现上述方法实施例中的壁纸生成方法。
可选地,上述计算机可读存储介质可以是ROM、RAM、磁带、软盘和光数据存储设备等。
在示例性实施例中,还提供了一种计算机程序产品,当该计算机程序产品被执行时,其用于实现上述方法实施例中提供的壁纸生成方法。
在示例性实施例中,还提供了一种计算机程序产品,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述壁纸生成方法。
以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种壁纸生成方法,其中,所述方法包括:
    接收壁纸创作指令;
    根据所述壁纸创作指令获取目标图像,以及目标壁纸模板,所述目标壁纸模板包括至少一个显示元素;
    对所述目标图像进行取色处理,得到至少一种颜色,所述取色处理是指识别并获取所述目标图像中的颜色;
    在所述至少一种颜色中确定出所述显示元素对应的颜色;
    获取所述显示元素对应的饱和度取值区间、亮度取值区间;
    在所述显示元素对应的饱和度取值区间确定目标饱和度值,在所述显示元素对应的亮度取值区间确定目标亮度值;
    根据所述显示元素对应的颜色、所述目标饱和度值、所述目标亮度值生成合成壁纸。
  2. 根据权利要求1所述的方法,所述在所述至少一种颜色中确定出所述显示元素对应的颜色,包括:
    根据所述显示元素对应的自然色,在所述至少一种颜色中确定出所述显示元素对应的颜色;其中,所述显示元素对应的自然色是指所述显示元素在自然环境所呈现的颜色。
  3. 根据权利要求1所述的方法,所述获取所述显示元素对应的饱和度取值区间、亮度取值区间,包括:
    从第一对应关系中获取所述显示元素对应的饱和度取值区间,所述第一对应关系包括不同显示元素与不同饱和度取值区间的对应关系;
    从第二对应关系中获取所述显示元素对应的饱和度取值区间,所述第二对应关系包括不同显示元素与不同亮度取值区间的对应关系。
  4. 根据权利要求1所述的方法,所述目标壁纸模板包括至少一个图层,每一图层包括至少一个显示元素;
    所述根据所述显示元素对应的颜色、所述目标饱和度值、所述目标亮度值生成所述合成壁纸,包括:
    对于所述每一图层中的所述显示元素,将所述显示元素对应的颜色、所述目标饱和度值、所述目标亮度值填充至所述显示元素,得到中间图层;
    对各个所述显示元素分别对应的所述中间图层进行叠加处理,得到所述合成壁纸。
  5. 根据权利要求1至4任一项所述的方法,所述对所述目标图像进行取色处理,得到至少一种颜色,包括:
    对于所述目标图像中的每一个像素点,通过所述像素点的显示参数计算所述像素点对应的颜色值,不同的颜色值对应不同的颜色,所述像素点的显示参数包括以下一项或多项的组合:色相、饱和度、亮度;
    根据所述目标图像中的各个所述像素点分别对应的颜色值确定所述至少一种颜色。
  6. 根据权利要求5所述的方法,所述根据所述目标图像中的各个所述像素点分别对应的颜色值确定所述至少一种颜色,包括:
    统计每种所述颜色值的数量;
    根据所述每种颜色值的数量确定所述至少一种颜色。
  7. 根据权利要求1至6任一所述的方法,所述壁纸创作指令包括第一指令和第二指令,所述第一指令用于获取所述目标图像,所述第二指令用于获取所述目标壁纸模版。
  8. 根据权利要求7所述的方法,所述接收壁纸创作指令,包括:
    响应于处于锁屏状态,在接收到实体按键操作时,点亮屏幕;
    响应于在锁屏状态的接收壁纸编辑更换指令,显示模版选择界面;
    响应于接收到第一指令,获取所述目标壁纸模板,所述第一指令是在所述模版选择界面中的第一按钮被触发时生成的;
    响应于图像选择指令,显示图像选择界面,所述图像选择界面中包括所述目标图像;
    响应于接收到第二指令,获取所述目标图像。
  9. 根据权利要求8所述的方法,在所述响应于图像选择指令,显示图像选择界面后,所述方法还包括:
    根据所述目标壁纸模板对应的所述显示元素的目标个数,将所述显示元素的个数符合所述目标个数的图像确定为候选图像;
    在所述图像选择界面显示候选图像,所述候选图像包括所述目标图像。
  10. 一种壁纸生成装置,其中,所述装置包括:
    指令接收模块,用于接收壁纸创作指令;
    素材获取模块,用于根据所述壁纸创作指令获取目标图像,以及目标壁纸模板,所述目标壁纸模板包括至少一个显示元素;
    取色处理模块,用于对所述目标图像进行取色处理,得到至少一种颜色,所述取色处理是指识别并获取所述目标图像中的颜色;
    第一确定模块,用于在所述至少一种颜色中确定出所述显示元素对应的颜色;
    区间获取模块,用于获取所述显示元素对应的饱和度取值区间、亮度取 值区间;
    第二确定模块,用于在所述显示元素对应的饱和度取值区间确定目标饱和度值,在所述显示元素对应的亮度取值区间确定目标亮度值;
    壁纸生成模块,用于根据所述显示元素对应的颜色、所述目标饱和度值、所述目标亮度值生成合成壁纸。
  11. 根据权利要求10所述的装置,所述第一确定模块,用于:
    根据所述显示元素对应的自然色,在所述至少一种颜色中确定出所述显示元素对应的颜色;其中,所述显示元素对应的自然色是指所述显示元素在自然环境所呈现的颜色。
  12. 根据权利要求10所述的装置,所述区间获取模块,用于:
    从第一对应关系中获取所述显示元素对应的饱和度取值区间,所述第一对应关系包括不同显示元素与不同饱和度取值区间的对应关系;
    从第二对应关系中获取所述显示元素对应的饱和度取值区间,所述第二对应关系包括不同显示元素与不同亮度取值区间的对应关系。
  13. 根据权利要求10所述的装置,所述目标壁纸模板包括至少一个图层,每一图层包括至少一个显示元素;
    所述壁纸生成模块,用于对于所述每一图层中的所述显示元素,将所述显示元素对应的颜色、所述目标饱和度值、所述目标亮度值填充至所述显示元素,得到中间图层;对各个所述显示元素分别对应的所述中间图层进行叠加处理,得到所述合成壁纸。
  14. 根据权利要求10至13任一项所述的装置,所述取色处理模块,用于:
    对于所述目标图像中的每一个像素点,通过所述像素点的显示参数计算所述像素点对应的颜色值,不同的颜色值对应不同的颜色,所述像素点的显示参数包括以下一项或多项的组合:色相、饱和度、亮度;
    根据所述目标图像中的各个所述像素点分别对应的颜色值确定所述至少一种颜色。
  15. 根据权利要求14所述的装置,所述壁纸生成模块,用于:
    统计每种所述颜色值的数量;
    根据所述每种颜色值的数量确定所述至少一种颜色。
  16. 根据权利要求10至15任一所述的装置,所述壁纸创作指令包括第一指令和第二指令,所述第一指令用于获取所述目标图像,所述第二指令用于获取所述目标壁纸模版。
  17. 根据权利要求16所述的装置,所述指令接收模块,用于:
    响应于处于锁屏状态,在接收到实体按键操作时,点亮屏幕;
    响应于在锁屏状态的接收壁纸编辑更换指令,显示模版选择界面;
    响应于接收到第一指令,获取所述目标壁纸模板,所述第一指令是在在所述模版选择界面中的第一按钮被触发时生成的;
    响应于图像选择指令,显示图像选择界面,所述图像选择界面中包括所述目标图像;
    响应于接收到第二指令,获取所述目标图像。
  18. 根据权利要求17所述的装置,所述装置还包括:
    第三确定模块,用于根据所述目标壁纸模板对应的所述显示元素的目标个数,将所述显示元素的个数符合所述目标个数的图像确定为候选图像;
    显示模块,用于在所述图像选择界面显示候选图像,所述候选图像包括所述目标图像。
  19. 一种终端,其中,所述终端包括处理器和存储器,所述存储器存储有计算机程序,所述计算机程序由所述处理器加载并执行如权利要求1至9任一项所述的壁纸生成方法。
  20. 一种计算机可读存储介质,其中,所述计算机可读存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现如权利要求1至9任一项所述的壁纸生成方法。
PCT/CN2021/108755 2020-08-31 2021-07-27 壁纸生成方法、装置、终端及存储介质 WO2022042180A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010893702.2 2020-08-31
CN202010893702.2A CN111984164B (zh) 2020-08-31 2020-08-31 壁纸生成方法、装置、终端及存储介质

Publications (1)

Publication Number Publication Date
WO2022042180A1 true WO2022042180A1 (zh) 2022-03-03

Family

ID=73441405

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/108755 WO2022042180A1 (zh) 2020-08-31 2021-07-27 壁纸生成方法、装置、终端及存储介质

Country Status (2)

Country Link
CN (1) CN111984164B (zh)
WO (1) WO2022042180A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695634A (zh) * 2022-09-09 2023-02-03 荣耀终端有限公司 壁纸显示的方法、电子设备及存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984164B (zh) * 2020-08-31 2023-05-02 Oppo广东移动通信有限公司 壁纸生成方法、装置、终端及存储介质
CN113238598B (zh) * 2021-04-30 2022-05-06 深圳市爱图仕影像器材有限公司 照明装置配色方法、装置及存储介质
CN113934340B (zh) * 2021-09-22 2024-04-19 青岛海信移动通信技术有限公司 一种终端设备和进度条显示方法
WO2024077437A1 (zh) * 2022-10-10 2024-04-18 广州酷狗计算机科技有限公司 壁纸的显示方法、装置、设备、存储介质及程序产品

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102810306A (zh) * 2012-07-26 2012-12-05 广东欧珀移动通信有限公司 一种显示屏壁纸亮度的自动控制方法
US20150029206A1 (en) * 2013-07-23 2015-01-29 Samsung Electronics Co., Ltd. Method and electronic device for displaying wallpaper, and computer readable recording medium
CN105988845A (zh) * 2015-03-02 2016-10-05 小米科技有限责任公司 生成壁纸的方法及装置
CN109472839A (zh) * 2018-10-26 2019-03-15 Oppo广东移动通信有限公司 图像生成方法和装置、计算机设备和计算机存储介质
CN110633117A (zh) * 2018-06-22 2019-12-31 阿里巴巴集团控股有限公司 一种数据处理方法、装置、电子设备和可读介质
CN111984164A (zh) * 2020-08-31 2020-11-24 Oppo广东移动通信有限公司 壁纸生成方法、装置、终端及存储介质

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100746002B1 (ko) * 2005-07-27 2007-08-06 삼성전자주식회사 바탕 화면 표시 방법 및 장치
US9389884B2 (en) * 2012-10-11 2016-07-12 Google Technology Holdings LLC Method and apparatus for providing adaptive wallpaper display for a device having multiple operating system environments
CN103389897B (zh) * 2013-07-17 2017-08-11 广东欧珀移动通信有限公司 一种桌面壁纸设置方法以及装置
CN104965631B (zh) * 2015-05-26 2020-05-15 深圳市万普拉斯科技有限公司 桌面配色方法、装置及智能终端
CN106484215B (zh) * 2015-08-31 2020-06-16 中兴通讯股份有限公司 管理移动终端的桌面的方法和装置
CN106295659A (zh) * 2016-08-15 2017-01-04 惠州Tcl移动通信有限公司 一种智能设备的拍照取色应用方法及系统
CN107390993A (zh) * 2017-07-27 2017-11-24 深圳市泰衡诺科技有限公司 一种基于智能终端的桌面壁纸设置方法及设置系统
CN107391150A (zh) * 2017-07-28 2017-11-24 闻泰通讯股份有限公司 移动终端主题色调自适应变更方法及系统
CN110198437B (zh) * 2018-02-27 2021-11-05 腾讯科技(深圳)有限公司 图像的处理方法、装置、存储介质和电子装置
CN109344273B (zh) * 2018-07-25 2021-06-15 中兴通讯股份有限公司 一种壁纸管理的方法、装置和移动终端
CN110865856B (zh) * 2018-08-27 2022-04-22 华为技术有限公司 一种界面元素颜色显示方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102810306A (zh) * 2012-07-26 2012-12-05 广东欧珀移动通信有限公司 一种显示屏壁纸亮度的自动控制方法
US20150029206A1 (en) * 2013-07-23 2015-01-29 Samsung Electronics Co., Ltd. Method and electronic device for displaying wallpaper, and computer readable recording medium
CN105988845A (zh) * 2015-03-02 2016-10-05 小米科技有限责任公司 生成壁纸的方法及装置
CN110633117A (zh) * 2018-06-22 2019-12-31 阿里巴巴集团控股有限公司 一种数据处理方法、装置、电子设备和可读介质
CN109472839A (zh) * 2018-10-26 2019-03-15 Oppo广东移动通信有限公司 图像生成方法和装置、计算机设备和计算机存储介质
CN111984164A (zh) * 2020-08-31 2020-11-24 Oppo广东移动通信有限公司 壁纸生成方法、装置、终端及存储介质

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695634A (zh) * 2022-09-09 2023-02-03 荣耀终端有限公司 壁纸显示的方法、电子设备及存储介质
CN115695634B (zh) * 2022-09-09 2023-11-24 荣耀终端有限公司 壁纸显示的方法、电子设备及存储介质

Also Published As

Publication number Publication date
CN111984164B (zh) 2023-05-02
CN111984164A (zh) 2020-11-24

Similar Documents

Publication Publication Date Title
WO2022042180A1 (zh) 壁纸生成方法、装置、终端及存储介质
CN102156999B (zh) 一种用户界面的生成方法和装置
JP4398726B2 (ja) 1つまたは複数の画像の自動フレーム選択およびレイアウトならびにフレームによって境界付けされた画像の生成
CN104917666B (zh) 一种制作个性化动态表情的方法和装置
US5469536A (en) Image editing system including masking capability
CN110198437B (zh) 图像的处理方法、装置、存储介质和电子装置
CN105892839B (zh) 一种基于即时通信工具的截图处理方法和装置
US10079962B2 (en) Systems and methods for separating a digital image using a specified colour palette into a sequence of separation plates used in a multi-stage printing process to produce an acceptable facsimile of the digital image
US10078436B2 (en) User interface adjusting method and apparatus using the same
WO2021078036A1 (zh) 图像处理方法及装置
US9934560B2 (en) User sliders for simplified adjustment of images
WO2015106651A1 (zh) 一种更换界面色彩的系统及其实现方法
CN107943924A (zh) 一种自动生成网页主题的方法、存储介质和电子设备
CN106530309A (zh) 一种基于移动平台的视频抠图方法及系统
CN111164563A (zh) 一种智能终端的图像色彩调节系统及色彩调节方法
US9092889B2 (en) Image processing apparatus, image processing method, and program storage medium
US20240233209A9 (en) Image generation method and apparatus, electronic device, and readable storage medium
CN107436774A (zh) 一种锁屏界面的配置、显示方法和装置
JP6614644B2 (ja) 写真撮影遊戯装置、写真シール作成装置、写真撮影遊戯装置の制御方法、及び写真撮影遊戯装置の制御プログラム
JP2007087123A (ja) 画像補正方法および装置並びにプログラム
CN112991248A (zh) 图像处理方法及装置
CN116055800A (zh) 一种移动端获得定制背景实时舞蹈视频的方法
US8170380B1 (en) Method and apparatus for importing, exporting and determining an initial state for files having multiple layers
CN112087662B (zh) 一种移动端生成舞队组合舞蹈视频的方法及一种移动端
CN112087663B (zh) 一种移动端生成明暗环境适配舞蹈视频的方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21860020

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21860020

Country of ref document: EP

Kind code of ref document: A1