CN111047527A - Method and storage medium for adjusting dynamic element based on input element - Google Patents

Method and storage medium for adjusting dynamic element based on input element Download PDF

Info

Publication number
CN111047527A
CN111047527A CN201911164209.0A CN201911164209A CN111047527A CN 111047527 A CN111047527 A CN 111047527A CN 201911164209 A CN201911164209 A CN 201911164209A CN 111047527 A CN111047527 A CN 111047527A
Authority
CN
China
Prior art keywords
input
elements
dynamic
information
adaptively adjusting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911164209.0A
Other languages
Chinese (zh)
Inventor
郑永浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuzhou Warmcolor Network Tec Co ltd
Original Assignee
Fuzhou Warmcolor Network Tec 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 Fuzhou Warmcolor Network Tec Co ltd filed Critical Fuzhou Warmcolor Network Tec Co ltd
Priority to CN201911164209.0A priority Critical patent/CN111047527A/en
Publication of CN111047527A publication Critical patent/CN111047527A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/24Indexing scheme for image data processing or generation, in general involving graphical user interfaces [GUIs]

Landscapes

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

Abstract

The invention provides a method and a storage medium for adjusting dynamic elements based on input elements, wherein the method comprises the following steps: receiving an input element; adaptively adjusting dynamic element parameters corresponding to the input elements according to the characteristic information of the input elements; rendering the input elements and the adjusted dynamic elements, and outputting rendering results. According to the scheme, the characteristic parameters of the input elements are collected, and the dynamic elements corresponding to the input elements are adaptively adjusted according to the characteristic parameters, so that the rendered dynamic elements are matched with the style of the input elements, and the sensory experience of a user is effectively improved.

Description

