WO2020001022A1 - Image expansion method, computing device and computer storage medium - Google Patents

Image expansion method, computing device and computer storage medium Download PDF

Info

Publication number
WO2020001022A1
WO2020001022A1 PCT/CN2019/073495 CN2019073495W WO2020001022A1 WO 2020001022 A1 WO2020001022 A1 WO 2020001022A1 CN 2019073495 W CN2019073495 W CN 2019073495W WO 2020001022 A1 WO2020001022 A1 WO 2020001022A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
canvas
size
original
image
Prior art date
Application number
PCT/CN2019/073495
Other languages
French (fr)
Chinese (zh)
Inventor
祁旺明
Original Assignee
掌阅科技股份有限公司
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 掌阅科技股份有限公司 filed Critical 掌阅科技股份有限公司
Publication of WO2020001022A1 publication Critical patent/WO2020001022A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • G06T5/94Dynamic range modification of images or parts thereof based on local image properties, e.g. for local contrast enhancement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/50Depth or shape recovery
    • G06T7/507Depth or shape recovery from shading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics

Definitions

  • the present disclosure relates to the field of picture display technology, and in particular, to a picture display method, a computing device, and a computer storage medium.
  • the picture display technology has been continuously innovated.
  • the more typical is the shadow technology, which displays the shadow effect while displaying the picture; further, in order to reflect the depth of the picture, the diffuse shadow technology .
  • the existing effects of diffuse shadows are generally realized by complex algorithms, the processing process is complicated, and the processing efficiency is low.
  • a picture display method including:
  • a computing device including: a processor, a memory, a communication interface, and a communication bus, and the processor, the memory, and the communication interface complete communication with each other through the communication bus;
  • the memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform the following operations:
  • a non-volatile computer-readable storage medium stores at least one executable instruction, and the executable instruction causes a processor to perform the following operations. :
  • a computer program product including a computing program stored on the above-mentioned non-volatile computer-readable storage medium.
  • the canvas size is set according to the picture size of the original picture, and the canvas is created with the canvas size; the original picture is subjected to transparency processing to obtain a first picture, and the first picture is drawn on the canvas; The original picture is reduced to obtain a second picture, and the second picture is drawn at a preset position on the canvas where the first picture is drawn; the drawing result is blurred to obtain a background picture; the original picture is superimposed on the background picture Show.
  • the present disclosure proposes a new scheme for implementing a diffuse shadow effect through a picture overlay processing method.
  • the implementation process weakens the dependence on the picture processing algorithm, simplifies the processing process, and improves processing efficiency.
  • FIG. 1 shows a flowchart of a picture display method according to an embodiment of the present disclosure
  • FIG. 2 shows a flowchart of a picture display method according to another embodiment of the present disclosure
  • FIG. 3a shows a schematic diagram of a canvas size in a specific embodiment
  • 3b shows a schematic diagram of a first picture drawn on a canvas in a specific embodiment
  • 3c shows a schematic diagram of a second picture drawn in a canvas of a specific embodiment
  • 3d shows a schematic diagram of a position of a preset picture of a transparency gradient effect in a specific embodiment
  • FIG. 4 is a schematic diagram of a diffuse shadow effect diagram according to a specific embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a computing device according to an embodiment of the present disclosure.
  • FIG. 1 shows a flowchart of a picture display method according to an embodiment of the present disclosure. As shown in Figure 1, the method includes:
  • the original picture refers to the picture to be displayed.
  • transparency processing refers to setting the transparency value of the original picture so that the color of the original picture approaches the background color. For example, if the canvas color (that is, the background color) is white, after setting the transparency value of the original picture, a first picture close to white is obtained.
  • the transparency value of the original picture is set to obtain the first picture, and the first picture is drawn in the first layer corresponding to the canvas.
  • the size of the first picture is adjusted according to the canvas size. For example, resize the first picture to the same size as the canvas so that the first picture completely fills the entire canvas.
  • the preset position of the canvas can be set according to the actual needs of the diffuse shadow effect. For example, if the effect of the diffuse shadow is displayed symmetrically, the preset position of the canvas is set to the middle position of the width dimension of the canvas.
  • Step S104 blur the drawing result to obtain a background picture; superimpose the original picture on the background picture for display.
  • blur processing is performed on the first picture in the first layer and the second picture in the second layer, and the blur processing result is used as the background image of the diffuse shadow effect of the original picture.
  • the blur processing is not performed.
  • the specific manner is limited, and those skilled in the art can flexibly choose according to actual situations.
  • the original image is superimposed on a layer above the background image and displayed at the same time as the background image, and the diffuse shadow effect of the original image is achieved through multiple layers.
  • the canvas size is set according to the picture size of the original picture, and the canvas is created at the canvas size; the original picture is subjected to transparency processing to obtain a first picture, and the first picture is drawn on the canvas; the original picture is imaged The second picture is obtained by reducing processing, and the second picture is drawn at a preset position on the canvas where the first picture is drawn; the drawing result is blurred to obtain a background picture; and the original picture is superimposed on the background picture for display.
  • this embodiment proposes a new scheme for implementing diffuse shadows through a picture overlay processing method.
  • the implementation process weakens the dependence on the picture processing algorithm, simplifies the processing process, and improves processing efficiency.
  • Step S201 Set the canvas size according to the picture size of the original picture, and create a canvas with the canvas size.
  • the aspect ratio of the canvas is obtained according to the aspect ratio of the original picture, so that the aspect ratio of the canvas is consistent with the aspect ratio of the original picture.
  • the canvas size is set according to the width-to-height ratio of the canvas and the size of the window used to display the picture.
  • the width of the canvas is set according to the width of the window.
  • the width of the canvas is set to be the same as the width of the window, and then the height of the canvas is set according to the width-to-height ratio of the canvas.
  • those skilled in the art can set the canvas color according to the actual need of the diffuse shadow effect, and optionally, set the canvas color to white.
  • Step S202 The original picture is subjected to picture enlargement processing and then subjected to transparency processing to obtain a first picture.
  • the size of the original image after the image is enlarged is the same as the size of the canvas.
  • the original picture is enlarged according to the size of the original picture and the canvas size.
  • the picture is enlarged according to the ratio of the width of the canvas to the width of the original picture, or according to the height of the canvas and the original size.
  • the ratio of the height and size of the picture is enlarged by the picture; then the transparency of the enlarged original picture is set so that the color of the enlarged original picture tends to the canvas color to form a transparent visual effect, wherein the degree of transparency can be determined by those skilled in the art Flexible settings according to the needs of visual effects; further, the higher the transparency value, the higher the degree of transparency.
  • the resulting background image contains less color information of the original image, and the color of the background image is closer to the canvas color; the lower the transparency value , The lower the degree of transparency, the final background image contains more color information of the original image, and the color of the background image is closer to the color of the original image.
  • FIG. 3b shows a schematic diagram of a first picture drawn in a canvas of a specific embodiment.
  • the canvas size in this figure is the same as the canvas size in Figure 3a.
  • the width dimension of the original picture is c and the height dimension is e.
  • the original picture is enlarged according to the ratio a / c of the width dimension of the canvas to the width dimension of the original picture, and the width of the enlarged original picture is enlarged.
  • the size is a and the height is b, which is the same as the canvas size; then the transparency value t is set to obtain the first picture in the area corresponding to the canvas in FIG. 3b.
  • the display area of the original picture and the preset position for drawing the second picture shown in FIG. 3c are only exemplary, and the present disclosure is not limited thereto. In actual implementation, the technology in the art The personnel can flexibly set the display area of the original picture and the preset position for drawing the second picture.
  • Step S204 Draw a preset picture with a transparency gradient effect in a preset area of the canvas.
  • various operation buttons are provided to implement the interactive function.
  • the corresponding area of the operation button in the terminal interaction interface overlaps with the canvas area, it will cause the background color of the operation button to be inconsistent and the background color transition to be unnatural; or it may cause the operation button to be displayed inconspicuously, making it difficult for users to find .
  • a preset picture with a transparency gradient effect is drawn in a preset area of the canvas, and the preset picture is a picture of the third layer corresponding to the diffuse shadow effect of the original picture, In order to make the background color of the operation buttons more uniform, and to make the color transition from the canvas area to the non-canvas area more natural.
  • the preset area of the canvas is an edge area of the canvas, which can be specifically determined according to the layout position of the operation buttons in the interactive interface;
  • the preset picture is a solid color picture, for example, a pure white picture.
  • the lower edge of the preset area of the canvas is determined according to the lower edge of the canvas area
  • the upper part of the preset area of the canvas is determined according to the horizontal line where the operation button closest to the upper edge of the canvas area is located. edge.
  • FIG. 3d is a schematic diagram showing a position of a preset picture of a transparency gradient effect in a specific embodiment.
  • the canvas size in this figure is the same as the canvas size in Figure 3a.
  • the lower edge of the preset area of the canvas is consistent with the lower edge of the canvas.
  • the upper edge of the preset area of the canvas is above the horizontal line where the playback timeline is located.
  • the left and right edges of the preset area of the canvas are canvas areas.
  • the left and right edges of the canvas are correspondingly determined to be a rectangular area with a width dimension of a and a height dimension of g in the figure.
  • the pure white picture decreases the transparency value from top to bottom, and the closer to the preset area Lower edge, the lower the transparency value (the transparency value of the lower edge of the preset area can be set to 255, which is completely opaque), the closer the visual effect presented to the user is to the background color (white) of the non-canvas area; the closer it is to the preset area
  • the higher the transparency value the transparency value of the upper edge of the preset area can be set to 0, that is, completely transparent
  • the preset area, operation buttons, and positions of the operation buttons of the canvas shown in FIG. 3d are all exemplary, and the present disclosure is not limited thereto.
  • those skilled in the art may The position of the upper edge of the preset area of the canvas is flexibly set according to the position of the operation button in the interactive interface, and a person skilled in the art may also flexibly set the position of the operation button or the operation button according to the function implemented by the interactive interface.
  • a white background, a first picture in the first layer, a second picture in the second layer, and a preset picture in the third layer are obtained in order from bottom to top.
  • Step S205 Blur the drawing result to obtain a background picture; superimpose the original picture on the background picture for display.
  • blur processing is performed on the first picture, the second picture, and the preset picture.
  • the blur processing is specifically Gaussian blur processing, and the result of the blur processing is used as the background image of the diffuse shadow effect of the original picture.
  • the original picture is superimposed in a display area corresponding to the original picture in the background picture.
  • the background picture and the original picture together form a diffuse shadow effect image of the original picture.
  • FIG. 4 is a schematic diagram of a diffuse shadow effect diagram according to a specific embodiment of the present disclosure. As shown in FIG. 4, on the interface of the listening book, the uppermost layer displays the original picture of “Everything is too late”, and the background picture is obtained from the original picture through the above steps S201 to S204.
  • the canvas size is set according to the picture size of the original picture, and the canvas is created at the canvas size; the original picture is enlarged after the picture is processed, and then the transparency process is performed to obtain the first picture; the original picture is subjected to the image reduction process Obtain a second picture, draw a second picture at a preset position of the canvas on which the first picture is drawn; draw a preset picture with a transparency gradient effect in a preset area of the canvas; blur the drawing result to obtain a background picture; Overlay the original image on top of the background image for display. It can be seen that, this embodiment proposes a new scheme for implementing diffuse shadows through a picture overlay processing method. The implementation process weakens the dependence on the picture processing algorithm, simplifies the processing process, and improves processing efficiency.
  • An embodiment of the present application provides a non-volatile computer-readable storage medium.
  • the non-volatile computer-readable storage medium stores at least one executable instruction.
  • the computer-executable instruction can execute any of the foregoing method embodiments. Picture display method.
  • executable instructions further cause the processor to perform the following operations:
  • the canvas color is set to white.
  • executable instructions further cause the processor to perform the following operations:
  • the transparency is processed to obtain the first picture, wherein the picture size of the original picture after the picture is enlarged is the same as the canvas size.
  • executable instructions further cause the processor to perform the following operations:
  • the blur processing is specifically Gaussian blur processing.
  • FIG. 5 shows a schematic structural diagram of a computing device according to an embodiment of the present disclosure.
  • a specific embodiment of the present disclosure does not limit the specific implementation of the computing device.
  • the computing device may include a processor 502, a communication interface 504, a memory 506, and a communication bus 508.
  • the processor 502, the communication interface 504, and the memory 506 communicate with each other through a communication bus 508.
  • the communication interface 504 is configured to communicate with a network element of another device, such as a client or another server.
  • the processor 502 is configured to execute a program 510, and may specifically perform related steps in the foregoing embodiment of the picture display method.
  • the program 510 may include program code, where the program code includes a computer operation instruction.
  • the processor 502 may be a central processing unit CPU, or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present disclosure.
  • the computing device includes one or more processors, which can be processors of the same type, such as one or more CPUs; or different types of processors, such as one or more CPUs and one or more ASICs.
  • the memory 506 is configured to store a program 510.
  • the memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), for example, at least one disk memory.
  • the program 510 may be specifically configured to cause the processor 502 to perform the following operations:
  • the original picture is subjected to image reduction processing to obtain a second picture, and the second picture is drawn at a preset position of the canvas on which the first picture is drawn;
  • program 510 may be further specifically configured to cause the processor 502 to perform the following operations:
  • the canvas color is set to white.
  • program 510 may be further specifically configured to cause the processor 502 to perform the following operations:
  • program 510 may be further specifically configured to cause the processor 502 to perform the following operations:
  • the blur processing is specifically Gaussian blur processing.
  • modules in the device in the embodiment can be adaptively changed and set in one or more devices different from the embodiment.
  • the modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Except for at least some of such features or processes or units being mutually exclusive, any combination of all features disclosed in this specification (including the accompanying claims, abstract and drawings) and any method or device so disclosed may be adopted in any combination. All processes or units are combined.

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)
  • Image Processing (AREA)

