CN112215916A - Design drawing generation method and device and electronic equipment - Google Patents

Design drawing generation method and device and electronic equipment Download PDF

Info

Publication number
CN112215916A
CN112215916A CN202011023120.5A CN202011023120A CN112215916A CN 112215916 A CN112215916 A CN 112215916A CN 202011023120 A CN202011023120 A CN 202011023120A CN 112215916 A CN112215916 A CN 112215916A
Authority
CN
China
Prior art keywords
image
filled
initial
region
target
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
CN202011023120.5A
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.)
Dafang Zhongzhi Creative Advertising Zhuhai Co ltd
Original Assignee
Dafang Zhongzhi Creative Advertising Zhuhai 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 Dafang Zhongzhi Creative Advertising Zhuhai Co ltd filed Critical Dafang Zhongzhi Creative Advertising Zhuhai Co ltd
Priority to CN202011023120.5A priority Critical patent/CN112215916A/en
Publication of CN112215916A publication Critical patent/CN112215916A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/30Determination of transform parameters for the alignment of images, i.e. image registration
    • G06T7/33Determination of transform parameters for the alignment of images, i.e. image registration using feature-based methods
    • G06T7/337Determination of transform parameters for the alignment of images, i.e. image registration using feature-based methods involving reference images or patches

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application provides a design drawing generation method, a device and electronic equipment, wherein the method comprises the following steps: screening out a target image layer frame from a pre-stored image layer frame library according to the initial image set; filling each image in the initial image set into the target image layer frame to obtain an initial filling image, wherein the initial filling image comprises a region to be filled formed by each image in the initial image set; and adjusting the position and the size of each region to be filled in the initial filling map to obtain a target design map corresponding to the initial image set.

Description

