WO2017016171A1 - 用于终端设备的窗口显示处理方法、装置、设备及存储介质 - Google Patents

用于终端设备的窗口显示处理方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2017016171A1
WO2017016171A1 PCT/CN2015/099525 CN2015099525W WO2017016171A1 WO 2017016171 A1 WO2017016171 A1 WO 2017016171A1 CN 2015099525 W CN2015099525 W CN 2015099525W WO 2017016171 A1 WO2017016171 A1 WO 2017016171A1
Authority
WO
WIPO (PCT)
Prior art keywords
target window
image
pixel
background image
graphic element
Prior art date
Application number
PCT/CN2015/099525
Other languages
English (en)
French (fr)
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 WO2017016171A1 publication Critical patent/WO2017016171A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Definitions

  • the present invention relates to the field of image processing technologies, and in particular, to a window display processing method, apparatus, device, and storage medium for a terminal device.
  • the desktop wallpaper is first Gaussian blurred, and then the transparent processed software window is superimposed to realize the visual effect of the background blur of the software window. Because in the above process Directly superimposes the Gaussian blurred desktop wallpaper and the transparently processed software window without any processing of the display elements in the software window, so the visual effect of the software window is not soft and natural, and the user experience is not it is good.
  • the present invention provides a window display processing method for a terminal device, the method comprising: a blur base image generating step of: generating a desktop background image of a target window to be processed, and the desktop background The image is subjected to blurring processing to obtain a blurred base image; the target window rendering step: transparently rendering the display elements in the target window according to the blurred base image to draw the target window.
  • the display element in the target window includes at least one of a background, a text, and a graphic element of the target window.
  • the processing of the target window rendering step includes: copying a first target area corresponding to the target window in the blurred base image to generate a background image of the target window; and changing pixels in the background image Hue, saturation and/or brightness (HSL) component values; the background image is rendered in the target window.
  • HSL brightness
  • the processing of the target window rendering step includes: acquiring a graphic element pixel in the target window; and copying a second target area in the blurred basic image corresponding to the graphic element in the target window to generate a graphic element image of the target window; respectively, changing an HSL component value of a pixel corresponding to the graphic element image according to the brightness of the graphic element pixel; and drawing the graphic element image in the target window.
  • the processing of the target window rendering step further includes: acquiring a text pixel in the target window; and copying a third target area in the fuzzy base image corresponding to the text in the target window to generate a a character image of the target window; respectively, changing an HSL component value of a pixel corresponding to the character image according to the brightness of the character pixel; and drawing the character image in the target window.
  • the processing of generating the desktop background image of the target window to be processed includes: separately taking a screenshot of the user interface located behind the target window to be processed, and acquiring each user boundary An image of the face, and superimposing the image according to the hierarchical and positional relationship of the user interface to acquire the desktop background image.
  • the user interface located behind the target window to be processed includes a desktop interface, a desktop icon, and an application window located behind the target window to be processed.
  • the performing the blurring processing on the desktop background image comprises: performing equal-scale compression on the desktop background image; and performing fuzzy processing on the desktop background image after the equal-scale compression
  • the blurred desktop image is used as the blurred base image.
  • the processing of performing the blurring processing on the desktop background image after the equal-scale compression further comprises: blurring the desktop background image by a mean blur processing algorithm or a Gaussian blur processing algorithm according to predetermined blur radius data deal with.
  • the processing of generating the desktop background image of the target window to be processed includes: periodically generating a desktop background image of the target window to be processed, or generating a desktop of the target window to be processed according to the change of the desktop user interface.
  • the background image wherein each time the desktop background image is generated, the generated desktop background image is extracted once and extracted with the feature value extracted last time. If they are the same, the execution of the subsequent step is stopped.
  • the processing of acquiring the pixel of the graphic element in the target window comprises: drawing the graphic element in the target window in pure white on a black background; using the non-black pixel among the obtained graphic elements as the Graphic element pixels.
  • the processing of acquiring the character pixel in the target window includes: drawing the text in the target window in pure white on a black background; using the non-black pixel among the drawn characters as the text pixel .
  • the present invention also provides a window display for a terminal device a processing device, the device comprising: a blur base image generating unit, configured to generate a desktop background image of a target window to be processed, and perform blur processing on the desktop background image to obtain a blurred base image; and a target window rendering unit Displaying the display elements in the target window transparently according to the blurred base image to draw the target window.
  • a blur base image generating unit configured to generate a desktop background image of a target window to be processed, and perform blur processing on the desktop background image to obtain a blurred base image
  • a target window rendering unit Displaying the display elements in the target window transparently according to the blurred base image to draw the target window.
  • the display element in the target window includes at least one of a background, a text, and a graphic element of the target window.
  • the target window rendering unit includes: a background image generating subunit, configured to copy a first target area corresponding to the target window in the blurred base image to generate a background image of the target window; An image pixel changing subunit for changing an HSL component value of a pixel in the background image; a background image rendering subunit for rendering the background image in the target window.
  • the target window rendering unit includes: a graphic element pixel acquiring subunit, configured to acquire a graphic element pixel in the target window; and a graphic element image generating subunit, configured to copy the fuzzy basic image and the a second target area corresponding to the graphic element in the target window to generate a graphic element image of the target window; a graphic element image pixel changing subunit, configured to respectively change the graphic element according to the brightness of the graphic element pixel An HSL component value of a pixel corresponding thereto in the image; a graphic element image drawing subunit for drawing the graphic element image in the target window.
  • the target window rendering unit further includes: a character pixel acquiring subunit, configured to acquire a character pixel in the target window; and a text image generating subunit, configured to copy the target image in the blurred base image a third target area corresponding to the text in the window to generate a text image of the target window; a text image pixel changing subunit, configured to respectively change a pixel corresponding to the character image according to the brightness of the text pixel HSL component a text image drawing subunit for drawing the text image in the target window.
  • a character pixel acquiring subunit configured to acquire a character pixel in the target window
  • a text image generating subunit configured to copy the target image in the blurred base image a third target area corresponding to the text in the window to generate a text image of the target window
  • a text image pixel changing subunit configured to respectively change a pixel corresponding to the character image according to the brightness of the text pixel HSL component a text image drawing subunit for drawing the text image in the target window.
  • the fuzzy basic image generating unit includes: a desktop background image acquiring subunit, configured to respectively take a screenshot of a user interface located behind the target window to be processed, acquire an image of each user interface, and according to the user interface The hierarchy and positional relationship are superimposed on the image to obtain the desktop background image.
  • a desktop background image acquiring subunit configured to respectively take a screenshot of a user interface located behind the target window to be processed, acquire an image of each user interface, and according to the user interface The hierarchy and positional relationship are superimposed on the image to obtain the desktop background image.
  • the user interface located behind the target window to be processed includes a desktop interface, a desktop icon, and an application window located behind the target window to be processed.
  • the fuzzy basic image generating unit includes: a desktop background image compressing subunit, configured to perform equal scaling on the desktop background image; and a fuzzy basic image acquiring subunit, configured to The desktop background image is blurred, and the blurred desktop image is used as the blurred base image.
  • the fuzzy basic image acquisition sub-unit further includes: a desktop background image blur processing module, configured to perform blur processing on the desktop background image by using a mean blur processing algorithm or a Gaussian blur processing algorithm according to predetermined blur radius data .
  • a desktop background image blur processing module configured to perform blur processing on the desktop background image by using a mean blur processing algorithm or a Gaussian blur processing algorithm according to predetermined blur radius data .
  • the fuzzy basic image generating unit is configured to periodically generate a desktop background image of the target window to be processed, or to generate a desktop background image of the target window to be processed according to the change of the desktop user interface, where Each time the desktop background image is generated, the generated desktop background image is extracted once and extracted with the feature value extracted last time. If they are the same, the execution of the subsequent steps is stopped.
  • the graphic element pixel acquisition subunit includes: a graphic element drawing module, configured to draw a graphic element in the target window in pure white on a black background; a graphic element pixel acquiring module, configured to draw the obtained graphic Non-black pixels among the elements are used as the graphic element pixels.
  • the text pixel obtaining subunit includes: a text drawing module, configured to draw the text in the target window in pure white on a black background; and a text pixel acquiring module, configured to use the non-character in the drawn text Black pixels are used as the text pixels.
  • a window display processing method and apparatus for a terminal device after generating a blurred basic image, transparently rendering a display element in the target window according to the blurred basic image to draw the target window .
  • the technical solution of the present invention transparently renders the display elements in the target window according to the blurred basic image. Therefore, the visual effect of the target window drawn by the present invention is softer and more natural, and the user experience is improved.
  • FIG. 1 is a flow chart showing a window display processing method for a terminal device according to an exemplary embodiment of the present invention
  • FIG. 2 is a flow chart showing a process of transparently rendering a background in the target window
  • FIG. 3 is a transparent rendering effect diagram showing a background of a target window
  • FIG. 4 is a flow chart showing a process of transparently rendering a graphic element in the target window
  • FIG. 5 is a flow chart showing a process of transparently rendering characters in the target window
  • 6 is a transparent rendering effect diagram showing a target window
  • FIG. 7 is a schematic structural diagram showing a window display processing apparatus for a terminal device according to an exemplary embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram 1 showing a target window rendering unit 720;
  • FIG. 9 is a second schematic diagram showing the structure of the target window rendering unit 720.
  • FIG. 10 is a third schematic diagram showing the structure of the target window rendering unit 720.
  • the basic idea of the present invention is to provide a window display processing method for a terminal device and a device for implementing the method, generating a desktop background image for a target window to be subjected to blurring processing, and performing blur processing on the desktop background image. Generating a blurred base image, and then extracting elements from the blurred base image to transparently render display elements such as backgrounds, texts, and/or graphic elements in the target window to render a softer and more natural visual effect and improve the user experience. .
  • the window display processing method for the terminal device proposed by the present invention can be implemented by specially designed software, in which an interaction interface with the user is preset or provided to set parameter values for performing blur processing and transparent rendering, thereby realizing individuality.
  • the effect of blurring can be implemented by specially designed software, in which an interaction interface with the user is preset or provided to set parameter values for performing blur processing and transparent rendering, thereby realizing individuality. The effect of blurring.
  • the terminal device may be an electronic device such as a mobile phone, a computer, or an iPad.
  • step S110 a desktop background image of a target window to be processed is generated, and the desktop background image is subjected to blurring processing to acquire a blurred basic image.
  • the target window to be processed is a window that needs to be transparently rendered to achieve a background blur effect.
  • the background blur effect refers to the effect of seeing the blurred outline and color of other user interfaces located behind the target window through the target window.
  • the process of generating the desktop background image of the target window to be processed in step S110 may include: respectively, taking a screenshot of the user interface located behind the target window to be processed, acquiring an image of each user interface, and according to the The hierarchical and positional relationship of the user interface, superimposing the image to obtain the desktop background image.
  • the user interface located behind the target window to be processed may include a desktop interface, a desktop icon, an application window located behind the target window to be processed, and the like.
  • step S110 the desktop background image that has been subjected to the blurring processing is obtained as the basis for drawing the target window having the blur effect.
  • step S120 display elements in the target window are transparently rendered according to the blurred base image to draw the target window.
  • the display element in the target window may include at least one of a background, a text, a graphic element, and the like of the target window. Adjusting the hue, saturation, and/or brightness (HSL) component values of one or more display elements of the target window by extracting image elements from the blurred base image to obtain a background blur effect of the target window .
  • HSL hue, saturation, and/or brightness
  • the window display processing method for the terminal device provided by the embodiment of the present invention, after generating the blurred basic image, transparently renders the display elements in the target window according to the blurred basic image to draw the target window.
  • the technical solution of the present invention transparently renders the display elements in the target window according to the blurred basic image, so that the visual effect of the drawn target window is softer and more natural, and the user experience is improved.
  • step S120 in the method shown in Fig. 1 will be described in detail below with reference to Figs. 2 to 6 .
  • the process of transparently rendering the display elements in the target window in step S120 may be performed by at least one processing flow illustrated in FIGS. 2, 4, and 5.
  • FIG. 2 is a view showing that the background in the target window is transparently rendered in step S120. Schematic diagram of the process.
  • step S1201 a first target area corresponding to the target window in the blurred base image is copied to generate a background image of the target window, thereby obtaining a background image that has been subjected to blurring processing.
  • step S1202 the HSL component value of the pixel in the background image is changed.
  • At least one component or all of the hue, saturation, and luminance components of the pixel can be changed.
  • the background image tonal change value can be set by pre-setting or providing an interactive interface with the user in the software. For example, if the tone value of a certain pixel of the background image is H0 and the background image tone change value set in advance is set, the tone value of the pixel may be adjusted to (H0+) mod 360. In the above manner, the color tone of the pixels in the background image is changed as needed to achieve the specified tone adjustment effect.
  • the saturation of the pixels in the background image is adjusted in the above manner, significant color gradation problems can be avoided, the background image looks softer and natural, and the user experience is better.
  • the background image brightness change value can be set by pre-setting or providing an interactive interface with the user in the software. For example, if the brightness value of a certain pixel of the background image is L0, and the brightness value of the background image set in advance is changed, the brightness value of the pixel may be adjusted to (L0+) mod 100. In the above manner, the brightness of the pixels in the background image is changed as needed to achieve the specified brightness adjustment effect.
  • the method may further include: the background image The base color value of the preset ratio is added.
  • the ratio of the basic color values may vary according to changes in the background image. For example, if the main color of the background image is deeper, the ratio of the incorporated basic color values may be relatively higher; correspondingly, if the main color of the background image is lighter, the integrated basic color values are The ratio can be relatively low.
  • the background image is drawn in the target window in step S1203.
  • FIG. 3 is a transparent rendering effect diagram showing the background of the target window, which shows the target window of the full screen display.
  • the soft and natural target window background can be rendered by performing HSL component value adjustment on the background of the target window by extracting elements from the blurred base image.
  • the text and icons (graphic elements) in the target window can only be filled with solid colors, and the background blur effect cannot be used (ie, transparent rendering cannot be performed).
  • the window display processing method proposed by the present invention can also transparently render text and/or icons in the target window from the blurred base image extraction elements.
  • FIG. 4 is a flow chart showing a process of transparently rendering a graphic element in the target window in step S120.
  • the graphical elements described herein include icons for interactive operations in the target window, such as menu item icons, toolbar icons, status bar icons, and the like. For example, if the target window to be drawn is a window similar to Microsoft Word software, then the "Save” icon, the "Paste” icon, the "Spelling and Grammar” icon are all the graphic elements. These graphic elements are rectangular images with a transparent background.
  • step S1204 graphics element pixels in the target window are acquired to obtain contour data of the graphic element.
  • step S1204 may include: drawing a graphic element in the target window in pure white on a black background, and using a non-black pixel among the obtained graphic elements as the graphic element pixel, thereby taking the graphic element pixel and its background The pixels are separated.
  • a graphic outline with a tablet and a sheet can be extracted from the icon of the rectangle.
  • step S1205 a second target area corresponding to the graphic element in the target window in the blurred base image is copied to generate a graphic element image of the target window.
  • an area corresponding to the "stick” icon of the rectangle can be copied from the blur base image as the image of the "paste” icon.
  • step S1206 according to the brightness of the graphic element pixel, respectively change the HSL component value of the pixel corresponding to the graphic element image, so that the graphic element of the target window is softly and naturally displayed in the graphic element image.
  • At least one component or all of the hue, saturation, and luminance components of the corresponding pixels in the graphic element image may be changed.
  • the hue and saturation of any pixel of the graphic element image may be adjusted according to the correspondence between the pre-configured graphic element image brightness enhancement value and the brightness of the graphic element pixel. Degree and / or brightness.
  • the pre-configured hue, saturation, and/or brightness enhancement ratio corresponding to the brightness value L are a, b, and c, respectively, in the graphic element image.
  • the color point corresponding to the pixel point of the luminance value L is H1
  • the saturation is S1
  • the luminance is L1.
  • the hue, saturation, and/or brightness of the corresponding pixel may be adjusted to hue H2, saturation S2, and/or brightness L2, respectively:
  • H2 (H1+(360-H1)*a)*L mod 360,
  • L2 (L1 + (100 - L1) * c) * L mod 100.
  • the brightness adjustment will be described as an example.
  • LA2 (LA1+(100-LA1)*cA)*LA mod 100
  • LB2 (LB1+(100-LB1)*cB)*LB mod 100
  • the change in hue and saturation is similar to the brightness and will not be described here.
  • the above results show that when the hue, saturation and/or brightness are improved in the present invention, different pixel points should satisfy the relationship of hue, saturation and/or brightness after the hue, saturation and/or brightness are improved. And the lower the pixel point change ratio of the hue, the saturation, and/or the brighter, the lower the dot change ratio of the hue, the saturation, and/or the higher the brightness.
  • the pixel element image is adjusted according to a correspondence between the graphic element image brightness enhancement value and the brightness of the graphic element pixel. Hue, saturation and/or brightness.
  • the luminance value of a certain pixel of the pixel of the graphic element is L′
  • the pre-configured hue, saturation, and/or luminance reduction ratio corresponding to the luminance value L′ are respectively a′, b′, c′
  • the color point of the pixel corresponding to the pixel point having the luminance value L' in the graphic element image is H1'
  • the saturation is S1'
  • the luminance is L1'.
  • the hue, saturation, and/or brightness of the corresponding pixel point can be adjusted to the hue H2', the saturation S2', and/or the brightness L2', respectively:
  • the present invention should satisfy the hue, saturation, and the hue, saturation, and/or brightness of different pixel points when the hue, saturation, and/or brightness are lowered.
  • the magnitude relationship of degrees and/or brightness is constant, and the lower the pixel point change ratio of the hue, saturation, and/or brightness, the higher the dot change ratio with higher hue, saturation, and/or brightness.
  • the method may further include: incorporating a preset proportion of base color values on the graphic element image.
  • the ratio of the basic color values can be based on a graph The shape element image changes and changes. For example, if the main color of the image element image is deeper, the proportion of the base color values we incorporate may be relatively higher; accordingly, if the main color of the graphic element image is shallow, then we join The ratio of the base color values can be relatively low.
  • step S1207 the graphic element image is drawn in the target window, so that the background with the blurring process and the transparently rendered graphic element can be drawn.
  • FIG. 5 is a flow chart showing a process of transparently rendering characters in the target window in step S120.
  • step S1208 text pixels in the target window are acquired.
  • step S1208 may include: drawing characters in the target window in pure white on a black background, and using non-black pixels among the drawn characters as the text pixels to distinguish the text pixels.
  • step S1209 a third target area corresponding to the text in the target window in the blurred base image is copied to generate a character image of the target window.
  • step S12010 the HSL component values of the pixels corresponding to the character image are respectively changed according to the brightness of the character pixel, so that the text of the target window is softly and naturally displayed in the character image.
  • At least one component or all of the hue, saturation, and luminance components of the pixel corresponding thereto in the character image may be changed.
  • changing the HSL component value of the pixel of the character image is similar to the strategy adopted when changing the HSL component value of the pixel of the graphic element image, and only needs to replace the description about the pixel of the graphic element with the corresponding related text.
  • the description of the pixel can be, no longer here Said.
  • the method may further include: incorporating a preset proportion of basic color values on the text image.
  • the ratio of the basic color values may vary according to changes in the text image. For example, if the main color of the text image is deeper, the proportion of the base color values we incorporate can be relatively higher; accordingly, if the main color of the text image is shallow, then the basis of our integration The ratio of color values can be relatively low.
  • the color proportion of the anti-aliased point of the pure white graphic element or text may be obtained according to the anti-aliasing effect of the image element or the text in the target window. Then, a pure white graphic element or text with an anti-aliasing effect is drawn on a black background, and a non-black pixel among the drawn graphic elements or characters is used as the character pixel graphic element pixel or text pixel. Thereafter, the HSL component value of the corresponding pixel in the graphic element image or the text image is changed according to the brightness of the graphic element pixel or the text pixel, so that the graphic element image and the text image finally drawn in the target window have an anti-aliasing effect.
  • step S12011 the character image is drawn in the target window, so that the background with blur processing and the transparently rendered text can be drawn.
  • FIG. 6 is a diagram showing a transparent rendering effect of a target window.
  • the window located at the back is the desktop (1)
  • the window at the front is the target window (2).
  • Figure 6 not only transparently renders the background of the target window, but also transparently renders the graphic elements (3) and text (4) of the target window.
  • the graphic elements (3) on the left side of the target window and The color of the text (4) is relatively dark
  • the color of the graphic element (3) and the text (4) on the right side of the target window is relatively bright, which further improves the display effect of the target window and improves the user experience.
  • the blurring processing is performed on the desktop background image
  • the processing of acquiring the blurred basic image may include: performing equal-scale compression on the desktop background image; and scaling the desktop after the proportional scaling
  • the background image is blurred
  • the blurred desktop image is used as the blurred base image.
  • a display element in the target window which may be at least one of a display element such as a background, a text, and a graphic element of the target window
  • the target window is enlarged and displayed.
  • the intermediate point can be obtained by a difference method.
  • the calculation of inserting the intermediate value is far. Less than the amount of computation of the blurring process. Therefore, by the above improvements, we can greatly reduce the computational overhead required by the technical solution of the present invention.
  • the processing of performing the blurring processing on the desktop background image after the equal-scale compression may further include: using a mean blur processing algorithm or a high according to predetermined blur radius data
  • the scribing algorithm performs blurring on the desktop background image.
  • the user may be provided with an interface for setting the predetermined blur radius data, so that the user sets the predetermined blur radius data according to his own needs or interests, thereby realizing the background blur effect.
  • the terminal device can also set a fixed blur radius data, and can also automatically set the predetermined blur radius data according to factors such as the screen resolution, the size of the target window, and the like.
  • the processing of the fuzzy basic image generating step may include: periodically generating a desktop background image of the target window to be processed, or generating a target window to be processed according to a change of the desktop user interface.
  • Desktop background image a predetermined number of pixel points on the desktop background image, or may be a hierarchical and positional relationship of each user interface after the target window.
  • FIG. 7 is a block diagram showing a window display processing apparatus for a terminal device according to an exemplary embodiment of the present invention.
  • a window display processing apparatus for a terminal device may perform a window display processing method for a terminal device according to Embodiment 1.
  • the window display processing apparatus for a terminal device of the embodiment of the present invention may include: a blur base image generating unit 710 and a target window rendering unit 720.
  • the fuzzy basic image generating unit 710 is configured to generate a desktop background image of the target window to be processed, and perform blur processing on the desktop background image to acquire a blurred basic image.
  • the target window rendering unit 720 is configured to transparently render the display elements in the target window according to the blurred basic image to draw the target window.
  • the window display processing device for the terminal device provided by the embodiment of the present invention, after generating the blur base image, transparently renders the display elements in the target window according to the blur base image to draw the target window.
  • the technical solution of the present invention transparently renders the display elements in the target window according to the blurred basic image. Therefore, the visual effect of the target window drawn by the present invention is softer and more natural, and the user experience is improved.
  • the display element in the target window may include at least one of a background, a text, and a graphic element of the target window.
  • FIG. 8 is a first schematic diagram showing the structure of the target window rendering unit 720.
  • the target window rendering unit 720 may include a background image generation subunit 7201, a background image pixel change subunit 7202, and a background image rendering subunit 7203.
  • the background image generation subunit 7201 is configured to copy a first target area corresponding to the target window in the blurred base image to generate a background image of the target window.
  • the background image pixel changing sub-unit 7202 is for changing a hue, saturation, and/or luminance (HSL) component value of a pixel in the background image.
  • HSL luminance
  • a background image rendering sub-unit 7203 is for rendering the background image in the target window.
  • FIG. 9 is a second schematic diagram showing the structure of the target window rendering unit 720.
  • the target window rendering unit 720 may include: a graphic element pixel acquiring subunit 7204, a graphic element image generating subunit 7205, and a graphic element image pixel changing sub. Unit 7206 and graphic element image rendering sub-unit 7207.
  • the graphic element pixel acquisition sub-unit 7204 is configured to acquire graphic element pixels in the target window.
  • the graphic element image generation sub-unit 7205 is configured to copy a second target area corresponding to the graphic element in the target window in the blurred basic image to generate a graphic element image of the target window.
  • the graphic element image pixel changing sub-unit 7206 is configured to respectively change the HSL component value of the pixel corresponding to the graphic element image according to the brightness of the graphic element pixel.
  • a graphic element image drawing sub-unit 7207 is for drawing the graphic element image in the target window.
  • FIG. 10 is a third schematic diagram showing the structure of the target window rendering unit 720.
  • the target window rendering unit 720 may further include: a character pixel acquiring subunit 7208, a character image generating subunit 7209, a character image pixel changing subunit 72010, and a character image drawing subunit 72011.
  • the text pixel acquisition subunit 7208 is configured to acquire a text pixel in the target window.
  • the character image generation sub-unit 7209 is configured to copy a third target area corresponding to the text in the target window in the blurred base image to generate a character image of the target window.
  • the character image pixel changing subunit 72010 is configured to respectively change the HSL component value of the pixel corresponding to the character image according to the brightness of the character pixel.
  • a text image drawing subunit 72011 is for drawing the text image in the target window.
  • the fuzzy basic image generating unit 710 may include: a desktop background image acquiring subunit, configured to respectively perform a screenshot on a user interface located after the target window to be processed, Acquiring an image of each user interface, and superimposing the image according to a hierarchy and a positional relationship of the user interface to acquire the desktop background image.
  • the user interface located behind the target window to be processed may include a desktop interface, a desktop icon, and an application window located behind the target window to be processed.
  • the fuzzy basic image generating unit 710 may include: a desktop background image compressing subunit, configured to perform equal scaling on the desktop background image; and a fuzzy basic image acquiring subunit, configured to perform equal scaling
  • the desktop background image is subjected to blurring processing, and the blurred desktop background image is used as a blurred basic image.
  • the fuzzy basic image acquisition subunit may further include: a desktop background image blur processing module, configured to blur the desktop background image by a mean blur processing algorithm or a Gaussian blur processing algorithm according to predetermined blur radius data deal with.
  • a desktop background image blur processing module configured to blur the desktop background image by a mean blur processing algorithm or a Gaussian blur processing algorithm according to predetermined blur radius data deal with.
  • the fuzzy basic image generating unit 710 is configured to periodically generate a desktop background image of the target window to be processed, or to generate a desktop background image of the target window to be processed according to the change of the desktop user interface, where Each time the desktop background image is generated, the generated desktop background image is extracted once and extracted with the feature value extracted last time. If they are the same, the execution of the subsequent steps is stopped.
  • the graphic element pixel obtaining subunit may include: a graphic element drawing module, configured to draw a graphic element in the target window in pure white on a black background; and a graphic element pixel acquiring module, which is used for drawing Non-black pixels among the graphic elements are used as the graphic element pixels.
  • the text pixel obtaining subunit may include: a text drawing module, configured to draw the text in the target window in pure white on a black background; and a text pixel acquiring module, which is used in the drawn text A non-black pixel is used as the text pixel.
  • the above method according to the present invention can be implemented in hardware, firmware, or as software or computer code that can be stored in a recording medium such as a CD ROM, a RAM, a floppy disk, a hard disk, or a magneto-optical disk, or can be downloaded through a network.
  • a recording medium such as a CD ROM, a RAM, a floppy disk, a hard disk, or a magneto-optical disk, or can be downloaded through a network.
  • the computer code originally stored in a remote recording medium or non-transitory machine readable medium and to be stored in a local recording medium, whereby the methods described herein can be stored using a general purpose computer, a dedicated processor, or programmable or dedicated Such software processing on a recording medium of hardware such as an ASIC or an FPGA.
  • a computer, processor, microprocessor controller or programmable hardware includes storage components (eg, RAM, ROM, flash memory, etc.) that can store or receive software or computer code, when the software or computer code is The processing methods described herein are implemented when the processor or hardware is accessed and executed. Moreover, when a general purpose computer accesses code for implementing the processing shown herein, the execution of the code converts the general purpose computer into a special purpose computer for performing the processing shown herein.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本发明实施例提供一种用于终端设备的窗口显示处理方法、装置、设备及计算机存储介质。所述方法包括:模糊基础图像生成步骤:生成待处理的目标窗口的桌面背景图像,并且对所述桌面背景图像进行模糊处理,获取模糊基础图像;目标窗口渲染步骤:根据所述模糊基础图像,对所述目标窗口中的显示要素进行透明渲染,以绘制所述目标窗口。本发明的技术方案根据模糊基础图像对目标窗口中的显示要素分别进行透明渲染,所以本发明所绘制出的目标窗口的视觉效果更加柔和自然,提高了用户的体验。