Abstract

An image expansion method, computing device and computer storage medium, the method comprising: setting a canvas size according to the image size of an original image so as to create a canvas using the canvas size (S101); carrying out transparency processing for the original image to obtain a first image, and drawing the first image on said canvas (S102); carrying out image downscaling on the original image to obtain a second image, and drawing the second image at a preset position on the canvas which has the first image drawn thereon (S103); carrying out blur processing on a drawing result to obtain a background image; and overlaying the original image on the background image and carrying out display (S104).

Description

图片展示方法、计算设备及计算机存储介质Picture display method, computing device and computer storage medium
相关申请的交叉参考Cross-reference to related applications
本申请要求于2018年6月29日提交中国专利局、申请号为201810699353.3、名称为“图片展示方法、计算设备及计算机存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority from a Chinese patent application filed with the Chinese Patent Office on June 29, 2018, with application number 201810699353.3 and entitled "Picture Display Method, Computing Equipment, and Computer Storage Media", the entire contents of which are incorporated herein by reference. Applying.
技术领域Technical field
本公开涉及图片展示技术领域,具体涉及一种图片展示方法、计算设备及计算机存储介质。The present disclosure relates to the field of picture display technology, and in particular, to a picture display method, a computing device, and a computer storage medium.
背景技术Background technique
在如今的互联网时代,用户随时都在接收图片信息。与此同时,由于大量图片充斥着屏幕,单一的图片容易造成用户的审美疲劳,不能给用户带来新意,进而无法吸引用户的关注。In today's Internet age, users are receiving picture information at any time. At the same time, because a large number of pictures flood the screen, a single picture is likely to cause the user's aesthetic fatigue, can not bring new ideas to the user, and thus cannot attract the user's attention.
现有技术中,为了解决上述问题,在图片展示技术上不断推陈出新,较为典型的是阴影技术,即在展示图片的同时展示阴影效果;进一步,为了体现出图片的深度,而衍生出弥散阴影技术。然而,现有的弥散阴影的效果一般通过复杂的算法来实现,其处理过程复杂,且处理效率低下。In the prior art, in order to solve the above-mentioned problems, the picture display technology has been continuously innovated. The more typical is the shadow technology, which displays the shadow effect while displaying the picture; further, in order to reflect the depth of the picture, the diffuse shadow technology . However, the existing effects of diffuse shadows are generally realized by complex algorithms, the processing process is complicated, and the processing efficiency is low.
发明内容Summary of the invention
鉴于上述问题,提出了本公开以便提供一种克服上述问题或者至少部分地解决上述问题的图片展示方法、计算设备及计算机存储介质。In view of the above problems, the present disclosure is provided in order to provide a picture display method, a computing device, and a computer storage medium that overcome the above problems or at least partially solve the above problems.
根据本公开的一个方面,提供了一种图片展示方法,包括:According to an aspect of the present disclosure, a picture display method is provided, including:
根据原始图片的图片尺寸设置画布尺寸,以画布尺寸创建画布;Set the canvas size according to the picture size of the original picture and create a canvas with the canvas size;
将原始图片进行透明度处理得到第一图片,在画布中绘制第一图片;Transparency processing of the original picture to obtain the first picture, draw the first picture in the canvas;
将原始图片进行图像缩小处理得到第二图片,在绘制有第一图片的画布的预设位置绘制第二图片;Image reduction of the original picture to obtain a second picture, and draw the second picture at a preset position on the canvas where the first picture is drawn;
对绘制结果进行模糊处理,得到背景图片;Blur the drawing result to get the background picture;
将原始图片叠加在背景图片之上进行展示。Overlay the original image on top of the background image for display.
根据本公开的另一方面,提供了一种计算设备,包括:处理器、存储器、通信接口和通信总线,处理器、存储器和通信接口通过通信总线完成相互间的通信;According to another aspect of the present disclosure, there is provided a computing device including: a processor, a memory, a communication interface, and a communication bus, and the processor, the memory, and the communication interface complete communication with each other through the communication bus;
存储器用于存放至少一可执行指令,可执行指令使处理器执行以下操作:The memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform the following operations:
根据原始图片的图片尺寸设置画布尺寸,以画布尺寸创建画布;Set the canvas size according to the picture size of the original picture and create a canvas with the canvas size;
将原始图片进行透明度处理得到第一图片,在画布中绘制第一图片;Transparency processing of the original picture to obtain the first picture, draw the first picture in the canvas;
将原始图片进行图像缩小处理得到第二图片,在绘制有第一图片的画布的预设位置绘制第二图片;Image reduction of the original picture to obtain a second picture, and draw the second picture at a preset position on the canvas where the first picture is drawn;
对绘制结果进行模糊处理,得到背景图片;Blur the drawing result to get the background picture;
将原始图片叠加在背景图片之上进行展示。Overlay the original image on top of the background image for display.
根据本公开的又一方面,提供了一种非易失性计算机可读存储介质,该非易失性计算机可读存储介质中存储有至少一可执行指令,可执行指令使处理器执行以下操作:According to another aspect of the present disclosure, a non-volatile computer-readable storage medium is provided. The non-volatile computer-readable storage medium stores at least one executable instruction, and the executable instruction causes a processor to perform the following operations. :
根据原始图片的图片尺寸设置画布尺寸,以画布尺寸创建画布;Set the canvas size according to the picture size of the original picture and create a canvas with the canvas size;
将原始图片进行透明度处理得到第一图片,在画布中绘制第一图片;Transparency processing of the original picture to obtain the first picture, draw the first picture in the canvas;
将原始图片进行图像缩小处理得到第二图片,在绘制有第一图片的画布的预设位置绘制第二图片;Image reduction of the original picture to obtain a second picture, and draw the second picture at a preset position on the canvas where the first picture is drawn;
对绘制结果进行模糊处理,得到背景图片;Blur the drawing result to get the background picture;
将原始图片叠加在背景图片之上进行展示。Overlay the original image on top of the background image for display.
根据本公开的再一方面,还提供了一种计算机程序产品,该计算机程序产品包括存储在上述非易失性计算机可读存储介质上的计算程序。According to still another aspect of the present disclosure, there is also provided a computer program product including a computing program stored on the above-mentioned non-volatile computer-readable storage medium.
根据本公开的图片展示方法、计算设备及计算机存储介质,根据原始图片的图片尺寸设置画布尺寸,以画布尺寸创建画布;将原始图片进行透明度处理得到第一图片,在画布中绘制第一图片;将原始图片进行图像缩小处理得到第二图片,在绘制有第一图片的画布的预设位置绘制第二图片;对绘制结果进行模糊处理,得到背景图片;将原始图片叠加在背景图片之上进行展示。由此可见,本公开提出了一种全新的通过图片叠加处理方式实现弥散阴影效果的方案,其实现过程弱化了对图片处理算法的依赖,简化了处理过程,提高了处理效率。According to the picture display method, computing device, and computer storage medium of the present disclosure, the canvas size is set according to the picture size of the original picture, and the canvas is created with the canvas size; the original picture is subjected to transparency processing to obtain a first picture, and the first picture is drawn on the canvas; The original picture is reduced to obtain a second picture, and the second picture is drawn at a preset position on the canvas where the first picture is drawn; the drawing result is blurred to obtain a background picture; the original picture is superimposed on the background picture Show. It can be seen that the present disclosure proposes a new scheme for implementing a diffuse shadow effect through a picture overlay processing method. The implementation process weakens the dependence on the picture processing algorithm, simplifies the processing process, and improves processing efficiency.
上述说明仅是本公开技术方案的概述,为了能够更清楚了解本公开的技术手段,而可依照说明书的内容予以实施,并且为了让本公开的上述和其它目的、特征和优点能够更明显易懂,以下特举本公开的具体实施方式。The above description is only an overview of the technical solutions of the present disclosure. In order to be able to understand the technical means of the present disclosure more clearly, it can be implemented in accordance with the contents of the description, and in order to make the above and other objects, features, and advantages of the present disclosure more comprehensible. The following specifically mentions specific implementations of the present disclosure.
附图概述Overview of the drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本公开的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the detailed description of the preferred embodiments below. The drawings are only for the purpose of illustrating preferred embodiments and are not to be considered as limiting the present disclosure. Moreover, the same reference numerals are used throughout the drawings to refer to the same parts. In the drawings:
图1示出了根据本公开一个实施例的图片展示方法的流程图;FIG. 1 shows a flowchart of a picture display method according to an embodiment of the present disclosure;
图2示出了根据本公开另一个实施例的图片展示方法的流程图;2 shows a flowchart of a picture display method according to another embodiment of the present disclosure;
图3a示出了一个具体实施例中的画布尺寸示意图;FIG. 3a shows a schematic diagram of a canvas size in a specific embodiment; FIG.
图3b示出了一个具体实施例中的画布中绘制的第一图片的示意图;3b shows a schematic diagram of a first picture drawn on a canvas in a specific embodiment;
图3c示出了一个具体实施例的画布中绘制的第二图片的示意图;3c shows a schematic diagram of a second picture drawn in a canvas of a specific embodiment;
图3d示出了一个具体实施例中的透明度渐变效果的预设图片的位置示意图;3d shows a schematic diagram of a position of a preset picture of a transparency gradient effect in a specific embodiment;
图4示出了本公开一个具体实施例的弥散阴影效果图的示意图;4 is a schematic diagram of a diffuse shadow effect diagram according to a specific embodiment of the present disclosure;
图5示出了根据本公开实施例的一种计算设备的结构示意图。FIG. 5 is a schematic structural diagram of a computing device according to an embodiment of the present disclosure.
本公开的较佳实施方式Preferred embodiments of the present disclosure
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Hereinafter, exemplary embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a thorough understanding of the present disclosure, and to fully convey the scope of the present disclosure to those skilled in the art.
图1示出了根据本公开一个实施例的图片展示方法的流程图。如图1所示,该方法包括:FIG. 1 shows a flowchart of a picture display method according to an embodiment of the present disclosure. As shown in Figure 1, the method includes:
步骤S101:根据原始图片的图片尺寸设置画布尺寸,以画布尺寸创建画布。Step S101: Set the canvas size according to the picture size of the original picture, and create a canvas with the canvas size.
首先根据原始图片的图片尺寸设置合理的画布尺寸,并以该尺寸创建画布,以便在该画布上以图层的形式实现原始图片的弥散阴影效果。其中,原始图片指待展示的图片。First set a reasonable canvas size according to the picture size of the original picture, and create a canvas at that size, so that the diffuse shadow effect of the original picture can be achieved in the form of a layer on the canvas. Among them, the original picture refers to the picture to be displayed.
步骤S102:将原始图片进行透明度处理得到第一图片,在画布中绘制第一图片。Step S102: Transparency processing is performed on the original picture to obtain a first picture, and the first picture is drawn on a canvas.
其中,透明度处理指设置原始图片的透明度值,使原始图片的颜色趋近于背景颜色。例如,画布颜色(即背景颜色)为白色,则在设置原始图片的透明度值之后,得到趋近于白色的第一图片。Among them, transparency processing refers to setting the transparency value of the original picture so that the color of the original picture approaches the background color. For example, if the canvas color (that is, the background color) is white, after setting the transparency value of the original picture, a first picture close to white is obtained.
具体地,根据实际的显示需要,设置原始图片的透明度值,得到第一图片,并将第一图片绘制在画布对应的第一图层中。可选地,在绘制第一图片前,根据画布尺寸调整第一图片的尺寸大小。例如,调整第一图片的尺寸与画布尺寸相同,使第一图片完全填充整个画布。Specifically, according to the actual display needs, the transparency value of the original picture is set to obtain the first picture, and the first picture is drawn in the first layer corresponding to the canvas. Optionally, before the first picture is drawn, the size of the first picture is adjusted according to the canvas size. For example, resize the first picture to the same size as the canvas so that the first picture completely fills the entire canvas.
步骤S103:将原始图片进行图像缩小处理得到第二图片,在绘制有第一图片的画布的预设位置绘制第二图片。Step S103: The original picture is subjected to image reduction processing to obtain a second picture, and the second picture is drawn at a preset position of the canvas on which the first picture is drawn.
其中,画布的预设位置可根据实际需求的弥散阴影效果来设置,例如,若需对称显示弥散阴影的效果,则将画布的预设位置设置为画布的宽度尺寸的中间位置。The preset position of the canvas can be set according to the actual needs of the diffuse shadow effect. For example, if the effect of the diffuse shadow is displayed symmetrically, the preset position of the canvas is set to the middle position of the width dimension of the canvas.
具体地,将原始图片缩小预设缩小比例,该预设缩小比例同样根据实际需求的弥散阴影效果来设置,可选地,若需第二图片呈现的阴影效果较强,则设置较小的预设缩小比例,以呈现出更大范围的第二图片的边缘的阴影效果;若需第二图片呈现的阴影效果较弱,则设置较大的预设缩小比例,以呈现出更大范围的第二图片的边缘的阴影效果。然后,将第二图片绘制在画布对应的第二图层中,该第二图层位于第一图层之上,即呈现给用户的画布的预设位置的第二图片将覆盖第一图片。Specifically, the original picture is reduced by a preset reduction ratio, and the preset reduction ratio is also set according to the actual needs of the diffuse shadow effect. Optionally, if the shadow effect required by the second picture is stronger, a smaller preset is set. Set the reduction ratio to show a larger range of shadow effects on the edges of the second picture; if the shadow effect of the second picture is weaker, set a larger preset reduction ratio to show a larger range of Shadow effect at the edges of the second picture. Then, the second picture is drawn in a second layer corresponding to the canvas, and the second layer is located on the first layer, that is, the second picture in a preset position of the canvas presented to the user will cover the first picture.
步骤S104:对绘制结果进行模糊处理,得到背景图片;将原始图片叠加在背景图片之上进行展示。Step S104: blur the drawing result to obtain a background picture; superimpose the original picture on the background picture for display.
具体地,对第一图层中的第一图片和第二图层中的第二图片进行模糊处理,将模糊处理结果作为原始图片的弥散阴影效果的背景图片,在本公开中, 不对模糊处理的具体方式进行限定,本领域技术人员可根据实际情况灵活选择。将原始图片叠加在背景图片之上的图层,并与背景图片同时进行展示,进而通过多个图层实现了原始图片的弥散阴影效果。Specifically, blur processing is performed on the first picture in the first layer and the second picture in the second layer, and the blur processing result is used as the background image of the diffuse shadow effect of the original picture. In this disclosure, the blur processing is not performed. The specific manner is limited, and those skilled in the art can flexibly choose according to actual situations. The original image is superimposed on a layer above the background image and displayed at the same time as the background image, and the diffuse shadow effect of the original image is achieved through multiple layers.
本公开的图片展示方案,无需依赖复杂的图片处理算法,仅通过多个图层的叠加以及简单的算法辅助,即可实现原始图片的弥散阴影效果,可见,该方案实现简单、处理效率高,以及对终端的配置要求较低,进而可以将本公开方案广泛应用于移动应用的图片展示场景中。下面以一个较典型的示例说明本公开方案的实际应用:在听书的场景中,此时终端会显示书籍的封面,而利用本公开方案,可以将书籍的封面以弥散阴影效果图展示给用户,避免展示的书籍的封面图片的单调性,提升用户的体验。The disclosed picture display scheme does not need to rely on complex picture processing algorithms, and can only achieve the diffuse shadow effect of the original picture through the overlay of multiple layers and simple algorithm assistance. It can be seen that this scheme is simple to implement and has high processing efficiency. And the configuration requirements of the terminal are relatively low, so that the disclosed solution can be widely applied to the picture display scene of mobile applications. The following uses a more typical example to illustrate the practical application of the disclosed solution: In the scene of listening to a book, the terminal will display the cover of the book at this time, and using the disclosed solution, the cover of the book can be displayed to the user in a diffuse shadow effect diagram , To avoid the monotony of the cover picture of the book displayed, and improve the user experience.
根据本实施例提供的图片展示方法,根据原始图片的图片尺寸设置画布尺寸,以画布尺寸创建画布;将原始图片进行透明度处理得到第一图片,在画布中绘制第一图片;将原始图片进行图像缩小处理得到第二图片,在绘制有第一图片的画布的预设位置绘制第二图片;对绘制结果进行模糊处理,得到背景图片;将原始图片叠加在背景图片之上进行展示。由此可见,本实施例提出了一种全新的通过图片叠加处理方式实现弥散阴影的方案,其实现过程弱化了对图片处理算法的依赖,简化了处理过程,提高了处理效率。According to the picture display method provided in this embodiment, the canvas size is set according to the picture size of the original picture, and the canvas is created at the canvas size; the original picture is subjected to transparency processing to obtain a first picture, and the first picture is drawn on the canvas; the original picture is imaged The second picture is obtained by reducing processing, and the second picture is drawn at a preset position on the canvas where the first picture is drawn; the drawing result is blurred to obtain a background picture; and the original picture is superimposed on the background picture for display. It can be seen that, this embodiment proposes a new scheme for implementing diffuse shadows through a picture overlay processing method. The implementation process weakens the dependence on the picture processing algorithm, simplifies the processing process, and improves processing efficiency.
图2示出了根据本公开另一个实施例的图片展示方法的流程图。如图2所示,该方法包括:FIG. 2 shows a flowchart of a picture display method according to another embodiment of the present disclosure. As shown in Figure 2, the method includes:
步骤S201:根据原始图片的图片尺寸设置画布尺寸,以画布尺寸创建画布。Step S201: Set the canvas size according to the picture size of the original picture, and create a canvas with the canvas size.
具体地,根据原始图片的宽高比例得到画布的宽高比例,使画布的宽高比例与原始图片的宽高比例保持一致。与此同时,考虑到用于展示图片的视窗的尺寸,根据画布的宽高比例以及用于展示图片的视窗尺寸,设置画布尺寸。可选地,根据视窗的宽度尺寸设置画布的宽度尺寸,例如,设置画布的宽度尺寸与视窗的宽度尺寸相同,然后根据画布的宽高比例设置画布的高度尺寸。并且,本领域技术人员可根据实际需求的弥散阴影效果,设置画布颜色,可选地,设置画布颜色为白色。Specifically, the aspect ratio of the canvas is obtained according to the aspect ratio of the original picture, so that the aspect ratio of the canvas is consistent with the aspect ratio of the original picture. At the same time, considering the size of the window used to display the picture, the canvas size is set according to the width-to-height ratio of the canvas and the size of the window used to display the picture. Optionally, the width of the canvas is set according to the width of the window. For example, the width of the canvas is set to be the same as the width of the window, and then the height of the canvas is set according to the width-to-height ratio of the canvas. In addition, those skilled in the art can set the canvas color according to the actual need of the diffuse shadow effect, and optionally, set the canvas color to white.
图3a示出了一个具体实施例中的画布尺寸示意图。如图3a所示,矩形 阴影区域为画布所在的区域。在该具体实施例中,原始图片的宽高比例为r,则设置画布的宽高比例为r,并且,画布的宽度尺寸a为用于展示图片的视窗的宽度尺寸;在确定了画布的宽度尺寸a之后,根据画布的宽高比例设置画布的高度尺寸b=a/r。FIG. 3a shows a schematic diagram of a canvas size in a specific embodiment. As shown in Figure 3a, the rectangular shaded area is the area where the canvas is located. In this specific embodiment, the width-to-height ratio of the original picture is r, then the width-to-height ratio of the canvas is set to r, and the width dimension a of the canvas is the width dimension of the window for displaying the picture; the width of the canvas is determined After dimension a, the height dimension b = a / r of the canvas is set according to the aspect ratio of the canvas.
需要在此说明的是,上述图3a的示例中,仅示出了画布的宽度尺寸与视窗的宽度尺寸相同的情况,以及示出了将终端屏幕的整个宽度作为视窗宽度的情况,以及示出了将终端屏幕的上边缘作为画布的上边缘的情况,但是,本公开并不以此为限,具体实施时,本领域技术人员也可以根据实际情况,灵活设置画布尺寸,以及设置画布在终端屏幕中的位置。It should be explained here that in the example of FIG. 3a above, only the case where the width dimension of the canvas is the same as the width dimension of the window, and the case where the entire width of the terminal screen is used as the window width, and The case where the upper edge of the terminal screen is used as the upper edge of the canvas is described, but the present disclosure is not limited thereto. In specific implementation, those skilled in the art can also flexibly set the canvas size according to the actual situation, and set the canvas on the terminal. Position in the screen.
步骤S202:将原始图片进行图片放大处理之后再进行透明度处理得到第一图片。Step S202: The original picture is subjected to picture enlargement processing and then subjected to transparency processing to obtain a first picture.
其中,原始图片经过图片放大处理之后的图片尺寸与画布尺寸一致。The size of the original image after the image is enlarged is the same as the size of the canvas.
具体地,按照原始图片的尺寸与画布尺寸对原始图片进行图片放大处理,可选地,按照画布的宽度尺寸与原始图片的宽度尺寸的比例进行图片放大处理,或者,按照画布的高度尺寸与原始图片的高度尺寸的比例进行图片放大处理;然后设置放大后的原始图片的透明度,使放大后的原始图片的颜色趋于画布颜色,形成透明的视觉效果,其中,透明的程度可由本领域技术人员根据视觉效果的需求灵活设置;进一步地,透明度值越高,透明程度越高,最终得到的背景图片包含原始图片的颜色信息更少,背景图片的颜色更趋近于画布颜色;透明度值越低,透明程度越低,最终得到的背景图片包含原始图片的颜色信息更多,背景图片的颜色更趋近于原始图片的颜色。经过上述放大和透明度处理,得到对应原始图片的弥散阴影效果的第一图层的第一图片。Specifically, the original picture is enlarged according to the size of the original picture and the canvas size. Optionally, the picture is enlarged according to the ratio of the width of the canvas to the width of the original picture, or according to the height of the canvas and the original size. The ratio of the height and size of the picture is enlarged by the picture; then the transparency of the enlarged original picture is set so that the color of the enlarged original picture tends to the canvas color to form a transparent visual effect, wherein the degree of transparency can be determined by those skilled in the art Flexible settings according to the needs of visual effects; further, the higher the transparency value, the higher the degree of transparency. The resulting background image contains less color information of the original image, and the color of the background image is closer to the canvas color; the lower the transparency value , The lower the degree of transparency, the final background image contains more color information of the original image, and the color of the background image is closer to the color of the original image. After the foregoing enlargement and transparency processing, a first picture of the first layer corresponding to the diffuse shadow effect of the original picture is obtained.
图3b示出了一个具体实施例的画布中绘制的第一图片的示意图。该图中的画布尺寸与图3a中的画布尺寸相同。如图3b所示,原始图片的宽度尺寸为c,高度尺寸为e,按照画布的宽度尺寸与原始图片的宽度尺寸的比例a/c对原始图片进行放大处理,放大处理后的原始图片的宽度尺寸为a,高度尺寸为b,即与画布尺寸一致;然后设置透明度值t,得到如图3b中的画布对应的区域中的第一图片。FIG. 3b shows a schematic diagram of a first picture drawn in a canvas of a specific embodiment. The canvas size in this figure is the same as the canvas size in Figure 3a. As shown in FIG. 3b, the width dimension of the original picture is c and the height dimension is e. The original picture is enlarged according to the ratio a / c of the width dimension of the canvas to the width dimension of the original picture, and the width of the enlarged original picture is enlarged. The size is a and the height is b, which is the same as the canvas size; then the transparency value t is set to obtain the first picture in the area corresponding to the canvas in FIG. 3b.
步骤S203:将原始图片进行图像缩小处理得到第二图片,在绘制有第一图片的画布的预设位置绘制第二图片。Step S203: The original picture is subjected to image reduction processing to obtain a second picture, and the second picture is drawn at a preset position of the canvas on which the first picture is drawn.
具体地,按照预设缩小比例对原始图片进行图像缩小处理,得到对应原始图片的弥散阴影效果的第二图层的第二图片。其中,预设缩小比例可由本领域技术人员根据实际需求的弥散阴影效果进行灵活设置。可选地,画布的预设位置为原始图片的显示区域内的任意位置,原始图片的显示区域即最终展示给用户的原始图片所在的区域。Specifically, image reduction processing is performed on the original picture according to a preset reduction ratio to obtain a second picture of the second layer corresponding to the diffuse shadow effect of the original picture. Wherein, the preset reduction ratio can be flexibly set by those skilled in the art according to the actual needs of the diffuse shadow effect. Optionally, the preset position of the canvas is any position within the display area of the original picture, and the display area of the original picture is the area where the original picture is finally displayed to the user.
图3c示出了一个具体实施例的画布中绘制的第二图片的示意图。该图中的画布尺寸与图3a中的画布尺寸相同。如图3c所示,原始图片的宽度尺寸为c,高度尺寸为e,对原始图片进行图像缩小处理,得到缩小处理后的第二图片的宽度尺寸为d,高度尺寸为f;一般情况下,原始图片的宽度缩小比例和高度缩小比例一致,即f/e=d/c。并且,图3c中的虚线框为原始图片的显示区域。FIG. 3c shows a schematic diagram of a second picture drawn in the canvas of a specific embodiment. The canvas size in this figure is the same as the canvas size in Figure 3a. As shown in FIG. 3c, the width dimension of the original picture is c, and the height dimension is e. The original picture is subjected to image reduction processing, and the width dimension of the second picture obtained after the reduction processing is d and the height dimension is f. In general, The width reduction ratio and the height reduction ratio of the original picture are the same, that is, f / e = d / c. In addition, the dotted frame in FIG. 3c is a display area of the original picture.
需要在此说明的是,图3c中示出的原始图片的显示区域和绘制第二图片的预设位置仅为示例性的,本公开并不以此为限,在实际实施时,本领域技术人员可灵活设置原始图片的显示区域以及设置绘制第二图片的预设位置。It should be noted here that the display area of the original picture and the preset position for drawing the second picture shown in FIG. 3c are only exemplary, and the present disclosure is not limited thereto. In actual implementation, the technology in the art The personnel can flexibly set the display area of the original picture and the preset position for drawing the second picture.
步骤S204:在画布的预设区域内绘制具有透明度渐变效果的预设图片。Step S204: Draw a preset picture with a transparency gradient effect in a preset area of the canvas.
通常而言,在终端交互界面中,会提供各种操作按钮以实现交互功能。然而,若操作按钮在终端交互界面中的对应区域与画布区域存在重叠,则会导致操作按钮的背景色不一致,并且背景色过渡不自然;或者,也可能导致操作按钮显示不明显,用户不易发现。因此,作为本实施例的一个可选的步骤,在画布的预设区域内绘制具有透明度渐变效果的预设图片,该预设图片为对应原始图片的弥散阴影效果的第三图层的图片,以使操作按钮的背景色更统一,以及使画布区域至非画布区域的色彩过渡更自然。Generally speaking, in the terminal interaction interface, various operation buttons are provided to implement the interactive function. However, if the corresponding area of the operation button in the terminal interaction interface overlaps with the canvas area, it will cause the background color of the operation button to be inconsistent and the background color transition to be unnatural; or it may cause the operation button to be displayed inconspicuously, making it difficult for users to find . Therefore, as an optional step of this embodiment, a preset picture with a transparency gradient effect is drawn in a preset area of the canvas, and the preset picture is a picture of the third layer corresponding to the diffuse shadow effect of the original picture, In order to make the background color of the operation buttons more uniform, and to make the color transition from the canvas area to the non-canvas area more natural.
其中,画布的预设区域为画布的边缘区域,具体可根据交互界面中的操作按钮的布局位置来确定;预设图片为纯色图片,例如为纯白图片。The preset area of the canvas is an edge area of the canvas, which can be specifically determined according to the layout position of the operation buttons in the interactive interface; the preset picture is a solid color picture, for example, a pure white picture.
在本公开的一些可选的实施例中,根据画布区域的下边缘确定画布的预设区域的下边缘,根据距离画布区域的上边缘最近的操作按钮所在的水平线确定画布的预设区域的上边缘。并且,越靠近画布的预设区域的下边缘,预 设图片的透明度值越低,其呈现给用户的视觉效果更接近于非画布区域的背景颜色,过渡更自然。In some optional embodiments of the present disclosure, the lower edge of the preset area of the canvas is determined according to the lower edge of the canvas area, and the upper part of the preset area of the canvas is determined according to the horizontal line where the operation button closest to the upper edge of the canvas area is located. edge. And, the closer to the lower edge of the preset area of the canvas, the lower the transparency value of the preset picture, the visual effect presented to the user is closer to the background color of the non-canvas area, and the transition is more natural.
图3d示出了一个具体实施例中的透明度渐变效果的预设图片的位置示意图。该图中的画布尺寸与图3a中的画布尺寸相同。如图3d所示,画布的预设区域的下边缘与画布的下边缘一致,画布的预设区域的上边缘在播放时间轴所在水平线的上方,画布的预设区域的左右边缘分别为画布区域的左右边缘,相应地,确定的画布的预设区域为图中宽度尺寸为a,高度尺寸为g的矩形区域。在该画布的预设区域中绘制具有透明度渐变效果的纯白图片(图中未示出具有透明度渐变效果预设图片),该纯白图片从上至下透明度值递减,越靠近预设区域的下边缘,透明度值越低(可设置预设区域下边缘的透明度值为255,即完全不透明),呈现给用户的视觉效果越接近于非画布区域的背景色(白色);越靠近预设区域的上边缘,透明度值越高(可设置预设区域上边缘的透明度值为0,即完全透明),呈现给用户的视觉效果越接近于画布区域的对应位置的图片的颜色。绘制完预设图片之后,即可将时间轴操作按钮、播放按钮的背景统一为预设图片,以及,通过设置渐变效果,使画布区域至非画布区域的过渡更自然。FIG. 3d is a schematic diagram showing a position of a preset picture of a transparency gradient effect in a specific embodiment. The canvas size in this figure is the same as the canvas size in Figure 3a. As shown in Figure 3d, the lower edge of the preset area of the canvas is consistent with the lower edge of the canvas. The upper edge of the preset area of the canvas is above the horizontal line where the playback timeline is located. The left and right edges of the preset area of the canvas are canvas areas. The left and right edges of the canvas are correspondingly determined to be a rectangular area with a width dimension of a and a height dimension of g in the figure. Draw a pure white picture with a transparency gradient effect in the preset area of the canvas (the preset picture with a transparency gradient effect is not shown in the figure). The pure white picture decreases the transparency value from top to bottom, and the closer to the preset area Lower edge, the lower the transparency value (the transparency value of the lower edge of the preset area can be set to 255, which is completely opaque), the closer the visual effect presented to the user is to the background color (white) of the non-canvas area; the closer it is to the preset area The higher the transparency value (the transparency value of the upper edge of the preset area can be set to 0, that is, completely transparent), the closer the visual effect presented to the user is to the color of the picture at the corresponding position in the canvas area. After drawing the preset picture, you can unify the background of the timeline operation buttons and the play button into the preset picture, and set the gradient effect to make the transition from the canvas area to the non-canvas area more natural.
需要在此说明的是,图3d示出的画布的预设区域、操作按钮、以及操作按钮的位置均为示例性的,本公开并不以此为限,具体实施时,本领域技术人员可以根据交互界面中的操作按钮的位置灵活设置画布的预设区域的上边缘的位置,以及,本领域技术人员也可以根据交互界面实现的功能灵活设置操作按钮或者操作按钮的位置。It should be noted here that the preset area, operation buttons, and positions of the operation buttons of the canvas shown in FIG. 3d are all exemplary, and the present disclosure is not limited thereto. In specific implementation, those skilled in the art may The position of the upper edge of the preset area of the canvas is flexibly set according to the position of the operation button in the interactive interface, and a person skilled in the art may also flexibly set the position of the operation button or the operation button according to the function implemented by the interactive interface.
经过上述步骤,由下至上依次得到白色背景,第一图层中的第一图片,第二图层中的第二图片,以及第三图层中的预设图片。After the above steps, a white background, a first picture in the first layer, a second picture in the second layer, and a preset picture in the third layer are obtained in order from bottom to top.
步骤S205:对绘制结果进行模糊处理,得到背景图片;将原始图片叠加在背景图片之上进行展示。Step S205: Blur the drawing result to obtain a background picture; superimpose the original picture on the background picture for display.
具体地,对第一图片、第二图片以及预设图片进行模糊处理,可选地,模糊处理具体为高斯模糊处理,将模糊处理后的结果作为原始图片的弥散阴影效果的背景图片。然后将原始图片叠加在背景图片中对应原始图片的显示区域中,此时,背景图片和原始图片共同构成原始图片的弥散阴影的效果图。Specifically, blur processing is performed on the first picture, the second picture, and the preset picture. Optionally, the blur processing is specifically Gaussian blur processing, and the result of the blur processing is used as the background image of the diffuse shadow effect of the original picture. Then, the original picture is superimposed in a display area corresponding to the original picture in the background picture. At this time, the background picture and the original picture together form a diffuse shadow effect image of the original picture.
图4示出了本公开一个具体实施例的弥散阴影效果图的示意图。如图4所示,在听书的界面,最上层显示的为《一切都还来得及》的原始图片,而背景图片则是由原始图片经过上述步骤S201至步骤S204得到的。FIG. 4 is a schematic diagram of a diffuse shadow effect diagram according to a specific embodiment of the present disclosure. As shown in FIG. 4, on the interface of the listening book, the uppermost layer displays the original picture of “Everything is too late”, and the background picture is obtained from the original picture through the above steps S201 to S204.
根据本实施例提供的图片展示方法,根据原始图片的图片尺寸设置画布尺寸,以画布尺寸创建画布;将原始图片进行图片放大处理之后再进行透明度处理得到第一图片;将原始图片进行图像缩小处理得到第二图片,在绘制有第一图片的画布的预设位置绘制第二图片;在画布的预设区域内绘制具有透明度渐变效果的预设图片;对绘制结果进行模糊处理,得到背景图片;将原始图片叠加在背景图片之上进行展示。由此可见,本实施例提出了一种全新的通过图片叠加处理方式实现弥散阴影的方案,其实现过程弱化了对图片处理算法的依赖,简化了处理过程,提高了处理效率。According to the picture display method provided in this embodiment, the canvas size is set according to the picture size of the original picture, and the canvas is created at the canvas size; the original picture is enlarged after the picture is processed, and then the transparency process is performed to obtain the first picture; the original picture is subjected to the image reduction process Obtain a second picture, draw a second picture at a preset position of the canvas on which the first picture is drawn; draw a preset picture with a transparency gradient effect in a preset area of the canvas; blur the drawing result to obtain a background picture; Overlay the original image on top of the background image for display. It can be seen that, this embodiment proposes a new scheme for implementing diffuse shadows through a picture overlay processing method. The implementation process weakens the dependence on the picture processing algorithm, simplifies the processing process, and improves processing efficiency.
本申请实施例提供了一种非易失性计算机可读存储介质,该非易失性计算机可读存储介质存储有至少一可执行指令,该计算机可执行指令可执行上述任意方法实施例中的图片展示方法。An embodiment of the present application provides a non-volatile computer-readable storage medium. The non-volatile computer-readable storage medium stores at least one executable instruction. The computer-executable instruction can execute any of the foregoing method embodiments. Picture display method.
可执行指令具体可以用于使得处理器执行以下操作:The executable instructions may be specifically used to cause the processor to perform the following operations:
根据原始图片的图片尺寸设置画布尺寸,以画布尺寸创建画布;Set the canvas size according to the picture size of the original picture and create a canvas with the canvas size;
将原始图片进行透明度处理得到第一图片,在画布中绘制第一图片;Transparency processing of the original picture to obtain the first picture, draw the first picture in the canvas;
将原始图片进行图像缩小处理得到第二图片,在绘制有第一图片的画布的预设位置绘制第二图片;Image reduction of the original picture to obtain a second picture, and draw the second picture at a preset position on the canvas where the first picture is drawn;
对绘制结果进行模糊处理,得到背景图片;Blur the drawing result to get the background picture;
将原始图片叠加在背景图片之上进行展示。Overlay the original image on top of the background image for display.
在一种可选的实施方式中,可执行指令进一步使处理器执行以下操作:In an optional embodiment, the executable instructions further cause the processor to perform the following operations:
根据原始图片的宽高比例得到画布的宽高比例;Get the canvas's aspect ratio based on the aspect ratio of the original picture;
根据画布的宽高比例以及用于展示图片的视窗尺寸,设置画布尺寸。Set the canvas size according to the width-to-height ratio of the canvas and the size of the window used to display the picture.
在一种可选的实施方式中,设置画布颜色为白色。In an optional embodiment, the canvas color is set to white.
在一种可选的实施方式中,可执行指令进一步使处理器执行以下操作:In an optional embodiment, the executable instructions further cause the processor to perform the following operations:
将原始图片进行图片放大处理之后再进行透明度处理得到第一图片,其 中原始图片经过图片放大处理之后的图片尺寸与画布尺寸一致。After the original picture is enlarged by the picture, the transparency is processed to obtain the first picture, wherein the picture size of the original picture after the picture is enlarged is the same as the canvas size.
在一种可选的实施方式中,可执行指令进一步使处理器执行以下操作:In an optional embodiment, the executable instructions further cause the processor to perform the following operations:
在画布的预设区域内绘制具有透明度渐变效果的预设图片。Draw a preset picture with a transparency gradient effect in a preset area of the canvas.
在一种可选的实施方式中,模糊处理具体为高斯模糊处理。In an optional implementation manner, the blur processing is specifically Gaussian blur processing.
图5示出了根据本公开实施例的一种计算设备的结构示意图,本公开具体实施例并不对计算设备的具体实现做限定。FIG. 5 shows a schematic structural diagram of a computing device according to an embodiment of the present disclosure. A specific embodiment of the present disclosure does not limit the specific implementation of the computing device.
如图5所示,该计算设备可以包括:处理器(processor)502、通信接口(Communications Interface)504、存储器(memory)506、以及通信总线508。As shown in FIG. 5, the computing device may include a processor 502, a communication interface 504, a memory 506, and a communication bus 508.
其中:among them:
处理器502、通信接口504、以及存储器506通过通信总线508完成相互间的通信。The processor 502, the communication interface 504, and the memory 506 communicate with each other through a communication bus 508.
通信接口504,用于与其它设备比如客户端或其它服务器等的网元通信。The communication interface 504 is configured to communicate with a network element of another device, such as a client or another server.
处理器502,用于执行程序510,具体可以执行上述图片展示方法实施例中的相关步骤。The processor 502 is configured to execute a program 510, and may specifically perform related steps in the foregoing embodiment of the picture display method.
具体地,程序510可以包括程序代码,该程序代码包括计算机操作指令。Specifically, the program 510 may include program code, where the program code includes a computer operation instruction.
处理器502可能是中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本公开实施例的一个或多个集成电路。计算设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The processor 502 may be a central processing unit CPU, or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present disclosure. The computing device includes one or more processors, which can be processors of the same type, such as one or more CPUs; or different types of processors, such as one or more CPUs and one or more ASICs.
存储器506,用于存放程序510。存储器506可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 506 is configured to store a program 510. The memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), for example, at least one disk memory.
程序510具体可以用于使得处理器502执行以下操作:The program 510 may be specifically configured to cause the processor 502 to perform the following operations:
根据原始图片的图片尺寸设置画布尺寸,以画布尺寸创建画布;Set the canvas size according to the picture size of the original picture and create a canvas with the canvas size;
将原始图片进行透明度处理得到第一图片,在画布中绘制第一图片;Transparency processing of the original picture to obtain the first picture, draw the first picture in the canvas;
将原始图片进行图像缩小处理得到第二图片,在绘制有第一图片的画布 的预设位置绘制第二图片;The original picture is subjected to image reduction processing to obtain a second picture, and the second picture is drawn at a preset position of the canvas on which the first picture is drawn;
对绘制结果进行模糊处理,得到背景图片;Blur the drawing result to get the background picture;
将原始图片叠加在背景图片之上进行展示。Overlay the original image on top of the background image for display.
在一种可选的实施方式中,程序510具体可以进一步用于使得处理器502执行以下操作:In an optional implementation manner, the program 510 may be further specifically configured to cause the processor 502 to perform the following operations:
根据原始图片的宽高比例得到画布的宽高比例;Get the canvas's aspect ratio based on the aspect ratio of the original picture;
根据画布的宽高比例以及用于展示图片的视窗尺寸,设置画布尺寸。Set the canvas size according to the width-to-height ratio of the canvas and the size of the window used to display the picture.
在一种可选的实施方式中,设置画布颜色为白色。In an optional embodiment, the canvas color is set to white.
在一种可选的实施方式中,程序510具体可以进一步用于使得处理器502执行以下操作:In an optional implementation manner, the program 510 may be further specifically configured to cause the processor 502 to perform the following operations:
将原始图片进行图片放大处理之后再进行透明度处理得到第一图片,其中原始图片经过图片放大处理之后的图片尺寸与画布尺寸一致。After the original picture is subjected to picture enlargement processing and then subjected to transparency processing to obtain a first picture, the picture size of the original picture after the picture enlargement processing is consistent with the canvas size.
在一种可选的实施方式中,程序510具体可以进一步用于使得处理器502执行以下操作:In an optional implementation manner, the program 510 may be further specifically configured to cause the processor 502 to perform the following operations:
在画布的预设区域内绘制具有透明度渐变效果的预设图片。Draw a preset picture with a transparency gradient effect in a preset area of the canvas.
在一种可选的实施方式中,模糊处理具体为高斯模糊处理。In an optional implementation manner, the blur processing is specifically Gaussian blur processing.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本公开也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本公开的内容,并且上面对特定语言所做的描述是为了披露本公开的最佳实施方式。The algorithms and displays provided here are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used with teaching based on this. From the above description, the structure required to construct such a system is obvious. Furthermore, this disclosure is not directed to any particular programming language. It should be understood that the content of the present disclosure described herein may be implemented using various programming languages, and that the description of the specific language above is to disclose the best embodiment of the present disclosure.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本公开的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided here, numerous specific details are explained. It is understood, however, that embodiments of the present disclosure may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of the specification.
类似地,应当理解,为了精简本公开并帮助理解各个公开方面中的一个或多个,在上面对本公开的示例性实施例的描述中,本公开的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开 的方法解释成反映如下意图:即所要求保护的本公开要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如权利要求书所反映的那样,公开方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本公开的单独实施例。Similarly, it should be understood that, in order to streamline the present disclosure and help understand one or more of the various disclosed aspects, in the above description of exemplary embodiments of the present disclosure, various features of the present disclosure are sometimes grouped together into a single embodiment, Figure, or description of it. However, this disclosed method should not be construed as reflecting the intent that the claimed present disclosure claims more features than those explicitly recited in each claim. Rather, as reflected in the claims, the disclosure aspect is less than all features of the single embodiment disclosed previously. Thus, claims following a specific embodiment are hereby explicitly incorporated into that specific embodiment, with each claim standing on its own as a separate embodiment of the present disclosure.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and set in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Except for at least some of such features or processes or units being mutually exclusive, any combination of all features disclosed in this specification (including the accompanying claims, abstract and drawings) and any method or device so disclosed may be adopted in any combination. All processes or units are combined. Each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本公开的范围之内并且形成不同的实施例。例如,在权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。In addition, those skilled in the art can understand that although some embodiments described herein include certain features included in other embodiments and not other features, combinations of features of different embodiments are meant to be within the scope of the present disclosure. Within and form different embodiments. For example, in the claims, any one of the claimed embodiments can be used in any combination.
应该注意的是上述实施例对本公开进行说明而不是对本公开进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本公开可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the disclosure, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The disclosure may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. The use of the words first, second, and third does not imply any order. These words can be interpreted as names.