Design drawing generation method and device and electronic equipment
Technical Field
The present application relates to the field of image processing technologies, and in particular, to a method and an apparatus for generating a design drawing, and an electronic device.
Background
Currently, in various fields, when users need to know their products or activities, information related to their products or activities is distributed by various video advertisements or image advertisements. At present, image advertisements or video advertisements are generally generated by drawing corresponding information through a computer or a hand drawing manner by related personnel such as designers, etc. to form advertisement design drawings. But this approach is relatively slow in the way the blueprints are obtained.
Disclosure of Invention
The application aims to provide a design drawing generation method, a device and an electronic device, which can solve the problem of low efficiency of obtaining a design drawing.
In a first aspect, an embodiment of the present application provides a method for generating a design drawing, including:
screening out a target image layer frame from a pre-stored image layer frame library according to the initial image set;
filling each image in the initial image set into the target image layer frame to obtain an initial filling image, wherein the initial filling image comprises a region to be filled formed by each image in the initial image set;
and adjusting the position and the size of each region to be filled in the initial filling map to obtain a target design map corresponding to the initial image set.
In an optional embodiment, the filling each image in the initial image set into the target layer frame to obtain an initial filling map includes:
matching the image attributes of each image in the initial image set with the filling attributes of the region to be filled in the target image layer frame;
and filling each image in the initial image set to a region to be filled of the target image layer framework with matched attributes to obtain the initial filling image.
In the above embodiment, the attributes of the images in the initial image set are also considered in the process of obtaining the design drawing, so that the images with different attributes can be arranged at corresponding positions, and the generated design drawing can meet the design requirement.
In an optional embodiment, the matching the image attributes of each image in the initial image set with the attributes of the region to be filled in the target layer frame includes:
determining the image attribute of each image according to the name of each image in the initial image set;
determining filling attributes of the areas to be filled according to the identification of the areas to be filled in the target graph layer frame;
and matching the image attributes of the images with the filling attributes of the areas to be filled so as to determine the corresponding relation between the images in the initial image set and the areas to be filled in the target image layer frame.
In the above embodiment, the corresponding attribute is determined based on the name of the image and the identifier of the region to be filled, so that the determination of the attribute is relatively simpler; further, filling the image according to the determined attributes can make the determined layout of the initial filling graph meet design requirements better.
In an optional embodiment, the filling each image in the initial image set into the region to be filled of the target layer frame with the matched attribute to obtain the initial filling map includes:
aiming at a target image in the initial image set, adjusting the size of the target image according to the size of a target region to be filled matched with the target image attribute to obtain a target correction image, wherein the target image is any one image in the initial image set;
filling the target correction image into the target region to be filled;
and after all the images in the initial image set are filled into the region to be filled with the matched attributes in the target image layer frame, obtaining the initial filling image.
In the above embodiment, when image filling is performed, the images in the initial image set may also be adjusted, so that the images can better match with the region to be filled in the target layer frame, and the size of the initial filling map obtained by filling is better matched.
In an optional embodiment, the adjusting the size of the target image according to the size of the target region to be filled matched with the target image attribute includes:
identifying a target region to be filled matched with the target image attribute so as to determine the length, the width and the length-width ratio of the target region to be filled;
and adjusting the size of the target image according to the length, the width and the length-width ratio of the target region to be filled.
In the above embodiment, the adaptive adjustment is performed by combining the length data of the region to be filled, so that the image and the region to be filled can be better fused, and the visual effect of the obtained initial filling map is better.
In an optional embodiment, the adjusting the position and size of each region to be filled in the initial filling map to obtain the target design map corresponding to the initial image set includes:
and adjusting the position and the size of each region to be filled in the initial filling map according to a preset map region rule to obtain a target design map corresponding to the initial image set.
In an optional embodiment, the preset region rule includes: any one or more of a figure region interval, a graph-text position relation and a substrate proportion; adjusting the position and size of each region to be filled in the initial filling map according to a preset map region rule to obtain a target design map corresponding to the initial image set, including:
adjusting the position of each region to be filled in the initial filling graph so that the distance between the regions to be filled is within the region distance interval; alternatively, the first and second electrodes may be,
adjusting the positions of all the areas to be filled in the initial filling diagram so that the positions of the text regions in all the areas to be filled in the initial filling diagram and the image regions in all the areas to be filled in the initial filling diagram meet the image-text position relationship; alternatively, the first and second electrodes may be,
adjusting the size of each region to be filled in the initial filling map so that the ratio of the margin area between the regions to be filled to the area of the initial filling map is within a margin ratio interval; alternatively, the first and second electrodes may be,
when any region to be filled has a substrate, adjusting the size of a filling image in each region to be filled in the initial filling map so that the ratio of the size of the filling image to the size of the substrate meets a proportion interval defined by the substrate proportion.
In the above embodiment, the region to be filled is adaptively adjusted according to the preset region rule, so that the obtained target design drawing can meet the design requirement, and the visual effect is better.
In a second aspect, an embodiment of the present application provides a design drawing generation apparatus, including:
the screening module is used for screening out a target image layer frame from a pre-stored image layer frame library according to the initial image set;
the filling module is used for filling each image in the initial image set into the target image layer frame to obtain an initial filling image, and the initial filling image comprises a region to be filled formed by each image in the initial image set;
and the adjusting module is used for adjusting the position and the size of each region to be filled in the initial filling map so as to obtain a target design map corresponding to the initial image set.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory storing machine-readable instructions executable by the processor, the machine-readable instructions being executable by the processor to perform the steps of the method described above when the electronic device is run.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the above-mentioned method.
According to the design drawing generation method, the design drawing generation device and the electronic equipment, the design drawing capable of bearing information to be published can be obtained in an automatic production mode, and the obtaining efficiency of the design drawing can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a block diagram of an electronic device according to an embodiment of the present disclosure.
Fig. 2 is a flowchart of a method for generating a design drawing according to an embodiment of the present application.
Fig. 3 is a detailed flowchart of step 202 of the method for generating a design drawing according to the embodiment of the present application.
Fig. 4 is a functional module schematic diagram of a design drawing generation apparatus according to an embodiment of the present application.
Detailed Description
The technical solution in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example one
To facilitate understanding of the present embodiment, first, an electronic device that executes the design drawing generation method disclosed in the embodiments of the present application will be described in detail.
As shown in fig. 1, is a block schematic diagram of an electronic device. The electronic device 100 may include a memory 111, a memory controller 112, a processor 113, a peripheral interface 114, an input-output unit 115, and a display unit 116. It will be understood by those of ordinary skill in the art that the structure shown in fig. 1 is merely exemplary and is not intended to limit the structure of the electronic device 100. For example, electronic device 100 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The above-mentioned elements of the memory 111, the memory controller 112, the processor 113, the peripheral interface 114, the input/output unit 115 and the display unit 116 are electrically connected to each other directly or indirectly, so as to implement data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The processor 113 is used to execute the executable modules stored in the memory.
The Memory 111 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 111 is configured to store a program, and the processor 113 executes the program after receiving an execution instruction, and the method executed by the electronic device 100 defined by the process disclosed in any embodiment of the present application may be applied to the processor 113, or implemented by the processor 113.
The processor 113 may be an integrated circuit chip having signal processing capability. The Processor 113 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The peripheral interface 114 couples various input/output devices to the processor 113 and memory 111. In some embodiments, the peripheral interface 114, the processor 113, and the memory controller 112 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
The input/output unit 115 is used to provide input data to the user. The input/output unit 115 may be, but is not limited to, a mouse, a keyboard, and the like.
The display unit 116 provides an interactive interface (e.g., a user operation interface) between the electronic device 100 and the user or is used for displaying image data to the user for reference. In this embodiment, the display unit may be a liquid crystal display or a touch display. In the case of a touch display, the display can be a capacitive touch screen or a resistive touch screen, which supports single-point and multi-point touch operations. The support of single-point and multi-point touch operations means that the touch display can sense touch operations simultaneously generated from one or more positions on the touch display, and the sensed touch operations are sent to the processor for calculation and processing.
The display unit 116 in this embodiment may be used to display a target layer frame, an initial image set, and the like in the generation process of the design drawing. Optionally, the display unit 116 may also be configured to display a target design drawing generated based on the design drawing generation method in the embodiment of the present application.
The electronic device 100 in this embodiment may be configured to perform each step in each method provided in this embodiment. The implementation of the method for generating the design drawing is described in detail below by several embodiments.
Example two
Please refer to fig. 2, which is a flowchart illustrating a method for generating a design drawing according to an embodiment of the present disclosure. The specific process shown in fig. 2 will be described in detail below.
Step 201, a target image layer frame is screened out from a pre-stored image layer frame library according to the initial image set.
In this embodiment, the target layer frame may represent a blank image that is not filled with actual graphical content capable of conveying information.
Alternatively, the target image layer frame may be screened out according to the number of images in the initial image set.
Alternatively, the target image layer frame can be screened out according to the size of the design drawing required to be constructed by the initial image set.
In this embodiment, the number of the regions to be filled in the target layer frame may be the same as the number of the images in the initial image set.
In this embodiment, the images in the initial image set may include a plurality of images. Each image may include information to be presented. Illustratively, the information may include: title, product schematic diagram, item logo (logo), merchant logo (logo), product location, contact information and the like.
In this embodiment, the pre-stored layer frame library may include a plurality of layer frames.
And 202, filling each image in the initial image set into the target map layer frame to obtain an initial filling map.
The initial filling map comprises areas to be filled formed by all images in the initial image set.
Optionally, the images in the initial image set can be filled into the area to be filled in the target image layer frame one by one.
In this embodiment, before the images are filled into the region to be filled in the target layer frame, the region to be filled, which needs to be filled in each image, may be determined.
In one embodiment, as shown in fig. 3, step 202 may include the following steps 2021 and 2022.
Step 2021, matching the image attributes of each image in the initial image set with the filling attributes of the region to be filled in the target image layer frame.
Illustratively, step 2021 may include the following steps.
Step a, determining the image attribute of each image according to the name of each image in the initial image set.
And b, determining the filling attribute of each region to be filled according to the identifier of the region to be filled in the target graph layer frame.
Illustratively, the identification is used to indicate the name of the content that the region to be filled can fill.
And c, matching the image attributes of the images with the filling attributes of the areas to be filled so as to determine the corresponding relation between the images in the initial image set and the areas to be filled in the target image layer frame.
For example, when an image name in the initial image set and an identifier of a region to be filled represent the same type of content, the image may be associated with the region to be filled.
Step 2022, filling each image in the initial image set to the region to be filled of the target graph layer frame with the matched attributes to obtain the initial filling graph.
Optionally, step 2022 may include the following steps.
And d, aiming at a target image in the initial image set, adjusting the size of the target image according to the size of a target region to be filled matched with the target image attribute to obtain a target correction image, wherein the target image is any one image in the initial image set.
In one embodiment, step d may comprise: identifying a target region to be filled matched with the target image attribute so as to determine the length, the width and the length-width ratio of the target region to be filled; and adjusting the size of the target image according to the length, the width and the length-width ratio of the target region to be filled.
And e, filling the target correction image into the target area to be filled.
And f, filling all the images in the initial image set to the region to be filled with the matched attributes in the target image layer frame to obtain the initial filling image.
In another embodiment, step 202 may include: and filling each image into the target image layer frame according to the attribute of each image in the initial image set to obtain an initial filling image.
Illustratively, each region to be filled in of the target graph layer framework may be used to fill in a type of content.
For example, if the first region to be filled is used for filling a title of an item, the first image may be filled into the first region to be filled if the identified attribute of the first image is the title. Illustratively, the first image is filled in according to coordinate information of the first region to be filled in. For example, if the first image and the first region to be filled are rectangles, the vertex of the first image is aligned with the coordinates of the four corners of the first region to be filled, and the first image is filled into the first region to be filled. For another example, when the first image is in an irregular shape, the center of the first image is aligned with the center of the first region to be filled, and the first image is filled into the first region to be filled.
Step 203, adjusting the position and size of each region to be filled in the initial filling map to obtain a target design map corresponding to the initial image set.
Optionally, step 203 may comprise: and adjusting the position and the size of each region to be filled in the initial filling map according to a preset map region rule to obtain a target design map corresponding to the initial image set.
In this embodiment, the preset region rule may include: and any one or more of a region interval, a graph-text position relation and a substrate proportion.
For example, the adjusting the position and size of each region to be filled in the initial filling map according to the preset map region rule to obtain the target design map corresponding to the initial image set may include: and adjusting the position of each region to be filled in the initial filling graph so as to enable the distance between the regions to be filled to be within the region distance interval.
For example, when the initial filling map includes a plurality of regions to be filled, and the distance between two of the regions to be filled is larger, the distance between two of the regions to be filled may be moved, so that the distance between two of the regions to be filled is within the region-to-region distance interval.
For example, when the initial filling map includes a plurality of regions to be filled, if the distance between two regions to be filled is small, the distance between two regions to be filled may be moved to be larger, so that the distance between two regions to be filled is within the region-to-region distance interval.
For example, if the edge of one region to be filled in the initial filling map is close to the edge of the initial filling map and the edge of the region to be filled is closer to the edge of the initial filling map, the position of the region to be filled may be moved to adjust the distance between the edge of the region to be filled and the edge of the initial filling map, so that the distance between the edge of the region to be filled and the edge of the initial filling map is within the region-to-region interval.
For example, the adjusting the position and size of each region to be filled in the initial filling map according to the preset map region rule to obtain the target design map corresponding to the initial image set may include: and adjusting the positions of all the areas to be filled in the initial filling diagram so that the positions of the text regions in all the areas to be filled in the initial filling diagram and the image regions in all the areas to be filled in the initial filling diagram meet the image-text position relationship.
For example, the teletext position relationship may be such that there is no overlap of the text region and the image region.
For example, the adjusting the position and size of each region to be filled in the initial filling map according to the preset map region rule to obtain the target design map corresponding to the initial image set may include: and adjusting the size of each region to be filled in the initial filling diagram so that the ratio of the margin area between the regions to be filled to the area of the initial filling diagram is within the margin ratio interval.
Optionally, the value of the margin ratio interval may be set according to different designs. For example, the margin ratio interval may be [0.18,0.22], [0.17,0.23], [0.16,0.3], [0.15,0.25], or the like.
For example, the adjusting the position and size of each region to be filled in the initial filling map according to the preset map region rule to obtain the target design map corresponding to the initial image set may include: when any region to be filled has a substrate, adjusting the size of a filling image in each region to be filled in the initial filling map so that the ratio of the size of the filling image to the size of the substrate meets a proportion interval defined by the substrate proportion.
In one example, the substrate ratio may define a ratio interval of [0.8,0.9], [0.77,0.93], [0.86,0.92], [0.8,0.95], and the like.
In this embodiment, the target design drawing can be used to propagate information to be propagated. The information may be merchandise information, activity information, public service information, etc. The merchandise information may be house information, daily article information, household article information, etc.
In the method for generating the design drawing provided by the embodiment of the application, the design drawing capable of bearing the information to be published can be obtained, and the efficiency of obtaining the design drawing can be improved.
Furthermore, the filled image can be adjusted according to a preset map area rule, so that the generated design map can be better.
EXAMPLE III
Based on the same application concept, a design diagram generating device corresponding to the design diagram generating method is further provided in the embodiment of the present application, and since the principle of solving the problem of the device in the embodiment of the present application is similar to that in the embodiment of the design diagram generating method, the implementation of the device in the embodiment of the present application may refer to the description in the embodiment of the method, and repeated details are omitted.
Please refer to fig. 4, which is a functional block diagram of a design diagram generating apparatus according to an embodiment of the present application. Each module in the design drawing generation apparatus in this embodiment is configured to execute each step in the above-described method embodiment. The design drawing generation device comprises a screening module 301, a filling module 302 and an adjusting module 303; wherein the content of the first and second substances,
the screening module 301 is configured to screen out a target layer frame from a pre-stored layer frame library according to an initial image set;
a filling module 302, configured to fill each image in the initial image set into the target layer frame to obtain an initial filling map, where the initial filling map includes a region to be filled formed by each image in the initial image set;
an adjusting module 303, configured to adjust a position and a size of each region to be filled in the initial filling map to obtain a target design map corresponding to the initial image set.
In a possible implementation, the filling module 302 includes a matching unit and a filling unit, wherein,
the matching unit is used for matching the image attributes of each image in the initial image set with the filling attributes of the area to be filled in the target image layer frame;
and the filling unit is used for filling each image in the initial image set to the area to be filled of the target image layer frame with the matched attributes so as to obtain the initial filling image.
In a possible embodiment, the matching unit is configured to:
determining the image attribute of each image according to the name of each image in the initial image set;
determining filling attributes of the areas to be filled according to the identification of the areas to be filled in the target graph layer frame;
and matching the image attributes of the images with the filling attributes of the areas to be filled so as to determine the corresponding relation between the images in the initial image set and the areas to be filled in the target image layer frame.
In one possible embodiment, the filling unit is configured to:
aiming at a target image in the initial image set, adjusting the size of the target image according to the size of a target region to be filled matched with the target image attribute to obtain a target correction image, wherein the target image is any one image in the initial image set;
filling the target correction image into the target region to be filled;
and after all the images in the initial image set are filled into the region to be filled with the matched attributes in the target image layer frame, obtaining the initial filling image.
In a possible embodiment, the filling unit is further configured to:
identifying a target region to be filled matched with the target image attribute so as to determine the length, the width and the length-width ratio of the target region to be filled;
and adjusting the size of the target image according to the length, the width and the length-width ratio of the target region to be filled.
In a possible implementation, the adjusting module 303 is configured to:
and adjusting the position and the size of each region to be filled in the initial filling map according to a preset map region rule to obtain a target design map corresponding to the initial image set.
In a possible implementation, the preset region rule includes: any one or more of a figure region interval, a graph-text position relation and a substrate proportion; adjusting the position and size of each region to be filled in the initial filling map according to a preset map region rule to obtain a target design map corresponding to the initial image set, including:
adjusting the position of each region to be filled in the initial filling graph so that the distance between the regions to be filled is within the region distance interval; alternatively, the first and second electrodes may be,
adjusting the positions of all the areas to be filled in the initial filling diagram so that the positions of the text regions in all the areas to be filled in the initial filling diagram and the image regions in all the areas to be filled in the initial filling diagram meet the image-text position relationship; alternatively, the first and second electrodes may be,
adjusting the size of each region to be filled in the initial filling map so that the ratio of the margin area between the regions to be filled to the area of the initial filling map is within a margin ratio interval; alternatively, the first and second electrodes may be,
when any region to be filled has a substrate, adjusting the size of a filling image in each region to be filled in the initial filling map so that the ratio of the size of the filling image to the size of the substrate meets a proportion interval defined by the substrate proportion.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the design drawing generation method in the above method embodiment.
The computer program product of the design drawing generation method provided in the embodiment of the present application includes a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the steps of the design drawing generation method in the above method embodiment, which may be specifically referred to in the above method embodiment and will not be described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for generating a design drawing, comprising:
screening out a target image layer frame from a pre-stored image layer frame library according to the initial image set;
filling each image in the initial image set into the target image layer frame to obtain an initial filling image, wherein the initial filling image comprises a region to be filled formed by each image in the initial image set;
and adjusting the position and the size of each region to be filled in the initial filling map to obtain a target design map corresponding to the initial image set.
2. The method of claim 1, wherein the populating each image in the initial set of images into the target map layer frame to obtain an initial population map, comprises:
matching the image attributes of each image in the initial image set with the filling attributes of the region to be filled in the target image layer frame;
and filling each image in the initial image set to a region to be filled of the target image layer framework with matched attributes to obtain the initial filling image.
3. The method according to claim 2, wherein matching image attributes of each image in the initial image set with attributes of a region to be filled in the target map-layer frame comprises:
determining the image attribute of each image according to the name of each image in the initial image set;
determining filling attributes of the areas to be filled according to the identification of the areas to be filled in the target graph layer frame;
and matching the image attributes of the images with the filling attributes of the areas to be filled so as to determine the corresponding relation between the images in the initial image set and the areas to be filled in the target image layer frame.
4. The method according to claim 2, wherein the filling each image in the initial image set into the region to be filled of the target layer frame with the matched attributes to obtain the initial filling map comprises:
aiming at a target image in the initial image set, adjusting the size of the target image according to the size of a target region to be filled matched with the target image attribute to obtain a target correction image, wherein the target image is any one image in the initial image set;
filling the target correction image into the target region to be filled;
and after all the images in the initial image set are filled into the region to be filled with the matched attributes in the target image layer frame, obtaining the initial filling image.
5. The method according to claim 4, wherein the adjusting the size of the target image according to the size of the target region to be filled matched with the target image attribute comprises:
identifying a target region to be filled matched with the target image attribute so as to determine the length, the width and the length-width ratio of the target region to be filled;
and adjusting the size of the target image according to the length, the width and the length-width ratio of the target region to be filled.
6. The method according to claim 1, wherein the adjusting the position and size of each region to be filled in the initial filling map to obtain the target design map corresponding to the initial image set comprises:
and adjusting the position and the size of each region to be filled in the initial filling map according to a preset map region rule to obtain a target design map corresponding to the initial image set.
7. The method of claim 6, wherein the preset region rule comprises: any one or more of a figure region interval, a graph-text position relation and a substrate proportion; adjusting the position and size of each region to be filled in the initial filling map according to a preset map region rule to obtain a target design map corresponding to the initial image set, including:
adjusting the position of each region to be filled in the initial filling graph so that the distance between the regions to be filled is within the region distance interval; alternatively, the first and second electrodes may be,
adjusting the positions of all the areas to be filled in the initial filling diagram so that the positions of the text regions in all the areas to be filled in the initial filling diagram and the image regions in all the areas to be filled in the initial filling diagram meet the image-text position relationship; alternatively, the first and second electrodes may be,
adjusting the size of each region to be filled in the initial filling map so that the ratio of the margin area between the regions to be filled to the area of the initial filling map is within a margin ratio interval; alternatively, the first and second electrodes may be,
when any region to be filled has a substrate, adjusting the size of a filling image in each region to be filled in the initial filling map so that the ratio of the size of the filling image to the size of the substrate meets a proportion interval defined by the substrate proportion.
8. A design drawing generation apparatus, comprising:
the screening module is used for screening out a target image layer frame from a pre-stored image layer frame library according to the initial image set;
the filling module is used for filling each image in the initial image set into the target image layer frame to obtain an initial filling image, and the initial filling image comprises a region to be filled formed by each image in the initial image set;
and the adjusting module is used for adjusting the position and the size of each region to be filled in the initial filling map so as to obtain a target design map corresponding to the initial image set.
9. An electronic device, comprising: a processor, a memory storing machine-readable instructions executable by the processor, the machine-readable instructions when executed by the processor performing the steps of the method of any of claims 1 to 7 when the electronic device is run.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, is adapted to carry out the steps of the method according to any one of claims 1 to 7.
CN202011023120.5A 2020-09-25 2020-09-25 Design drawing generation method and device and electronic equipment Pending CN112215916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011023120.5A CN112215916A (en) 2020-09-25 2020-09-25 Design drawing generation method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011023120.5A CN112215916A (en) 2020-09-25 2020-09-25 Design drawing generation method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112215916A true CN112215916A (en) 2021-01-12