Method and storage medium for adjusting dynamic element based on input element
Technical Field
The present invention relates to the field of input element rendering, and in particular, to a method and a storage medium for adjusting a dynamic element based on an input element.
Background
With the rapid development of the mobile internet, the demand of users for customizing videos through mobile terminals is rapidly increased. After a user shoots a video, the video content is usually modified by the user, for example, corresponding texts, emoticons, music and animation effects are added. However, all the added decoration effects are manually added by a user, the decoration effects are not associated with element information or video input by the user, and the decoration effects cannot be adaptively selected or adjusted according to the content of the input elements, so that the sensory experience of the user is influenced.
Disclosure of Invention
Therefore, a technical scheme for adjusting dynamic elements based on input elements is needed to be provided, so as to solve the problem that the existing input element decoration mode cannot be adaptively adjusted according to the content of the input elements, and the sensory experience of a user is influenced.
To achieve the above object, the inventor provides a method for adjusting a dynamic element based on an input element, wherein the method comprises the following steps:
receiving an input element;
adaptively adjusting dynamic element parameters corresponding to the input elements according to the characteristic information of the input elements;
rendering the input elements and the adjusted dynamic elements, and outputting rendering results.
Further, the step of adaptively adjusting the dynamic element parameters corresponding to the input elements according to the feature information of the input elements includes:
extracting pixel point characteristics of the image information, and counting the color proportion condition of each pixel;
and correspondingly adjusting dynamic elements corresponding to the current image information according to the color proportion of each pixel point, wherein the dynamic elements comprise effect change colors of additional attributes corresponding to the current image information.
Further, the step of adaptively adjusting the dynamic element parameters corresponding to the input elements according to the feature information of the input elements includes:
and adaptively adjusting parameters of the dynamic elements according to the number of words or the number of lines of the input text information, wherein the parameters of the dynamic elements comprise one or more items of positions, animations and display states corresponding to the dynamic elements.
Further, the category of the input element comprises image information, text information or image information; the step of adaptively adjusting the dynamic element parameters corresponding to the input elements according to the characteristic information of the input elements specifically comprises the following steps:
and adaptively adjusting the dynamic element parameters corresponding to the input elements of another category according to the characteristic information of the input elements of one category.
Further, the "receiving an input element" includes:
receiving a template selection instruction, and displaying a rendering component information input interface; the rendering component information input interface comprises one or more rendering component information input fields;
input elements input by a user in at least one rendering component information input field are received.
The inventors also provide a storage medium storing a computer program which, when executed by a processor, performs the steps of:
receiving an input element;
adaptively adjusting dynamic element parameters corresponding to the input elements according to the characteristic information of the input elements;
rendering the input elements and the adjusted dynamic elements, and outputting rendering results.
Further, the input element is image information, and the step of "adaptively adjusting a dynamic element parameter corresponding to the input element according to feature information of the input element" when the computer program is executed by the processor specifically includes:
extracting pixel point characteristics of the image information, and counting the color proportion condition of each pixel;
and correspondingly adjusting dynamic elements corresponding to the current image information according to the color proportion of each pixel point, wherein the dynamic elements comprise effect change colors of additional attributes corresponding to the current image information.
Further, the input element is text information, and the step of "adaptively adjusting a dynamic element parameter corresponding to the input element according to feature information of the input element" implemented by the computer program when executed by the processor specifically includes:
and adaptively adjusting parameters of the dynamic elements according to the number of words or the number of lines of the input text information, wherein the parameters of the dynamic elements comprise one or more items of positions, animations and display states corresponding to the dynamic elements.
Further, the category of the input element comprises image information, text information or image information; when being executed by the processor, the computer program realizes the steps of adaptively adjusting the dynamic element parameters corresponding to the input elements according to the characteristic information of the input elements, and specifically comprises the following steps:
and adaptively adjusting the dynamic element parameters corresponding to the input elements of another category according to the characteristic information of the input elements of one category.
Further, the "receiving an input element" includes:
receiving a template selection instruction, and displaying a rendering component information input interface; the rendering component information input interface comprises one or more rendering component information input fields;
input elements input by a user in at least one rendering component information input field are received.
The method and the storage medium for adjusting dynamic elements based on input elements according to the above technical solution comprise the following steps: receiving an input element; adaptively adjusting dynamic element parameters corresponding to the input elements according to the characteristic information of the input elements; rendering the input elements and the adjusted dynamic elements, and outputting rendering results. According to the scheme, the characteristic parameters of the input elements are collected, and the dynamic elements corresponding to the input elements are adaptively adjusted according to the characteristic parameters, so that the rendered dynamic elements are matched with the style of the input elements, and the sensory experience of a user is effectively improved.
Drawings
Fig. 1 is a flowchart of a method for adjusting a dynamic element based on an input element according to an embodiment of the present invention.
Detailed Description
To explain technical contents, structural features, and objects and effects of the technical solutions in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
Fig. 1 is a schematic diagram of a system for adjusting dynamic elements based on input elements according to an embodiment of the present invention. The method comprises the following steps:
the process first proceeds to step S101 to receive input elements.
The input element includes text information or image information. The character information comprises numbers, English, Chinese characters and the like, and the image information can be a default image of the system or an imported image stored in a personal album of the user.
Preferably, the "receiving an input element" includes: receiving a template selection instruction, and displaying a rendering component information input interface; the rendering component information input interface comprises one or more rendering component information input fields; input elements input by a user in at least one rendering component information input field are received.
Taking an input element as image information as an example, the template refers to a video rendering template, and is generally a video segment, and when the video segment is presented, besides presenting a plurality of input element pictures, the video segment also presents effects corresponding to the input element pictures. The input element pictures are configured to be replaceable, the corresponding effects of the input element pictures are configured to be non-replaceable, and a user can upload input elements by self definition through a terminal to replace the input element pictures in the template. Specifically, when a user clicks and selects a template on the terminal, a rendering component information input interface is correspondingly displayed on the terminal interface, and the user can complete the import of the input elements through the rendering component information.
And then, the step S102 is carried out to adaptively adjust the dynamic element parameters corresponding to the input elements according to the characteristic information of the input elements.
Specifically, the input element may be image information, and the step of "adaptively adjusting a dynamic element parameter corresponding to the input element according to feature information of the input element" specifically includes: extracting the pixel point characteristics of the image information, and counting the color proportion condition of each pixel; and correspondingly adjusting the dynamic elements corresponding to the image information according to the color proportion condition of each pixel. Preferably, the dynamic element is a color with a changing effect corresponding to the image information. The pixel point characteristics comprise the number of pixel points contained in the input elements and the pixel values of the pixel points, the pixel values are different, and the color effects of the pixel points on the input elements are also different.
And then, the step S103 is carried out to render the input elements and the adjusted dynamic elements and output rendering results.
For example, the template is an animation of a golden lion input element rotating playing, and the periphery of the lion can also present a changing golden style effect in the lion rotating playing process, such as background color. When a user inputs an input element from the rendering component information input field, such as a black-and-white panda pattern, if the scheme of the prior art is adopted, only the golden lion is replaced by the black-and-white panda to be played, and the color of the played theme style cannot be adjusted in a self-adaptive manner. By adopting the scheme of the application, after the user uploads the black-white panda patterns, the system can identify the input element information uploaded by the user, count the distribution conditions of black and white pixel points in the currently uploaded input elements, and adjust the background playing effect according to the counted proportion of the colors of the pixel points, so as to obtain a new video animation (namely a rendering result) by rendering. In the playing process of the video animation, the rotating pattern of the black-and-white pandas is displayed, and the color of the rotating background effect can be adaptively adjusted to be black and white, so that the color of the input element is consistent with the effect presented by the input element, and the sensory experience of a user is improved.
In some embodiments, the input element is text information, and the step of adaptively adjusting the dynamic element parameter corresponding to the input element according to the feature information of the input element specifically includes: and adaptively adjusting parameters of the dynamic elements according to the number of words or the number of lines of the input text information, wherein the parameters of the dynamic elements comprise one or more items of positions, animations and display states corresponding to the dynamic elements.
In some embodiments, the category of the input element includes image information, text information, or visual information; the step of adaptively adjusting the dynamic element parameters corresponding to the input elements according to the characteristic information of the input elements specifically comprises the following steps: and adaptively adjusting the dynamic element parameters corresponding to the input elements of another category according to the characteristic information of the input elements of one category. For example, the color distribution information of the input image may affect the position and color of the output text, and the color information of the input text may affect the color of the output image.
And the inventors further provide a storage medium storing a computer program which, when executed by a processor, performs the steps of:
receiving an input element;
adaptively adjusting dynamic element parameters corresponding to the input elements according to the characteristic information of the input elements;
rendering the input elements and the adjusted dynamic elements, and outputting rendering results.
In some embodiments, the input element is image information, and the step of adaptively adjusting a dynamic element parameter corresponding to the input element according to the feature information of the input element when the computer program is executed by the processor specifically includes:
extracting pixel point characteristics of the image information, and counting the color proportion condition of each pixel;
and correspondingly adjusting dynamic elements corresponding to the current image information according to the color proportion of each pixel point, wherein the dynamic elements comprise effect change colors of additional attributes corresponding to the current image information.
In some embodiments, the input element is text information, and the step of adaptively adjusting a dynamic element parameter corresponding to the input element according to the feature information of the input element when the computer program is executed by the processor specifically includes:
and adaptively adjusting parameters of the dynamic elements according to the number of words or the number of lines of the input text information, wherein the parameters of the dynamic elements comprise one or more items of positions, animations and display states corresponding to the dynamic elements.
In some embodiments, the category of the input element includes image information, text information, or visual information; when being executed by the processor, the computer program realizes the steps of adaptively adjusting the dynamic element parameters corresponding to the input elements according to the characteristic information of the input elements, and specifically comprises the following steps:
and adaptively adjusting the dynamic element parameters corresponding to the input elements of another category according to the characteristic information of the input elements of one category.
In some embodiments, the "receiving an input element" comprises:
receiving a template selection instruction, and displaying a rendering component information input interface; the rendering component information input interface comprises one or more rendering component information input fields;
input elements input by a user in at least one rendering component information input field are received.
The invention provides a method and a storage medium for adjusting dynamic elements based on input elements, wherein the method comprises the following steps: receiving an input element; adaptively adjusting dynamic element parameters corresponding to the input elements according to the characteristic information of the input elements; rendering the input elements and the adjusted dynamic elements, and outputting rendering results. According to the scheme, the characteristic parameters of the input elements are collected, and the dynamic elements corresponding to the input elements are adaptively adjusted according to the characteristic parameters, so that the rendered dynamic elements are matched with the style of the input elements, and the sensory experience of a user is effectively improved.
It should be noted that, although the above embodiments have been described herein, the invention is not limited thereto. Therefore, based on the innovative concepts of the present invention, the technical solutions of the present invention can be directly or indirectly applied to other related technical fields by making changes and modifications to the embodiments described herein, or by using equivalent structures or equivalent processes performed in the content of the present specification and the attached drawings, which are included in the scope of the present invention.