Claims (14)

  1. 一种图片展示方法,包括:A picture display method includes:
    根据原始图片的图片尺寸设置画布尺寸,以画布尺寸创建画布;Set the canvas size according to the picture size of the original picture and create a canvas with the canvas size;
    将所述原始图片进行透明度处理得到第一图片,在所述画布中绘制所述第一图片;Perform transparency processing on the original picture to obtain a first picture, and draw the first picture in the canvas;
    将所述原始图片进行图像缩小处理得到第二图片,在绘制有第一图片的画布的预设位置绘制所述第二图片;Performing image reduction processing on the original picture to obtain a second picture, and drawing the second picture at a preset position of the canvas on which the first picture is drawn;
    对绘制结果进行模糊处理,得到背景图片;Blur the drawing result to get the background picture;
    将原始图片叠加在所述背景图片之上进行展示。The original picture is superimposed on the background picture for display.
  2. 根据权利要求1所述的方法,其中,所述根据原始图片的图片尺寸设置画布尺寸进一步包括:The method according to claim 1, wherein the setting the canvas size according to the picture size of the original picture further comprises:
    根据原始图片的宽高比例得到画布的宽高比例;Get the canvas's aspect ratio based on the aspect ratio of the original picture;
    根据画布的宽高比例以及用于展示图片的视窗尺寸,设置画布尺寸。Set the canvas size according to the width-to-height ratio of the canvas and the size of the window used to display the picture.
  3. 根据权利要求1或2所述的方法,其中,所述方法还包括:设置画布颜色为白色。The method according to claim 1 or 2, further comprising: setting a canvas color to white.
  4. 根据权利要求1-3中任一项所述的方法,其中,所述将原始图片进行透明度处理得到第一图片具体为:将原始图片进行图片放大处理之后再进行透明度处理得到第一图片,其中所述原始图片经过所述图片放大处理之后的图片尺寸与画布尺寸一致。The method according to any one of claims 1 to 3, wherein the performing a transparency process on the original picture to obtain the first picture specifically comprises: performing an enlargement process on the original picture and then performing a transparency process to obtain the first picture, A picture size of the original picture after the picture enlargement process is consistent with a canvas size.
  5. 根据权利要求1-4中任一项所述的方法,其中,在所述对绘制结果进行模糊处理之前,所述方法还包括:The method according to any one of claims 1-4, wherein before the blurring the drawing result, the method further comprises:
    在所述画布的预设区域内绘制具有透明度渐变效果的预设图片。Draw a preset picture with a transparency gradient effect in a preset area of the canvas.
  6. 根据权利要求1-5任一项所述的方法,其中,所述模糊处理具体为高斯模糊处理。The method according to any one of claims 1 to 5, wherein the blur processing is specifically Gaussian blur processing.
  7. 一种计算设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;A computing device includes a processor, a memory, a communication interface, and a communication bus, and the processor, the memory, and the communication interface complete communication with each other through the communication bus;
    所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器 执行以下操作:The memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform the following operations:
    根据原始图片的图片尺寸设置画布尺寸,以画布尺寸创建画布;Set the canvas size according to the picture size of the original picture and create a canvas with the canvas size;
    将所述原始图片进行透明度处理得到第一图片,在所述画布中绘制所述第一图片;Perform transparency processing on the original picture to obtain a first picture, and draw the first picture in the canvas;
    将所述原始图片进行图像缩小处理得到第二图片,在绘制有第一图片的画布的预设位置绘制所述第二图片;Performing image reduction processing on the original picture to obtain a second picture, and drawing the second picture at a preset position of the canvas on which the first picture is drawn;
    对绘制结果进行模糊处理,得到背景图片;Blur the drawing result to get the background picture;
    将原始图片叠加在所述背景图片之上进行展示。The original picture is superimposed on the background picture for display.
  8. 根据权利要求7所述的计算设备,所述可执行指令进一步使所述处理器执行以下操作:The computing device of claim 7, the executable instructions further cause the processor to perform the following operations:
    根据原始图片的宽高比例得到画布的宽高比例;Get the canvas's aspect ratio based on the aspect ratio of the original picture;
    根据画布的宽高比例以及用于展示图片的视窗尺寸,设置画布尺寸。Set the canvas size according to the width-to-height ratio of the canvas and the size of the window used to display the picture.
  9. 根据权利要求7或8所述的计算设备,其中,设置画布颜色为白色。The computing device according to claim 7 or 8, wherein the canvas color is set to white.
  10. 根据权利要求7-9中任一项所述的计算设备,其中,所述可执行指令进一步使所述处理器执行以下操作:The computing device of any one of claims 7-9, wherein the executable instructions further cause the processor to perform the following operations:
    将原始图片进行图片放大处理之后再进行透明度处理得到第一图片,其中所述原始图片经过所述图片放大处理之后的图片尺寸与画布尺寸一致。After the original image is subjected to image enlargement processing and then subjected to transparency processing to obtain a first image, the image size of the original image after the image enlargement processing is consistent with the canvas size.
  11. 根据权利要求7-10中任一项所述的计算设备,其中,所述可执行指令进一步使所述处理器执行以下操作:The computing device of any one of claims 7-10, wherein the executable instructions further cause the processor to perform the following operations:
    在所述画布的预设区域内绘制具有透明度渐变效果的预设图片。Draw a preset picture with a transparency gradient effect in a preset area of the canvas.
  12. 根据权利要求7-11任一项所述的计算设备,其中,所述模糊处理具体为高斯模糊处理。The computing device according to any one of claims 7 to 11, wherein the blur processing is specifically Gaussian blur processing.
  13. 一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质中存储有至少一可执行指令,所述可执行指令用于使该计算机执行前述任一权利要求1-6所述的图片展示方法。A non-transitory computer-readable storage medium stores at least one executable instruction in the non-transitory computer-readable storage medium, where the executable instruction is used to cause the computer to execute any one of the preceding claims 1- The picture display method described in 6.
  14. 一种计算机程序产品,该计算机程序产品包括存储在非易失性计算机可读存储介质上的计算程序,该计算机程序包括程序指令,当该程序指令 被计算机执行时,使该计算机执行前述任一权利要求1-6所述的图片展示方法。A computer program product comprising a computing program stored on a non-volatile computer-readable storage medium, the computer program including program instructions, which when executed by a computer, causes the computer to execute any of the foregoing The picture display method according to claims 1-6.
