WO2016155536A1 - 生成合成图片的方法及装置 - Google Patents
生成合成图片的方法及装置 Download PDFInfo
- Publication number
- WO2016155536A1 WO2016155536A1 PCT/CN2016/076950 CN2016076950W WO2016155536A1 WO 2016155536 A1 WO2016155536 A1 WO 2016155536A1 CN 2016076950 W CN2016076950 W CN 2016076950W WO 2016155536 A1 WO2016155536 A1 WO 2016155536A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sub
- foreground
- display
- area
- curve
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000006870 function Effects 0.000 claims description 46
- 239000002131 composite material Substances 0.000 claims description 43
- 230000009466 transformation Effects 0.000 claims description 12
- 230000008859 change Effects 0.000 claims description 5
- PXFBZOLANLWPMH-UHFFFAOYSA-N 16-Epiaffinine Natural products C1C(C2=CC=CC=C2N2)=C2C(=O)CC2C(=CC)CN(C)C1C2CO PXFBZOLANLWPMH-UHFFFAOYSA-N 0.000 claims description 4
- 239000000284 extract Substances 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 claims description 2
- 238000005286 illumination Methods 0.000 claims description 2
- 238000004422 calculation algorithm Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000004590 computer program Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000012015 optical character recognition Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002085 persistent effect Effects 0.000 description 2
- 230000002194 synthesizing effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000000873 masking effect Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000007480 spreading Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/60—Editing figures and text; Combining figures or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/106—Display of layout of documents; Previewing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/02—Affine transformations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/194—Segmentation; Edge detection involving foreground-background segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/001—Texturing; Colouring; Generation of texture or colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/20—Image enhancement or restoration using local operators
Definitions
- the present application relates to the field of image processing technologies, and in particular, to a method and an apparatus for generating a composite picture.
- Internet-based promotions often take the form of displaying or spreading images on web pages, social platforms. Always using the same picture is likely to cause psychological fatigue for the user, and it is necessary to change the displayed picture frequently to achieve better results.
- the image used for the promotion is usually a picture generated by synthesizing the background image and the foreground element.
- a single template is often used to combine the background image and the foreground elements into one picture, that is, the foreground elements are drawn on a fixed background image according to a fixed position.
- Changing the image requires the artist to regenerate the template, or modify the background image, or modify the foreground elements, which is time-consuming and inefficient, and it is difficult to meet the needs of some promotional activities to generate a large number of composite images in a short time.
- the present application provides a method for generating a composite picture, including:
- Sub-regions are divided for foreground elements on the background image; each sub-region is used to display at least one foreground element;
- a corresponding foreground element is drawn within the sub-area according to the display shape.
- the application also provides an apparatus for generating a composite picture, comprising:
- a background image determining unit configured to determine a background image of the composite image based on the background atlas
- a sub-area dividing unit configured to divide a sub-area for the foreground element on the background image; each sub-area is configured to display at least one foreground element;
- a display shape determining unit configured to determine a display shape of a foreground element of the sub-area within the sub-area
- a foreground element drawing unit configured to draw a corresponding foreground element in the sub-area according to the display shape.
- the sub-area is dynamically generated by selecting a background image and
- the display shape of the foreground element can automatically generate a large number of composite images having a changed background image, a changed area layout, and a changed foreground element display shape in a short time, thereby improving the generation efficiency of the composite picture.
- FIG. 1 is a flowchart of a method for generating a composite picture in the embodiment of the present application
- Figure 3 is a layout diagram of another seed area in an example of the present application.
- FIG. 4 is a schematic view showing a display shape of a character line in an example of the present application.
- FIG. 5 is a schematic view showing a display shape of a foreground image in an example of the present application.
- FIG. 6 is a hardware structural diagram of a computing device to which an embodiment of the present application is applied;
- FIG. 7 is a logical structural diagram of an apparatus for generating a composite picture in the embodiment of the present application.
- the embodiment of the present application proposes a new method for generating a composite picture, which uses an automatically changing background image, an automatically changed foreground element layout and position to generate a composite picture, and can generate a large number of different composite pictures in a short time, Solve the problems of the prior art.
- the flow of the embodiment of the present application is as shown in FIG. 1 .
- Step 110 Determine a background image of the composite picture based on the background atlas.
- the preset background atlas includes at least one background image, and a background image is selected from the background image set, and the background image of the composite image is generated according to the selected background image.
- a background image from the background image set in a variety of ways. For example, you can alternately select each background image in the background image set, or you can randomly select a background image in the background image set; the number of times the composite image can be used. When the background image is reselected when a predetermined value is reached, the background image can be reselected with a certain period of time.
- a plurality of ways can also be used to generate a background image of a composite picture based on the selected background.
- the selected background image may be directly used as the background image of the composite image, or the selected background image may be subjected to special processing (such as Gaussian blur processing, illumination processing, or mask processing), and then used as a background image of the composite image; Special processing is performed using fixed algorithms and parameters, and special processing can be performed using randomly varying or periodically varying algorithms and/or parameters.
- the manner of selecting the background image and the manner of generating the background image of the composite image may be arbitrarily combined, which is not limited in this embodiment.
- Step 120 dividing a sub-region for the foreground element on the background image; each sub-region is for displaying at least one foreground element.
- the manner in which the sub-regions are divided on the background image may be determined according to the relationship between the foreground elements of the respective sub-regions and the requirements of the actual application scenario. If all the foreground elements can be arbitrarily displayed at any position on the background image, a corresponding number of sub-regions can be generated according to the number of foreground elements, and the position and size of each sub-region can be randomly determined. If all or part of the foreground element's display needs to satisfy certain conditions (such as a certain positional relationship or a certain size proportional relationship), the associated foreground element may be displayed in the same sub-area, or the foreground element associated with the display may be displayed. The division of each sub-area imposes corresponding constraints.
- a configuration file may be preset, and restrictions on sub-area division are described in the configuration file to meet the display requirement of the foreground element, and the configuration file includes the number of sub-areas and the positional relationship of at least part of the sub-areas.
- the layout algorithm uses the configuration file to automatically generate the specific location of each sub-area. Specifically, after obtaining the number and positional relationship of the sub-areas from the configuration file, the area that can be dynamically changed on the background image of each sub-area is calculated according to the positional relationship, and the vertex position of the sub-area is determined in the dynamically changeable area. And size.
- the specific layout algorithm can be implemented by referring to the prior art, and details are not described herein.
- the configuration file may further include a shape, a maximum value, and/or a minimum value of the sub-area.
- the shape and size of the sub-area and the positional relationship with other sub-areas may be considered to allocate each sub-area to be dynamic. Changing area. In the dynamically changeable area, the vertex position and size of the sub-area can be arbitrarily determined under the condition that the configuration file is satisfied.
- the configuration file specifies that three sub-regions are divided, and sub-region one, sub-region two, and sub-region three are arranged in order from top to bottom, and then a running layout algorithm generates a sub-region layout as shown in FIG. 2, and another operation The layout algorithm generates a sub-area layout as shown in FIG.
- step 130 the display shape of the foreground element of the sub-area is determined within the sub-area.
- the foreground element can be a foreground image or a text line;
- the text line can be one to multiple text units, and the text unit is a component of a text line, which can be words (such as Chinese characters, English words), letters, numbers, and/or Or symbol, can also be a combination of two or three of words, letters or numbers.
- a different shape can be used to display the foreground element of the sub-region (ie, the foreground element displayed within the sub-region).
- a set including shapes of original shapes, circles, squares, and the like may be set, from which a display shape as a foreground element is randomly or alternately selected; in this implementation, if the foreground element is a text line, each can be The text is displayed as the selected shape, and the text can also be arranged in the selected shape.
- a plurality of curve functions are preset; the range of values of the parameters in the preset curve function, the preset range of the parameters may be different depending on the applied curve function, and the preset range should be such that the parameter The display curve generated after being applied to the curve function is partially located in the sub-area.
- a curve function may be selected among a plurality of preset curve functions; the parameter of the curve function is determined within a preset range, and a display curve is generated; according to the text unit of the text line
- the number extracts a corresponding number of points on the display curve as vertex positions for each text unit. For example, for a character line including 6 Chinese characters using the display curve shown in FIG. 4, the portion 6 of the display curve whose abscissa is located in the sub-area may be equally divided, and the starting point of each aliquot is the abscissa, The point on the abscissa on the display curve is the vertex position of each Chinese character.
- the line of text will appear as the shape of the displayed curve, see Figure 4.
- the foreground element adopting the display curve is a foreground image
- at least one curve function may be selected in a preset curve function; the parameter of the selected curve function is determined within a preset range to generate at least one display curve; and the display curve is extracted
- the point is the vertex position of the foreground image, and the generated display curve is used as the display boundary of the foreground image.
- the straight lines are respectively used as the left and right borders (or upper and lower boundaries) of the foreground image; two curve functions can also be selected to generate two intersecting display curves, respectively as the upper and left boundaries of the foreground image, and the lower boundary of the foreground image and The right boundary uses the lower and right boundaries of the sub-region. In this case, the intersection of the two display curves is taken as the extracted vertex position.
- the text line is drawn on the foreground image.
- the display shape of the character line is determined on the foreground image on which the character line is displayed, in other words, the foreground image in which the character line is displayed is used as the sub-area when the display shape of the character line is determined.
- Step 140 Draw a corresponding foreground element in the sub-area according to the display shape of the foreground element.
- the foreground image if the display shape is different from the original shape or size of the foreground image, the foreground image may be subjected to affine transformation, perspective transformation, and/or scaling transformation according to the determined display shape, and then drawn in the sub-region. .
- the OCR Optical Character Recognition
- the texture can be horizontal and vertical stripes of different intervals, or It is a variety of curved stripes; it can be a background image in the area where the text and the stripes overlap, or it can be a certain color fusion of the foreground text and the background image.
- This embodiment does not limit the specific processing manner.
- the method in this embodiment can be applied to any computing device, such as a server, a virtual machine, a personal computer, a tablet computer, a mobile phone, and the like.
- the method in this embodiment may be partially applied to the server, and partially applied to the client, and the server and the client cooperate to complete the generation of the synthesized picture.
- a composite picture is generated from a background image, a foreground image, and a line of text.
- the material for synthesizing the picture is saved on the server, and includes a background atlas composed of a plurality of background images, each foreground image, each character line, and the like, wherein the foreground image includes an image that can dynamically change the position on the background image, such as a logo.
- a line of text can be an image that is generated for each unit of text and the order in which the images are displayed, or text, which can be converted to an image using a system font when drawing lines of text.
- information such as a profile for dividing the sub-region on the background image, a plurality of curve functions for determining the shape of the foreground element display, and a preset range of values of the parameters thereof are preset on the server.
- a background image is randomly selected from the background image set, and the background image is randomly selected.
- Gaussian blurring is used as the background image of the composite image. Different parameters can make the same background image display images of different feature information, which effectively reduces the commonality of the background image while maintaining the appearance.
- the layout algorithm is called, and according to the positional relationship of the sub-areas in the configuration file and the size range of each sub-area, the dynamically changeable area of each sub-area is calculated, and the sub-area is randomly determined in the dynamically changeable area.
- the vertex position and the actual size (within the size range in the configuration file).
- the sub-areas for displaying the foreground image and/or the line of text are dynamically divided to determine at which position in the background image the foreground element to be presented is placed.
- the entire background image determines the overall style of the composite picture, and the position and size of each sub-area determines the composite picture layout.
- the foreground element of each sub-area may be a text line, which may be a single to multiple foreground image, or a combination of a text line and a foreground image.
- a text line which may be a single to multiple foreground image, or a combination of a text line and a foreground image.
- one of the saved curve functions is randomly selected from the saved curve functions for the text line, and the parameter value is randomly determined within the parameter value range of the curve function, and the parameter value is applied to the character value.
- the curve function generates a display curve.
- Text can be obtained by extracting point coordinates on the display curve The vertex coordinates of each text unit in the line. Based on the vertex coordinates of each character unit, the text unit is processed by deformation and texture, and then the corresponding position on the background image is drawn at a certain size.
- one of the saved curve functions is randomly selected from the saved curve functions, the parameter value is randomly determined within the parameter value range of the curve function, and the parameter value is applied to the curve function to generate the first display curve.
- the shaded portion is the display shape of the foreground image, and the upper and lower boundaries of the shaded portion are each a display curve.
- an embodiment of the present application further provides an apparatus for generating a composite picture.
- the device can be implemented by software, or can be implemented by hardware or a combination of hardware and software.
- the CPU Central Process Unit
- the device in which the device for generating a composite picture is located typically includes other hardware such as a board for implementing network communication functions.
- FIG. 7 is a diagram of an apparatus for generating a composite picture, including a background image determining unit, a sub-area dividing unit, a display shape determining unit, and a foreground element drawing unit, where the background image determining unit is configured to be based on a background image.
- a set a background image of the composite picture is determined;
- the sub-area dividing unit is configured to divide the sub-area for the foreground element on the background image; each sub-area is for displaying at least one foreground element;
- the display shape determining unit is configured to determine the sub-area a display shape of the foreground element of the sub-area;
- the foreground element drawing unit is configured to draw the corresponding foreground element in the sub-area according to the display shape.
- the sub-area dividing unit may further include a location relationship acquiring module, a dynamic area calculating module, and a sub-area location and size module, where: a location relationship acquiring module, configured to obtain the number of sub-areas and at least from the configuration file. a positional relationship of the partial sub-areas; the dynamic area calculation module is configured to calculate, according to the positional relationship, an area that can be dynamically changed on the background image of each sub-area; the sub-area position and size module is configured to determine in the dynamically changeable area The vertex position and size of the sub-area.
- a location relationship acquiring module configured to obtain the number of sub-areas and at least from the configuration file. a positional relationship of the partial sub-areas
- the dynamic area calculation module is configured to calculate, according to the positional relationship, an area that can be dynamically changed on the background image of each sub-area
- the sub-area position and size module is configured to determine in the dynamically changeable area The vertex position and size of the sub-area.
- the foreground element includes a foreground image
- the display shape determining unit includes a first curve function selection module, a first display curve generation module, and a foreground image shape module, wherein: the first curve function selection module is configured to Selecting at least one curve function among the preset plurality of curve functions; the first display curve generating module is configured to determine a parameter of the curve function within a preset range, and generate at least one display curve; the foreground image shape module is configured to display the curve The upper extracted point is used as the vertex position of the foreground image, and the display curve is used as the display boundary of the foreground image.
- the foreground element includes a foreground image; the foreground element drawing unit is specifically configured to: after performing affine transformation, perspective transformation, and/or scaling transformation on the foreground image according to the display shape, drawing the Within the sub-area.
- the foreground element includes a text line;
- the display shape determining unit includes a second curve function selecting module, a second display curve generating module, and a character line shape module, wherein: the second curve function selecting module is used to pre- Selecting a curve function among the plurality of curve functions; the second display curve generating module is configured to determine a parameter of the curve function within a preset range, and generate a display curve; the character line shape module is configured to use the text unit in the text line The number extracts a corresponding number of points on the display curve as vertex positions for each text unit.
- the foreground element drawing unit is specifically configured to: after adding texture and/or deformation to each text unit of the text line according to the display shape, and drawing in the sub-area.
- the apparatus in the embodiment of the present application may be implemented by being distributed on two or more devices, such as being distributed on a client device and a server.
- a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
- processors CPUs
- input/output interfaces network interfaces
- memory volatile and non-volatile memory
- the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
- RAM random access memory
- ROM read only memory
- Memory is an example of a computer readable medium.
- Computer readable media includes both permanent and non-persistent, removable and non-removable media.
- Information storage can be implemented by any method or technology.
- the information can be computer readable instructions, data structures, modules of programs, 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, CD-ROM, digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic tape storage or other magnetic storage device or any other non-transportable medium, available for Stores information that can be accessed by the computing device.
- computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
- embodiments of the present application can be provided as a method, system, or computer program product.
- the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware.
- the application can 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.) including computer usable program code.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Processing Or Creating Images (AREA)
- Controls And Circuits For Display Device (AREA)
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
Claims (14)
- 一种生成合成图片的方法,其特征在于,包括:基于背景图集,确定合成图片的背景图像;在背景图像上为前景元素划分子区域;每个子区域用于显示至少一个前景元素;在子区域内确定所述子区域的前景元素的显示形状;按照所述显示形状在所述子区域内绘制对应的前景元素。
- 根据权利要求1所述的方法,其特征在于,所述基于背景图集,确定合成图片的背景图像,包括:在若干张背景图中选择其中的一张;将选择的背景图进行高斯模糊处理、光照处理和/或蒙版处理后,作为合成图片的背景图像。
- 根据权利要求1所述的方法,其特征在于,所述在背景图像上为前景元素划分子区域,包括:从配置文件中获取子区域的个数和至少部分子区域的位置关系;根据所述位置关系计算每个子区域在背景图像上可动态变化的区域;在所述可动态变化的区域内确定所述子区域的顶点位置和大小。
- 根据权利要求1所述的方法,其特征在于,所述前景元素包括前景图像;所述在子区域内确定所述子区域的前景元素的显示形状,包括:在预置的若干个曲线函数中选择至少一个曲线函数;在预设范围内确定所述曲线函数的参数,生成至少一条显示曲线;在显示曲线上抽取点作为所述前景图像的顶点位置,以所述显示曲线作为所述前景图像的显示边界。
- 根据权利要求1或4所述的方法,其特征在于,所述前景元素包括前景图像;所述按照显示形状在所述子区域内绘制对应的前景元素,包括:根据所述显示形状,对前景图像进行仿射变换、透视变换、和/或缩放变换后,绘制在所述子区域内。
- 根据权利要求1所述的方法,其特征在于,所述前景元素包括文字行;所述在子区域内确定所述子区域的前景元素的显示形状,包括:在预置的若干个曲线函数中选择一个曲线函数;在预设范围内确定所述曲线函数的参数,生成显示曲线;根据文字行中文字单位的数目在显示曲线上抽取对应数目的点作为每个文字单位 的顶点位置。
- 根据权利要求6所述的方法,其特征在于,所述前景元素包括显示在前景图像上的文字行;所述在子区域内确定所述子区域的前景元素的显示形状,包括:在显示文字行的前景图像上确定所述文字行的显示形状。
- 根据权利要求1、6或7所述的方法,其特征在于,所述按照显示形状在所述子区域内绘制对应的前景元素,包括:根据所述显示形状,为文字行的每个文字单位添加纹理和/或形变后,绘制在所述子区域内。
- 一种生成合成图片的装置,其特征在于,包括:背景图像确定单元,用于基于背景图集,确定合成图片的背景图像;子区域划分单元,用于在背景图像上为前景元素划分子区域;每个子区域用于显示至少一个前景元素;显示形状确定单元,用于在子区域内确定所述子区域的前景元素的显示形状;前景元素绘制单元,用于按照所述显示形状在所述子区域内绘制对应的前景元素。
- 根据权利要求9所述的装置,其特征在于,所述子区域划分单元包括:位置关系获取模块,用于从配置文件中获取子区域的个数和至少部分子区域的位置关系;动态区域计算模块,用于根据所述位置关系计算每个子区域在背景图像上可动态变化的区域;子区域位置及大小模块,用于在所述可动态变化的区域内确定所述子区域的顶点位置和大小。
- 根据权利要求9所述的装置,其特征在于,所述前景元素包括前景图像;所述显示形状确定单元包括:第一曲线函数选择模块,用于在预置的若干个曲线函数中选择至少一个曲线函数;第一显示曲线生成模块,用于在预设范围内确定所述曲线函数的参数,生成至少一条显示曲线;前景图像形状模块,用于在显示曲线上抽取点作为所述前景图像的顶点位置,以所述显示曲线作为所述前景图像的显示边界。
- 根据权利要求9或11所述的装置,其特征在于,所述前景元素包括前景图像;所述前景元素绘制单元具体用于:根据所述显示形状,对前景图像进行仿射变换、 透视变换、和/或缩放变换后,绘制在所述子区域内。
- 根据权利要求9所述的装置,其特征在于,所述前景元素包括文字行;所述显示形状确定单元包括:第二曲线函数选择模块,用于在预置的若干个曲线函数中选择一个曲线函数;第二显示曲线生成模块,用于在预设范围内确定所述曲线函数的参数,生成显示曲线;文字行形状模块,用于根据文字行中文字单位的数目在显示曲线上抽取对应数目的点作为每个文字单位的顶点位置。
- 根据权利要求9或13所述的装置,其特征在于,所述前景元素绘制单元具体用于:根据所述显示形状,为文字行的每个文字单位添加纹理和/或形变后,绘制在所述子区域内。
Priority Applications (11)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SG11201707783VA SG11201707783VA (en) | 2015-03-30 | 2016-03-22 | Method and apparatus for generating a synthesized picture |
KR1020177031276A KR102107887B1 (ko) | 2015-03-30 | 2016-03-22 | 합성 화상을 생성하는 방법 및 장치 |
KR1020207009637A KR102215766B1 (ko) | 2015-03-30 | 2016-03-22 | 합성 화상을 생성하는 방법 및 장치 |
PL19205490T PL3618003T3 (pl) | 2015-03-30 | 2016-03-22 | Sposób i aparat do generowania syntetycznego zdjęcia |
EP16771291.8A EP3279866B1 (en) | 2015-03-30 | 2016-03-22 | Method and apparatus for generating synthetic picture |
JP2017551134A JP6768695B2 (ja) | 2015-03-30 | 2016-03-22 | 合成された絵を生成するための方法及び装置 |
ES16771291T ES2819868T3 (es) | 2015-03-30 | 2016-03-22 | Método y aparato para generar imagen sintética |
EP19205490.6A EP3618003B1 (en) | 2015-03-30 | 2016-03-22 | Method and apparatus for generating synthetic picture |
PL16771291T PL3279866T3 (pl) | 2015-03-30 | 2016-03-22 | Sposób i urządzenie do wytwarzania syntetycznego zdjęcia |
US15/716,332 US10692261B2 (en) | 2015-03-30 | 2017-09-26 | Efficient images synthesis |
US16/749,060 US10878609B2 (en) | 2015-03-30 | 2020-01-22 | Efficient image synthesis |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510144685.1A CN106157341B (zh) | 2015-03-30 | 2015-03-30 | 生成合成图片的方法及装置 |
CN201510144685.1 | 2015-03-30 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/716,332 Continuation US10692261B2 (en) | 2015-03-30 | 2017-09-26 | Efficient images synthesis |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016155536A1 true WO2016155536A1 (zh) | 2016-10-06 |
Family
ID=57004223
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/076950 WO2016155536A1 (zh) | 2015-03-30 | 2016-03-22 | 生成合成图片的方法及装置 |
Country Status (9)
Country | Link |
---|---|
US (2) | US10692261B2 (zh) |
EP (2) | EP3618003B1 (zh) |
JP (1) | JP6768695B2 (zh) |
KR (2) | KR102215766B1 (zh) |
CN (1) | CN106157341B (zh) |
ES (2) | ES2819868T3 (zh) |
PL (2) | PL3618003T3 (zh) |
SG (1) | SG11201707783VA (zh) |
WO (1) | WO2016155536A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118555461A (zh) * | 2024-07-29 | 2024-08-27 | 浙江天猫技术有限公司 | 视频生成方法、装置、设备、系统及计算机程序产品 |
Families Citing this family (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106161346B (zh) | 2015-03-30 | 2019-09-20 | 阿里巴巴集团控股有限公司 | 图片合成方法及装置 |
CN106157341B (zh) | 2015-03-30 | 2019-05-14 | 阿里巴巴集团控股有限公司 | 生成合成图片的方法及装置 |
CN108573515B (zh) * | 2017-03-10 | 2022-03-01 | 阿里巴巴集团控股有限公司 | 一种合图生成方法及装置、合图模板生成方法及装置 |
CN107608733B (zh) * | 2017-09-19 | 2021-04-02 | 阿里巴巴(中国)有限公司 | 图片显示方法、装置和终端设备 |
CN107967341A (zh) * | 2017-12-08 | 2018-04-27 | 广东欧珀移动通信有限公司 | 一种图片显示方法、终端设备及存储介质 |
CN110533744B (zh) * | 2018-05-25 | 2023-02-28 | 阿里巴巴集团控股有限公司 | 合成图片的方法、设备、系统和移动终端 |
CN109145266B (zh) * | 2018-07-25 | 2022-03-25 | 珠海市圈宝网络科技有限公司 | 一种从图片快速生成动态pdf文件的方法 |
CN109240689B (zh) * | 2018-08-15 | 2022-08-09 | 腾讯科技(深圳)有限公司 | 一种应用图标的生成方法、装置、服务器及介质 |
CN108924518B (zh) * | 2018-08-27 | 2020-10-09 | 上海蒙彤文化传播有限公司 | 推介视频中合成方法及相关产品 |
CN111402364A (zh) * | 2018-12-27 | 2020-07-10 | 北京字节跳动网络技术有限公司 | 一种图像生成方法、装置、终端设备及存储介质 |
CN110068586B (zh) * | 2019-04-10 | 2020-06-12 | 中国石油大学(北京) | 扫描电镜照片的制图方法及装置 |
CN110163285B (zh) * | 2019-05-23 | 2021-03-02 | 阳光保险集团股份有限公司 | 票证识别训练样本合成方法和计算机存储介质 |
CN110647705A (zh) * | 2019-08-14 | 2020-01-03 | 平安普惠企业管理有限公司 | 图片合成方法、装置、设备及存储介质 |
CN110619312B (zh) * | 2019-09-20 | 2022-08-23 | 百度在线网络技术(北京)有限公司 | 定位元素数据的增强方法、装置、设备及存储介质 |
CN110838084B (zh) * | 2019-09-24 | 2023-10-17 | 咪咕文化科技有限公司 | 一种图像的风格转移方法、装置、电子设备及存储介质 |
CN110688506A (zh) * | 2019-09-30 | 2020-01-14 | 北京金山安全软件有限公司 | 一种模板生成方法、装置、电子设备及存储介质 |
CN110992297A (zh) * | 2019-11-11 | 2020-04-10 | 北京百度网讯科技有限公司 | 多商品图像合成方法、装置、电子设备及存储介质 |
CN111222301A (zh) * | 2020-01-07 | 2020-06-02 | 天津麒麟信息技术有限公司 | 一种3d文字绘制方法、系统、可读存储介质及设备 |
CN111723585B (zh) * | 2020-06-08 | 2023-11-28 | 中国石油大学(华东) | 一种风格可控的图像文本实时翻译与转换方法 |
KR20220005820A (ko) * | 2020-07-07 | 2022-01-14 | 삼성전자주식회사 | 그래픽 효과를 적용하기 위한 전자 장치 및 그에 관한 방법 |
CN112804516B (zh) * | 2021-04-08 | 2021-07-06 | 北京世纪好未来教育科技有限公司 | 一种视频播放方法、装置、可读存储介质、电子设备 |
CN114863245B (zh) * | 2022-05-26 | 2024-06-04 | 中国平安人寿保险股份有限公司 | 图像处理模型的训练方法和装置、电子设备及介质 |
CN115334296A (zh) * | 2022-07-01 | 2022-11-11 | 深圳市安博斯技术有限公司 | 一种立体图像显示方法和显示装置 |
KR102618644B1 (ko) * | 2023-08-28 | 2023-12-27 | 주식회사 리콘랩스 | 3차원 모델을 이용한 합성 이미지 출력 방법 및 장치 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101174305A (zh) * | 2006-10-31 | 2008-05-07 | 富士施乐株式会社 | 图像处理装置、图像形成装置和计算机可读介质 |
CN101442600A (zh) * | 2008-12-11 | 2009-05-27 | 深圳华为通信技术有限公司 | 动态处理图像的方法、装置及终端 |
CN102158644A (zh) * | 2009-12-25 | 2011-08-17 | 卡西欧计算机株式会社 | 图像合成装置和图像合成方法 |
CN102262787A (zh) * | 2010-05-31 | 2011-11-30 | 卡西欧计算机株式会社 | 图像合成装置 |
CN102938863A (zh) * | 2012-11-27 | 2013-02-20 | 乐视致新电子科技(天津)有限公司 | 基于Android系统的智能电视图标主题替换方法和装置 |
Family Cites Families (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0566759A (ja) * | 1991-09-09 | 1993-03-19 | Casio Comput Co Ltd | 修飾文字出力装置 |
JP3449563B2 (ja) * | 1993-09-10 | 2003-09-22 | アルプス電気株式会社 | 画像データ編集方法 |
JPH10191020A (ja) | 1996-12-20 | 1998-07-21 | Canon Inc | 被写体画像切出し方法及び装置 |
JP3045087B2 (ja) * | 1996-12-27 | 2000-05-22 | 日本電気株式会社 | 画像合成装置 |
JP2001121775A (ja) * | 1999-08-19 | 2001-05-08 | Tokyo Denshi Sekkei Kk | 画像データ生成装置、画像出力システムおよび端末 |
JP4337251B2 (ja) | 2000-09-04 | 2009-09-30 | コニカミノルタビジネステクノロジーズ株式会社 | 画像処理装置、画像処理方法および画像処理プログラムを記録したコンピュータ読取可能な記録媒体 |
GB2378340A (en) * | 2001-07-31 | 2003-02-05 | Hewlett Packard Co | Generation of an image bounded by a frame or of overlapping images |
JP2003058878A (ja) | 2001-08-17 | 2003-02-28 | Ricoh Co Ltd | 合成画像形成プログラム |
GB0124155D0 (en) | 2001-10-08 | 2001-11-28 | Segmentis Ltd | Graphical user interface |
US7110137B2 (en) * | 2002-04-30 | 2006-09-19 | Microsoft Corporation | Mixed raster content files |
JP4236659B2 (ja) | 2005-11-02 | 2009-03-11 | シャープ株式会社 | 画像符号化装置、画像符号化方法、画像符号化プログラムおよび記録媒体 |
CN101093644A (zh) * | 2006-06-19 | 2007-12-26 | 深圳安凯微电子技术有限公司 | 一种支持多输出格式下画中画功能的lcd控制电路及方法 |
WO2008133357A1 (en) | 2007-04-25 | 2008-11-06 | Nexmore Systems Inc | Photo synthesis service system and method |
GB0818561D0 (en) | 2008-10-09 | 2008-11-19 | Isis Innovation | Visual tracking of objects in images, and segmentation of images |
US8584012B1 (en) | 2008-10-10 | 2013-11-12 | Adobe Systems Incorporated | Methods and systems for displaying text on a path |
CN101853498B (zh) * | 2009-03-31 | 2012-01-11 | 华为技术有限公司 | 图像合成方法及图像处理装置 |
CN101998045A (zh) * | 2009-08-11 | 2011-03-30 | 佛山市顺德区顺达电脑厂有限公司 | 可合成场景信息的影像处理装置 |
JP2013021607A (ja) * | 2011-07-13 | 2013-01-31 | Ricoh Co Ltd | 画像データ処理装置、画像形成装置、プログラム及び記録媒体 |
US8731315B2 (en) * | 2011-09-12 | 2014-05-20 | Canon Kabushiki Kaisha | Image compression and decompression for image matting |
JP2013186521A (ja) | 2012-03-06 | 2013-09-19 | Casio Comput Co Ltd | 画像処理装置、画像処理方法及びプログラム |
JP2014096757A (ja) * | 2012-11-12 | 2014-05-22 | Sony Corp | 画像処理装置および画像処理方法、並びにプログラム |
JP5553423B1 (ja) * | 2013-01-31 | 2014-07-16 | 株式会社精美堂 | カレンダー及びその作成方法、並びにカレンダー作成システム |
KR102089624B1 (ko) * | 2013-09-02 | 2020-03-16 | 삼성전자주식회사 | 이미지를 합성하기 위한 방법 및 그 전자 장치 |
CN103491351A (zh) * | 2013-09-29 | 2014-01-01 | 东南大学 | 违章建筑物的智能视频监控方法 |
US20150109323A1 (en) | 2013-10-18 | 2015-04-23 | Apple Inc. | Interactive black and white image editing |
US9519950B2 (en) * | 2013-12-20 | 2016-12-13 | Furyu Corporation | Image generating apparatus and image generating method |
CN106157341B (zh) | 2015-03-30 | 2019-05-14 | 阿里巴巴集团控股有限公司 | 生成合成图片的方法及装置 |
-
2015
- 2015-03-30 CN CN201510144685.1A patent/CN106157341B/zh active Active
-
2016
- 2016-03-22 PL PL19205490T patent/PL3618003T3/pl unknown
- 2016-03-22 ES ES16771291T patent/ES2819868T3/es active Active
- 2016-03-22 EP EP19205490.6A patent/EP3618003B1/en active Active
- 2016-03-22 KR KR1020207009637A patent/KR102215766B1/ko active IP Right Grant
- 2016-03-22 JP JP2017551134A patent/JP6768695B2/ja active Active
- 2016-03-22 ES ES19205490T patent/ES2873115T3/es active Active
- 2016-03-22 KR KR1020177031276A patent/KR102107887B1/ko active IP Right Grant
- 2016-03-22 SG SG11201707783VA patent/SG11201707783VA/en unknown
- 2016-03-22 WO PCT/CN2016/076950 patent/WO2016155536A1/zh active Application Filing
- 2016-03-22 PL PL16771291T patent/PL3279866T3/pl unknown
- 2016-03-22 EP EP16771291.8A patent/EP3279866B1/en active Active
-
2017
- 2017-09-26 US US15/716,332 patent/US10692261B2/en active Active
-
2020
- 2020-01-22 US US16/749,060 patent/US10878609B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101174305A (zh) * | 2006-10-31 | 2008-05-07 | 富士施乐株式会社 | 图像处理装置、图像形成装置和计算机可读介质 |
CN101442600A (zh) * | 2008-12-11 | 2009-05-27 | 深圳华为通信技术有限公司 | 动态处理图像的方法、装置及终端 |
CN102158644A (zh) * | 2009-12-25 | 2011-08-17 | 卡西欧计算机株式会社 | 图像合成装置和图像合成方法 |
CN102262787A (zh) * | 2010-05-31 | 2011-11-30 | 卡西欧计算机株式会社 | 图像合成装置 |
CN102938863A (zh) * | 2012-11-27 | 2013-02-20 | 乐视致新电子科技(天津)有限公司 | 基于Android系统的智能电视图标主题替换方法和装置 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118555461A (zh) * | 2024-07-29 | 2024-08-27 | 浙江天猫技术有限公司 | 视频生成方法、装置、设备、系统及计算机程序产品 |
Also Published As
Publication number | Publication date |
---|---|
PL3279866T3 (pl) | 2020-11-16 |
KR20200037887A (ko) | 2020-04-09 |
US10878609B2 (en) | 2020-12-29 |
ES2873115T3 (es) | 2021-11-03 |
EP3279866A4 (en) | 2018-12-12 |
JP6768695B2 (ja) | 2020-10-14 |
PL3618003T3 (pl) | 2021-08-09 |
US10692261B2 (en) | 2020-06-23 |
JP2018510429A (ja) | 2018-04-12 |
KR102107887B1 (ko) | 2020-05-08 |
US20180018800A1 (en) | 2018-01-18 |
KR20170131669A (ko) | 2017-11-29 |
US20200160577A1 (en) | 2020-05-21 |
EP3279866A1 (en) | 2018-02-07 |
EP3279866B1 (en) | 2020-08-12 |
CN106157341B (zh) | 2019-05-14 |
EP3618003A1 (en) | 2020-03-04 |
CN106157341A (zh) | 2016-11-23 |
EP3618003B1 (en) | 2021-02-24 |
ES2819868T3 (es) | 2021-04-19 |
KR102215766B1 (ko) | 2021-02-17 |
SG11201707783VA (en) | 2017-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016155536A1 (zh) | 生成合成图片的方法及装置 | |
US10304162B1 (en) | Automatic image inpainting using local patch statistics | |
US20190340649A1 (en) | Generating and providing augmented reality representations of recommended products based on style compatibility in relation to real-world surroundings | |
JP4696635B2 (ja) | 画像領域の高凝縮要約画像を生成する方法、装置およびプログラム | |
CN106651877B (zh) | 实例分割方法及装置 | |
JP2018510429A5 (zh) | ||
US20150116355A1 (en) | Reference image slicing | |
WO2023036160A1 (zh) | 视频处理方法、装置、计算机可读存储介质及计算机设备 | |
CN109684005B (zh) | 图形界面中组件相似度确定方法及装置 | |
CN112419183B (zh) | 缩放图像还原方法、装置、计算机设备及存储介质 | |
CN109816743A (zh) | 生成标识图案的方法和终端设备 | |
CN113538502A (zh) | 图片裁剪方法、装置、电子设备及存储介质 | |
CN114332895A (zh) | 文本图像合成方法、装置、设备、存储介质和程序产品 | |
US11657511B2 (en) | Heuristics-based detection of image space suitable for overlaying media content | |
CN110942056A (zh) | 服饰关键点定位方法、装置、电子设备及介质 | |
US10586364B2 (en) | Methods and systems for decorating and embellishing a digital object layout | |
CN116584100A (zh) | 适合于覆盖媒体内容的图像空间检测 | |
CN109582191B (zh) | 一种菜单内容显示方法及装置 | |
JP6148426B1 (ja) | 画像処理装置、画像処理方法及び画像処理プログラム | |
CN105843949B (zh) | 一种图像显示方法与装置 | |
CN117392276A (zh) | 图像处理方法、设备及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16771291 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 11201707783V Country of ref document: SG |
|
ENP | Entry into the national phase |
Ref document number: 2017551134 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 20177031276 Country of ref document: KR Kind code of ref document: A |
|
REEP | Request for entry into the european phase |
Ref document number: 2016771291 Country of ref document: EP |