Claims (10)

1. A method for adjusting a dynamic element based on an input element, the method comprising the steps of:
receiving an input element;
adaptively adjusting dynamic element parameters corresponding to the input elements according to the characteristic information of the input elements;
rendering the input elements and the adjusted dynamic elements, and outputting rendering results.
2. The method according to claim 1, wherein the input element is image information, and the step of adaptively adjusting the dynamic element parameter corresponding to the input element according to the feature information of the input element specifically comprises:
extracting pixel point characteristics of the image information, and counting the color proportion condition of each pixel;
and correspondingly adjusting dynamic elements corresponding to the current image information according to the color proportion of each pixel point, wherein the dynamic elements comprise effect change colors of additional attributes corresponding to the current image information.
3. The method according to claim 1, wherein the input element is text information, and the step of adaptively adjusting the dynamic element parameter corresponding to the input element according to the feature information of the input element specifically comprises:
and adaptively adjusting parameters of the dynamic elements according to the number of words or the number of lines of the input text information, wherein the parameters of the dynamic elements comprise one or more items of positions, animations and display states corresponding to the dynamic elements.
4. The method of claim 1, wherein the category of the input element comprises image information, text information, or visual information; the step of adaptively adjusting the dynamic element parameters corresponding to the input elements according to the characteristic information of the input elements specifically comprises the following steps:
and adaptively adjusting the dynamic element parameters corresponding to the input elements of another category according to the characteristic information of the input elements of one category.
5. The method of any of claims 1-4, wherein the "receiving an input element" comprises:
receiving a template selection instruction, and displaying a rendering component information input interface; the rendering component information input interface comprises one or more rendering component information input fields;
input elements input by a user in at least one rendering component information input field are received.
6. A storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the steps of:
receiving an input element;
adaptively adjusting dynamic element parameters corresponding to the input elements according to the characteristic information of the input elements;
rendering the input elements and the adjusted dynamic elements, and outputting rendering results.
7. The storage medium of claim 6, wherein the input element is image information, and the computer program, when executed by the processor, performs the step of adaptively adjusting a dynamic element parameter corresponding to the input element according to the feature information of the input element, specifically comprising:
extracting pixel point characteristics of the image information, and counting the color proportion condition of each pixel;
and correspondingly adjusting dynamic elements corresponding to the current image information according to the color proportion of each pixel point, wherein the dynamic elements comprise effect change colors of additional attributes corresponding to the current image information.
8. The storage medium of claim 6, wherein the input element is text information, and the computer program, when executed by the processor, performs the step of adaptively adjusting a dynamic element parameter corresponding to the input element according to the feature information of the input element, specifically comprising:
and adaptively adjusting parameters of the dynamic elements according to the number of words or the number of lines of the input text information, wherein the parameters of the dynamic elements comprise one or more items of positions, animations and display states corresponding to the dynamic elements.
9. The storage medium of claim 6, wherein the category of the input element includes image information, text information, or image information; when being executed by the processor, the computer program realizes the steps of adaptively adjusting the dynamic element parameters corresponding to the input elements according to the characteristic information of the input elements, and specifically comprises the following steps:
and adaptively adjusting the dynamic element parameters corresponding to the input elements of another category according to the characteristic information of the input elements of one category.
10. The storage medium of any one of claims 6 to 9, wherein the "receiving an input element" comprises:
receiving a template selection instruction, and displaying a rendering component information input interface; the rendering component information input interface comprises one or more rendering component information input fields;
input elements input by a user in at least one rendering component information input field are received.
CN201911164209.0A 2019-11-25 2019-11-25 Method and storage medium for adjusting dynamic element based on input element Pending CN111047527A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911164209.0A CN111047527A (en) 2019-11-25 2019-11-25 Method and storage medium for adjusting dynamic element based on input element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911164209.0A CN111047527A (en) 2019-11-25 2019-11-25 Method and storage medium for adjusting dynamic element based on input element