PCT/CN2019/073495 2018-06-29 2019-01-28 Image expansion method, computing device and computer storage medium WO2020001022A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810699353.3A CN108876748B (en) 2018-06-29 2018-06-29 Picture display method calculates equipment and computer storage medium
CN201810699353.3 2018-06-29

Publications (1)

Publication Number Publication Date
WO2020001022A1 true WO2020001022A1 (en) 2020-01-02

Family

ID=64297565

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/073495 WO2020001022A1 (en) 2018-06-29 2019-01-28 Image expansion method, computing device and computer storage medium

Country Status (2)

Country Link
CN (1) CN108876748B (en)
WO (1) WO2020001022A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565839A (en) * 2020-11-23 2021-03-26 青岛海信传媒网络技术有限公司 Display method and display device of screen projection image
WO2023283130A1 (en) 2021-07-04 2023-01-12 Newave Pharmaceutical Inc. Isoquinoline derivatives as mutant egfr modulators and uses thereof

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108876748B (en) * 2018-06-29 2019-08-30 掌阅科技股份有限公司 Picture display method calculates equipment and computer storage medium
CN110059274A (en) * 2019-03-15 2019-07-26 平安普惠企业管理有限公司 Front end picture amplifying method, device, computer equipment and storage medium
CN110838152B (en) * 2019-10-21 2023-04-25 稿定(厦门)科技有限公司 Method and device for quickly capturing images after multi-layer mixing
CN113486278A (en) * 2021-06-22 2021-10-08 西安震有信通科技有限公司 Picture display method, intelligent terminal and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103021002A (en) * 2011-09-27 2013-04-03 康佳集团股份有限公司 Colorful sketch image generating method
CN105426347A (en) * 2015-10-29 2016-03-23 北京京东尚科信息技术有限公司 Method for providing object information, display terminal and server
CN105488761A (en) * 2015-12-29 2016-04-13 北京金山安全软件有限公司 Processing method and device for spliced pictures
CN108876748A (en) * 2018-06-29 2018-11-23 掌阅科技股份有限公司 Picture display method calculates equipment and computer storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241593A (en) * 2007-02-06 2008-08-13 英特维数位科技股份有限公司 Picture layer image processing unit and its method
CN102750089B (en) * 2012-06-06 2014-09-24 谢达 Method for displaying user interface along edges around screen
US9792724B2 (en) * 2013-03-14 2017-10-17 Robert Bosch Gmbh System and method for generation of shadow effects in three-dimensional graphics
CN104851122B (en) * 2015-05-08 2018-09-11 北京金山安全软件有限公司 Method and device for generating shadow special effect graph
CN105513027A (en) * 2016-01-06 2016-04-20 天脉聚源(北京)科技有限公司 Fuzzy processing method and device
CN107610204A (en) * 2017-09-20 2018-01-19 北京嗨动视觉科技有限公司 Figure layer process method, figure layer process device and computer-readable medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103021002A (en) * 2011-09-27 2013-04-03 康佳集团股份有限公司 Colorful sketch image generating method
CN105426347A (en) * 2015-10-29 2016-03-23 北京京东尚科信息技术有限公司 Method for providing object information, display terminal and server
CN105488761A (en) * 2015-12-29 2016-04-13 北京金山安全软件有限公司 Processing method and device for spliced pictures
CN108876748A (en) * 2018-06-29 2018-11-23 掌阅科技股份有限公司 Picture display method calculates equipment and computer storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Popular Tutorials! Super popular Diffusion Shadow Omnidirectional Customs Guide", PHOTOSHOPVIP, 31 July 2016 (2016-07-31), Retrieved from the Internet <URL:https://www.ui.cn/detail/155965.html> *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565839A (en) * 2020-11-23 2021-03-26 青岛海信传媒网络技术有限公司 Display method and display device of screen projection image
CN112565839B (en) * 2020-11-23 2022-11-29 青岛海信传媒网络技术有限公司 Display method and display device of screen projection image
WO2023283130A1 (en) 2021-07-04 2023-01-12 Newave Pharmaceutical Inc. Isoquinoline derivatives as mutant egfr modulators and uses thereof

