[go: up one dir, main page]

CN110673904B - Theme color processing, display page generation method, device and equipment - Google Patents

Theme color processing, display page generation method, device and equipment Download PDF

Info

Publication number
CN110673904B
CN110673904B CN201810713724.9A CN201810713724A CN110673904B CN 110673904 B CN110673904 B CN 110673904B CN 201810713724 A CN201810713724 A CN 201810713724A CN 110673904 B CN110673904 B CN 110673904B
Authority
CN
China
Prior art keywords
color
image
background
theme
displaying
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.)
Active
Application number
CN201810713724.9A
Other languages
Chinese (zh)
Other versions
CN110673904A (en
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.)
Taobao China Software Co Ltd
Original Assignee
Taobao China Software 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 Taobao China Software Co Ltd filed Critical Taobao China Software Co Ltd
Priority to CN201810713724.9A priority Critical patent/CN110673904B/en
Publication of CN110673904A publication Critical patent/CN110673904A/en
Application granted granted Critical
Publication of CN110673904B publication Critical patent/CN110673904B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Electronic shopping [e-shopping] utilising user interfaces specially adapted for shopping
    • G06Q30/0643Electronic shopping [e-shopping] utilising user interfaces specially adapted for shopping graphically representing goods, e.g. 3D product representation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/40Filling a planar surface by adding surface attributes, e.g. colour or texture

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Image Processing (AREA)
  • Processing Or Creating Images (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a theme color processing method, which comprises the following steps: determining an image to be displayed; obtaining a theme color of the image; and obtaining background ground colors of a display page for displaying the image according to a preset color gamut threshold and the theme colors, wherein the preset color gamut threshold is used for judging the qualified color gamut range of the hue of the theme colors. The problem of color configuration inefficiency in image display of merchants or commodities is solved.

Description

主题色彩处理、展示页面生成的方法、装置及设备Theme color processing, display page generation method, device and equipment

技术领域technical field

本申请涉及图像处理技术领域,具体涉及一种主题色彩处理方法、装置、电子设备及存储设备。本申请同时涉及一种展示页面生成方法、装置、电子设备及存储设备。The present application relates to the technical field of image processing, in particular to a theme color processing method, device, electronic equipment and storage device. The present application also relates to a display page generation method, device, electronic equipment and storage equipment.

背景技术Background technique

电商平台对商家或商品的视觉表达是一种展现商家或商品的品牌调性的重要手段,其中,在页面上展示商家或商品时的主题色彩的运用,是能够带给消费者较强品牌体感的视觉表达的重要因素。例如在促销、活动等展示页面中,对于要展示的商家或商品的图像和展示商家或商品的图像的页面,进行图像主题色彩和展示页面背景底色的协调性以及整体性设计,可以使得展示页面能烘托出所展示的商家或商品独有的品牌调性。The visual expression of merchants or products on the e-commerce platform is an important means to show the brand tonality of merchants or products. Among them, the use of theme colors when displaying merchants or products on the page can bring consumers a stronger brand An important factor in the visual expression of somatosensory. For example, in the display pages of promotions and events, for the image of the merchant or product to be displayed and the page displaying the image of the merchant or product, the coordination and overall design of the theme color of the image and the background color of the display page can make the display The page can highlight the unique brand tone of the merchants or products displayed.

现有技术中,一般采用的方案是:按照设计师给定的不同展示图像的主题色彩替换展示页面中不同展示图像对应的背景底色,但是根据设计师给定的主题色彩配置展示页面的背景底色,存在色彩配置低效的问题。In the prior art, the generally adopted solution is: replace the background background color corresponding to different display images in the display page according to the theme colors of different display images given by the designer, but configure the background of the display page according to the theme colors given by the designer Background color, there is a problem of inefficient color configuration.

发明内容Contents of the invention

本申请提供一种主题色彩处理方法,以解决商家或商品的图像展示中存在色彩配置低效的问题。The present application provides a theme color processing method to solve the problem of inefficient color configuration in the image display of merchants or commodities.

本申请提供一种主题色彩处理方法,包括:This application provides a theme color processing method, including:

确定需要展示的图像;Determine the images to be displayed;

获得所述图像的主题色彩;obtaining the theme color of the image;

根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色,其中,所述预定色域阈值用于判断主题色彩的色相的合格色域范围。According to the predetermined color gamut threshold and the theme color, the background background color of the display page used to display the image is obtained, wherein the predetermined color gamut threshold is used to determine the qualified color gamut range of the hue of the theme color.

可选的,所述获得所述图像的主题色彩,包括:Optionally, the obtaining the theme color of the image includes:

根据所述图像中不同色彩的占比面积,确定所述图像的主题色彩。The theme color of the image is determined according to the occupied areas of different colors in the image.

可选的,所述根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色,包括:Optionally, the obtaining the background color of the display page used to display the image according to the preset color gamut threshold and the theme color includes:

根据预定色域阈值,确定所述主题色彩的合格色域范围;Determine a qualified color gamut range of the theme color according to a predetermined color gamut threshold;

在所述合格色域范围内编辑所述主题色彩,得到所述背景底色。Editing the theme color within the qualified color gamut to obtain the background color.

可选的,所述在所述合格色域范围内编辑所述主题色彩,包括:Optionally, the editing the theme color within the qualified color gamut includes:

在所述合格色域范围内调整所述主题色彩的色相;和/或,adjusting the hue of the theme color within the qualified color gamut; and/or,

在所述合格色域范围内调整所述主题色彩的饱和度;和/或,adjusting the saturation of the subject color within the qualified color gamut; and/or,

在所述合格色域范围内调整所述主题色彩的明度。Adjust the lightness of the theme color within the range of the qualified color gamut.

可选的,所述根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色,包括:Optionally, the obtaining the background color of the display page used to display the image according to the preset color gamut threshold and the theme color includes:

根据预定色域阈值,确定所述主题色彩的合格色域范围;Determine a qualified color gamut range of the theme color according to a predetermined color gamut threshold;

确定在所述合格色域范围内的主题色彩中的最优主题色彩;determining an optimal theme color among theme colors within the qualified color gamut;

将所述最优主题色彩作为所述背景底色。The optimal theme color is used as the background color.

可选的,所述主题色彩处理方法还包括:Optionally, the theme color processing method also includes:

获得用户配置的第二候选背景底色;Obtain the second candidate background color configured by the user;

所述根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色,包括:The obtaining the background background color of the display page used to display the image according to the predetermined color gamut threshold and the theme color includes:

根据预定色域阈值和所述主题色彩,得到第一候选背景底色;Obtaining a first candidate background color according to a predetermined color gamut threshold and the theme color;

根据所述第一候选背景底色和所述第二候选背景底色,得到用于展示所述图像的展示页面的背景底色。According to the first candidate background color and the second candidate background color, the background background color of the display page used to display the image is obtained.

可选的,所述根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色,包括:Optionally, the obtaining the background color of the display page used to display the image according to the preset color gamut threshold and the theme color includes:

根据预定色域阈值,确定所述主题色彩的合格色域范围;Determine a qualified color gamut range of the theme color according to a predetermined color gamut threshold;

在所述合格色域范围内编辑所述主题色彩,得到候选背景底色;Editing the theme color within the qualified color gamut to obtain a candidate background color;

根据商品的品牌特征从所述候选背景底色中选择一种候选背景底色,作为用于展示所述图像的展示页面的背景底色。A candidate background color is selected from the candidate background colors according to the brand characteristics of the commodity as the background color of the display page for displaying the image.

可选的,所述主题色彩处理方法还包括:Optionally, the theme color processing method also includes:

在页面上使用所述背景底色展示所述需要展示的图像。The image to be displayed is displayed on the page using the background color.

可选的,按照下述至少一种方式在页面上使用所述背景底色展示所述需要展示的图像:Optionally, use the background color to display the image to be displayed on the page in at least one of the following ways:

使用所述背景底色作为纯色背景展示所述需要展示的图像;using the background background color as a solid color background to display the image to be displayed;

使用所述背景底色作为带纹样的背景色和/或纹样配色展示所述需要展示的图像;using the background background color as the patterned background color and/or pattern color matching to display the image to be displayed;

使用所述背景底色作为渐变遮罩或纯色遮罩展示所述需要展示的图像;using the background color as a gradient mask or a solid color mask to display the image to be displayed;

使用所述背景底色作为所述需要展示的图像的行动点色彩,展示所述需要展示的图像以及所述图像的行动点,所述行动点是页面上用于交互的元素;Using the background background color as the color of the action point of the image to be displayed, displaying the image to be displayed and the action point of the image, the action point is an element used for interaction on the page;

使用所述背景底色作为所述需要展示的图像的信息点色彩,展示所述需要展示的图像以及所述图像的信息点,所述信息点是页面上可阅读的元素。Using the background color as the color of the information point of the image to be displayed, the image to be displayed and the information point of the image are displayed, and the information point is a readable element on the page.

可选的,所述在页面上使用所述背景底色展示所述需要展示的图像,包括:Optionally, displaying the image to be displayed using the background color on the page includes:

将所述需要展示的图像作为顶层图像进行展示,应用所述背景底色设置所述顶层图像的区域底色的纯色与透明度;和/或,Displaying the image to be displayed as a top-level image, applying the background color to set the solid color and transparency of the area background color of the top-level image; and/or,

将所述需要展示的图像作为顶层图像进行展示,应用所述背景底色设置所述顶层图像的背景的图案色彩;和/或,Display the image to be displayed as a top-level image, and set the pattern color of the background of the top-level image by applying the background color; and/or,

为所述需要展示的图像设置遮罩层,应用所述背景底色设置所述遮罩层的渐变方式。A mask layer is set for the image to be displayed, and the gradient mode of the mask layer is set by applying the background color.

可选的,所述合格色域范围包括所述色相的明度的合理范围和/或饱和度的合理范围。Optionally, the qualified color gamut range includes a reasonable range of lightness and/or a reasonable range of saturation of the hue.

本申请还提供一种展示页面生成方法,包括:The present application also provides a display page generation method, including:

确定需要展示的图像;Determine the images to be displayed;

根据所述图像的色彩特征,确定用于展示所述图像的展示页面的背景底色;According to the color characteristics of the image, determine the background background color of the display page used to display the image;

根据所述背景底色生成所述展示页面。The display page is generated according to the background color.

可选的,所述根据所述图像的色彩特征,确定用于展示所述图像的展示页面的背景底色,包括:Optionally, the determining the background color of the display page used to display the image according to the color characteristics of the image includes:

根据所述图像的色彩特征,识别出所述图像的至少一种主题色彩,作为所述展示页面的候选背景底色;According to the color characteristics of the image, at least one theme color of the image is identified as a candidate background color of the display page;

根据商品的品牌特征,从所述候选背景底色中选择一种候选背景底色,作为所述展示页面的背景底色。According to the brand characteristics of the product, a candidate background color is selected from the candidate background colors as the background color of the display page.

可选的,所述根据所述图像的色彩特征,识别出所述图像的至少一种主题色彩,包括:Optionally, the identifying at least one theme color of the image according to the color features of the image includes:

若所述图像是底色为白色的图像,则根据色彩聚合程度,识别出至少一种主题色彩;和/或,If the image is an image with a white base color, at least one theme color is identified according to the degree of color aggregation; and/or,

若所述图像是色彩均匀或色彩分散的图像,则根据图像中色彩的占比面积,识别出至少一种主题色彩。If the image is an image with uniform or scattered colors, at least one theme color is identified according to the proportion of the colors in the image.

可选的,所述展示页面生成方法还包括:获得用户配置的页面内容;所述根据所述背景底色生成所述展示页面,包括:Optionally, the display page generation method further includes: obtaining user-configured page content; and generating the display page according to the background color includes:

获得所述背景底色;Obtain the background color;

使用所述背景底色和所述用户配置的页面内容生成所述展示页面。The display page is generated by using the background color and the page content configured by the user.

可选的,所述展示页面生成方法还包括:客户端主动抓取页面内容;所述根据所述背景底色生成所述展示页面,包括:Optionally, the display page generation method further includes: the client actively grabs page content; generating the display page according to the background color includes:

获得所述背景底色;Obtain the background color;

使用所述背景底色和所述客户端主动抓取的页面内容生成所述展示页面。The display page is generated by using the background color and the page content actively captured by the client.

可选的,所述根据所述背景底色生成所述展示页面,包括:Optionally, the generating the display page according to the background color includes:

在所述展示页面上根据场景氛围展示所述图像。The image is displayed on the display page according to the atmosphere of the scene.

可选的,所述在所述展示页面上根据场景氛围展示所述图像,包括按照下述至少一种方式在页面上使用所述背景底色展示所述需要展示的图像:Optionally, the displaying the image according to the scene atmosphere on the display page includes displaying the image to be displayed on the page using the background color in at least one of the following ways:

使用所述背景底色作为纯色背景展示所述图像;displaying the image using the background base color as a solid background;

使用所述背景底色作为带纹样的背景色和/或纹样配色展示所述图像;displaying the image using the background base color as the patterned background color and/or patterned color matching;

使用所述背景底色作为渐变遮罩或纯色遮罩展示所述图像;displaying the image using the background base color as a gradient mask or a solid color mask;

使用所述背景底色作为所述需要展示的图像的行动点色彩,展示所述图像以及所述图像的行动点,所述行动点是页面上用于交互的元素;Using the background color as the color of the action point of the image to be displayed, displaying the image and the action point of the image, the action point is an element used for interaction on the page;

使用所述背景底色作为所述需要展示的图像的信息点色彩,展示所述图像以及所述图像的信息点,所述信息点是页面上可阅读的元素。Using the background color as the color of the information point of the image to be displayed, the image and the information point of the image are displayed, and the information point is a readable element on the page.

可选的,所述在所述展示页面上根据场景氛围展示所述图像,包括:Optionally, the displaying the image according to the atmosphere of the scene on the display page includes:

将所述图像作为顶层图像进行展示,应用所述背景底色设置所述顶层图像的区域底色的纯色与透明度;和/或,Displaying the image as a top-level image, applying the background color to set the solid color and transparency of the area background color of the top-level image; and/or,

将所述图像作为顶层图像进行展示,应用所述背景底色设置所述顶层图像的背景的图案色彩;和/或,Displaying the image as a top-level image, applying the background background color to set the pattern color of the background of the top-level image; and/or,

给所述图像设置遮罩层,应用所述背景底色设置所述遮罩层的渐变方式。A mask layer is set for the image, and a gradient mode of the mask layer is set by applying the background color.

本申请还提供一种主题色彩处理装置,包括:The present application also provides a theme color processing device, including:

图像确定单元,用于确定需要展示的图像;an image determining unit, configured to determine an image to be displayed;

主题色彩获取单元,用于获得所述图像的主题色彩;a theme color acquisition unit, configured to acquire the theme color of the image;

背景底色确定单元,用于根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色,其中,所述预定色域阈值用于判断主题色彩的色相的合格色域范围。A background background color determining unit, configured to obtain the background background color of the display page for displaying the image according to a predetermined color gamut threshold and the theme color, wherein the predetermined color gamut threshold is used to determine the hue of the theme color Qualified color gamut range.

本申请还提供一种展示页面生成装置,包括:The present application also provides a device for generating display pages, including:

图像确定单元,用于确定需要展示的图像;an image determining unit, configured to determine an image to be displayed;

背景底色确定单元,用于根据所述图像的色彩特征,确定用于展示所述图像的展示页面的背景底色;A background background color determination unit, configured to determine the background background color of the display page used to display the image according to the color characteristics of the image;

页面生成单元,用于根据所述背景底色生成所述展示页面。A page generating unit, configured to generate the display page according to the background color.

本申请还提供一种电子设备,包括:The present application also provides an electronic device, including:

存储器,以及处理器;memory, and processor;

所述存储器用于存储计算机可执行指令,所述处理器用于执行所述计算机可执行指令:The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions:

确定需要展示的图像;Determine the images to be displayed;

获得所述图像的主题色彩;obtaining the theme color of the image;

根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色,其中,所述预定色域阈值用于判断主题色彩的色相的合格色域范围。According to the predetermined color gamut threshold and the theme color, the background background color of the display page used to display the image is obtained, wherein the predetermined color gamut threshold is used to determine the qualified color gamut range of the hue of the theme color.

本申请还提供一种电子设备,包括:The present application also provides an electronic device, including:

存储器,以及处理器;memory, and processor;

所述存储器用于存储计算机可执行指令,所述处理器用于执行所述计算机可执行指令:The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions:

确定需要展示的图像;Determine the images to be displayed;

根据所述图像的色彩特征,确定用于展示所述图像的展示页面的背景底色;According to the color characteristics of the image, determine the background background color of the display page used to display the image;

根据所述背景底色生成所述展示页面。The display page is generated according to the background color.

本申请还提供一种存储设备,存储有指令,所述指令能够被处理器加载并执行以下步骤:The present application also provides a storage device, which stores instructions, and the instructions can be loaded by a processor and perform the following steps:

确定需要展示的图像;Determine the images to be displayed;

获得所述图像的主题色彩;obtaining the theme color of the image;

根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色,其中,所述预定色域阈值用于判断主题色彩的色相的合格色域范围。According to the predetermined color gamut threshold and the theme color, the background background color of the display page used to display the image is obtained, wherein the predetermined color gamut threshold is used to determine the qualified color gamut range of the hue of the theme color.

本申请还提供一种存储设备,存储有指令,所述指令能够被处理器加载并执行以下步骤:The present application also provides a storage device, which stores instructions, and the instructions can be loaded by a processor and perform the following steps:

确定需要展示的图像;Determine the images to be displayed;

根据所述图像的色彩特征,确定用于展示所述图像的展示页面的背景底色;According to the color characteristics of the image, determine the background background color of the display page used to display the image;

根据所述背景底色生成所述展示页面。The display page is generated according to the background color.

与现有技术相比,本申请具有以下优点:Compared with the prior art, the present application has the following advantages:

本申请提供的主题色彩处理方法,通过获得需要展示的图像的主题色彩,根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色,使得展示页面的背景底色能灵活的匹配展示的图像,从而解决了商家或商品的图像展示中存在色彩配置低效的问题。The theme color processing method provided in this application obtains the theme color of the image to be displayed, and obtains the background background color of the display page used to display the image according to the predetermined color gamut threshold and the theme color, so that the background of the display page The background color can flexibly match the displayed image, thereby solving the problem of inefficient color configuration in the image display of merchants or products.

本申请提供的展示页面生成方法,通过根据需要展示的图像的色彩特征确定用于展示所述图像的展示页面的背景底色,使用所述背景底色生成展示页面,这种方式生成的展示页面与在展示页面中展示的图像更为协调,得到的视觉效果能更好的表达出商家或商品的独有的品牌调性。The display page generation method provided by this application determines the background color of the display page used to display the image according to the color characteristics of the image to be displayed, and uses the background color to generate the display page. The display page generated in this way It is more coordinated with the image displayed on the display page, and the obtained visual effect can better express the unique brand tone of the merchant or product.

附图说明Description of drawings

图1是本申请第一实施例提供的主题色彩处理方法的处理流程图;FIG. 1 is a processing flowchart of a theme color processing method provided in the first embodiment of the present application;

图2是本申请第一实施例的主题色彩的合格色域范围的示意图;Fig. 2 is a schematic diagram of the qualified color gamut range of the theme color in the first embodiment of the present application;

图3是本申请第一实施例的使用背景底色展示图像的示意图;Fig. 3 is a schematic diagram of displaying an image using a background color in the first embodiment of the present application;

图4是本申请第二实施例提供的展示页面生成方法的处理流程图;FIG. 4 is a processing flowchart of a method for generating a presentation page provided by the second embodiment of the present application;

图5是本申请第二实施例的确定背景底色的例子的示意图;Fig. 5 is a schematic diagram of an example of determining the background color of the second embodiment of the present application;

图6是本申请第三实施例提供的主题色彩处理装置的示意图;Fig. 6 is a schematic diagram of a theme color processing device provided by a third embodiment of the present application;

图7是本申请第四实施例提供的展示页面生成装置的示意图;FIG. 7 is a schematic diagram of a display page generation device provided by a fourth embodiment of the present application;

图8是本申请第五实施例提供的电子设备的示意图。FIG. 8 is a schematic diagram of an electronic device provided by a fifth embodiment of the present application.

具体实施方式Detailed ways

在下面的描述中阐述了很多具体细节以便于充分理解本申请。但是本申请能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本申请内涵的情况下做类似推广,因此本申请不受下面公开的具体实施的限制。In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

本申请第一实施例提供一种主题色彩处理方法。The first embodiment of the present application provides a theme color processing method.

以下结合图1至图3对本申请第一实施例提供的主题色彩处理方法进行说明。The theme color processing method provided by the first embodiment of the present application will be described below with reference to FIG. 1 to FIG. 3 .

图1所示的主题色彩处理方法,包括:步骤S101至步骤S103。The theme color processing method shown in FIG. 1 includes: Step S101 to Step S103.

步骤S101,确定需要展示的图像。Step S101, determining images to be displayed.

目前,商家或商品品牌一般要求电商平台除了能展示出品牌的基础信息外,也需要电商平台的展示页面能够通过视觉表达出商品的品牌力或品牌调性。色彩是重要的视觉表达要素,其中,作为要展示的图像的核心元素的主题色彩在展示页面的合适运用更是能够带给消费者较强品牌体感。At present, merchants or product brands generally require e-commerce platforms to not only display the basic information of the brand, but also require the display page of the e-commerce platform to be able to visually express the brand power or brand tonality of the product. Color is an important element of visual expression. Among them, the proper use of the theme color, which is the core element of the image to be displayed, on the display page can bring consumers a strong sense of the brand.

本申请实施例提供的主题色彩处理方法,通过获得需要展示的图像的主题色彩,根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色。在确定展示页面的背景底色后,可以进一步按照不同的场景氛围配置色彩以展示所述图像。The theme color processing method provided in the embodiment of the present application obtains the theme color of the image to be displayed, and obtains the background background color of the display page used to display the image according to the preset color gamut threshold and the theme color. After determining the background color of the display page, the image can be further configured according to different scene atmospheres to display the image.

本步骤是确定需要展示的图像。This step is to determine the images to be displayed.

所述需要展示的图像可以包括至少下述任一类图像:图片、视频、标志。这些图像素材一般由商家或商品品牌方提供。例如,A商品的品牌方将需要展示的A商品的图片素材上传或配置到电商平台。The images to be displayed may include at least any of the following types of images: pictures, videos, and logos. These image materials are generally provided by merchants or product brands. For example, the brand side of product A uploads or configures the image material of product A to be displayed on the e-commerce platform.

步骤S102,获得所述图像的主题色彩。Step S102, obtaining the theme color of the image.

本步骤是获得需要展示的图像的主题色彩。This step is to obtain the theme color of the image to be displayed.

本申请实施例中,使用HSB色彩模式来标识主题色彩。所谓HSB(Hues,Saturation,Brightness,简称为HSB),也称为HSV(Hues,Saturation,Value,简称为HSV),是表示颜色的一种色彩模式,其中H(Hues)表示色相,若用0~360°表示标准色轮,则色相是按位置度量色彩,例如可以将标准色轮氛围7段区间,以红橙黄绿青蓝紫的颜色名称标识每个色相区间;S(Saturation)表示色彩的饱和度,即色彩的纯度,取值范围0~100%,白色、黑色和灰色没有饱和度,在最大饱和度时,每一色相具有最纯的色光;B(Brightness,或V,Value)表示色彩的亮度,亮度也称为明度,取值范围0~100%,取值0时为黑色,最大亮度是色彩最鲜明的状态。当S和B的数值越高时,页面色彩越强烈、鲜艳。In this embodiment of the application, the HSB color mode is used to identify the theme color. The so-called HSB (Hues, Saturation, Brightness, referred to as HSB), also known as HSV (Hues, Saturation, Value, referred to as HSV), is a color mode that represents color, where H (Hues) represents hue, if 0 ~360° means the standard color wheel, and the hue measures the color according to the position. For example, you can use the color name of red, orange, yellow, green, blue, blue and purple to identify each hue range in the standard color wheel with 7 sections of atmosphere; S (Saturation) means the color. Saturation, that is, the purity of color, the value range is 0 to 100%. White, black and gray have no saturation. At the maximum saturation, each hue has the purest color light; B (Brightness, or V, Value) means The brightness of the color, also known as lightness, ranges from 0 to 100%. When the value is 0, it is black, and the maximum brightness is the most vivid state of the color. When the value of S and B is higher, the color of the page is more intense and vivid.

本申请实施例中,根据所述图像中不同色彩的占比面积,确定所述图像的主题色彩。例如,排除白色外,按照占比面积大小取出占比面积在前3位的色彩作为主题色彩。具体实施时,可以基于图像识色算法根据所述图像识别出一个或多个主题色彩,也可以接受用户根据对图像的主观感知自主配置的色彩作为主题色彩。In the embodiment of the present application, the theme color of the image is determined according to the proportions of different colors in the image. For example, except for white, take out the top 3 colors according to the proportion area as the theme color. During specific implementation, one or more theme colors can be identified based on the image based on the image color recognition algorithm, or a color independently configured by the user according to the subjective perception of the image can be accepted as the theme color.

步骤S103,根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色,其中,所述预定色域阈值用于判断主题色彩的色相的合格色域范围。Step S103, obtain the background color of the display page for displaying the image according to the predetermined color gamut threshold and the theme color, wherein the predetermined color gamut threshold is used to judge the qualified color gamut range of the hue of the theme color.

本步骤是根据预定色域阈值和步骤S102得到的主题色彩确定用于展示所述图像的展示页面的背景底色。In this step, the background color of the display page used to display the image is determined according to the preset color gamut threshold and the theme color obtained in step S102.

所述展示页面可以是展示所述图像的整个页面,也可以是展示图像的单个模块,例如首焦轮播区域、品牌商赞助模块区域、信息点或行动点;相应的,背景底色为整个页面的背景底色,或者,背景底色为展示图像的单个模块的区域底色,例如首焦轮播区域底色、品牌商赞助模块区域底色、信息点区域底色或行动点的行动按钮底色。The display page can be the entire page displaying the image, or a single module displaying the image, such as the first-focus carousel area, brand sponsorship module area, information point or action point; correspondingly, the background background color is the entire The background color of the page, or, the background color is the area background color of a single module that displays the image, such as the background color of the first-focus carousel area, the area background color of the brand sponsorship module, the area background color of the information point, or the action button of the action point background color.

所述预定色域阈值可以是设计师根据视觉主观感知给出的不同色相的色域阈值,具体的,设计师根据不同色相的特殊性,给出不同色相的合理的亮度的范围和饱和度的范围。由于人眼对于不同色相的明度的感知不同,因此不同色相的色域阈值不尽相同。本申请实施例中,通过所述预定色域阈值可以判断主题色彩的色相的合格色域范围。所述合格色域范围包括所述色相的明度的合理范围和/或饱和度的合理范围。图2是本实施例中主题色彩的合格色域范围的一种示例,其中,图像201是需要识别主题色彩的图像,从图像201中识别出的主题色彩可以涵盖所有色相(H),将色相划分为7个色相区间,对应颜色为红、紫、蓝、青、绿、黄、橙;x轴(横轴)表示不同色相的饱和度,y轴(纵轴)表示不同色相的亮度(也称为明度);202至208分别对应表示红、紫、蓝、青、绿、黄、橙这七种色彩的色域阈值限定的可取区域,例如202中的曲线区分开红色的不可取区域和可取区域,由于黄色(207)的亮度的感知度最高,所以207指示的黄色的亮度的上限值比其他色相的上限值要低。The predetermined color gamut threshold may be the color gamut threshold of different hues given by the designer according to visual subjective perception. Specifically, the designer gives a reasonable range of brightness and saturation of different hues according to the particularity of different hues. scope. Since the human eye perceives the lightness of different hues differently, the color gamut thresholds of different hues are different. In the embodiment of the present application, the qualified color gamut range of the hue of the theme color can be judged by the predetermined color gamut threshold. The qualified color gamut range includes a reasonable range of lightness and/or a reasonable range of saturation of the hue. Fig. 2 is an example of the qualified color gamut range of theme color in this embodiment, wherein, image 201 is the image that needs to identify theme color, the theme color identified from image 201 can cover all hues (H), and hue It is divided into 7 hue intervals, and the corresponding colors are red, purple, blue, blue, green, yellow, and orange; the x-axis (horizontal axis) represents the saturation of different hues, and the y-axis (vertical axis) represents the brightness of different hues (also referred to as lightness); 202 to 208 respectively correspond to the desirable areas defined by the color gamut thresholds of the seven colors of red, purple, blue, blue, green, yellow, and orange. For example, the curve in 202 distinguishes the undesirable areas of red and In the desirable area, since yellow (207) has the highest brightness perception, the upper limit value of the brightness of yellow indicated by 207 is lower than the upper limit values of other hues.

本申请实施例中,预定色域阈值可以是基于HSB色彩模式设定的阈值,也可以是基于表示颜色的十六进制颜色码或RGB值设定的阈值。所述十六进制颜色码,是以“#”开头的6位十六进制数值表示一种颜色。6位数字分为3组,每组两位,依次表示红、绿、蓝三种颜色的强度。所述RGB值,是以色彩中红绿蓝三原色强度数值表示的颜色模式,R代表Red(红色),G代表Green(绿色),B代表Blue(蓝色)。从极小值0到最大值255,当RGB都在最低值被显示的颜色将是黑色,当RGB都在最大值被显示的颜色将是白色。如果实际部署的方法中基于HSB色彩模式设定预定色域阈值,而背景底色的取色为RGB,或者,预定色域阈值,则需要通过公式在HSB色彩模式和RGB之间进行转换,使得能够使用预定色域阈值调整主题色彩或者判断主题色彩是否落入合格色域范围。In this embodiment of the present application, the predetermined color gamut threshold may be a threshold set based on the HSB color mode, or a threshold set based on a hexadecimal color code or an RGB value representing a color. The hexadecimal color code is a 6-digit hexadecimal value beginning with "#" to represent a color. The 6-digit number is divided into 3 groups, each group has 2 digits, which successively represent the intensity of the three colors of red, green and blue. The RGB value is a color mode represented by the intensity values of the three primary colors of red, green and blue in the color, R stands for Red (red), G stands for Green (green), and B stands for Blue (blue). From the minimum value of 0 to the maximum value of 255, the color displayed when RGB is at the lowest value will be black, and the color displayed when RGB is at the maximum value will be white. If the actual deployment method sets the predetermined color gamut threshold based on the HSB color mode, and the background color is RGB, or the predetermined color gamut threshold, it is necessary to convert between the HSB color mode and RGB through the formula, so that It is possible to adjust the theme color or determine whether the theme color falls within the qualified color gamut range using a predetermined color gamut threshold.

具体到本申请实施例的一个具体实施方式,采用下述处理根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色:Specific to a specific implementation of the embodiment of the present application, the following processing is used to obtain the background background color of the display page used to display the image according to the predetermined color gamut threshold and the theme color:

根据预定色域阈值,确定所述主题色彩的合格色域范围;Determine a qualified color gamut range of the theme color according to a predetermined color gamut threshold;

在所述合格色域范围内编辑所述主题色彩,得到所述背景底色。Editing the theme color within the qualified color gamut to obtain the background color.

其中,具体采用下述方式在所述合格色域范围内编辑所述主题色彩:Wherein, the theme color is edited within the qualified color gamut in the following manner:

在所述合格色域范围内调整所述主题色彩的色相;和/或,adjusting the hue of the theme color within the qualified color gamut; and/or,

在所述合格色域范围内调整所述主题色彩的饱和度;和/或,adjusting the saturation of the subject color within the qualified color gamut; and/or,

在所述合格色域范围内调整所述主题色彩的明度。Adjust the lightness of the theme color within the range of the qualified color gamut.

将主题色彩限制在合格色域范围内,使得根据所取到的主题颜色确定的背景底色不能在视觉感官上过于抢眼甚至刺眼,从而促使最终确定的背景底色能达到烘托页面或展示的图像或页面顶层信息的目的,例如烘托页面展示的文字信息、图片、视频信息,而不至于影响阅读体验。具体的,将主题色彩限制在合格色域范围内可以是剔除主题色彩中最大饱和度和/或最大明度的色相,因为这些色相非常艳丽、刺眼,不理想的取色。Limit the theme color within the qualified color gamut, so that the background color determined according to the acquired theme color cannot be too eye-catching or even dazzling in the visual sense, so that the final background color can achieve the effect of contrasting the page or the displayed image Or the purpose of the top-level information on the page, such as to enhance the text information, pictures, and video information displayed on the page, without affecting the reading experience. Specifically, limiting the theme color within the qualified color gamut may be to eliminate the hues with the maximum saturation and/or maximum lightness in the theme color, because these hues are very bright and dazzling, which is not ideal for color selection.

本申请实施例的一个优选实施方式,包括采用下述处理根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色:A preferred implementation of the embodiment of the present application includes adopting the following processing to obtain the background background color of the display page used to display the image according to the predetermined color gamut threshold and the theme color:

根据预定色域阈值,确定所述主题色彩的合格色域范围;Determine a qualified color gamut range of the theme color according to a predetermined color gamut threshold;

确定在所述合格色域范围内的主题色彩中的最优主题色彩;determining an optimal theme color among theme colors within the qualified color gamut;

将所述最优主题色彩作为所述背景底色。The optimal theme color is used as the background color.

需要说明的是,可以先在合格色域范围内调整步骤S102获得的主题色彩,得到合格色域范围内的主题色彩,再确定其中最优主题色彩作为背景底色;也可以先确定步骤S102获得的主题色彩中的最优主题色彩,再在合格色域范围内调整最优主题色彩得到限制在合格色域范围内的最优主题色彩,作为所述背景底色。例如,针对图像A步骤S102中取出的主题颜色有墨绿色、米色、黄色、银色,可以选择占比面积最大的米色作为最终确定的主题色彩,对这种色彩使用预定色域阈值确定其在合格色域范围内,则可以确定该主题色彩米色作为背景底色。It should be noted that the theme color obtained in step S102 can be adjusted within the qualified color gamut to obtain the theme color within the qualified color gamut, and then the optimal theme color can be determined as the background color; or the theme color obtained in step S102 can be determined first The optimal theme color among the theme colors, and then adjust the optimal theme color within the qualified color gamut to obtain the optimal theme color limited within the qualified color gamut, as the background background color. For example, for the theme colors taken out in step S102 of image A, there are dark green, beige, yellow, and silver, and the beige color with the largest area can be selected as the final theme color, and a predetermined color gamut threshold is used for this color to determine whether it is qualified. If it is within the color gamut, the theme color beige can be determined as the background color.

本申请实施例中,还可以进行下述处理得到用于展示所述图像的展示页面的背景底色,包括:In the embodiment of the present application, the following processing can also be performed to obtain the background background color of the display page used to display the image, including:

获得用户配置的第二候选背景底色;Obtain the second candidate background color configured by the user;

所述根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色,包括:The obtaining the background background color of the display page used to display the image according to the predetermined color gamut threshold and the theme color includes:

根据预定色域阈值和所述主题色彩,得到第一候选背景底色;Obtaining a first candidate background color according to a predetermined color gamut threshold and the theme color;

根据所述第一候选背景底色和所述第二候选背景底色,得到用于展示所述图像的展示页面的背景底色。According to the first candidate background color and the second candidate background color, the background background color of the display page used to display the image is obtained.

例如,部署颜色输入模块,接收用户输入的十六进制颜色码或RGB值;当用户上传需要展示的图像后,基于图像识色算法根据所述图像生成至少一种主题色彩后,用户可以从所述至少一种主题色彩中选择一种主题色彩,也可以使用用户自主输入的色彩作为主题色彩。对于用户输入的色彩,也可以使用预定色域阈值确定用户输入的色彩是否落入合格色域范围,若不在合格色域范围,则指示用户调整到合格色域范围,接收用户输入的合格色域范围内的色彩作为背景底色。For example, a color input module is deployed to receive the hexadecimal color code or RGB value input by the user; after the user uploads the image to be displayed, at least one theme color is generated based on the image color recognition algorithm based on the image, and the user can select from One of the theme colors may be selected from the at least one theme color, or a color independently input by the user may be used as the theme color. For the color input by the user, a predetermined color gamut threshold can also be used to determine whether the color input by the user falls within the qualified color gamut range, if not within the qualified color gamut range, instruct the user to adjust to the qualified color gamut range, and receive the qualified color gamut input by the user The color in the range is used as the background color.

本申请实施例中,一个具体实施方式是选择作为用于展示所述图像的展示页面的背景底色时,将商品的品牌特征作为一个因素。具体包括下述处理:In the embodiment of the present application, a specific implementation manner is to take the brand feature of the product as a factor when selecting the background color of the display page used to display the image. Specifically include the following processing:

根据预定色域阈值,确定所述主题色彩的合格色域范围;Determine a qualified color gamut range of the theme color according to a predetermined color gamut threshold;

在所述合格色域范围内编辑所述主题色彩,得到候选背景底色;Editing the theme color within the qualified color gamut to obtain a candidate background color;

根据商品的品牌特征从所述候选背景底色中选择一种候选背景底色,作为用于展示所述图像的展示页面的背景底色。A candidate background color is selected from the candidate background colors according to the brand characteristics of the commodity as the background color of the display page for displaying the image.

例如,品牌A提供的图像中,识别出的主题颜色包括墨绿色、米色、黄色、银色,米色占比面积最大。但是品牌A的品牌专色是墨绿色,因此最优选择作为展示页面背景底色的色彩不是米色,而是墨绿色,从而更加凸显品牌A的品牌力。For example, in the image provided by brand A, the recognized theme colors include dark green, beige, yellow, and silver, with beige accounting for the largest area. However, the brand spot color of brand A is dark green, so the best choice for the background color of the display page is not beige, but dark green, so as to further highlight the brand power of brand A.

需要注意的是,在确定作为展示页面的背景底色的主题色彩中,要考虑到弱化电商平台的视觉要素,例如减少电商专色的大面积使用,并且要强化需要展示的图像的提供方的品牌的视觉要素,例如匹配品牌的专色。It should be noted that when determining the theme color as the background color of the display page, it is necessary to consider weakening the visual elements of the e-commerce platform, such as reducing the large-area use of e-commerce spot colors, and strengthening the provision of images to be displayed Visual elements of the party's brand, such as spot colors that match the brand.

本申请实施例中,还包括:In the embodiment of the present application, it also includes:

在页面上使用所述背景底色展示所述需要展示的图像。The image to be displayed is displayed on the page using the background color.

具体的,按照下述至少一种方式在页面上使用所述背景底色展示所述需要展示的图像:Specifically, use the background background color to display the image to be displayed on the page in at least one of the following ways:

方式一、使用所述背景底色作为纯色背景展示所述需要展示的图像;Method 1. Use the background background color as a solid color background to display the image to be displayed;

方式二、使用所述背景底色作为带纹样的背景色和/或纹样配色展示所述需要展示的图像;Method 2. Use the background background color as the patterned background color and/or the pattern color to display the image to be displayed;

方式三、使用所述背景底色作为渐变遮罩或纯色遮罩展示所述需要展示的图像;Method 3: Use the background color as a gradient mask or a solid color mask to display the image to be displayed;

方式四、使用所述背景底色作为所述需要展示的图像的行动点色彩,展示所述需要展示的图像以及所述图像的行动点,所述行动点是页面上用于交互的元素;Method 4: Use the background color as the color of the action point of the image to be displayed, and display the image to be displayed and the action point of the image, and the action point is an element for interaction on the page;

方式五、使用所述背景底色作为所述需要展示的图像的信息点色彩,展示所述需要展示的图像以及所述图像的信息点,所述信息点是页面上可阅读的元素。Mode 5: Use the background color as the color of the information point of the image to be displayed, and display the image to be displayed and the information point of the image, and the information point is a readable element on the page.

具体的,在页面上使用所述背景底色展示所述需要展示的图像时根据不同场景氛围进行不同处理,例如:Specifically, when using the background background color to display the image to be displayed on the page, different processing is performed according to different scene atmospheres, for example:

将所述需要展示的图像作为顶层图像进行展示,应用所述背景底色设置所述顶层图像的区域底色的纯色与透明度;和/或,Displaying the image to be displayed as a top-level image, applying the background color to set the solid color and transparency of the area background color of the top-level image; and/or,

将所述需要展示的图像作为顶层图像进行展示,应用所述背景底色设置所述顶层图像的背景的图案色彩;和/或,Display the image to be displayed as a top-level image, and set the pattern color of the background of the top-level image by applying the background color; and/or,

为所述需要展示的图像设置遮罩层,应用所述背景底色设置所述遮罩层的渐变方式。A mask layer is set for the image to be displayed, and the gradient mode of the mask layer is set by applying the background color.

通过根据不同场景氛围对背景底色进行不同处理,能够使得展示页面(包括展示图像的整个页面或者展示图像的单个模块的区域)的视觉要素能烘托出商家或商品的品牌调性。By processing the background color differently according to different scene atmospheres, the visual elements of the display page (including the entire page displaying images or the area of a single module displaying images) can be made to highlight the brand tone of the merchant or product.

例如,图3是不同场景氛围使用背景底色展示图像的示意图,需要展示的图像为品牌B的服务预约产品。图3中,品牌B需要展示的图像301,从301中识别出的主题色彩中包括灰色、银色,占比面积最大为灰色,确定灰色为背景底色,将背景底色应用于不同场景氛围展示图像301,图3中的302至304为不同场景氛围示例(分别对应图中的示例A、B、C、D)。图3中的A示例中的302为使用灰色作为纯色背景,纯色背景部分如302-1部分所示;图3中B示例中的303为使用灰色作为行动点颜色,如303-1部分所示的行动点按钮的背景底色;图3中的C示例中的304为使用灰色作为纹样背景,304-1部分为展示的图片,304-2所指示的展示图片之外的范围为灰色纹样背景;图3中的D示例中的305为使用灰色作为图片的纯色遮罩。For example, Figure 3 is a schematic diagram of displaying images using background colors in different scene atmospheres, and the images to be displayed are service reservation products of brand B. In Figure 3, brand B needs to display the image 301. The theme colors identified from 301 include gray and silver, and the largest area is gray. Determine gray as the background color and apply the background color to different scene atmospheres. Image 301, 302 to 304 in FIG. 3 are examples of different scene atmospheres (corresponding to examples A, B, C, and D in the figure, respectively). 302 in example A in Figure 3 uses gray as the solid color background, and the solid color background part is shown in part 302-1; 303 in example B in Figure 3 uses gray as the color of the action point, as shown in part 303-1 The background color of the action point button; 304 in the C example in Figure 3 uses gray as the pattern background, part 304-1 is the displayed picture, and the range outside the displayed picture indicated by 304-2 is the gray pattern background ; 305 in the D example in FIG. 3 is a solid color mask using gray as the picture.

以本申请提供的一种主题色彩处理方法的实施例为基础,本申请第二实施例提供了一种展示页面生成方法。Based on the embodiment of a theme color processing method provided in the present application, the second embodiment of the present application provides a display page generation method.

参照图4和图5,图4示出了本申请第二实施例提供的展示页面生成方法的处理流程图,图5是本申请第二实施例的确定背景底色的例子的示意图。由于本实施例以上述实施例为基础,所以描述得比较简单,相关的部分请参见上述实施例的对应说明即可。Referring to FIG. 4 and FIG. 5 , FIG. 4 shows a processing flowchart of a display page generation method provided by the second embodiment of the present application, and FIG. 5 is a schematic diagram of an example of determining the background color of the second embodiment of the present application. Since this embodiment is based on the foregoing embodiments, the description is relatively simple. For relevant parts, please refer to the corresponding descriptions of the foregoing embodiments.

图4所示的展示页面生成方法,包括:步骤S401至步骤S403。The display page generation method shown in FIG. 4 includes: Step S401 to Step S403.

步骤S401,确定需要展示的图像。Step S401, determining images to be displayed.

本申请实施例提供的展示页面生成方法,根据需要展示的图像的色彩特征,确定用于展示所述图像的展示页面的背景底色,进一步根据所述背景底色生成展示页面,通过这种方式生成的展示页面与在展示页面中展示的图像更为协调,得到的视觉效果能更好的表达出商家或商品的品牌调性。The display page generation method provided in the embodiment of the present application determines the background color of the display page used to display the image according to the color characteristics of the image to be displayed, and further generates the display page according to the background color. In this way The generated display page is more coordinated with the image displayed on the display page, and the obtained visual effect can better express the brand tonality of the merchant or product.

所述展示页面可以是展示所述图像的整个页面,也可以是展示图像的单个模块,例如首焦轮播区域、品牌商赞助模块区域、信息点或行动点;相应的,背景底色为整个页面的背景底色,或者,背景底色为展示图像的单个模块的区域底色,例如首焦轮播区域底色、品牌商赞助模块区域底色、信息点区域底色或行动点的行动按钮底色。The display page can be the entire page displaying the image, or a single module displaying the image, such as the first-focus carousel area, brand sponsorship module area, information point or action point; correspondingly, the background background color is the entire The background color of the page, or, the background color is the area background color of a single module that displays the image, such as the background color of the first-focus carousel area, the area background color of the brand sponsorship module, the area background color of the information point, or the action button of the action point background color.

本步骤是确定需要展示的图像。This step is to determine the images to be displayed.

所述需要展示的图像可以包括至少下述任一类图像:图片、视频、标志。这些图像素材一般由商家或商品品牌方提供。例如,A商品的品牌方将需要展示的A商品的图片素材上传或配置到电商平台。The images to be displayed may include at least any of the following types of images: pictures, videos, and logos. These image materials are generally provided by merchants or commodity brands. For example, the brand side of product A uploads or configures the image material of product A to be displayed on the e-commerce platform.

步骤S402,根据所述图像的色彩特征,确定用于展示所述图像的展示页面的背景底色。Step S402, according to the color characteristics of the image, determine the background color of the display page used to display the image.

本步骤是确定用于展示所述图像的展示页面的背景底色。This step is to determine the background background color of the display page used to display the image.

本申请实施例中,当确定背景底色时要考虑到商家或商品的品牌特征,优选采用下述处理根据所述图像的色彩特征,确定用于展示所述图像的展示页面的背景底色:In the embodiment of the present application, when determining the background color, the brand characteristics of the merchant or product should be considered, and the following processing is preferably used to determine the background background color of the display page used to display the image according to the color characteristics of the image:

根据所述图像的色彩特征,识别出所述图像的至少一种主题色彩,作为所述展示页面的候选背景底色;According to the color characteristics of the image, at least one theme color of the image is identified as a candidate background color of the display page;

根据商品的品牌特征,从所述候选背景底色中选择一种候选背景底色,作为所述展示页面的背景底色。According to the brand characteristics of the product, a candidate background color is selected from the candidate background colors as the background color of the display page.

所述商家或商品的品牌是用以识别商家或商品的,可以是文字、图案、符号等物质载体的表现形式,也可以是质量、服务、知名度、市场占有率等无形载体的表现形式。在选择用于展示图像的展示页面的背景底色时,将品牌特征作为要素能够达到烘托商品品牌的目的。The brand of the merchant or commodity is used to identify the merchant or commodity, and it may be the manifestation of material carriers such as words, patterns, and symbols, or the manifestation of intangible carriers such as quality, service, popularity, and market share. When choosing the background color of the display page used to display images, using brand features as an element can achieve the purpose of highlighting the product brand.

本申请实施例中,可以具体采用下述处理根据所述图像的色彩特征,识别出所述图像的至少一种主题色彩,包括:In the embodiment of the present application, the following processing can be specifically adopted to identify at least one theme color of the image according to the color characteristics of the image, including:

若所述图像是底色为白色的图像,则根据色彩聚合程度,识别出至少一种主题色彩;和/或,If the image is an image with a white base color, at least one theme color is identified according to the degree of color aggregation; and/or,

若所述图像是色彩均匀或色彩分散的图像,则根据图像中色彩的占比面积,识别出至少一种主题色彩。If the image is an image with uniform or scattered colors, at least one theme color is identified according to the proportion of the colors in the image.

所述色彩聚合程度,是指图像内一个色彩所占的面积大小,按照所述面积大小排序,占比最大的色彩的色彩聚合程度最高。The degree of color aggregation refers to the size of the area occupied by a color in the image, sorted according to the size of the area, and the color with the largest proportion has the highest degree of color aggregation.

图5示出了一个确定背景底色的例子,501指示的图片的底色为白色,从图片中识别出黑色、蓝色、绿色和白色,考虑到白色在视觉感官上过于刺眼因此不作为主题色彩,501的背景底色可以是黑色、蓝色或绿色,进一步由于501中黑色聚合程度最高,因此黑色为最优主题色彩,用户可以选择黑色作为展示页面的背景底色。502指示的图片和504指示的图片,色彩比较均匀,从502图片中识别出的主题色彩包括紫色、黑色、白色,紫色是占比面积最大的色彩,可以选择紫色作为展示页面的背景底色,而从504图片中识别出的占比面积最大的色彩为灰色,可以选择灰色作为展示页面的背景底色;503指示的图片色彩较为分散,从503这张图片中识别出的主题色彩包括墨绿色、米色、黄色、银色,米色是占比面积最大的色彩,但是考虑到图片的品牌方A的品牌专色为墨绿色,因此可以选择墨绿色作为展示页面的背景底色。Figure 5 shows an example of determining the background color. The background color of the picture indicated by 501 is white, and black, blue, green and white are identified from the picture. Considering that white is too dazzling in the visual sense, it is not used as the theme Color, the background color of 501 can be black, blue or green. Furthermore, because black has the highest degree of aggregation in 501, black is the best theme color, and users can choose black as the background color of the display page. The picture indicated by 502 and the picture indicated by 504 have relatively uniform colors. The theme colors recognized from the 502 picture include purple, black, and white. Purple is the color with the largest area. You can choose purple as the background color of the display page. The color with the largest area identified from the 504 picture is gray, and gray can be selected as the background color of the display page; the color of the picture indicated by 503 is relatively scattered, and the theme color recognized from the picture 503 includes dark green , beige, yellow, silver, and beige are the colors with the largest area. However, considering that the brand spot color of brand party A in the picture is dark green, dark green can be selected as the background color of the display page.

步骤S403,根据所述背景底色生成所述展示页面。Step S403, generating the display page according to the background color.

本步骤是根据步骤S402得到的背景底色生成展示页面。This step is to generate a display page according to the background color obtained in step S402.

本申请实施例中,一个具体实施方式中,提供用户接口接收用户配置,具体包括采用下述处理根据所述背景底色生成所述展示页面:In the embodiment of the present application, in a specific implementation manner, a user interface is provided to receive user configuration, which specifically includes generating the display page according to the background color by adopting the following process:

获得用户配置的页面内容;Obtain the page content configured by the user;

获得所述背景底色;Obtain the background color;

使用所述背景底色和所述用户配置的页面内容生成所述展示页面。The display page is generated by using the background color and the page content configured by the user.

本申请实施例中,另一个具体实施方式中,提供客户端接口,允许生成展示页面的客户端主动抓取页面内容,例如,生成展示页面的客户端能够抓取用户上传的信息,可以是定时自动抓取。具体的,所述根据所述背景底色生成所述展示页面包括下述处理:In the embodiment of the present application, in another specific implementation mode, a client interface is provided to allow the client generating the display page to actively capture the content of the page. For example, the client generating the display page can capture the information uploaded by the user, which may be scheduled Automatic fetching. Specifically, the generating the display page according to the background color includes the following processing:

客户端主动抓取页面内容;获得所述背景底色;The client actively grabs the content of the page; obtains the background color;

使用所述背景底色和所述客户端主动抓取的页面内容生成所述展示页面。The display page is generated by using the background color and the page content actively captured by the client.

优选的,在所述展示页面上根据场景氛围展示所述图像。Preferably, the image is displayed on the display page according to the atmosphere of the scene.

本申请实施例中,在所述展示页面上根据场景氛围展示所述图像,具体包括按照下述至少一种方式在页面上使用所述背景底色展示所述需要展示的图像:In the embodiment of the present application, displaying the image according to the scene atmosphere on the display page specifically includes displaying the image to be displayed on the page using the background color in at least one of the following ways:

使用所述背景底色作为纯色背景展示所述图像;displaying the image using the background base color as a solid background;

使用所述背景底色作为带纹样的背景色和/或纹样配色展示所述图像;displaying the image using the background base color as the patterned background color and/or patterned color matching;

使用所述背景底色作为渐变遮罩或纯色遮罩展示所述图像;displaying the image using the background base color as a gradient mask or a solid color mask;

使用所述背景底色作为所述需要展示的图像的行动点色彩,展示所述图像以及所述图像的行动点,所述行动点是页面上用于交互的元素;Using the background color as the color of the action point of the image to be displayed, displaying the image and the action point of the image, the action point is an element used for interaction on the page;

使用所述背景底色作为所述需要展示的图像的信息点色彩,展示所述图像以及所述图像的信息点,所述信息点是页面上可阅读的元素。Using the background color as the color of the information point of the image to be displayed, the image and the information point of the image are displayed, and the information point is a readable element on the page.

具体的,在页面上使用所述背景底色展示所述需要展示的图像时根据不同场景氛围进行不同处理,例如:Specifically, when using the background background color to display the image to be displayed on the page, different processing is performed according to different scene atmospheres, for example:

将所述图像作为顶层图像进行展示,应用所述背景底色设置所述顶层图像的区域底色的纯色与透明度;和/或,Displaying the image as a top-level image, applying the background color to set the solid color and transparency of the area background color of the top-level image; and/or,

将所述图像作为顶层图像进行展示,应用所述背景底色设置所述顶层图像的背景的图案色彩;和/或,Displaying the image as a top-level image, applying the background background color to set the pattern color of the background of the top-level image; and/or,

给所述图像设置遮罩层,应用所述背景底色设置所述遮罩层的渐变方式。A mask layer is set for the image, and a gradient mode of the mask layer is set by applying the background color.

通过根据不同场景氛围对背景底色进行不同处理,能够使得展示页面(包括展示图像的整个页面或者展示图像的单个模块的区域)的视觉要素能烘托出商家或商品的品牌调性。By processing the background color differently according to different scene atmospheres, the visual elements of the display page (including the entire page displaying images or the area of a single module displaying images) can be made to highlight the brand tone of the merchant or product.

与本申请提供的一种主题色彩处理方法的实施例相对应,本申请第三实施例提供了一种主题色彩处理装置。Corresponding to the embodiment of a theme color processing method provided in the present application, the third embodiment of the present application provides a theme color processing apparatus.

图6示出了本申请第三实施例提供的主题色彩处理装置的示意图。由于装置实施例基本相似于方法实施例,所以描述得比较简单,相关的部分请参见方法实施例的对应说明即可。FIG. 6 shows a schematic diagram of a theme color processing apparatus provided by a third embodiment of the present application. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple. For relevant parts, please refer to the corresponding description of the method embodiment.

图6所示的主题色彩处理装置,包括:The theme color processing device shown in Figure 6 includes:

图像确定单元601,用于确定需要展示的图像;An image determining unit 601, configured to determine an image to be displayed;

主题色彩获取单元602,用于获得所述图像的主题色彩;A theme color acquiring unit 602, configured to acquire the theme color of the image;

背景底色确定单元603,用于根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色,其中,所述预定色域阈值用于判断主题色彩的色相的合格色域范围。The background background color determination unit 603 is configured to obtain the background background color of the display page used to display the image according to a predetermined color gamut threshold and the theme color, wherein the predetermined color gamut threshold is used to judge the hue of the theme color The qualified color gamut range.

可选的,所述主题色彩获取单元602,具体用于:Optionally, the theme color acquisition unit 602 is specifically configured to:

根据所述图像中不同色彩的占比面积,确定所述图像的主题色彩。The theme color of the image is determined according to the occupied areas of different colors in the image.

可选的,所述背景底色确定单元603,具体用于:Optionally, the background background color determination unit 603 is specifically configured to:

根据预定色域阈值,确定所述主题色彩的合格色域范围;Determine a qualified color gamut range of the theme color according to a predetermined color gamut threshold;

在所述合格色域范围内编辑所述主题色彩,得到所述背景底色。Editing the theme color within the qualified color gamut to obtain the background color.

可选的,所述背景底色确定单元603,包括编辑子单元,所述编辑子单元用于:Optionally, the background color determining unit 603 includes an editing subunit, and the editing subunit is used for:

在所述合格色域范围内调整所述主题色彩的色相;和/或,adjusting the hue of the theme color within the qualified color gamut; and/or,

在所述合格色域范围内调整所述主题色彩的饱和度;和/或,adjusting the saturation of the subject color within the qualified color gamut; and/or,

在所述合格色域范围内调整所述主题色彩的明度。Adjust the lightness of the theme color within the range of the qualified color gamut.

可选的,所述背景底色确定单元603,具体用于:Optionally, the background background color determination unit 603 is specifically configured to:

根据预定色域阈值,确定所述主题色彩的合格色域范围;Determine a qualified color gamut range of the theme color according to a predetermined color gamut threshold;

确定在所述合格色域范围内的主题色彩中的最优主题色彩;determining an optimal theme color among theme colors within the qualified color gamut;

将所述最优主题色彩作为所述背景底色。The optimal theme color is used as the background color.

可选的,所述主题色彩处理装置,还包括配置单元,所述配置单元用于:Optionally, the theme color processing device further includes a configuration unit, the configuration unit is used for:

获得用户配置的第二候选背景底色;Obtain the second candidate background color configured by the user;

所述根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色,包括:The obtaining the background background color of the display page used to display the image according to the predetermined color gamut threshold and the theme color includes:

根据预定色域阈值和所述主题色彩,得到第一候选背景底色;Obtaining a first candidate background color according to a predetermined color gamut threshold and the theme color;

根据所述第一候选背景底色和所述第二候选背景底色,得到用于展示所述图像的展示页面的背景底色。According to the first candidate background color and the second candidate background color, the background background color of the display page used to display the image is obtained.

可选的,所述背景底色确定单元603,具体用于:Optionally, the background background color determination unit 603 is specifically configured to:

根据预定色域阈值,确定所述主题色彩的合格色域范围;Determine a qualified color gamut range of the theme color according to a predetermined color gamut threshold;

在所述合格色域范围内编辑所述主题色彩,得到候选背景底色;Editing the theme color within the qualified color gamut to obtain a candidate background color;

根据商品的品牌特征从所述候选背景底色中选择一种候选背景底色,作为用于展示所述图像的展示页面的背景底色。A candidate background color is selected from the candidate background colors according to the brand characteristics of the commodity as the background color of the display page for displaying the image.

可选的,所述主题色彩处理装置,还包括展示单元,所述展示单元用于:Optionally, the theme color processing device further includes a display unit, the display unit is used for:

在页面上使用所述背景底色展示所述需要展示的图像。The image to be displayed is displayed on the page using the background color.

可选的,所述展示单元,具体用于按照下述至少一种方式在页面上使用所述背景底色展示所述需要展示的图像:Optionally, the display unit is specifically configured to use the background color to display the image to be displayed on the page in at least one of the following ways:

使用所述背景底色作为纯色背景展示所述需要展示的图像;using the background background color as a solid color background to display the image to be displayed;

使用所述背景底色作为带纹样的背景色和/或纹样配色展示所述需要展示的图像;using the background background color as the patterned background color and/or pattern color matching to display the image to be displayed;

使用所述背景底色作为渐变遮罩或纯色遮罩展示所述需要展示的图像;using the background color as a gradient mask or a solid color mask to display the image to be displayed;

使用所述背景底色作为所述需要展示的图像的行动点色彩,展示所述需要展示的图像以及所述图像的行动点,所述行动点是页面上用于交互的元素;Using the background background color as the color of the action point of the image to be displayed, displaying the image to be displayed and the action point of the image, the action point is an element used for interaction on the page;

使用所述背景底色作为所述需要展示的图像的信息点色彩,展示所述需要展示的图像以及所述图像的信息点,所述信息点是页面上可阅读的元素。Using the background color as the color of the information point of the image to be displayed, the image to be displayed and the information point of the image are displayed, and the information point is a readable element on the page.

可选的,所述展示单元,具体用于:Optionally, the display unit is specifically used for:

将所述需要展示的图像作为顶层图像进行展示,应用所述背景底色设置所述顶层图像的区域底色的纯色与透明度;和/或,Displaying the image to be displayed as a top-level image, applying the background color to set the solid color and transparency of the area background color of the top-level image; and/or,

将所述需要展示的图像作为顶层图像进行展示,应用所述背景底色设置所述顶层图像的背景的图案色彩;和/或,Display the image to be displayed as a top-level image, and set the pattern color of the background of the top-level image by applying the background color; and/or,

为所述需要展示的图像设置遮罩层,应用所述背景底色设置所述遮罩层的渐变方式。A mask layer is set for the image to be displayed, and the gradient mode of the mask layer is set by applying the background color.

可选的,所述合格色域范围包括所述色相的明度的合理范围和/或饱和度的合理范围。Optionally, the qualified color gamut range includes a reasonable range of lightness and/or a reasonable range of saturation of the hue.

与本申请提供的一种展示页面生成方法的实施例相对应,本申请第四实施例提供了一种展示页面生成装置。Corresponding to the embodiment of a method for generating a display page provided in this application, the fourth embodiment of this application provides an apparatus for generating a display page.

图7示出了本申请第四实施例提供的展示页面生成装置的示意图。由于装置实施例基本相似于方法实施例,所以描述得比较简单,相关的部分请参见方法实施例的对应说明即可。FIG. 7 shows a schematic diagram of an apparatus for generating a presentation page provided by a fourth embodiment of the present application. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple. For relevant parts, please refer to the corresponding description of the method embodiment.

图7所示的展示页面生成装置,包括:The display page generation device shown in Figure 7 includes:

图像确定单元701,用于确定需要展示的图像;An image determining unit 701, configured to determine an image to be displayed;

背景底色确定单元702,用于根据所述图像的色彩特征,确定用于展示所述图像的展示页面的背景底色;A background background color determining unit 702, configured to determine the background background color of the display page used to display the image according to the color characteristics of the image;

页面生成单元703,用于根据所述背景底色生成所述展示页面。A page generating unit 703, configured to generate the display page according to the background color.

可选的,所述背景底色确定单元702,具体用于:Optionally, the background background color determining unit 702 is specifically used for:

根据所述图像的色彩特征,识别出所述图像的至少一种主题色彩,作为所述展示页面的候选背景底色;According to the color characteristics of the image, at least one theme color of the image is identified as a candidate background color of the display page;

根据商品的品牌特征,从所述候选背景底色中选择一种候选背景底色,作为所述展示页面的背景底色。According to the brand characteristics of the product, a candidate background color is selected from the candidate background colors as the background color of the display page.

可选的,所述背景底色确定单元702,包括色彩识别子单元,所述色彩识别子单元具体用于:Optionally, the background color determination unit 702 includes a color recognition subunit, and the color recognition subunit is specifically used for:

若所述图像是底色为白色的图像,则根据色彩聚合程度,识别出至少一种主题色彩;和/或,If the image is an image with a white base color, at least one theme color is identified according to the degree of color aggregation; and/or,

若所述图像是色彩均匀或色彩分散的图像,则根据图像中色彩的占比面积,识别出至少一种主题色彩。If the image is an image with uniform or scattered colors, at least one theme color is identified according to the proportion of the colors in the image.

可选的,所述展示页面生成装置,还包括配置单元,所述配置单元用于获得用户配置的页面内容;相应的,所述页面生成单元703,用于:Optionally, the apparatus for generating a display page further includes a configuration unit configured to obtain page content configured by a user; correspondingly, the page generation unit 703 is configured to:

获得所述背景底色;Obtain the background color;

使用所述背景底色和所述用户配置的页面内容生成所述展示页面。The display page is generated by using the background color and the page content configured by the user.

可选的,所述展示页面生成装置,还包括内容抓取单元,所述内容抓取单元用于客户端主动抓取页面内容;相应的,所述页面生成单元703,用于:Optionally, the display page generation device further includes a content capture unit, the content capture unit is used for the client to actively capture page content; correspondingly, the page generation unit 703 is configured to:

获得所述背景底色;Obtain the background color;

使用所述背景底色和所述客户端主动抓取的页面内容生成所述展示页面。The display page is generated by using the background color and the page content actively captured by the client.

可选的,所述页面生成单元703,包括展示子单元,所述展示子单元用于在所述展示页面上根据场景氛围展示所述图像。Optionally, the page generation unit 703 includes a display subunit, configured to display the image on the display page according to the atmosphere of the scene.

可选的,所述展示子单元,具体用于按照下述至少一种方式在页面上使用所述背景底色展示所述需要展示的图像:Optionally, the display subunit is specifically configured to use the background color to display the image to be displayed on the page in at least one of the following ways:

使用所述背景底色作为纯色背景展示所述图像;displaying the image using the background base color as a solid background;

使用所述背景底色作为带纹样的背景色和/或纹样配色展示所述图像;displaying the image using the background base color as the patterned background color and/or patterned color matching;

使用所述背景底色作为渐变遮罩或纯色遮罩展示所述图像;displaying the image using the background base color as a gradient mask or a solid color mask;

使用所述背景底色作为所述需要展示的图像的行动点色彩,展示所述图像以及所述图像的行动点,所述行动点是页面上用于交互的元素;Using the background color as the color of the action point of the image to be displayed, displaying the image and the action point of the image, the action point is an element used for interaction on the page;

使用所述背景底色作为所述需要展示的图像的信息点色彩,展示所述图像以及所述图像的信息点,所述信息点是页面上可阅读的元素。Using the background color as the color of the information point of the image to be displayed, the image and the information point of the image are displayed, and the information point is a readable element on the page.

可选的,所述展示子单元,具体用于:Optionally, the display subunit is specifically used for:

将所述图像作为顶层图像进行展示,应用所述背景底色设置所述顶层图像的区域底色的纯色与透明度;和/或,Displaying the image as a top-level image, applying the background color to set the solid color and transparency of the area background color of the top-level image; and/or,

将所述图像作为顶层图像进行展示,应用所述背景底色设置所述顶层图像的背景的图案色彩;和/或,Displaying the image as a top-level image, applying the background background color to set the pattern color of the background of the top-level image; and/or,

给所述图像设置遮罩层,应用所述背景底色设置所述遮罩层的渐变方式。A mask layer is set for the image, and a gradient mode of the mask layer is set by applying the background color.

本申请第五实施例提供了一种用于实现所述主题色彩处理方法的电子设备,参照图8,其示出了本申请第五实施例提供的一种电子设备的示意图。The fifth embodiment of the present application provides an electronic device for implementing the theme color processing method. Referring to FIG. 8 , it shows a schematic diagram of an electronic device provided by the fifth embodiment of the present application.

本申请第五实施例提供的所述电子设备实施例描述得比较简单,相关的部分请参见上述提供的所述主题色彩处理方法的实施例的对应说明即可。The description of the electronic device embodiment provided in the fifth embodiment of the present application is relatively simple, and for relevant parts, please refer to the corresponding description of the embodiment of the theme color processing method provided above.

图8所示的电子设备,包括:The electronic equipment shown in Figure 8 includes:

存储器801,以及处理器802;Memory 801, and processor 802;

所述存储器801用于存储计算机可执行指令,所述处理器802用于执行所述计算机可执行指令:The memory 801 is used to store computer-executable instructions, and the processor 802 is used to execute the computer-executable instructions:

确定需要展示的图像;Determine the images to be displayed;

获得所述图像的主题色彩;obtaining the theme color of the image;

根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色,其中,所述预定色域阈值用于判断主题色彩的色相的合格色域范围。According to the predetermined color gamut threshold and the theme color, the background background color of the display page used to display the image is obtained, wherein the predetermined color gamut threshold is used to determine the qualified color gamut range of the hue of the theme color.

可选的,所述处理器802还用于执行下述计算机可执行指令:Optionally, the processor 802 is also configured to execute the following computer-executable instructions:

根据所述图像中不同色彩的占比面积,确定所述图像的主题色彩。The theme color of the image is determined according to the occupied areas of different colors in the image.

可选的,所述处理器802还用于执行下述计算机可执行指令:Optionally, the processor 802 is also configured to execute the following computer-executable instructions:

根据预定色域阈值,确定所述主题色彩的合格色域范围;Determine a qualified color gamut range of the theme color according to a predetermined color gamut threshold;

在所述合格色域范围内编辑所述主题色彩,得到所述背景底色。Editing the theme color within the qualified color gamut to obtain the background color.

可选的,所述处理器802还用于执行下述计算机可执行指令:Optionally, the processor 802 is also configured to execute the following computer-executable instructions:

在所述合格色域范围内调整所述主题色彩的色相;和/或,adjusting the hue of the theme color within the qualified color gamut; and/or,

在所述合格色域范围内调整所述主题色彩的饱和度;和/或,adjusting the saturation of the subject color within the qualified color gamut; and/or,

在所述合格色域范围内调整所述主题色彩的明度。Adjust the lightness of the theme color within the range of the qualified color gamut.

可选的,所述处理器802还用于执行下述计算机可执行指令:Optionally, the processor 802 is also configured to execute the following computer-executable instructions:

根据预定色域阈值,确定所述主题色彩的合格色域范围;Determine a qualified color gamut range of the theme color according to a predetermined color gamut threshold;

确定在所述合格色域范围内的主题色彩中的最优主题色彩;determining an optimal theme color among theme colors within the qualified color gamut;

将所述最优主题色彩作为所述背景底色。The optimal theme color is used as the background color.

可选的,所述处理器802还用于执行下述计算机可执行指令:Optionally, the processor 802 is also configured to execute the following computer-executable instructions:

获得用户配置的第二候选背景底色;Obtain the second candidate background color configured by the user;

所述根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色,包括:The obtaining the background background color of the display page used to display the image according to the predetermined color gamut threshold and the theme color includes:

根据预定色域阈值和所述主题色彩,得到第一候选背景底色;Obtaining a first candidate background color according to a predetermined color gamut threshold and the theme color;

根据所述第一候选背景底色和所述第二候选背景底色,得到用于展示所述图像的展示页面的背景底色。According to the first candidate background color and the second candidate background color, the background background color of the display page used to display the image is obtained.

可选的,所述处理器802还用于执行下述计算机可执行指令:Optionally, the processor 802 is also configured to execute the following computer-executable instructions:

根据预定色域阈值,确定所述主题色彩的合格色域范围;Determine a qualified color gamut range of the theme color according to a predetermined color gamut threshold;

在所述合格色域范围内编辑所述主题色彩,得到候选背景底色;Editing the theme color within the qualified color gamut to obtain a candidate background color;

根据商品的品牌特征从所述候选背景底色中选择一种候选背景底色,作为用于展示所述图像的展示页面的背景底色。A candidate background color is selected from the candidate background colors according to the brand characteristics of the commodity as the background color of the display page for displaying the image.

可选的,所述处理器802还用于执行下述计算机可执行指令:Optionally, the processor 802 is also configured to execute the following computer-executable instructions:

在页面上使用所述背景底色展示所述需要展示的图像。The image to be displayed is displayed on the page using the background color.

可选的,所述处理器802还用于执行下述至少一种指令:Optionally, the processor 802 is also configured to execute at least one of the following instructions:

使用所述背景底色作为纯色背景展示所述需要展示的图像;using the background background color as a solid color background to display the image to be displayed;

使用所述背景底色作为带纹样的背景色和/或纹样配色展示所述需要展示的图像;using the background background color as the patterned background color and/or pattern color matching to display the image to be displayed;

使用所述背景底色作为渐变遮罩或纯色遮罩展示所述需要展示的图像;using the background color as a gradient mask or a solid color mask to display the image to be displayed;

使用所述背景底色作为所述需要展示的图像的行动点色彩,展示所述需要展示的图像以及所述图像的行动点,所述行动点是页面上用于交互的元素;Using the background background color as the color of the action point of the image to be displayed, displaying the image to be displayed and the action point of the image, the action point is an element used for interaction on the page;

使用所述背景底色作为所述需要展示的图像的信息点色彩,展示所述需要展示的图像以及所述图像的信息点,所述信息点是页面上可阅读的元素。Using the background color as the color of the information point of the image to be displayed, the image to be displayed and the information point of the image are displayed, and the information point is a readable element on the page.

可选的,所述处理器802还用于执行下述计算机可执行指令:Optionally, the processor 802 is also configured to execute the following computer-executable instructions:

将所述需要展示的图像作为顶层图像进行展示,应用所述背景底色设置所述顶层图像的区域底色的纯色与透明度;和/或,Displaying the image to be displayed as a top-level image, applying the background color to set the solid color and transparency of the area background color of the top-level image; and/or,

将所述需要展示的图像作为顶层图像进行展示,应用所述背景底色设置所述顶层图像的背景的图案色彩;和/或,Display the image to be displayed as a top-level image, and set the pattern color of the background of the top-level image by applying the background color; and/or,

为所述需要展示的图像设置遮罩层,应用所述背景底色设置所述遮罩层的渐变方式。A mask layer is set for the image to be displayed, and the gradient mode of the mask layer is set by applying the background color.

可选的,所述合格色域范围包括所述色相的明度的合理范围和/或饱和度的合理范围。Optionally, the qualified color gamut range includes a reasonable range of lightness and/or a reasonable range of saturation of the hue.

本申请第六实施例提供了一种用于实现所述展示页面生成方法的电子设备,其示意图类似图8。The sixth embodiment of the present application provides an electronic device for implementing the method for generating a display page, and its schematic diagram is similar to FIG. 8 .

本申请第六实施例提供的所述电子设备实施例描述得比较简单,相关的部分请参见上述提供的所述展示页面生成方法的实施例的对应说明即可。The description of the electronic device embodiment provided in the sixth embodiment of the present application is relatively simple, and for relevant parts, please refer to the corresponding description of the embodiment of the display page generation method provided above.

本申请第六实施例提供的电子设备,包括:The electronic device provided in the sixth embodiment of the present application includes:

存储器,以及处理器;memory, and processor;

所述存储器用于存储计算机可执行指令,所述处理器用于执行所述计算机可执行指令:The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions:

确定需要展示的图像;Determine the images to be displayed;

根据所述图像的色彩特征,确定用于展示所述图像的展示页面的背景底色;According to the color characteristics of the image, determine the background background color of the display page used to display the image;

根据所述背景底色生成所述展示页面。The display page is generated according to the background color.

可选的,所述处理器还用于执行下述计算机可执行指令:Optionally, the processor is also configured to execute the following computer-executable instructions:

根据所述图像的色彩特征,识别出所述图像的至少一种主题色彩,作为所述展示页面的候选背景底色;According to the color characteristics of the image, at least one theme color of the image is identified as a candidate background color of the display page;

根据商品的品牌特征,从所述候选背景底色中选择一种候选背景底色,作为所述展示页面的背景底色。According to the brand characteristics of the product, a candidate background color is selected from the candidate background colors as the background color of the display page.

可选的,所述处理器还用于执行下述计算机可执行指令:Optionally, the processor is also configured to execute the following computer-executable instructions:

若所述图像是底色为白色的图像,则根据色彩聚合程度,识别出至少一种主题色彩;和/或,If the image is an image with a white base color, at least one theme color is identified according to the degree of color aggregation; and/or,

若所述图像是色彩均匀或色彩分散的图像,则根据图像中色彩的占比面积,识别出至少一种主题色彩。If the image is an image with uniform or scattered colors, at least one theme color is identified according to the proportion of the colors in the image.

可选的,所述处理器还用于执行下述计算机可执行指令:Optionally, the processor is also configured to execute the following computer-executable instructions:

获得用户配置的页面内容;Obtain the page content configured by the user;

获得所述背景底色;Obtain the background color;

使用所述背景底色和所述用户配置的页面内容生成所述展示页面。The display page is generated by using the background color and the page content configured by the user.

可选的,所述处理器还用于执行下述计算机可执行指令:Optionally, the processor is also configured to execute the following computer-executable instructions:

客户端主动抓取页面内容;The client actively grabs the content of the page;

获得所述背景底色;Obtain the background color;

使用所述背景底色和所述客户端主动抓取的页面内容生成所述展示页面。The display page is generated by using the background color and the page content actively captured by the client.

可选的,所述处理器还用于执行下述计算机可执行指令:Optionally, the processor is also configured to execute the following computer-executable instructions:

在所述展示页面上根据场景氛围展示所述图像。The image is displayed on the display page according to the atmosphere of the scene.

可选的,所述处理器还用于执行下述至少一种指令:Optionally, the processor is also configured to execute at least one of the following instructions:

使用所述背景底色作为纯色背景展示所述图像;displaying the image using the background base color as a solid background;

使用所述背景底色作为带纹样的背景色和/或纹样配色展示所述图像;displaying the image using the background base color as the patterned background color and/or patterned color matching;

使用所述背景底色作为渐变遮罩或纯色遮罩展示所述图像;displaying the image using the background base color as a gradient mask or a solid color mask;

使用所述背景底色作为所述需要展示的图像的行动点色彩,展示所述图像以及所述图像的行动点,所述行动点是页面上用于交互的元素;Using the background color as the color of the action point of the image to be displayed, displaying the image and the action point of the image, the action point is an element used for interaction on the page;

使用所述背景底色作为所述需要展示的图像的信息点色彩,展示所述图像以及所述图像的信息点,所述信息点是页面上可阅读的元素。Using the background color as the color of the information point of the image to be displayed, the image and the information point of the image are displayed, and the information point is a readable element on the page.

可选的,所述处理器还用于执行下述计算机可执行指令:Optionally, the processor is also configured to execute the following computer-executable instructions:

将所述图像作为顶层图像进行展示,应用所述背景底色设置所述顶层图像的区域底色的纯色与透明度;和/或,Displaying the image as a top-level image, applying the background color to set the solid color and transparency of the area background color of the top-level image; and/or,

将所述图像作为顶层图像进行展示,应用所述背景底色设置所述顶层图像的背景的图案色彩;和/或,Displaying the image as a top-level image, applying the background background color to set the pattern color of the background of the top-level image; and/or,

给所述图像设置遮罩层,应用所述背景底色设置所述遮罩层的渐变方式。A mask layer is set for the image, and a gradient mode of the mask layer is set by applying the background color.

本申请第七实施例提供一种用于上述提供的主题色彩处理方法的存储设备,其描述得比较简单,相关的部分请参见上述提供的所述主题色彩处理方法的实施例的对应说明即可。The seventh embodiment of the present application provides a storage device for the theme color processing method provided above, which is described relatively simply. For relevant parts, please refer to the corresponding description of the above-mentioned embodiment of the theme color processing method. .

本申请第七实施例提供的存储设备,存储有指令,所述指令能够被处理器加载并执行以下步骤:The storage device provided by the seventh embodiment of the present application stores instructions, and the instructions can be loaded by a processor and perform the following steps:

确定需要展示的图像;Determine the images to be displayed;

获得所述图像的主题色彩;obtaining the theme color of the image;

根据预定色域阈值和所述主题色彩,得到用于展示所述图像的展示页面的背景底色,其中,所述预定色域阈值用于判断主题色彩的色相的合格色域范围。According to the predetermined color gamut threshold and the theme color, the background background color of the display page used to display the image is obtained, wherein the predetermined color gamut threshold is used to determine the qualified color gamut range of the hue of the theme color.

本申请第八实施例提供一种用于上述提供的展示页面生成方法的存储设备,其描述得比较简单,相关的部分请参见上述提供的所述展示页面生成方法的实施例的对应说明即可。The eighth embodiment of the present application provides a storage device for the method for generating a display page provided above, which is described relatively simply. For relevant parts, please refer to the corresponding description of the embodiment of the method for generating a display page provided above. .

本申请第八实施例提供的存储设备,存储有指令,所述指令能够被处理器加载并执行以下步骤:The storage device provided by the eighth embodiment of the present application stores instructions, and the instructions can be loaded by a processor and perform the following steps:

确定需要展示的图像;Determine the images to be displayed;

根据所述图像的色彩特征,确定用于展示所述图像的展示页面的背景底色;According to the color characteristics of the image, determine the background background color of the display page used to display the image;

根据所述背景底色生成所述展示页面。The display page is generated according to the background color.

在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read only memory (ROM) or flash RAM. Memory is an example of computer readable media.

1、计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media),如调制的数据信号和载波。1. Computer-readable media include permanent and non-permanent, removable and non-removable media. Information storage can be realized by any method or technology. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes non-transitory computer-readable media, such as modulated data signals and carrier waves.