Family

ID=74051848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011023120.5A Pending CN112215916A (en) 2020-09-25 2020-09-25 Design drawing generation method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112215916A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170277675A1 (en) * 2016-03-23 2017-09-28 Fuji Xerox Co., Ltd. Information processing apparatus and non-transitory computer readable medium
CN107392982A (en) * 2017-07-27 2017-11-24 深圳章鱼信息科技有限公司 Photographing On-line method, apparatus and system
CN108573515A (en) * 2017-03-10 2018-09-25 阿里巴巴集团控股有限公司 A kind of conjunction drawing generating method and device close figure template generation method and device
CN109076137A (en) * 2016-04-25 2018-12-21 富士胶片株式会社 Image synthesizer, image composition method and image synthesis program
CN109727298A (en) * 2018-02-12 2019-05-07 平安好房(上海)电子商务有限公司 Poster generation method, device, equipment and computer storage medium
CN110148198A (en) * 2019-05-10 2019-08-20 厦门欢乐逛科技股份有限公司 Poster template recommended method, medium, equipment and device
CN110198336A (en) * 2019-01-04 2019-09-03 华为技术有限公司 A kind of automatic composing method and cloud service platform
CN110660115A (en) * 2019-08-20 2020-01-07 海南车智易通信息技术有限公司 Method, device and system for generating advertisement picture
CN110889883A (en) * 2019-11-29 2020-03-17 焦点科技股份有限公司 Self-adaptive intelligent banner advertisement picture generation method and system
CN111242691A (en) * 2020-01-14 2020-06-05 广东博智林机器人有限公司 Method and device for generating advertisement poster, storage medium and terminal equipment
CN111402364A (en) * 2018-12-27 2020-07-10 北京字节跳动网络技术有限公司 Image generation method and device, terminal equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170277675A1 (en) * 2016-03-23 2017-09-28 Fuji Xerox Co., Ltd. Information processing apparatus and non-transitory computer readable medium
CN109076137A (en) * 2016-04-25 2018-12-21 富士胶片株式会社 Image synthesizer, image composition method and image synthesis program
CN108573515A (en) * 2017-03-10 2018-09-25 阿里巴巴集团控股有限公司 A kind of conjunction drawing generating method and device close figure template generation method and device
CN107392982A (en) * 2017-07-27 2017-11-24 深圳章鱼信息科技有限公司 Photographing On-line method, apparatus and system
CN109727298A (en) * 2018-02-12 2019-05-07 平安好房(上海)电子商务有限公司 Poster generation method, device, equipment and computer storage medium
CN111402364A (en) * 2018-12-27 2020-07-10 北京字节跳动网络技术有限公司 Image generation method and device, terminal equipment and storage medium
CN110198336A (en) * 2019-01-04 2019-09-03 华为技术有限公司 A kind of automatic composing method and cloud service platform
CN110148198A (en) * 2019-05-10 2019-08-20 厦门欢乐逛科技股份有限公司 Poster template recommended method, medium, equipment and device
CN110660115A (en) * 2019-08-20 2020-01-07 海南车智易通信息技术有限公司 Method, device and system for generating advertisement picture
CN110889883A (en) * 2019-11-29 2020-03-17 焦点科技股份有限公司 Self-adaptive intelligent banner advertisement picture generation method and system
CN111242691A (en) * 2020-01-14 2020-06-05 广东博智林机器人有限公司 Method and device for generating advertisement poster, storage medium and terminal equipment