Also Published As

Publication number Publication date
CN108876748A (en) 2018-11-23
CN108876748B (en) 2019-08-30

Similar Documents

Publication Publication Date Title
WO2020001022A1 (en) Image expansion method, computing device and computer storage medium
US10430075B2 (en) Image processing for introducing blurring effects to an image
US10629167B2 (en) Display apparatus and control method thereof
WO2015074476A1 (en) Image processing method, apparatus, and storage medium
WO2017088605A1 (en) Method and device for controlling picture display in picture editing
WO2015192713A1 (en) Image processing method and device, mobile terminal, and computer storage medium
WO2017032233A1 (en) Image generation method and device
WO2019127941A1 (en) Method for displaying handwritten input content, electronic device, and computer storage medium
WO2010030712A1 (en) Methods and systems for per pixel alpha-blending of a parent window and a portion of a background image
TW201101824A (en) Processing method of display setup and embedded system
WO2019101005A1 (en) Pixel compensation method and apparatus, and terminal device
WO2020001028A1 (en) Staggered display method for picture, electronic device and storage medium
WO2020001024A1 (en) Method for displaying view in different layers, electronic device, and storage medium
CN107729099A (en) Background method of adjustment and its system
CN104182194A (en) Method and system for seamless edge blending processing in projection display
WO2018113218A1 (en) Spliced wall display method, device and system
CN113538502A (en) Picture clipping method and device, electronic equipment and storage medium
US20240135501A1 (en) Video generation method and apparatus, device and medium
CN115294055A (en) Image processing method, image processing device, electronic equipment and readable storage medium
US11341611B2 (en) Automatic generation of perceived real depth animation
WO2019237746A1 (en) Image merging method and apparatus
US9360339B2 (en) Rendering maps with canvas elements
US11769466B2 (en) Image display method and apparatus, device, and storage medium
WO2023173728A1 (en) Graphic rendering method and apparatus, and storage medium
WO2023016191A1 (en) Image display method and apparatus, computer device, and storage medium

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: 19827186

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19827186

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19827186

Country of ref document: EP

Kind code of ref document: A1