2、本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。2. Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems or computer program products. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请虽然以较佳实施例公开如上,但其并不是用来限定本申请,任何本领域技术人员在不脱离本申请的精神和范围内,都可以做出可能的变动和修改,因此本申请的保护范围应当以本申请权利要求所界定的范围为准。Although the present application is disclosed as above with preferred embodiments, it is not used to limit the present application. Any person skilled in the art can make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the present application The scope of protection should be based on the scope defined by the claims of this application.

Claims (24)

1. A method of theme color processing comprising:
determining an image to be displayed;
obtaining a theme color of the image;
obtaining background ground color of a display page for displaying the image according to a preset color gamut threshold value and the theme colors, wherein the preset color gamut threshold value is used for judging a qualified color gamut range of the hue of the theme colors;
The obtaining the background color of the display page for displaying the image according to the preset color gamut threshold and the theme color comprises the following steps:
determining a qualified color gamut range of the subject color according to a preset color gamut threshold value;
and editing the theme colors in the qualified color gamut range to obtain the background color.
2. The method of claim 1, wherein the obtaining the theme colors of the image comprises:
and determining the theme colors of the image according to the occupation areas of different colors in the image.
3. The method of claim 1, wherein said editing said subject color within said acceptable color gamut comprises:
adjusting the hue of the subject color within the acceptable color gamut; and/or the number of the groups of groups,
adjusting the saturation of the subject color within the qualified color gamut; and/or the number of the groups of groups,
and adjusting the brightness of the subject color within the qualified color gamut.
4. The method of claim 1, wherein the deriving a background color for a presentation page for presenting the image based on a predetermined gamut threshold and the theme colors comprises:
determining a qualified color gamut range of the subject color according to a preset color gamut threshold value;
Determining an optimal theme color among the theme colors within the qualified gamut;
and taking the optimal theme color as the background color.
5. The method as recited in claim 1, further comprising:
obtaining a second candidate background color configured by a user;
the obtaining the background color of the display page for displaying the image according to the preset color gamut threshold and the theme color comprises the following steps:
obtaining a first candidate background color according to a preset color gamut threshold value and the theme colors;
and obtaining the background color of the display page for displaying the image according to the first candidate background color and the second candidate background color.
6. The method of claim 1, wherein the deriving a background color for a presentation page for presenting the image based on a predetermined gamut threshold and the theme colors comprises:
determining a qualified color gamut range of the subject color according to a preset color gamut threshold value;
editing the theme colors in the qualified color gamut range to obtain candidate background colors;
and selecting one candidate background color from the candidate background colors according to the brand features of the commodities to serve as the background color of the display page for displaying the images.
7. The method as recited in claim 1, further comprising:
and displaying the image to be displayed on the page by using the background color.
8. The method of claim 7, wherein the background color is used to display the image to be displayed on a page in at least one of the following ways:
using the background color as a solid background to display the image to be displayed;
using the background color as background color with a pattern and/or pattern matching to display the image to be displayed;
using the background color as a gradual change shade or a pure color shade to display the image to be displayed;
using the background color as an action point color of the image to be displayed, displaying the image to be displayed and the action point of the image, wherein the action point is an element for interaction on a page;
and displaying the image to be displayed and the information points of the image by using the background color as the information point color of the image to be displayed, wherein the information points are readable elements on a page.
9. The method of claim 7, wherein displaying the image to be displayed on the page using the background color comprises:
The image to be displayed is used as a top layer image to be displayed, and the background color is used for setting the pure color and the transparency of the region background color of the top layer image; and/or the number of the groups of groups,
the image to be displayed is used as a top layer image to be displayed, and the background color is applied to set the pattern color of the background of the top layer image; and/or the number of the groups of groups,
and setting a mask layer for the image to be displayed, and setting a gradual change mode of the mask layer by using the background color.
10. The method of claim 1, wherein the acceptable gamut range comprises a reasonable range of lightness and/or a reasonable range of saturation of the hue.
11. The display page generation method is characterized by comprising the following steps of:
determining an image to be displayed;
determining background ground color of a display page for displaying the image according to the color characteristics of the image; comprising the following steps: obtaining a theme color of the image; obtaining background ground color of a display page for displaying the image according to a preset color gamut threshold value and the theme colors, wherein the preset color gamut threshold value is used for judging a qualified color gamut range of the hue of the theme colors; the obtaining the background color of the display page for displaying the image according to the preset color gamut threshold and the theme color comprises the following steps: determining a qualified color gamut range of the subject color according to a preset color gamut threshold value; editing the theme colors in the qualified color gamut range to obtain the background color;
And generating the display page according to the background color.
12. The method of claim 11, wherein determining a background tint of a presentation page for presenting the image based on color characteristics of the image comprises:
according to the color characteristics of the image, at least one theme color of the image is identified and used as a candidate background color of the display page;
selecting one candidate background color from the candidate background colors according to the brand features of the commodities, as background ground color of the display page.
13. The method of claim 12, wherein the identifying at least one subject color of the image based on color characteristics of the image comprises:
if the image is white, identifying at least one theme color according to the color aggregation degree; and/or the number of the groups of groups,
if the image is a uniform or dispersed color image, at least one theme color is identified according to the area of the color in the image.
14. The method as recited in claim 11, further comprising: acquiring page content configured by a user; the generating the display page according to the background color comprises the following steps:
Obtaining the background color;
and generating the display page by using the background color and the page content configured by the user.
15. The method as recited in claim 11, further comprising: the client actively grabs the page content; the generating the display page according to the background color comprises the following steps:
obtaining the background color;
and generating the display page by using the background color and the page content actively captured by the client.
16. The method of claim 11, wherein the generating the presentation page from the background color comprises:
and displaying the image on the display page according to the scene atmosphere.
17. The method of claim 16, wherein displaying the image on the display page according to the scene atmosphere comprises displaying the image to be displayed on the page using the background color in at least one of:
displaying the image by using the background color as a solid background;
displaying the image by using the background color as a background color and/or a pattern matching color with a pattern;
displaying the image using the background color as a gradient mask or a solid mask;
Using the background color as an action point color of the image to be displayed, displaying the image and the action point of the image, wherein the action point is an element for interaction on a page;
and displaying the image and the information points of the image by using the background color as the information point color of the image to be displayed, wherein the information points are readable elements on a page.
18. The method of claim 16, wherein the displaying the image on the display page according to a scene atmosphere comprises:
displaying the image as a top layer image, and setting the pure color and transparency of the region ground color of the top layer image by applying the background ground color; and/or the number of the groups of groups,
the image is displayed as a top layer image, and the background color is applied to set the pattern color of the background of the top layer image; and/or the number of the groups of groups,
and setting a mask layer for the image, and setting a gradual change mode of the mask layer by using the background color.
19. A theme color processing apparatus, comprising:
the image determining unit is used for determining an image to be displayed;
a theme-color-obtaining unit configured to obtain a theme color of the image;
The background color determining unit is used for obtaining background color of a display page for displaying the image according to a preset color gamut threshold value and the theme colors, wherein the preset color gamut threshold value is used for judging a qualified color gamut range of the hue of the theme colors;
the obtaining the background color of the display page for displaying the image according to the preset color gamut threshold and the theme color comprises the following steps:
determining a qualified color gamut range of the subject color according to a preset color gamut threshold value;
and editing the theme colors in the qualified color gamut range to obtain the background color.
20. A presentation page generation apparatus, comprising:
the image determining unit is used for determining an image to be displayed;
the background color determining unit is used for determining background colors of a display page for displaying the image according to the color characteristics of the image; comprising the following steps: obtaining a theme color of the image; obtaining background ground color of a display page for displaying the image according to a preset color gamut threshold value and the theme colors, wherein the preset color gamut threshold value is used for judging a qualified color gamut range of the hue of the theme colors; the obtaining the background color of the display page for displaying the image according to the preset color gamut threshold and the theme color comprises the following steps: determining a qualified color gamut range of the subject color according to a preset color gamut threshold value; editing the theme colors in the qualified color gamut range to obtain the background color;
And the page generating unit is used for generating the display page according to the background color.
21. An electronic device, comprising:
a memory, and a processor;
the memory is for storing computer-executable instructions, and the processor is for executing the computer-executable instructions:
determining an image to be displayed;
obtaining a theme color of the image;
obtaining background ground color of a display page for displaying the image according to a preset color gamut threshold value and the theme colors, wherein the preset color gamut threshold value is used for judging a qualified color gamut range of the hue of the theme colors; the obtaining the background color of the display page for displaying the image according to the preset color gamut threshold and the theme color comprises the following steps: determining a qualified color gamut range of the subject color according to a preset color gamut threshold value; and editing the theme colors in the qualified color gamut range to obtain the background color.
22. An electronic device, comprising:
a memory, and a processor;
the memory is for storing computer-executable instructions, and the processor is for executing the computer-executable instructions:
Determining an image to be displayed;
determining background ground color of a display page for displaying the image according to the color characteristics of the image; comprising the following steps: obtaining a theme color of the image; obtaining background ground color of a display page for displaying the image according to a preset color gamut threshold value and the theme colors, wherein the preset color gamut threshold value is used for judging a qualified color gamut range of the hue of the theme colors; the obtaining the background color of the display page for displaying the image according to the preset color gamut threshold and the theme color comprises the following steps: determining a qualified color gamut range of the subject color according to a preset color gamut threshold value; editing the theme colors in the qualified color gamut range to obtain the background color;
and generating the display page according to the background color.
23. A storage device storing instructions capable of being loaded by a processor and performing the steps of:
determining an image to be displayed;
obtaining a theme color of the image;
obtaining background ground color of a display page for displaying the image according to a preset color gamut threshold value and the theme colors, wherein the preset color gamut threshold value is used for judging a qualified color gamut range of the hue of the theme colors; the obtaining the background color of the display page for displaying the image according to the preset color gamut threshold and the theme color comprises the following steps: determining a qualified color gamut range of the subject color according to a preset color gamut threshold value; and editing the theme colors in the qualified color gamut range to obtain the background color.
24. A storage device storing instructions capable of being loaded by a processor and performing the steps of:
determining an image to be displayed;
determining background ground color of a display page for displaying the image according to the color characteristics of the image; comprising the following steps: obtaining a theme color of the image; obtaining background ground color of a display page for displaying the image according to a preset color gamut threshold value and the theme colors, wherein the preset color gamut threshold value is used for judging a qualified color gamut range of the hue of the theme colors; the obtaining the background color of the display page for displaying the image according to the preset color gamut threshold and the theme color comprises the following steps: determining a qualified color gamut range of the subject color according to a preset color gamut threshold value; editing the theme colors in the qualified color gamut range to obtain the background color;
and generating the display page according to the background color.
CN201810713724.9A 2018-07-03 2018-07-03 Theme color processing, display page generation method, device and equipment Active CN110673904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810713724.9A CN110673904B (en) 2018-07-03 2018-07-03 Theme color processing, display page generation method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810713724.9A CN110673904B (en) 2018-07-03 2018-07-03 Theme color processing, display page generation method, device and equipment