Description

用于终端设备的窗口显示处理方法、装置、设备及存储介质
本申请要求了申请日为2015年07月24日,申请号为201510441047.6发明名称为“用于终端设备的窗口显示处理方法及装置”的中国专利申请的优先权。
技术领域
本发明涉及图像处理技术领域,尤其涉及一种用于终端设备的窗口显示处理方法、装置、设备及存储介质。
背景技术
随着终端技术的快速发展和人们生活水平的不断提高,人们越来越重视各种终端的软件窗口(即目标窗口)的视觉效果。而对软件窗口进行透明渲染后的背景模糊的视觉效果凭借其灵动清新的风格广受用户好评
现有技术中,在对软件窗口进行透明渲染时,首先将桌面壁纸进行高斯模糊,然后与透明处理后的软件窗口(进行叠加,以实现软件窗口的背景模糊的视觉效果。由于在上述过程中,直接将进行高斯模糊后的桌面壁纸与透明处理后的软件窗口进行叠加,而未对软件窗口内的显示要素进行任何的处理,所以软件窗口最终展示的视觉效果不够柔和自然,用户的体验不好。
发明内容
本发明的目的在于提供一种用于终端设备的窗口显示处理方法及装置,针对目标窗口中的显示要素进行模糊渲染,以获得柔和自然的视觉效果,提高用户的体验。
根据本发明的一方面,本发明提供一种用于终端设备的窗口显示处理方法,所述方法包括:模糊基础图像生成步骤:生成待处理的目标窗口的桌面背景图像,并且对所述桌面背景图像进行模糊处理,获取模糊基础图像;目标窗口渲染步骤:根据所述模糊基础图像,对所述目标窗口中的显示要素进行透明渲染,以绘制所述目标窗口。
可选地,所述目标窗口中的显示要素包括所述目标窗口的背景、文字和图形元素当中的至少一种。
可选地,所述目标窗口渲染步骤的处理包括:复制所述模糊基础图像中与所述目标窗口对应的第一目标区域,以生成所述目标窗口的背景图像;改变所述背景图像中像素的色调、饱和度和/或亮度(HSL)分量值;在所述目标窗口中绘制所述背景图像。
可选地,所述目标窗口渲染步骤的处理包括:获取所述目标窗口中的图形元素像素;复制所述模糊基础图像中与所述目标窗口中的图形元素对应的第二目标区域,以生成所述目标窗口的图形元素图像;根据所述图形元素像素的亮度,分别改变所述图形元素图像中与其对应的像素的HSL分量值;在所述目标窗口中绘制所述图形元素图像。
可选地,所述目标窗口渲染步骤的处理还包括:获取所述目标窗口中的文字像素;复制所述模糊基础图像中与所述目标窗口中的文字对应的第三目标区域,以生成所述目标窗口的文字图像;根据所述文字像素的亮度,分别改变所述文字图像中与其对应的像素的HSL分量值;在所述目标窗口中绘制所述文字图像。
可选地,所述生成待处理的目标窗口的桌面背景图像的处理包括:分别对位于待处理的目标窗口之后的用户界面进行截图,获取各用户界 面的图像,并且根据所述用户界面的层次和位置关系,对所述图像进行叠加,获取所述桌面背景图像。
可选地,所述位于待处理的目标窗口之后的用户界面包括桌面界面、桌面图标以及位于待处理的目标窗口之后的应用窗口。
可选地,所述对所述桌面背景图像进行模糊处理,获取模糊基础图像的处理包括:对所述桌面背景图像进行等比例压缩;对等比例压缩后的所述桌面背景图像进行模糊处理,并将模糊处理后的桌面背景图像作为模糊基础图像。
可选地,所述对等比例压缩后的所述桌面背景图像进行模糊处理的处理还包括:根据预定的模糊半径数据,通过均值模糊处理算法或高斯模糊处理算法对所述桌面背景图像进行模糊处理。
可选地,所述生成待处理的目标窗口的桌面背景图像的处理包括:周期性地生成待处理的目标窗口的桌面背景图像,或者根据桌面用户界面的改变,生成待处理的目标窗口的桌面背景图像,其中,每生成一次桌面背景图像,对所生成的桌面背景图像进行一次特征值提取,并与上一次所提取的特征值进行对比,若相同,停止后续步骤的执行。
可选地,所述获取所述目标窗口中的图形元素像素的处理包括:在黑色背景下以纯白色绘制所述目标窗口中的图形元素;将绘制获得的图形元素当中的非黑色像素作为所述图形元素像素。
可选地,所述获取所述目标窗口中的文字像素的处理包括:在黑色背景下以纯白色绘制所述目标窗口中的文字;将绘制而成的文字当中的非黑色像素作为所述文字像素。
根据本发明的另一方面,本发明还提供一种用于终端设备的窗口显 示处理装置,所述装置包括:模糊基础图像生成单元,用于生成待处理的目标窗口的桌面背景图像,并且对所述桌面背景图像进行模糊处理,获取模糊基础图像;目标窗口渲染单元,用于根据所述模糊基础图像,对所述目标窗口中的显示要素进行透明渲染,以绘制所述目标窗口。
可选地,所述目标窗口中的显示要素包括所述目标窗口的背景、文字和图形元素当中的至少一种。
可选地,所述目标窗口渲染单元包括:背景图像生成子单元,用于复制所述模糊基础图像中与所述目标窗口对应的第一目标区域,以生成所述目标窗口的背景图像;背景图像像素改变子单元,用于改变所述背景图像中像素的HSL分量值;背景图像绘制子单元,用于在所述目标窗口中绘制所述背景图像。
可选地,所述目标窗口渲染单元包括:图形元素像素获取子单元,用于获取所述目标窗口中的图形元素像素;图形元素图像生成子单元,用于复制所述模糊基础图像中与所述目标窗口中的图形元素对应的第二目标区域,以生成所述目标窗口的图形元素图像;图形元素图像像素改变子单元,用于根据所述图形元素像素的亮度,分别改变所述图形元素图像中与其对应的像素的HSL分量值;图形元素图像绘制子单元,用于在所述目标窗口中绘制所述图形元素图像。
可选地,所述目标窗口渲染单元还包括:文字像素获取子单元,用于获取所述目标窗口中的文字像素;文字图像生成子单元,用于复制所述模糊基础图像中与所述目标窗口中的文字对应的第三目标区域,以生成所述目标窗口的文字图像;文字图像像素改变子单元,用于根据所述文字像素的亮度,分别改变所述文字图像中与其对应的像素的HSL分量 值;文字图像绘制子单元,用于在所述目标窗口中绘制所述文字图像。
可选地,所述模糊基础图像生成单元包括:桌面背景图像获取子单元,用于分别对位于待处理的目标窗口之后的用户界面进行截图,获取各用户界面的图像,并且根据所述用户界面的层次和位置关系,对所述图像进行叠加,获取所述桌面背景图像。
可选地,所述位于待处理的目标窗口之后的用户界面包括桌面界面、桌面图标以及位于待处理的目标窗口之后的应用窗口。
可选地,所述模糊基础图像生成单元包括:桌面背景图像压缩子单元,用于对所述桌面背景图像进行等比例压缩;模糊基础图像获取子单元,用于对等比例压缩后的所述桌面背景图像进行模糊处理,并将模糊处理后的桌面背景图像作为模糊基础图像。
可选地,所述模糊基础图像获取子单元还包括:桌面背景图像模糊处理模块,用于根据预定的模糊半径数据,通过均值模糊处理算法或高斯模糊处理算法对所述桌面背景图像进行模糊处理。
可选地,所述模糊基础图像生成单元,用于周期性地生成待处理的目标窗口的桌面背景图像,或者用于根据桌面用户界面的改变,生成待处理的目标窗口的桌面背景图像,其中,每生成一次桌面背景图像,对所生成的桌面背景图像进行一次特征值提取,并与上一次所提取的特征值进行对比,若相同,停止后续步骤的执行。
可选地,所述图形元素像素获取子单元包括:图形元素绘制模块,用于在黑色背景下以纯白色绘制所述目标窗口中的图形元素;图形元素像素获取模块,用于将绘制获得的图形元素当中的非黑色像素作为所述图形元素像素。
可选地,所述文字像素获取子单元包括:文字绘制模块,用于在黑色背景下以纯白色绘制所述目标窗口中的文字;文字像素获取模块,用于将绘制而成的文字当中的非黑色像素作为所述文字像素。
本发明实施例所提供的用于终端设备的窗口显示处理方法及装置,在生成模糊基础图像后,根据该模糊基础图像对所述目标窗口中的显示要素进行透明渲染,以绘制所述目标窗口。本发明的技术方案根据模糊基础图像对目标窗口中的显示要素分别进行透明渲染,所以本发明所绘制出的目标窗口的视觉效果更加柔和自然,提高了用户的体验。
附图说明
图1是示出本发明示例性实施例用于终端设备的窗口显示处理方法的流程示意图;
图2是示出对所述目标窗口中的背景进行透明渲染的处理的流程示意图;
图3是示出目标窗口背景的透明渲染效果图;
图4是示出对所述目标窗口中的图形元素进行透明渲染的处理的流程示意图;
图5是示出对所述目标窗口中的文字进行透明渲染的处理的流程示意图;
图6是示出目标窗口的透明渲染效果图;
图7是示出本发明示例性实施例用于终端设备的窗口显示处理装置的结构示意图;
图8是示出目标窗口渲染单元720的结构示意图一;
图9是示出目标窗口渲染单元720的结构示意图二;
图10是示出目标窗口渲染单元720的结构示意图三。
具体实施方式
为了使本发明的目的、技术方案和优点更加清楚,下面结合附图和具体实施例对本发明进行详细描述。
本发明的基本构思是,提供一种用于终端设备的窗口显示处理方法以及实现所述方法的装置,为待进行模糊处理的目标窗口生成桌面背景图像,对所述桌面背景图像进行模糊处理,生成模糊基础图像,再从所述模糊基础图像抽取元素来对目标窗口中诸如背景、文字和/或图形元素等显示要素进行透明渲染,以渲染出更为柔和自然的视觉效果,提高用户的体验。
可通过专门设计的软件实现本发明提出的用于终端设备的窗口显示处理方法,在所述软件中预先设置或提供与用户的交互接口来设置执行模糊处理和透明渲染的参数值,从而实现个性化的模糊处理效果。
下面结合附图对本发明示例性实施例的用于终端设备的窗口显示处理方法及装置进行详细描述。
实施例一
图1是示出本发明示例性实施例用于终端设备的窗口显示处理方法的流程示意图。所述终端设备可以是手机、电脑、iPad等电子设备。
参照图1,在步骤S110,生成待处理的目标窗口的桌面背景图像,并且对所述桌面背景图像进行模糊处理,获取模糊基础图像。
所述待处理的目标窗口为需要进行透明渲染,以实现背景模糊效果的窗口。其中,所述背景模糊效果是指通过所述目标窗口,能够看到位于其后面的其他用户界面的模糊轮廓及色彩的效果。
具体地,在步骤S110中所述生成待处理的目标窗口的桌面背景图像的处理可包括:分别对位于待处理的目标窗口之后的用户界面进行截图,获取各用户界面的图像,并且根据所述用户界面的层次和位置关系,对所述图像进行叠加,获取所述桌面背景图像。所述位于待处理的目标窗口之后的用户界面可包括桌面界面、桌面图标以及位于待处理的目标窗口之后的应用窗口等。
通过步骤S110的处理,获得已经进行过模糊处理的桌面背景图像作为绘制具有模糊效果的目标窗口的基础。
在步骤S120,根据所述模糊基础图像,对所述目标窗口中的显示要素进行透明渲染,以绘制所述目标窗口。
具体地,所述目标窗口中的显示要素可包括所述目标窗口的背景、文字和图形元素等当中的至少一种。通过从所述模糊基础图像抽取图像元素,对所述目标窗口的一种或多种显示要素的色调、饱和度和/或亮度(HSL)分量值进行调整,得到所述目标窗口的背景模糊效果。
本发明实施例所提供的用于终端设备的窗口显示处理方法在生成模糊基础图像后,根据该模糊基础图像对所述目标窗口中的显示要素进行透明渲染,以绘制所述目标窗口。本发明的技术方案根据模糊基础图像对目标窗口中的显示要素进行透明渲染,使得绘制出的目标窗口的视觉效果更加柔和自然,提高了用户的体验。
以下将参照图2~图6对图1示出的方法中的步骤S120的处理给予详细说明。可通过图2、图4和图5中示出的至少一个处理流程来执行步骤S120中对所述目标窗口中的显示要素进行透明渲染的处理。
图2是示出在步骤S120对所述目标窗口中的背景进行透明渲染的处 理的流程示意图。
参照图2,在步骤S1201,复制所述模糊基础图像中与所述目标窗口对应的第一目标区域,以生成所述目标窗口的背景图像,由此获得已经进行过模糊处理的背景图像。
在步骤S1202,改变所述背景图像中像素的HSL分量值。
具体地,可改变像素的色调、饱和度和亮度分量的至少一个分量或全部。
如前所述,可在所述软件中预先设置或提供与用户的交互接口来设置所述背景图像色调改变值。例如,所述背景图像的某一像素点的色调值为H0,预先设置的所述背景图像色调改变值为,则可将该像素点的色调值调整为(H0+)mod 360。通过上述方式使得背景图像中像素的色调按照需求改变,达到指定的色调调整效果。
在提升饱和度时,饱和度较低的像素点提升饱和度的比例低于饱和度较高的像素点;在降低饱和度时,饱和度较高的像素点降低饱和度的比例低于饱和度较低的像素点。通过上述方式调整所述背景图像中像素的饱和度时,能够避免出现明显的色阶问题,使背景图像看起来更柔和自然,用户的体验更好。
如前所述,可在所述软件中预先设置或提供与用户的交互接口来设置所述背景图像亮度改变值。例如,所述背景图像的某一像素点的亮度值为L0,预先设置的所述背景图像亮度改变值为,则可将该像素点的亮度值调整为(L0+)mod 100。通过上述方式使得背景图像中像素的亮度按照需求改变,达到指定的亮度调整效果。
可选地,在步骤S1202之后,所述方法还可包括:在所述背景图像 上合入预设比例的基础色值。其中,所述基础色值的比例可根据背景图像的变化而发生变化。例如,如果所述背景图像的主色较深,则合入的基础色值的比例就可以相对的高一点;相应地,如果所述背景图像的主色较浅,则合入的基础色值的比例就可以相对的低一点。通过合入预设比例的基础色值,使最终渲染出的目标窗口的背景更加美观或者实现个性化。
在步骤S1203,在所述目标窗口中绘制所述背景图像。
图3是示出目标窗口背景的透明渲染效果图,其示出的是全屏显示的目标窗口。根据从所述模糊基础图像抽取元素来对目标窗口的背景进行HSL分量值调整,可渲染出柔和、自然的目标窗口背景。
此外,在现有的窗口绘制技术中,对于目标窗口中的文字和图标(图形元素)只能采用实色填充,无法采用背景模糊效果(即无法进行透明渲染)。本发明提出的窗口显示处理方法可从所述模糊基础图像抽取元素来对目标窗口中的文字和/或图标也进行透明渲染。
图4是示出在步骤S120对所述目标窗口中的图形元素进行透明渲染的处理的流程示意图。
这里所述的图形元素包括目标窗口中用于交互操作的图标,例如菜单项图标、工具栏图标、状态栏图标等。例如,如果要绘制的目标窗口是类似微软word软件的窗口,那么其中的“保存”图标、“粘贴”图标、“拼写和语法”图标都是所述图形元素。这些图形元素都是具有透明背景的矩形图像。
参照图4,在步骤S1204,获取所述目标窗口中的图形元素像素,以取得所述图形元素的轮廓数据。
具体地,步骤S1204可包括:在黑色背景下以纯白色绘制所述目标窗口中的图形元素,并且将绘制获得的图形元素当中的非黑色像素作为所述图形元素像素,从而将图形元素像素与其背景像素区分开。
例如,针对“粘贴”图标,通过步骤S1204的处理,可从矩形的图标提取出带有写字板和纸页的图形轮廓。
在步骤S1205,复制所述模糊基础图像中与所述目标窗口中的图形元素对应的第二目标区域,以生成所述目标窗口的图形元素图像。
例如,针对“粘贴”图标,通过步骤S1205的处理,可从所述模糊基础图像复制出与矩形的“粘贴”图标对应的区域作为所述“粘贴”图标的图像。
在步骤S1206,根据所述图形元素像素的亮度,分别改变所述图形元素图像中与其对应的像素的HSL分量值,以使所述目标窗口的图形元素在所述图形元素图像中柔和自然的展示。
具体地,可改变所述图形元素图像中对应的像素的色调、饱和度和亮度分量的至少一个分量或全部。
在提升色调、饱和度和/或亮度时,可根据预先配置的图形元素图像亮度提升值与图形元素像素的亮度之间的对应关系,调整所述图形元素图像的任一像素点的色调、饱和度和/或亮度。
例如,假设图形元素像素的某一像素点的亮度值为L,预先配置的与所述亮度值L对应的色调、饱和度和/或亮度提升比例分别为a、b、c,图形元素图像中与所述亮度值为L的像素点对应像素点的色调为H1,饱和度为S1,亮度为L1。可将该对应像素点的色调、饱和度和/或亮度分别调整为色调H2、饱和度S2和/或亮度L2:
H2=(H1+(360-H1)*a)*L mod 360,
S2=(S1+(100-S1)*b)*L mod 100,
L2=(L1+(100-L1)*c)*L mod 100。
具体地,以亮度调整为例进行说明。假设图形元素上存在A、B两个像素点,其在黑色背景上对应像素点亮度为LA=LB=80;A、B两个像素点在图形元素中的亮度分别为LA1=60,LB1=80。假设需要提高A、B两点的亮度提升比例cA=cB=70%,由上述计算公式可知:
LA2=(LA1+(100-LA1)*cA)*LA mod 100
=(60+(100-60)*0.7)*80mod 100
=(60+40*0.7)*80mod 100
=(60+28)*80mod 100
=88*80mod 100
=7040mod 100
=70,
LB2=(LB1+(100-LB1)*cB)*LB mod 100
=(80+(100-80)*0.7)*80mod 100
=(80+20*0.7)*80mod 100
=(80+14)*80mod 100
=94*80mod 100
=7520mod 100
=75。
可以看出LA1<LB1,且调整后的亮度LA2依然小于LB2,改变比例A像素点(17%)大于B像素点(6%)。
色调和饱和度的改变与亮度类似,这里不再赘述。有上述结果可知:本发明在提升色调、饱和度和/或亮度时,不同的像素点在色调、饱和度和/或亮度提升后应满足色调、饱和度和/或亮度的大小关系不变,且色调、饱和度和/或亮度越低的像素点改变比例越高,色调、饱和度和/或亮度越高的点改变比例越低。
在降低色调、饱和度和/或亮度时,根据所述目标窗口预先配置的图形元素图像亮度提升值与图形元素像素的亮度之间的对应关系,调整所述图形元素图像的任一像素点的色调、饱和度和/或亮度。
例如,图形元素像素的某一像素点的亮度值为L′,预先配置的与所述亮度值L′对应的色调、饱和度和/或亮度降低比例分别为a′、b′、c′,图形元素图像中与所述亮度值为L′的像素点对应像素点的色调为H1′,饱和度为S1′,亮度为L1′。则可将该对应像素点的色调、饱和度和/或亮度分别调整为色调H2′、饱和度S2′和/或亮度L2′:
H2′=(H1′*a′)*L′mod 360,
S2′=(S1′*b′)*L′mod 100,
L2′=(L1′*c′)*L′mod 100。
与提升色调、饱和度和/或亮度时的情况类似,本发明在降低色调、饱和度和/或亮度时,不同的像素点的在色调、饱和度和/或亮度降低后应满足色调、饱和度和/或亮度的大小关系不变,且色调、饱和度和/或亮度越低的像素点改变比例越低,色调、饱和度和/或亮度越高的点改变比例越高。
可选地,在步骤S1206之后,所述方法还可包括:在所述图形元素图像上合入预设比例的基础色值。其中,所述基础色值的比例可根据图 形元素图像的变化而发生变化。例如,如果所述图像元素图像的主色较深,则我们合入的基础色值的比例就可以相对的高一点;相应地,如果所述图形元素图像的主色较浅,则我们合入的基础色值的比例就可以相对的低一点。通过合入预设比例的基础色值,使最终渲染出的目标窗口的图形元素更加美观或者实现个性化。
在步骤S1207,在所述目标窗口中绘制所述图形元素图像,从而可绘制出具有模糊处理的背景、经过透明渲染的图形元素。
图5是示出在步骤S120对所述目标窗口中的文字进行透明渲染的处理的流程示意图。
参照图5,在步骤S1208,获取所述目标窗口中的文字像素。
具体地,步骤S1208可包括:在黑色背景下以纯白色绘制所述目标窗口中的文字,将绘制而成的文字当中的非黑色像素作为所述文字像素,从而区分出文字像素。
在步骤S1209,复制所述模糊基础图像中与所述目标窗口中的文字对应的第三目标区域,以生成所述目标窗口的文字图像。
在步骤S12010,根据所述文字像素的亮度,分别改变所述文字图像中与其对应的像素的HSL分量值,以使所述目标窗口的文字在所述文字图像中柔和自然的展示。
具体地,可改变所述文字图像中与其对应的像素的色调、饱和度和亮度分量的至少一个分量或全部。
这里,改变所述文字图像的像素的HSL分量值时与前述改变所述图形元素图像的像素的HSL分量值时采取的策略相似,只需将关于图形元素的像素的描述替换成相应的关于文字的像素的描述即可,这里不再赘 述。
可选地,在步骤S12010之后,所述方法还可包括:在所述文字图像上合入预设比例的基础色值。其中,所述基础色值的比例可根据文字图像的变化而发生变化。例如,如果所述文字图像的主色较深,则我们合入的基础色值的比例就可以相对的高一点;相应地,如果所述文字图像的主色较浅,则我们合入的基础色值的比例就可以相对的低一点。通过合入预设比例的基础色值,使最终渲染出的目标窗口的文字更加美观或者实现个性化。
需要说明的是,为使最终渲染出的目标窗口更加柔和自然,在所述背景图像、图形元素图像和/或文字图像上合入的基础色值及其比例应当一致。
此外,在黑色背景下绘制纯白色的图形元素或文字时,可根据所述目标窗口中的图像元素或文字的抗锯齿效果,获取所述纯白色的图形元素或文字的抗锯齿点的颜色比重,进而在黑色背景下绘制有抗锯齿效果的纯白色的图形元素或文字,将绘制而成的图形元素或文字当中的非黑色像素作为所述文字像素图形元素像素或文字像素。此后,根据图形元素像素或文字像素的亮度,改变图形元素图像或文字图像中相应的像素的HSL分量值,以使最终在目标窗口中绘制的图形元素图像和文字图像有抗锯齿效果。
在步骤S12011,在所述目标窗口中绘制所述文字图像,从而可绘制出具有模糊处理的背景、经过透明渲染的文字。
图6是示出目标窗口的透明渲染效果图。其中,位于后面的窗口为桌面(1),位于前面的窗口为目标窗口(2)。可以看出,与图3相比, 图6不仅对目标窗口背景进行了透明渲染,而且对目标窗口的图形元素(3)和文字(4)也进行了透明渲染,从图6可以看出,目标窗口左边的图形元素(3)和文字(4)的颜色相对暗一些,而目标窗口右边的图形元素(3)和文字(4)的颜色相对亮一些,这进一步改善了目标窗口的显示效果,提高了用户体验。
可选地,在步骤S110中,所述对所述桌面背景图像进行模糊处理,获取模糊基础图像的处理可包括:对所述桌面背景图像进行等比例压缩;对等比例压缩后的所述桌面背景图像进行模糊处理,并将模糊处理后的桌面背景图像作为模糊基础图像。相应地,在根据所述模糊基础图像,对所述目标窗口中的显示要素(可以是所述目标窗口的背景、文字和图形元素等显示要素当中的至少一种)进行透明渲染时,我们也对所述目标窗口进行相同比例的缩放,然后我们根据所述模糊基础图像改变所述目标窗口的背景、文字和图形元素等显示要素当中的至少一种的HSL分量值,并绘制所述目标窗口。
进一步地,在所述目标窗口绘制完成后,将所述目标窗口放大显示。可以理解的是,为避免放大显示后所述目标窗口失真,我们可以在相邻像素点之间插入中间点。其中,该中间点可用差值方法获得。上述过程中我们通过等比例压缩桌面背景图像的方法使我们的模糊处理的计算量大大减小,虽然后续处理中我们为避免目标窗口失真插入了中间值,但插入中间值的计算量要远远小于模糊处理的计算量。所以通过上述改进我们可以大大减小本发明的技术方案所需的计算开销。
可选地,所述对等比例压缩后的所述桌面背景图像进行模糊处理的处理还可包括:根据预定的模糊半径数据,通过均值模糊处理算法或高 斯模糊处理算法对所述桌面背景图像进行模糊处理。
具体地,在本发明具体实施的过程中,可为用户提供设置所述预定的模糊半径数据的接口,以便用户根据自己的需要或兴趣设置所述预定的模糊半径数据,实现背景模糊效果的可控性。可以理解的是,所述终端设备也可以设置一个固定的模糊半径数据,还可以根据屏幕分辨率、目标窗口的大小等因素自动设置所述预定的模糊半径数据。
可选地,在步骤S110中,所述模糊基础图像生成步骤的处理可包括:周期性地生成待处理的目标窗口的桌面背景图像,或者根据桌面用户界面的改变,生成待处理的目标窗口的桌面背景图像。相应地,每生成一次桌面背景图像,对所生成的桌面背景图像进行一次特征值提取,并与上一次所提取的特征值进行对比,若相同,停止后续步骤的执行。其中,对所述桌面背景图像提取的特征值可以是桌面背景图像上预定个数的像素点,也可以是所述目标窗口后的各用户界面的层次和位置关系。通过特征值的提取和对比,判断本次生成的桌面背景图像与上一次生成的桌面背景图像是否相同,若相同,则停止后续步骤的执行。通过上述过程可避免不必要的桌面背景图像模糊处理过程,减少CPU消耗。
实施例二
图7是示出本发明示例性实施例用于终端设备的窗口显示处理装置的结构示意图。
参照图7,本发明实施例的用于终端设备的窗口显示处理装置可执行实施例一的用于终端设备的窗口显示处理方法。本发明实施例的用于终端设备的窗口显示处理装置可包括:模糊基础图像生成单元710和目标窗口渲染单元720。
模糊基础图像生成单元710用于生成待处理的目标窗口的桌面背景图像,并且对所述桌面背景图像进行模糊处理,获取模糊基础图像。
目标窗口渲染单元720用于根据所述模糊基础图像,对所述目标窗口中的显示要素进行透明渲染,以绘制所述目标窗口。
本发明实施例所提供的用于终端设备的窗口显示处理装置在生成模糊基础图像后,根据该模糊基础图像对所述目标窗口中的显示要素进行透明渲染,以绘制所述目标窗口。本发明的技术方案根据模糊基础图像对目标窗口中的显示要素分别进行透明渲染,所以本发明所绘制出的目标窗口的视觉效果更加柔和自然,提高了用户的体验。
可选地,所述目标窗口中的显示要素可包括所述目标窗口的背景、文字和图形元素当中的至少一种。
图8是示出目标窗口渲染单元720的结构示意图一。
参见图8,所述目标窗口渲染单元720可包括:背景图像生成子单元7201、背景图像像素改变子单元7202和背景图像绘制子单元7203。
背景图像生成子单元7201用于复制所述模糊基础图像中与所述目标窗口对应的第一目标区域,以生成所述目标窗口的背景图像。
背景图像像素改变子单元7202用于改变所述背景图像中像素的色调、饱和度和/或亮度(HSL)分量值。
背景图像绘制子单元7203用于在所述目标窗口中绘制所述背景图像。
图9是示出目标窗口渲染单元720的结构示意图二。
参见图9,所述目标窗口渲染单元720可包括:图形元素像素获取子单元7204、图形元素图像生成子单元7205、图形元素图像像素改变子 单元7206和图形元素图像绘制子单元7207。
图形元素像素获取子单元7204用于获取所述目标窗口中的图形元素像素。
图形元素图像生成子单元7205用于复制所述模糊基础图像中与所述目标窗口中的图形元素对应的第二目标区域,以生成所述目标窗口的图形元素图像。
图形元素图像像素改变子单元7206用于根据所述图形元素像素的亮度,分别改变所述图形元素图像中与其对应的像素的HSL分量值。
图形元素图像绘制子单元7207用于在所述目标窗口中绘制所述图形元素图像。
图10是示出目标窗口渲染单元720的结构示意图三。
参见图10,所述目标窗口渲染单元720还可包括:文字像素获取子单元7208、文字图像生成子单元7209、文字图像像素改变子单元72010和文字图像绘制子单元72011。
文字像素获取子单元7208用于获取所述目标窗口中的文字像素。
文字图像生成子单元7209用于复制所述模糊基础图像中与所述目标窗口中的文字对应的第三目标区域,以生成所述目标窗口的文字图像。
文字图像像素改变子单元72010用于根据所述文字像素的亮度,分别改变所述文字图像中与其对应的像素的HSL分量值。
文字图像绘制子单元72011用于在所述目标窗口中绘制所述文字图像。
可选地,所述模糊基础图像生成单元710可包括:桌面背景图像获取子单元,用于分别对位于待处理的目标窗口之后的用户界面进行截图, 获取各用户界面的图像,并且根据所述用户界面的层次和位置关系,对所述图像进行叠加,获取所述桌面背景图像。
可选地,所述位于待处理的目标窗口之后的用户界面可包括桌面界面、桌面图标以及位于待处理的目标窗口之后的应用窗口。
可选地,所述模糊基础图像生成单元710可包括:桌面背景图像压缩子单元,用于对所述桌面背景图像进行等比例压缩;模糊基础图像获取子单元,用于对等比例压缩后的所述桌面背景图像进行模糊处理,并将模糊处理后的桌面背景图像作为模糊基础图像。
可选地,所述模糊基础图像获取子单元还可包括:桌面背景图像模糊处理模块,用于根据预定的模糊半径数据,通过均值模糊处理算法或高斯模糊处理算法对所述桌面背景图像进行模糊处理。
可选地,所述模糊基础图像生成单元710用于周期性地生成待处理的目标窗口的桌面背景图像,或者用于根据桌面用户界面的改变,生成待处理的目标窗口的桌面背景图像,其中,每生成一次桌面背景图像,对所生成的桌面背景图像进行一次特征值提取,并与上一次所提取的特征值进行对比,若相同,停止后续步骤的执行。
可选地,所述图形元素像素获取子单元可包括:图形元素绘制模块,用于在黑色背景下以纯白色绘制所述目标窗口中的图形元素;图形元素像素获取模块,用于将绘制获得的图形元素当中的非黑色像素作为所述图形元素像素。
可选地,所述文字像素获取子单元可包括:文字绘制模块,用于在黑色背景下以纯白色绘制所述目标窗口中的文字;文字像素获取模块,用于将绘制而成的文字当中的非黑色像素作为所述文字像素。
需要指出,根据实施的需要,可将本申请中描述的各个步骤拆分为更多步骤,也可将两个或多个步骤或者步骤的部分操作组合成新的步骤,以实现本发明的目的。
上述根据本发明的方法可在硬件、固件中实现,或者被实现为可存储在记录介质(诸如CD ROM、RAM、软盘、硬盘或磁光盘)中的软件或计算机代码,或者被实现通过网络下载的原始存储在远程记录介质或非暂时机器可读介质中并将被存储在本地记录介质中的计算机代码,从而在此描述的方法可被存储在使用通用计算机、专用处理器或者可编程或专用硬件(诸如ASIC或FPGA)的记录介质上的这样的软件处理。可以理解,计算机、处理器、微处理器控制器或可编程硬件包括可存储或接收软件或计算机代码的存储组件(例如,RAM、ROM、闪存等),当所述软件或计算机代码被计算机、处理器或硬件访问且执行时,实现在此描述的处理方法。此外,当通用计算机访问用于实现在此示出的处理的代码时,代码的执行将通用计算机转换为用于执行在此示出的处理的专用计算机。
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。

Claims (26)

  1. 一种用于终端设备的窗口显示处理方法,其特征在于,所述方法包括:
    模糊基础图像生成步骤:生成待处理的目标窗口的桌面背景图像,并且对所述桌面背景图像进行模糊处理,获取模糊基础图像;
    目标窗口渲染步骤:根据所述模糊基础图像,对所述目标窗口中的显示要素进行透明渲染,以绘制所述目标窗口。
  2. 根据权利要求1所述的方法,其特征在于,所述目标窗口中的显示要素包括所述目标窗口的背景、文字和图形元素当中的至少一种。
  3. 根据权利要求2所述的方法,其特征在于,所述目标窗口渲染步骤的处理包括:
    复制所述模糊基础图像中与所述目标窗口对应的第一目标区域,以生成所述目标窗口的背景图像;
    改变所述背景图像中像素的色调、饱和度和/或亮度HSL分量值;
    在所述目标窗口中绘制所述背景图像。
  4. 根据权利要求2所述的方法,其特征在于,所述目标窗口渲染步骤的处理包括:
    获取所述目标窗口中的图形元素像素;
    复制所述模糊基础图像中与所述目标窗口中的图形元素对应的第二目标区域,以生成所述目标窗口的图形元素图像;
    根据所述图形元素像素的亮度,分别改变所述图形元素图像中与其对应的像素的HSL分量值;
    在所述目标窗口中绘制所述图形元素图像。
  5. 根据权利要求2~4中任一项所述的方法,其特征在于,所述目标窗口渲染步骤的处理还包括:
    获取所述目标窗口中的文字像素;
    复制所述模糊基础图像中与所述目标窗口中的文字对应的第三目标区域,以生成所述目标窗口的文字图像;
    根据所述文字像素的亮度,分别改变所述文字图像中与其对应的像素的HSL分量值;
    在所述目标窗口中绘制所述文字图像。
  6. 根据权利要求1~4中任一项所述的方法,其特征在于,所述生成待处理的目标窗口的桌面背景图像的处理包括:
    分别对位于待处理的目标窗口之后的用户界面进行截图,获取各用户界面的图像,并且根据所述用户界面的层次和位置关系,对所述图像进行叠加,获取所述桌面背景图像。
  7. 根据权利要求6所述的方法,其特征在于,所述位于待处理的目标窗口之后的用户界面包括桌面界面、桌面图标以及位于待处理的目标窗口之后的应用窗口。
  8. 根据权利要求7所述的方法,其特征在于,所述对所述桌面背景图像进行模糊处理,获取模糊基础图像的处理包括:
    对所述桌面背景图像进行等比例压缩;
    对等比例压缩后的所述桌面背景图像进行模糊处理,并将模糊处理后的桌面背景图像作为模糊基础图像。
  9. 根据权利要求8所述的方法,其特征在于,所述对等比例压缩后的所述桌面背景图像进行模糊处理的处理还包括:
    根据预定的模糊半径数据,通过均值模糊处理算法或高斯模糊处理算法对所述桌面背景图像进行模糊处理。
  10. 根据权利要求1~4中任一项所述的方法,其特征在于,所述生成待处理的目标窗口的桌面背景图像的处理包括:
    周期性地生成待处理的目标窗口的桌面背景图像,或者根据桌面用户界面的改变,生成待处理的目标窗口的桌面背景图像,其中,每生成一次桌面背景图像,对所生成的桌面背景图像进行一次特征值提取,并与上一次所提取的特征值进行对比,若相同,停止后续步骤的执行。
  11. 根据权利要求4所述的方法,其特征在于,所述获取所述目标窗口中的图形元素像素的处理包括:
    在黑色背景下以纯白色绘制所述目标窗口中的图形元素;
    将绘制获得的图形元素当中的非黑色像素作为所述图形元素像素。
  12. 根据权利要求5所述的方法,其特征在于,所述获取所述目标窗口中的文字像素的处理包括:
    在黑色背景下以纯白色绘制所述目标窗口中的文字;
    将绘制而成的文字当中的非黑色像素作为所述文字像素。
  13. 一种用于终端设备的窗口显示处理装置,其特征在于,所述装置包括:
    模糊基础图像生成单元,用于生成待处理的目标窗口的桌面背景图像,并且对所述桌面背景图像进行模糊处理,获取模糊基础图像;
    目标窗口渲染单元,用于根据所述模糊基础图像,对所述目标窗口中的显示要素进行透明渲染,以绘制所述目标窗口。
  14. 根据权利要求13所述的装置,其特征在于,所述目标窗口中的 显示要素包括所述目标窗口的背景、文字和图形元素当中的至少一种。
  15. 根据权利要求14所述的装置,其特征在于,所述目标窗口渲染单元包括:
    背景图像生成子单元,用于复制所述模糊基础图像中与所述目标窗口对应的第一目标区域,以生成所述目标窗口的背景图像;
    背景图像像素改变子单元,用于改变所述背景图像中像素的色调、饱和度和/或亮度HSL分量值;
    背景图像绘制子单元,用于在所述目标窗口中绘制所述背景图像。
  16. 根据权利要求14所述的装置,其特征在于,所述目标窗口渲染单元包括:
    图形元素像素获取子单元,用于获取所述目标窗口中的图形元素像素;
    图形元素图像生成子单元,用于复制所述模糊基础图像中与所述目标窗口中的图形元素对应的第二目标区域,以生成所述目标窗口的图形元素图像;
    图形元素图像像素改变子单元,用于根据所述图形元素像素的亮度,分别改变所述图形元素图像中与其对应的像素的HSL分量值;
    图形元素图像绘制子单元,用于在所述目标窗口中绘制所述图形元素图像。
  17. 根据权利要求14~16中任一项所述的装置,其特征在于,所述目标窗口渲染单元还包括:
    文字像素获取子单元,用于获取所述目标窗口中的文字像素;
    文字图像生成子单元,用于复制所述模糊基础图像中与所述目标窗 口中的文字对应的第三目标区域,以生成所述目标窗口的文字图像;
    文字图像像素改变子单元,用于根据所述文字像素的亮度,分别改变所述文字图像中与其对应的像素的HSL分量值;
    文字图像绘制子单元,用于在所述目标窗口中绘制所述文字图像。
  18. 根据权利要求13~16中任一项所述的装置,其特征在于,所述模糊基础图像生成单元包括:
    桌面背景图像获取子单元,用于分别对位于待处理的目标窗口之后的用户界面进行截图,获取各用户界面的图像,并且根据所述用户界面的层次和位置关系,对所述图像进行叠加,获取所述桌面背景图像。
  19. 根据权利要求18所述的装置,其特征在于,所述位于待处理的目标窗口之后的用户界面包括桌面界面、桌面图标以及位于待处理的目标窗口之后的应用窗口。
  20. 根据权利要求19所述的装置,其特征在于,所述模糊基础图像生成单元包括:
    桌面背景图像压缩子单元,用于对所述桌面背景图像进行等比例压缩;
    模糊基础图像获取子单元,用于对等比例压缩后的所述桌面背景图像进行模糊处理,并将模糊处理后的桌面背景图像作为模糊基础图像。
  21. 根据权利要求20所述的装置,其特征在于,所述模糊基础图像获取子单元还包括:
    桌面背景图像模糊处理模块,用于根据预定的模糊半径数据,通过均值模糊处理算法或高斯模糊处理算法对所述桌面背景图像进行模糊处理。
  22. 根据权利要求13~16中任一项所述的装置,其特征在于,所述模糊基础图像生成单元,用于周期性地生成待处理的目标窗口的桌面背景图像,或者用于根据桌面用户界面的改变,生成待处理的目标窗口的桌面背景图像,其中,每生成一次桌面背景图像,对所生成的桌面背景图像进行一次特征值提取,并与上一次所提取的特征值进行对比,若相同,停止后续步骤的执行。
  23. 根据权利要求16所述的装置,其特征在于,所述图形元素像素获取子单元包括:
    图形元素绘制模块,用于在黑色背景下以纯白色绘制所述目标窗口中的图形元素;
    图形元素像素获取模块,用于将绘制获得的图形元素当中的非黑色像素作为所述图形元素像素。
  24. 根据权利要求17所述的装置,其特征在于,所述文字像素获取子单元包括:
    文字绘制模块,用于在黑色背景下以纯白色绘制所述目标窗口中的文字;
    文字像素获取模块,用于将绘制而成的文字当中的非黑色像素作为所述文字像素。
  25. 一种设备,包括:
    一个或多个处理器;
    存储器;
    一个或多个程序,所述一个或多个程序存储在所述存储器中,当被所述一个或多个处理器执行时,执行以下操作:
    生成待处理的目标窗口的桌面背景图像,并且对所述桌面背景图像进行模糊处理,获取模糊基础图像;
    根据所述模糊基础图像,对所述目标窗口中的显示要素进行透明渲染,以绘制所述目标窗口。
  26. 一种非易失性计算机存储介质,所述计算机存储介质存储有一个或多个程序,当所述一个或多个程序被一个设备执行时,使得所述设备执行以下操作:
    生成待处理的目标窗口的桌面背景图像,并且对所述桌面背景图像进行模糊处理,获取模糊基础图像;
    根据所述模糊基础图像,对所述目标窗口中的显示要素进行透明渲染,以绘制所述目标窗口。
PCT/CN2015/099525 2015-07-24 2015-12-29 用于终端设备的窗口显示处理方法、装置、设备及存储介质 WO2017016171A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510441047.6 2015-07-24
CN201510441047.6A CN105138317B (zh) 2015-07-24 2015-07-24 用于终端设备的窗口显示处理方法及装置

Publications (1)

Publication Number Publication Date
WO2017016171A1 true WO2017016171A1 (zh) 2017-02-02

Family

ID=54723675

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/099525 WO2017016171A1 (zh) 2015-07-24 2015-12-29 用于终端设备的窗口显示处理方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN105138317B (zh)
WO (1) WO2017016171A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908331A (zh) * 2017-11-17 2018-04-13 广东小天才科技有限公司 一种桌面图标的显示控制方法及电子设备
CN110942419A (zh) * 2019-11-22 2020-03-31 航天科技控股集团股份有限公司 一种全液晶仪表毛玻璃模糊处理方法
CN114924824A (zh) * 2019-07-26 2022-08-19 武汉深之度科技有限公司 可视对象的模糊方法、渲染方法及计算设备
US11439152B2 (en) 2017-10-18 2022-09-13 Syngenta Participations Ag Control of hemipteran pests using RNA molecules

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105138317B (zh) * 2015-07-24 2018-11-13 安一恒通(北京)科技有限公司 用于终端设备的窗口显示处理方法及装置
CN105373363A (zh) * 2015-12-14 2016-03-02 魅族科技(中国)有限公司 一种显示方法和显示装置
CN105828156A (zh) * 2016-03-22 2016-08-03 乐视网信息技术(北京)股份有限公司 一种在视频画面中生成标题背景的方法及装置
CN106570847B (zh) * 2016-10-24 2019-11-22 广州酷狗计算机科技有限公司 图像处理的方法和装置
US10417976B2 (en) 2017-03-22 2019-09-17 Wuhan China Star Optoelectronics Technology Co., Ltd. Pixel rendering method and pixel rendering device
CN106875923B (zh) * 2017-03-22 2019-02-01 武汉华星光电技术有限公司 一种像素渲染方法及像素渲染装置
CN109032710B (zh) * 2017-06-09 2022-05-24 斑马智行网络(香港)有限公司 一种界面调整方法、装置、设备和存储介质
CN108765271B (zh) * 2018-05-30 2022-06-03 北京小米移动软件有限公司 图像处理方法及设备
CN109672906A (zh) * 2018-12-20 2019-04-23 深圳创维数字技术有限公司 背景生成方法、装置及计算机可读存储介质
CN111258582B (zh) * 2020-02-10 2023-09-05 北京字节跳动网络技术有限公司 一种窗口渲染方法、装置、计算机设备及存储介质
CN113791861B (zh) * 2021-11-16 2022-03-01 北京鲸鲮信息系统技术有限公司 窗口模糊透明显示方法、装置、电子设备与存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193740A (zh) * 2011-06-16 2011-09-21 珠海全志科技有限公司 嵌入式图形界面系统中多层窗口的生成方法
CN103885678A (zh) * 2014-03-18 2014-06-25 小米科技有限责任公司 显示对象的方法及装置
CN104574452A (zh) * 2013-10-10 2015-04-29 腾讯科技(深圳)有限公司 窗体背景的生成方法及装置
CN105138317A (zh) * 2015-07-24 2015-12-09 安一恒通(北京)科技有限公司 用于终端设备的窗口显示处理方法及装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9210213B2 (en) * 2011-03-03 2015-12-08 Citrix Systems, Inc. Reverse seamless integration between local and remote computing environments
CN103309560A (zh) * 2013-06-08 2013-09-18 东莞宇龙通信科技有限公司 多界面显示信息的方法及终端
CN103955469B (zh) * 2014-03-28 2018-01-19 北京奇虎科技有限公司 一种浏览器中进行页面缩放的方法和装置
CN104317474B (zh) * 2014-09-22 2018-08-03 腾讯科技(深圳)有限公司 窗口切换方法及装置
CN104361011A (zh) * 2014-10-13 2015-02-18 广东威创视讯科技股份有限公司 一种动态显示颜色的实现方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193740A (zh) * 2011-06-16 2011-09-21 珠海全志科技有限公司 嵌入式图形界面系统中多层窗口的生成方法
CN104574452A (zh) * 2013-10-10 2015-04-29 腾讯科技(深圳)有限公司 窗体背景的生成方法及装置
CN103885678A (zh) * 2014-03-18 2014-06-25 小米科技有限责任公司 显示对象的方法及装置
CN105138317A (zh) * 2015-07-24 2015-12-09 安一恒通(北京)科技有限公司 用于终端设备的窗口显示处理方法及装置

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11439152B2 (en) 2017-10-18 2022-09-13 Syngenta Participations Ag Control of hemipteran pests using RNA molecules
CN107908331A (zh) * 2017-11-17 2018-04-13 广东小天才科技有限公司 一种桌面图标的显示控制方法及电子设备
CN114924824A (zh) * 2019-07-26 2022-08-19 武汉深之度科技有限公司 可视对象的模糊方法、渲染方法及计算设备
CN114924824B (zh) * 2019-07-26 2023-11-14 武汉深之度科技有限公司 可视对象的模糊方法、渲染方法及计算设备
CN110942419A (zh) * 2019-11-22 2020-03-31 航天科技控股集团股份有限公司 一种全液晶仪表毛玻璃模糊处理方法
CN110942419B (zh) * 2019-11-22 2023-09-22 航天科技控股集团股份有限公司 一种全液晶仪表毛玻璃模糊处理方法

Also Published As

Publication number Publication date
CN105138317A (zh) 2015-12-09
CN105138317B (zh) 2018-11-13

Similar Documents

Publication Publication Date Title
WO2017016171A1 (zh) 用于终端设备的窗口显示处理方法、装置、设备及存储介质
CN110650368B (zh) 视频处理方法、装置和电子设备
WO2021169307A1 (zh) 人脸图像的试妆处理方法、装置、计算机设备和存储介质
US10853686B2 (en) Generation of salient contours using live video
US8237730B1 (en) Tone mapping for motion pictures
KR20200027030A (ko) 얼굴 표정 합성 방법과 장치, 전자 기기, 및 저장 매체
JP2008234342A (ja) 画像処理装置及び画像処理方法
US8731248B2 (en) Method of performing eye circle correction an image and related computing device
CN106530309A (zh) 一种基于移动平台的视频抠图方法及系统
CN113469883B (zh) 动态分辨率的渲染方法、装置、电子设备及可读存储介质
WO2017084391A1 (zh) 一种投影仪图像荧光处理的方法及系统
CN106997608A (zh) 一种生成光晕效果图的方法及装置
JP5896204B2 (ja) 画像処理装置及びプログラム
US9092889B2 (en) Image processing apparatus, image processing method, and program storage medium
CN114841853A (zh) 图像处理方法、装置、设备及存储介质
CN114862729A (zh) 图像处理方法、装置、计算机设备和存储介质
US8433107B1 (en) Method of enhancing a nose area of an image and related computing device
US20180012066A1 (en) Photograph processing method and system
US11468658B2 (en) Systems and methods for generating typographical images or videos
CN111338627B (zh) 前端网页主题颜色调节方法及装置
CN110874816B (zh) 一种图像处理方法、装置、移动终端及存储介质
US11217205B2 (en) Method and apparatus for rendering contents for vision accessibility
KR20070096621A (ko) 음영판을 이용한 캐리커쳐 생성 시스템 및 방법
TW200416620A (en) Variable contrast mapping of digital images
JP6603722B2 (ja) 画像処理装置およびプログラム

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 29.05.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 15899517

Country of ref document: EP

Kind code of ref document: A1