An information processing method and an electronic device are described. The information processing method is applied to an electronic device having a display unit. The method includes obtaining a parameter value of a pixel of a source icon on the display unit; analyzing an energy distribution of the source icon based on the parameter value, and determining a core area of the source icon; extracting the core area and conducting image processing of the core area to generate a substitution icon of the source icon for displaying, the substitution icon possesses main display information features of the source icon.
Legal claims defining the scope of protection, as filed with the USPTO.
1. An information processing method applied to an electronic device with a display unit comprising: obtaining a parameter value of a pixel of a source icon on the display unit, which comprises obtaining a density value of the pixel in the source icon; analyzing an energy distribution of the source icon based on the parameter value, and determining a core area of the source icon, which comprises: dividing the source icon into at least one pixel stream, the at least one pixel stream including pixels in a same column or same row; determining a density value of a pixel stream among the at least one pixel stream, the density value of the pixel stream corresponding to an amount of pixels with a density value greater than a first pre-set threshold; extracting a target pixel stream which is a pixel stream with a density value greater than a second threshold in the at least one pixel stream; and determining the core area which is an area containing the target pixel stream in the source icon; and extracting the core area and conducting image processing to the core area to generate a substitution icon of the source icon for displaying, wherein the substitution icon possesses main display information features of the source icon.
2. The information processing method of claim 1 , wherein the extracting the core area and conducting image processing of the core area to generate a substitution icon of the source icon for displaying comprises: conducting a radial-based interpolation with an edge pixel of the core area as a first layer control point, and determining a color value of a filling pixel; and filling the core area with the filling pixel to generate the substitution icon.
3. The information processing method of claim 2 , wherein the conducting a radial-based interpolation with an edge pixel of the core area as a first layer control point comprises conducting the radial-based interpolation with the edge pixel of the core area as the first layer control point as well as an edge pixel of the source icon as a second control point.
4. An electronic device, comprising: a display unit; an obtaining unit configured to obtain a parameter value of a pixel of a source icon on the display unit, wherein the obtaining unit further is configured to obtain a density value of the pixel in the source icon; a determining unit configured to analyze an energy distribution of the source icon based on the parameter value and determine a core area of the source icon, wherein the determining unit is further configured to divide the source icon into at least one pixel stream, the at least one pixel stream including pixels in a same row or same column; determine a density value of a pixel stream among the at least one pixel stream, the density value of the pixel stream corresponding to an amount of pixels with density value greater than a first preset threshold; extract a target pixel stream which is a pixel stream with density value greater than a second threshold in the at least one pixel stream; and determine the core area which is an area containing the target pixel stream in the source icon; and a generating unit configured to extract the core area and conduct image processing to the core area to generate a substitution icon of the source icon for displaying, wherein the substitution icon possesses main display information features of the source icon.
5. The electronic device of claim 4 , wherein the generating unit comprises: a calculating subunit configured to conduct a radial-based interpolation with an edge pixel of the core area as a first layer control point, and determine a color value of a filling pixel; and a generating subnit configured to fill the core area with the filling pixel to generate the substitution icon.
6. The electronic device according to claim 5 , wherein, the calculating subunit is further configured to conduct the radial-based interpolation with the edge pixel of the core area as the first layer control point as well as an edge pixel of the source icon as a second control point.
7. A non-transitory storage medium recorded with a program executable by a computer, the program comprising: obtaining a parameter value of a pixel of a source icon on the display unit, which comprises obtaining a density value of the pixel in the source icon; analyzing an energy distribution of the source icon based on the parameter value, and determining a core area of the source icon, which comprises: dividing the source icon into at least one pixel stream, the at least one pixel stream including pixels in a same column or same row; determining a density value of a pixel stream among the at least one pixel stream, the density value of the pixel stream corresponding to an amount of pixels with a density value greater than a first pre-set threshold; extracting a target pixel stream which is a pixel stream with a density value greater than a second threshold in the at least one pixel stream; and determining the core area which is an area containing the target pixel stream in the source icon; and extracting the core area and conducting image processing of the core area to generate a substitution icon of the source icon for displaying, wherein the substitution icon possesses main display information features of the source icon.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
March 16, 2015
October 3, 2017
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.