Publications (2)

Publication Number Publication Date
CN110673904A CN110673904A (en) 2020-01-10
CN110673904B true CN110673904B (en) 2023-08-25

Family

ID=69065399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810713724.9A Active CN110673904B (en) 2018-07-03 2018-07-03 Theme color processing, display page generation method, device and equipment

Country Status (1)

Country Link
CN (1) CN110673904B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506287B (en) 2020-04-08 2023-07-04 北京百度网讯科技有限公司 Page display method and device, electronic equipment and storage medium
CN111814426B (en) * 2020-07-20 2023-08-25 腾讯科技(深圳)有限公司 Questionnaire page configuration method, questionnaire page configuration device, computer equipment and storage medium
CN112069340B (en) * 2020-09-04 2024-12-27 抖音视界有限公司 Background image processing and search result display method, device, equipment and medium
CN115271848A (en) * 2022-06-29 2022-11-01 阿里巴巴(中国)有限公司 Product information flow display method, device and electronic device
CN117234650A (en) * 2023-09-18 2023-12-15 北京有竹居网络技术有限公司 Image display method and device, storage medium and electronic equipment
CN117540446B (en) * 2023-11-08 2025-12-30 杭州群核信息技术有限公司 Floor plan color scheme, devices, electronic equipment and storage media

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8768958B1 (en) * 2004-12-03 2014-07-01 Google Inc. Predictive information retrieval
CN106201535A (en) * 2016-07-14 2016-12-07 广州神马移动信息科技有限公司 The method and apparatus that toolbar background color converts along with the domain color of picture
CN106528187A (en) * 2015-09-09 2017-03-22 腾讯科技(深圳)有限公司 Method and device for determining occupied background color
CN106708496A (en) * 2015-11-18 2017-05-24 腾讯科技(深圳)有限公司 Processing method and apparatus for label page in graphic interface
CN107609193A (en) * 2017-10-16 2018-01-19 杭州时间线信息科技有限公司 The intelligent automatic processing method and system of picture in a kind of suitable commodity details page

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8768958B1 (en) * 2004-12-03 2014-07-01 Google Inc. Predictive information retrieval
CN106528187A (en) * 2015-09-09 2017-03-22 腾讯科技(深圳)有限公司 Method and device for determining occupied background color
CN106708496A (en) * 2015-11-18 2017-05-24 腾讯科技(深圳)有限公司 Processing method and apparatus for label page in graphic interface
CN106201535A (en) * 2016-07-14 2016-12-07 广州神马移动信息科技有限公司 The method and apparatus that toolbar background color converts along with the domain color of picture
CN107609193A (en) * 2017-10-16 2018-01-19 杭州时间线信息科技有限公司 The intelligent automatic processing method and system of picture in a kind of suitable commodity details page