Similar Documents

Publication Publication Date Title
US8379053B1 (en) Identification of areas of interest on a web page
US9658672B2 (en) Business object representations and detail boxes display
US20160062612A1 (en) Information Access Technique
US10528980B2 (en) Targeted marketing using dynamically varied recommendations
US8069081B2 (en) Targeted advertising using object identification
US11269950B2 (en) Analysis for framework assessment
CN107066174A (en) Floating layer display methods, device and user terminal
CN109062653B (en) Long image-text information display method, computer device and computer readable storage medium
US20140157099A1 (en) Efficient space allocation for business objects
Hernandez et al. Placement of call to action buttons for higher website conversion and acquisition: An eye tracking study
CN107256116B (en) Page switching processing method and device, user terminal and readable storage medium
CN104090706B (en) Content acquisition method, content share method and its device
US8281245B1 (en) System and method of preparing presentations
US20140033104A1 (en) Grouping business objects
CN108415637B (en) Multi-layer display method and system for list-type interface
US10606462B2 (en) Graphical user interface using color spectrum to map sentiments
US20150268824A1 (en) Adaptive information regions displaying content associated with an electronic commerce system
US10268355B2 (en) User interface design system
CN114693226A (en) Approval process construction method, device, equipment and storage medium
CN112215916A (en) Design drawing generation method and device and electronic equipment
US9767079B1 (en) Serving expandable content items
CN115311046A (en) Commodity information flow display method and electronic equipment
CN110796465A (en) Resource display equipment determining method, advertisement display screen determining method and device
CN108632092B (en) Information management method and device
US10628848B2 (en) Entity sponsorship within a modular search object framework

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