Publications (1)

Publication Number Publication Date
CN111047527A true CN111047527A (en) 2020-04-21

Family

ID=70233889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911164209.0A Pending CN111047527A (en) 2019-11-25 2019-11-25 Method and storage medium for adjusting dynamic element based on input element

Country Status (1)

Country Link
CN (1) CN111047527A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050231512A1 (en) * 2004-04-16 2005-10-20 Niles Gregory E Animation of an object using behaviors
US20160098972A1 (en) * 2014-10-01 2016-04-07 Honda Motor Co., Ltd. Color management
CN106855797A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 The method to set up and device of a kind of interface element color
CN107203312A (en) * 2017-05-04 2017-09-26 捷开通讯(深圳)有限公司 Rendering intent, the storage device of mobile terminal and its picture
WO2019019635A1 (en) * 2017-07-25 2019-01-31 平安科技(深圳)有限公司 Device and method for generating dynamic image, and computer readable storage medium
CN109857905A (en) * 2018-11-29 2019-06-07 维沃移动通信有限公司 A kind of video editing method and terminal device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050231512A1 (en) * 2004-04-16 2005-10-20 Niles Gregory E Animation of an object using behaviors
US20160098972A1 (en) * 2014-10-01 2016-04-07 Honda Motor Co., Ltd. Color management
CN106855797A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 The method to set up and device of a kind of interface element color
CN107203312A (en) * 2017-05-04 2017-09-26 捷开通讯(深圳)有限公司 Rendering intent, the storage device of mobile terminal and its picture
WO2019019635A1 (en) * 2017-07-25 2019-01-31 平安科技(深圳)有限公司 Device and method for generating dynamic image, and computer readable storage medium
CN109857905A (en) * 2018-11-29 2019-06-07 维沃移动通信有限公司 A kind of video editing method and terminal device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
尹小港, 海洋出版社 *