Also Published As

Publication number Publication date
CN110673904A (en) 2020-01-10

Similar Documents

Publication Publication Date Title
CN110673904B (en) Theme color processing, display page generation method, device and equipment
US9118876B2 (en) Automatic skin tone calibration for camera images
JP4870665B2 (en) Dominant color extraction using perceptual rules to generate ambient light derived from video content
CN109844804B (en) Image detection method, device and terminal
US8525847B2 (en) Enhancing images using known characteristics of image subjects
US11037275B2 (en) Complex architecture for image processing
JP2015130157A (en) Automatic selection of optimal algorithm for high dynamic range image processing based on scene classification
KR101985880B1 (en) Display device and control method thereof
US9177396B2 (en) Image processing apparatus and image processing method
Zamir et al. Gamut mapping in cinematography through perceptually-based contrast modification
CN112771604A (en) System and method for color mapping to improve the viewing of color vision deficient observers
US10418000B2 (en) Method and apparatus for screen capture on a display device
US20170154454A1 (en) Image processing apparatus and image processing method
CN113132696A (en) Image tone mapping method, device, electronic equipment and storage medium
CN105205054A (en) Method for displaying pictures and method and device for acquiring hue characteristic values of pictures
CN105551011B (en) A kind of setting method and device of dominant hue
KR20070090224A (en) How to Process Electronic Color Image Saturation
JP2013098681A (en) Image processing apparatus, image processing method and program
CN108156391A (en) The brightness adjusting method and terminal of flash lamp
CN104021579A (en) Method and device for changing colors of image
CN114155569A (en) Cosmetic progress detection method, device, equipment and storage medium
CN118101854A (en) Image processing method, device, electronic device and computer readable storage medium
US8922580B2 (en) Method and system to modify a color lookup table
CN113554554B (en) Image color filtering method and device, electronic device, and storage medium
CN113298888B (en) Image processing method, device, equipment and storage medium

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230718

Address after: Room 554, floor 5, building 3, No. 969, Wenyi West Road, Wuchang Street, Yuhang District, Hangzhou City, Zhejiang Province

Applicant after: TAOBAO (CHINA) SOFTWARE CO.,LTD.

Address before: Box 847, four, Grand Cayman capital, Cayman Islands, UK

Applicant before: ALIBABA GROUP HOLDING Ltd.

GR01 Patent grant
GR01 Patent grant