Similar Documents

Publication Publication Date Title
CN105138317B (en) Window display processing method and device for terminal device
US20160246475A1 (en) Dynamic icon recoloring to improve contrast
CN107621966B (en) Graphical user interface display method and device and terminal equipment
US20130207994A1 (en) System and method for generating and applying a color theme to a user interface
WO2014200644A1 (en) Content adjustment in graphical user interface based on background content
CN112416346B (en) Interface color scheme generation method, device, equipment and storage medium
CN103123581B (en) A kind of application interface replacing options of mobile terminal and device and mobile terminal
CN108765520B (en) Text information rendering method and device, storage medium and electronic device
US7342585B2 (en) Use of an input overscaled bitmap to generate emboldened overscaled bitmap
US11462002B2 (en) Wallpaper management method, apparatus, mobile terminal, and storage medium
US10078436B2 (en) User interface adjusting method and apparatus using the same
CN103065338A (en) Method and device providing shadow for foreground image in background image
WO2022068293A1 (en) Page display method and apparatus
CN112102422B (en) Image processing method and device
CN112395030A (en) Page processing method and device, electronic device and storage medium
US20140101614A1 (en) Theme display method and related apparatus
CN110838154A (en) Picture processing method and device
CN104965813B (en) The treating method and apparatus of textual materials
CN113053322B (en) Display optimization method of electronic ink screen and related device
CN106911937A (en) The collocation method and system of a kind of live middle present banner background colour
CN113791853A (en) Method, system, device and medium for self-defining editing dial interface
CN106528161B (en) Terminal device, page display processing device and method
CN113301414B (en) Interface generation processing method and device, electronic equipment and computer storage medium
CN113411553A (en) Image processing method, image processing device, electronic equipment and storage medium
CN107085521A (en) A kind of icon display method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200421

RJ01 Rejection of invention patent application after publication