WO2017012232A1 - 一种图片的显示方法及装置 - Google Patents

一种图片的显示方法及装置 Download PDF

Info

Publication number
WO2017012232A1
WO2017012232A1 PCT/CN2015/095195 CN2015095195W WO2017012232A1 WO 2017012232 A1 WO2017012232 A1 WO 2017012232A1 CN 2015095195 W CN2015095195 W CN 2015095195W WO 2017012232 A1 WO2017012232 A1 WO 2017012232A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
color value
target
specified
specified picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2015/095195
Other languages
English (en)
French (fr)
Inventor
许超
王兴民
谭康喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to RU2016126478A priority Critical patent/RU2647673C2/ru
Priority to MX2016002667A priority patent/MX358079B/es
Priority to KR1020167006687A priority patent/KR101862276B1/ko
Priority to JP2016515541A priority patent/JP6461107B2/ja
Publication of WO2017012232A1 publication Critical patent/WO2017012232A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/00Two-dimensional [2D] image generation
    • G06T11/10Texturing; Colouring; Generation of textures or colours
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/2003Display of colours
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/54Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/00Two-dimensional [2D] image generation
    • G06T11/40Filling planar surfaces by adding surface attributes, e.g. adding colours or textures
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
    • G09G3/3607Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals for displaying colours or for displaying grey scales with a specific pixel layout, e.g. using sub-pixels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • G09G5/026Control of mixing and/or overlay of colours in general
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0242Compensation of deficiencies in the appearance of colours
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0686Adjustment of display parameters with two or more screen areas displaying information with different brightness or colours
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/14Detecting light within display terminals, e.g. using a single or a plurality of photosensors
    • G09G2360/144Detecting light within display terminals, e.g. using a single or a plurality of photosensors the light being ambient light
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/16Calculation or use of calculated indices related to luminance levels in display data

Definitions

  • the present invention relates to the field of communication technologies, and more particularly to a method and apparatus for displaying pictures.
  • the LCD panel can be divided into a hard screen and a soft screen according to the display technology.
  • the soft screen mainly refers to the VA type panel.
  • the soft screen is characterized in that when the soft screen is touched by hand, the soft screen will have a water ripple effect.
  • the present disclosure provides a method and a device for displaying a picture, so that when a soft screen with poor performance is displayed in an area with similar colors in a picture, a color jump does not occur.
  • a method for displaying a picture including:
  • the target picture is displayed.
  • the method further includes:
  • the target picture is displayed.
  • the method further includes:
  • the method further includes:
  • the display device displaying the specified picture is a soft screen, triggering the step of determining an image area consisting of at least three monochrome areas in the specified picture;
  • the display device that displays the specified picture is not a soft screen, the specified picture is displayed by the display device.
  • the step of determining a target color value by using a color value of a monochrome area in the image area according to a preset condition includes:
  • the average value is determined as the target color value.
  • the step of determining a target color value by using a color value of a monochrome area in the image area according to a preset condition includes:
  • a display device for a picture including:
  • An obtaining module configured to acquire the specified picture when receiving an instruction to display a specified picture
  • a first determining module configured to determine an image region in the specified picture that is composed of at least three adjacent monochrome regions
  • a second determining module configured to determine, by using a color value of a monochrome area in the image area, a target color value according to a preset condition when a difference between color values of adjacent monochrome areas in the image area is less than a threshold;
  • a conversion module configured to convert a color value of the image area of the specified picture into the target color value to generate a target picture
  • the first display module is configured to display the target picture.
  • the device further includes:
  • a first storage module configured to store the target image
  • a first establishing module configured to establish a correspondence between the specified picture and the target picture
  • a third determining module configured to determine, by using a correspondence between the specified picture and the target picture, the target picture corresponding to the specified picture when receiving an instruction to display the specified picture.
  • a second display module configured to display the target picture.
  • the device further includes:
  • a second storage module configured to store the target image
  • a second establishing module configured to establish a correspondence between the specified picture and the target picture
  • a fourth determining module configured to determine, by using a correspondence between the specified picture and the target picture, the target picture corresponding to the specified picture when receiving an instruction to delete the specified picture
  • And deleting a module configured to delete the specified picture and the target picture.
  • the device further includes:
  • a fifth determining module configured to determine a type of the display device that displays the specified picture
  • a determining module configured to determine whether the display device that displays the specified picture is a soft screen
  • a triggering module configured to trigger the first determining module when the display device that displays the specified picture is a soft screen
  • the third display module is configured to display the specified picture by using the display device when the display device that displays the specified picture is not a soft screen.
  • the second determining module includes:
  • a first calculation submodule for calculating an average value of color values of each of the monochrome regions in the image region
  • a submodule is determined for determining the average value as a target color value.
  • the second determining module includes:
  • Obtaining a submodule configured to acquire a maximum color value and a minimum color value in the image area
  • a second calculation submodule configured to calculate a difference between the maximum color value and the minimum color value in the image region to obtain a first color value
  • a third calculation submodule configured to calculate a product of the first color value and a preset coefficient to obtain a second color value
  • a fourth calculating submodule configured to calculate a sum of the minimum color value and the second color value to obtain a target color value.
  • a display device for a picture including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the target picture is displayed.
  • the technical solution provided by the embodiment of the present disclosure may include the following beneficial effects: in the solution provided by the present disclosure, before displaying the specified picture, it is necessary to first determine an image area composed of at least three monochrome areas in the specified picture, in determining When the difference between the color values of the adjacent monochrome areas in the image area is less than the threshold, it indicates that the adjacent monochrome areas in the image area have similar colors, and the soft screen for performing poor performance is displayed for each of the image areas in the specified picture.
  • a color jump occurs in a monochrome area, so the target color value is determined by using the color value of each monochrome area in the image area according to a preset condition, to generate a target picture whose color value of the image area is the target color value, and display the The target image is used to ensure that no color jumps occur when the target image is displayed.
  • FIG. 1 is a flowchart of a method for displaying a picture according to an exemplary embodiment.
  • FIG. 2 is a flowchart of a method for displaying another picture according to an exemplary embodiment.
  • FIG. 3 is a flowchart of still another method for displaying a picture according to an exemplary embodiment.
  • FIG. 4 is a flowchart of still another method for displaying a picture according to an exemplary embodiment.
  • FIG. 5 is a schematic diagram of a display device of a picture, according to an exemplary embodiment.
  • FIG. 6 is a schematic diagram of a display device of another picture according to an exemplary embodiment.
  • FIG. 7 is a schematic diagram of a display device of still another picture according to an exemplary embodiment.
  • FIG. 8 is a schematic diagram of a display device of still another picture according to an exemplary embodiment.
  • FIG. 9 is a schematic diagram of a display device of still another picture according to an exemplary embodiment.
  • FIG. 10 is a schematic diagram of a display device of still another picture according to an exemplary embodiment.
  • FIG. 11 is a block diagram of a display device of a picture, according to an exemplary embodiment.
  • FIG. 1 is a flowchart of a method for displaying a picture according to an exemplary embodiment.
  • the method for displaying a picture shown in FIG. 1 can be used in a smart device.
  • the display method of the picture provided by the present disclosure can make the soft screen with poor performance not appear in the color jump when displaying the area with similar colors in the picture.
  • the method includes the following steps.
  • step S11 upon receiving an instruction to display a specified picture, the specified picture is acquired.
  • the method provided by the present disclosure may be applied to a smart device, and the smart device may be a device having a display screen, such as a smart TV, a smart phone, a tablet computer, or a smart watch.
  • the user When the user wants to view a specified picture stored in the smart device, the user needs to input an instruction to display the specified picture to the smart device.
  • the smart device receives an instruction to display the specified picture, the smart device reads the pre-stored specified picture from the hard disk.
  • step S12 an image area composed of at least three adjacent monochrome areas in the designated picture is determined.
  • the monochrome area is an area composed of a plurality of pixel points having the same color value and adjacent positions, and the color value can be represented by the RGB color mode.
  • the monochrome area is composed of 2 rows and 3 columns of pixels, and 6 of the 2 rows and 3 columns are all pure red, that is, the color values of the 6 pixels are RGB (255, 0, 0). .
  • the image area is an area composed of at least three monochrome areas.
  • the first monochrome area is composed of 2 rows and 3 columns of pixels, and 6 of the 2 rows and 3 columns are all pure red, that is, The color value of 6 pixels is RGB (255, 0, 0);
  • the second monochrome area is composed of 2 rows and 2 columns of pixels, and 4 of the 2 rows and 2 columns are red, that is, this The color value of 4 pixels is RGB (240, 0, 0);
  • the third monochrome area is composed of 2 rows and 2 columns of pixels, and 4 of the 2 rows and 2 columns are red, that is, this The color value of 4 pixels is RGB (230, 0, 0);
  • the fourth monochrome area is composed of 2 rows and 3 columns of pixels, and 6 of the 2 rows and 3 columns are red, that is, this The color value of the six pixels is RGB (220, 0, 0), so the image area A is composed of the above four adjacent monochrome areas, and the image area A includes a total of 20 pixels
  • the smart device may determine that there are a plurality of image areas in the specified picture that are composed of at least three adjacent monochrome areas. After the smart device determines an image region consisting of at least three adjacent monochrome regions, the smart device needs to acquire color values for each of the monochrome regions in the image region.
  • the color value of the first monochrome area is RGB (255, 0, 0); the color value of the second monochrome area is RGB (240, 0, 0); the color value of the third monochrome area is RGB (230, 0, 0); the color value of the fourth monochrome area is RGB (220, 0, 0), at this time,
  • the smart device needs to obtain the color values of the four monochrome regions respectively, and the color values of the four monochrome regions are RGB (255, 0, 0), RGB (240, 0, 0), RGB (230, 0). , 0) and RGB (220, 0, 0).
  • step S13 when the difference between the color values of the adjacent monochrome regions in the image region is smaller than the threshold value, the target color value is determined using the color value of the monochrome region in the image region according to a preset condition.
  • the threshold is a preset color value, and for example, it is assumed that the threshold can be set to RGB (20, 20, 20) in advance.
  • the smart device After the smart device determines an image region consisting of at least three adjacent monochrome regions in the specified picture, the smart device needs to determine whether the difference in color values of adjacent monochrome regions in the image region is less than a threshold. When the smart device determines that the difference between the color values of the adjacent monochrome regions in the image region is less than the threshold, it indicates that the color values of adjacent monochrome regions in the image region are similar, and are displayed on some soft screens with poor performance. When you specify a picture, some of the monochrome areas in the image area of the specified picture may be displayed in the same color, which may cause the color of the image area to be excessively flat. Slip, and the phenomenon of color jumps.
  • the smart device determines that the difference between the color values of the adjacent monochrome regions in the image region is less than the threshold, the smart device needs to determine the target color by using the color value of each monochrome region in the image region according to a preset condition.
  • the value is to ensure that each color area in the image area adopts the target color value, thereby avoiding the phenomenon of color jump in the image area.
  • the smart device determines an image area A composed of six adjacent monochrome areas in the specified picture.
  • the color value of the first monochrome area A1 is RGB (250, 0, 0); the color value of the second monochrome area A2 is RGB (240, 0, 0); the color value of the third monochrome area A3 is RGB (230, 0, 0); the color value of the fourth monochrome area A4 is RGB (220, 0, 0), and the color value of the fifth monochrome area A5 is RGB (210, 0, 0);
  • the color value of the color area A6 is RGB (200, 0, 0).
  • the smart device calculates whether the difference between the color values of the adjacent monochrome regions in the image region is smaller than the threshold RGB (20, 20, 20), wherein, after calculation, it is found that the adjacent single in the image region A of the specified image
  • the difference between the color values of the color regions is equal to RGB(10,0,0), so the difference RGB(10,0,0) of the color values is smaller than the threshold RGB (20,20,20), indicating the image area
  • the color values of adjacent monochrome areas are similar.
  • the smart device When displaying a specified picture on some soft screens with poor performance, some monochrome areas in the image area of the specified picture may be displayed in the same color.
  • the color of the image area is not excessively smooth, and the phenomenon of color jump occurs. Therefore, the smart device needs to determine the target color value by using the color value of each monochrome area in the image area according to a preset condition to ensure each of the image areas.
  • the target color values are used in the monochrome areas to avoid color jumps in the image area.
  • the preset condition is to first calculate an average value of the color values of each of the monochrome regions in the image region, and then determine the average value as the target color value.
  • the average value of the color values of each of the monochrome regions in the image region is calculated.
  • the average value is determined as the target color value.
  • the smart device determines an image area A composed of six adjacent monochrome areas in a specified picture.
  • the color value of the first monochrome area A1 is RGB (250, 0, 0); the color value of the second monochrome area A2 is RGB (240, 0, 0); the color value of the third monochrome area A3 is RGB (230, 0, 0); the color value of the fourth monochrome area A4 is RGB (220, 0, 0), and the color value of the fifth monochrome area A5 is RGB (210, 0, 0);
  • the color value of the color area A6 is RGB (200, 0, 0).
  • the smart device will determine the RGB (225,0,0) as the target for the average of the color values. Color value.
  • the preset condition is that the target color value is obtained by using the maximum color value, the minimum color value, and the preset coefficient in the image region.
  • the first step is to obtain the maximum color value and the minimum color value in the image area.
  • the difference between the maximum color value and the minimum color value in the image region is calculated to obtain a first color value.
  • the third step calculating a product of the first color value and the preset coefficient to obtain a second color value.
  • the sum of the minimum color value and the second color value is calculated to obtain the target color value.
  • the preset coefficient is 0.6, assuming that the smart device determines an image area A consisting of six adjacent monochrome areas in the specified picture.
  • the color value of the first monochrome area A1 is RGB (250, 0, 0); the color value of the second monochrome area A2 is RGB (240, 0, 0); the color value of the third monochrome area A3 is RGB (230, 0, 0); the color value of the fourth monochrome area A4 is RGB (220, 0, 0), and the color value of the fifth monochrome area A5 is RGB (210, 0, 0);
  • the color value of the color area A6 is RGB (200, 0, 0).
  • the smart device begins to acquire the maximum color value RGB (250, 0, 0) and the minimum color value RGB (200, 0, 0) in the image area; then, calculate the maximum color value RGB (250, 0, in the image area).
  • step S14 the color value of the image area of the specified picture is converted into the target color value to generate a target picture.
  • the smart device After the smart device determines the target color value by using the color value of the monochrome region in the image region according to the preset condition, the smart device needs to convert the color value of the image region of the specified image into the target color value to generate the target image.
  • the difference between the target picture and the specified picture is that the color of the image area of the target picture is the target color value, and the other parts of the target picture are the same as the specified picture.
  • step S15 the target picture is displayed.
  • the smart device displays the target image by using the display screen. Even if the display screen of the smart device is a soft screen with poor performance, there is no obvious color jump when the target image is displayed.
  • FIG. 2 is a flowchart of a method for displaying another picture according to an exemplary embodiment.
  • the display method of the picture shown in FIG. 2 may be used in a smart device.
  • 2 is an alternative embodiment based on FIG. 1.
  • the same portions as the embodiment shown in FIG. 1 can be referred to and explained in the embodiment shown in FIG. 1.
  • the method shown in Figure 2 includes the following steps.
  • step S21 upon receiving an instruction to display a specified picture, the specified picture is acquired.
  • step S22 an image area composed of at least three adjacent monochrome areas in the designated picture is determined.
  • step S23 when the difference between the color values of the adjacent monochrome regions in the image region is smaller than the threshold value, the target color value is determined using the color value of the monochrome region in the image region according to a preset condition.
  • step S24 the color value of the image area of the specified picture is converted into the target color value to generate a target picture.
  • step S25 the target picture is displayed.
  • step S26 the target picture is stored.
  • the smart device may store the target image to the hard disk, so that when the instruction for displaying the specified image is received, the previous step is not required, and the smart device can quickly determine Out of the target picture.
  • step S27 a correspondence relationship between the specified picture and the target picture is established.
  • the correspondence between the specified image and the target image needs to be established, so that when the smart device receives the instruction to display the specified image, the smart device can quickly respond according to the correspondence between the specified image and the target image. Save the time by finding the target image corresponding to the specified picture in the hard disk of the smart device and displaying the target picture.
  • step S28 upon receiving the instruction to display the specified picture, the target picture corresponding to the specified picture is determined by the correspondence between the specified picture and the target picture.
  • step S29 the target picture is displayed.
  • FIG. 3 is a flowchart of still another method for displaying a picture according to an exemplary embodiment.
  • the display method of the picture shown in FIG. 3 may be used in a smart device.
  • 3 is an alternative embodiment based on FIG. 1.
  • the same portions as the embodiment shown in FIG. 1 can be referred to and explained in the embodiment shown in FIG. 1.
  • the method shown in Figure 3 includes the following steps.
  • step S31 upon receiving an instruction to display a specified picture, the specified picture is acquired.
  • step S32 an image area composed of at least three adjacent monochrome areas in the specified picture is determined.
  • step S33 when the difference between the color values of the adjacent monochrome regions in the image region is less than the threshold value, the target color value is determined using the color value of the monochrome region in the image region according to a preset condition.
  • step S34 the color value of the image area of the specified picture is converted into the target color value to generate a target picture.
  • step S35 the target picture is displayed.
  • step S36 the target picture is stored.
  • the smart device may save the target image after the smart device displays the target image by using the display screen. It is stored in the hard disk so that when the instruction to display the specified picture is received, the previous steps need not be repeated, and the smart device can quickly determine the target picture.
  • step S37 a correspondence relationship between the specified picture and the target picture is established.
  • the smart device After the smart device stores the target image, the corresponding relationship between the specified image and the target image needs to be established, so that the smart device can quickly respond to the corresponding relationship between the specified image and the target image when the smart device receives the instruction to delete the specified image. Save time by finding the target image corresponding to the specified picture on the hard disk of the smart device.
  • step S38 upon receiving the instruction to delete the specified picture, the target picture corresponding to the specified picture is determined by the correspondence between the specified picture and the target picture.
  • the smart device When the smart device receives the instruction to delete the specified picture, the user does not need to specify the picture and the target picture, so the smart device can determine the pre-stored target corresponding to the specified picture by using the correspondence between the specified picture and the target picture. image.
  • step S39 the specified picture and the target picture are deleted.
  • the specified picture and the target picture may be deleted after the smart device determines the target picture corresponding to the specified picture.
  • FIG. 4 is a flowchart of still another method for displaying a picture according to an exemplary embodiment.
  • the display method of the picture shown in FIG. 4 may be used in a smart device.
  • 4 is an alternative embodiment based on FIG. 1.
  • the same portions as the embodiment shown in FIG. 1 can be referred to and explained in the embodiment shown in FIG. 1.
  • the method shown in Figure 4 includes the following steps.
  • step S41 upon receiving an instruction to display a specified picture, the specified picture is acquired.
  • step S42 it is determined that the type of the display device that specifies the picture is displayed.
  • step S43 it is determined whether the display device that displays the specified picture is a soft screen, and when the display device that displays the specified picture is a soft screen, step S45 is performed; and when the display device that displays the specified picture is not a soft screen, step S44 is performed.
  • step S45 needs to be performed to avoid the occurrence of the situation; when the smart device determines that the display device displaying the specified picture is not a soft screen, then the display device does not display the specified picture.
  • the similar colors in the picture are displayed in the same color, so step S44 can be performed to cause the display device to directly display the specified picture.
  • step S44 the designated picture is displayed by the display device.
  • step S45 an image area composed of at least three adjacent monochrome areas in the designated picture is determined.
  • step S46 when the difference between the color values of the adjacent monochrome regions in the image region is smaller than the threshold value, the target color value is determined using the color value of the monochrome region in the image region according to a preset condition.
  • step S47 the color value of the image area of the specified picture is converted into the target color value to generate a target picture.
  • step S48 the target picture is displayed.
  • FIG. 5 is a schematic diagram of a display device of a picture, according to an exemplary embodiment.
  • the display device of the picture provided by the present disclosure can make the soft screen with poor performance not appear in the color jump when displaying the areas with similar colors in the picture.
  • the apparatus includes an acquisition module 11, a first determination module 12, a second determination module 13, a conversion module 14, and a first display module 15. among them:
  • the obtaining module 11 is configured to acquire a specified picture when receiving an instruction to display the specified picture.
  • the first determining module 12 is configured to determine an image region in the specified picture that is composed of at least three adjacent monochrome regions.
  • the second determining module 13 is configured to determine a target color value by using a color value of the monochrome region in the image region according to a preset condition when a difference between color values of adjacent monochrome regions in the image region is less than a threshold.
  • the conversion module 14 is configured to convert a color value of an image area of the specified picture into a target color value to generate a target picture.
  • the first display module 15 is configured to display a target picture.
  • FIG. 6 is a schematic diagram of a display device of another picture according to an exemplary embodiment.
  • the display device of the picture provided by the present disclosure can make the soft screen with poor performance not appear in the color jump when displaying the areas with similar colors in the picture.
  • the device includes an obtaining module 21, a first determining module 22, a second determining module 23, a converting module 24, a first display module 25, a first storage module 26, a first establishing module 27, and a third determining module 28.
  • a second display module 29 among them:
  • the obtaining module 21 is configured to obtain a specified picture when receiving an instruction to display the specified picture.
  • the first determining module 22 is configured to determine an image region in the specified picture that is composed of at least three adjacent monochrome regions.
  • the second determining module 23 is configured to determine a target color value by using a color value of the monochrome region in the image region according to a preset condition when a difference between color values of adjacent monochrome regions in the image region is less than a threshold.
  • the conversion module 24 is configured to convert a color value of an image area of the specified picture into a target color value to generate a target picture.
  • the first display module 25 is configured to display a target picture.
  • the first storage module 26 is configured to store a target picture.
  • the first establishing module 27 is configured to establish a correspondence between the specified picture and the target picture.
  • the third determining module 28 is configured to use the specified image and the target image when receiving the instruction to display the specified picture The correspondence relationship determines the target picture corresponding to the specified picture.
  • the second display module 29 is configured to display the target picture.
  • FIG. 7 is a schematic diagram of a display device of still another picture according to an exemplary embodiment.
  • the display device of the picture provided by the present disclosure can make the soft screen with poor performance not appear in the color jump when displaying the areas with similar colors in the picture.
  • the device includes an obtaining module 31, a first determining module 32, a second determining module 33, a converting module 34, a first display module 35, a second storage module 36, a second establishing module 37, and a fourth determining module 38. And delete module 39. among them:
  • the obtaining module 31 is configured to acquire a specified picture when receiving an instruction to display the specified picture.
  • the first determining module 32 is configured to determine an image region in the specified picture that is composed of at least three adjacent monochrome regions.
  • the second determining module 33 is configured to determine a target color value by using a color value of the monochrome region in the image region according to a preset condition when a difference between color values of adjacent monochrome regions in the image region is less than a threshold.
  • the conversion module 34 is configured to convert a color value of an image area of the specified picture into a target color value to generate a target picture.
  • the first display module 35 is configured to display a target picture.
  • the second storage module 36 is configured to store a target picture.
  • the second establishing module 37 is configured to establish a correspondence between the specified picture and the target picture.
  • the fourth determining module 38 is configured to determine, by using a correspondence between the specified picture and the target picture, a target picture corresponding to the specified picture when receiving the instruction to delete the specified picture.
  • the deleting module 39 is configured to delete the specified picture and the target picture.
  • FIG. 8 is a schematic diagram of a display device of still another picture according to an exemplary embodiment.
  • the display device of the picture provided by the present disclosure can make the soft screen with poor performance not appear in the color jump when displaying the areas with similar colors in the picture.
  • the apparatus includes an obtaining module 41, a first determining module 42, a second determining module 43, a converting module 44, a first display module 45, a fifth determining module 46, a determining module 47, a triggering module 48, and a third display.
  • Module 49 among them:
  • the obtaining module 41 is configured to acquire the specified picture when receiving the instruction to display the specified picture.
  • the first determining module 42 is configured to determine an image region in the specified picture that is composed of at least three adjacent monochrome regions.
  • the second determining module 43 is configured to determine a target color value by using a color value of the monochrome region in the image region according to a preset condition when a difference between color values of adjacent monochrome regions in the image region is less than a threshold.
  • the conversion module 44 is configured to convert a color value of an image area of the specified picture into a target color value to generate a target picture.
  • the first display module 45 is configured to display a target picture.
  • the fifth determining module 46 is configured to determine a type of the display device that displays the specified picture.
  • the determining module 47 is configured to determine whether the display device that displays the specified picture is a soft screen.
  • the triggering module 48 is configured to trigger the first determining module 42 when the display device that displays the specified picture is a soft screen.
  • the third display module 49 is configured to display the specified picture by using the display device when the display device that displays the specified picture is not a soft screen.
  • FIG. 9 is a schematic diagram of a display device of still another picture according to an exemplary embodiment.
  • the display device of the picture provided by the present disclosure can make the soft screen with poor performance not appear in the color jump when displaying the areas with similar colors in the picture.
  • the apparatus includes an obtaining module 51, a first determining module 52, a second determining module 53, a converting module 54, and a first display module 55.
  • the second determining module 52 includes a first calculating submodule 521 and a determining submodule 522. . among them:
  • the obtaining module 51 is configured to acquire a specified picture when receiving an instruction to display the specified picture.
  • the first determining module 52 is configured to determine an image region in the specified picture that is composed of at least three adjacent monochrome regions.
  • the second determining module 53 is configured to determine a target color value by using a color value of the monochrome region in the image region according to a preset condition when a difference between color values of adjacent monochrome regions in the image region is less than a threshold.
  • the conversion module 54 is configured to convert a color value of an image area of the specified picture into a target color value to generate a target picture.
  • the first display module 55 is configured to display a target picture.
  • the first calculation sub-module 521 is configured to calculate an average value of color values of each of the monochrome regions in the image region.
  • a determination sub-module 522 is used to determine the average value as the target color value.
  • FIG. 10 is a schematic diagram of a display device of still another picture according to an exemplary embodiment.
  • the display device of the picture provided by the present disclosure can make the soft screen with poor performance not appear in the color jump when displaying the areas with similar colors in the picture.
  • the device includes an obtaining module 61, a first determining module 62, a second determining module 63, a converting module 64, and a first display module 65.
  • the second determining module 62 includes an obtaining submodule 621 and a second computing submodule 622.
  • the third calculation sub-module 623 and the fourth calculation sub-module 624 are among them:
  • the obtaining module 61 is configured to acquire a specified picture when receiving an instruction to display the specified picture.
  • the first determining module 62 is configured to determine an image region in the specified picture that is composed of at least three adjacent monochrome regions.
  • the second determining module 63 is configured to determine a target color value by using a color value of the monochrome region in the image region according to a preset condition when a difference between color values of adjacent monochrome regions in the image region is less than a threshold.
  • the conversion module 64 is configured to convert a color value of an image area of the specified picture into a target color value to generate a target picture.
  • the first display module 65 is configured to display a target picture.
  • the obtaining sub-module 621 is configured to acquire a maximum color value and a minimum color value in the image region.
  • the second calculation sub-module 622 is configured to calculate a difference between the maximum color value and the minimum color value in the image region to obtain a first color value.
  • the third calculation sub-module 623 is configured to calculate a product of the first color value and the preset coefficient to obtain a second color value.
  • the fourth calculation sub-module 624 is configured to calculate a sum of the minimum color value and the second color value to obtain the target color value.
  • FIG. 11 is a block diagram of a display device 800 of a picture, according to an exemplary embodiment.
  • device 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • apparatus 800 can include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, And a communication component 816.
  • Processing component 802 typically controls the overall operation of device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 802 can include one or more processors 820 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 802 can include one or more modules to facilitate interaction between component 802 and other components.
  • processing component 802 can include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
  • Memory 804 is configured to store various types of data to support operation at device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 804 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Electrically erasable programmable read only memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 806 provides power to various components of device 800.
  • Power component 806 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 800.
  • the multimedia component 808 includes a screen between the device 800 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical variation Coke ability.
  • the audio component 810 is configured to output and/or input an audio signal.
  • the audio component 810 includes a microphone (MIC) that is configured to receive an external audio signal when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 804 or transmitted via communication component 816.
  • the audio component 810 also includes a speaker for outputting an audio signal.
  • the I/O interface 812 provides an interface between the processing component 802 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 814 includes one or more sensors for providing device 800 with a status assessment of various aspects.
  • sensor assembly 814 can detect an open/closed state of device 800, relative positioning of components, such as the display and keypad of device 800, and sensor component 814 can also detect a change in position of one component of device 800 or device 800. The presence or absence of user contact with device 800, device 800 orientation or acceleration/deceleration, and temperature variation of device 800.
  • Sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 814 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 816 is configured to facilitate wired or wireless communication between device 800 and other devices.
  • the device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 816 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 816 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 804 comprising instructions executable by processor 820 of apparatus 800 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of a mobile terminal, enabling the mobile terminal to perform a display method of a picture, the method comprising: receiving a display designation Obtaining the specified picture when the image is instructed; determining an image area consisting of at least three adjacent monochrome areas in the specified picture; and a difference in color values of adjacent monochrome areas in the image area When it is less than the threshold, follow Presetting conditions determining a target color value by using a color value of the monochrome area in the image area; converting a color value of the image area of the specified picture into the target color value to generate a target picture; displaying the Target image.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Human Computer Interaction (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)
  • Color Image Communication Systems (AREA)
  • Transforming Electric Information Into Light Information (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

本公开是关于一种图片的显示方法及装置,该方法包括:在接收到显示指定图片的指令时,获取指定图片;确定出指定图片中由至少三个相邻的单色区域组成的图像区域;在图像区域中相邻的单色区域的颜色值之差小于阈值时,按照预设条件利用图像区域中单色区域的颜色值确定出目标颜色值;将指定图片的图像区域的颜色值转换成目标颜色值以生成目标图片;显示出目标图片。本公开提供的方案可以使性能不佳的软屏在显示图片中颜色相近的区域时,不会出现颜色跳跃的情况。

Description

一种图片的显示方法及装置
本申请基于申请号为201510424387.8、申请日为2015/7/17的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本发明涉及通信技术领域,更具体的说,涉及图片的显示方法及装置。
背景技术
液晶面板按显示技术可分为硬屏和软屏。软屏主要指VA类面板,软屏的特点在于,用手轻轻触摸软屏时,软屏会出现类似水波纹的效果。
由于某些软屏的显示性能不佳,在利用软屏显示图片时,有可能会将图片中相近的颜色显示成同一种颜色,以使图片中颜色相近的区域失去了颜色过度的部分,导致图片中颜色相近的部分看起来非常的突兀。例如,假设图片A中的某个区域为红色区域B,该红色区域B由左到右为浅红色逐渐变成深红色,且红色区域B的颜色渐变是平滑的。但是,由于某些软屏的性能不好,这类软屏显示图片A的红色区域B时便会出现颜色跳跃的情况,即这类软屏会将图片A中原本颜色渐变平滑的红色区域B,显示成颜色跳跃明显的红色区域B。
因此,在上述相关技术中,某些性能不佳的软屏会将颜色相近的画面显示成颜色相同的画面,从而出现了颜色跳跃明显的情况,以使画面看起来显得突兀。
发明内容
为克服相关技术中存在的问题,本公开提供一种图片的显示方法及装置,以使性能不佳的软屏在显示图片中颜色相近的区域时,不会出现颜色跳跃的情况。
根据本公开实施例的第一方面,提供一种图片的显示方法,包括:
在接收到显示指定图片的指令时,获取所述指定图片;
确定出所述指定图片中由至少三个相邻的单色区域组成的图像区域;
在所述图像区域中相邻的单色区域的颜色值之差小于阈值时,按照预设条件利用所述图像区域中单色区域的颜色值确定出目标颜色值;
将所述指定图片的所述图像区域的颜色值转换成所述目标颜色值以生成目标图片;
显示出所述目标图片。
可选的,所述方法还包括:
存储所述目标图片;
建立所述指定图片与所述目标图片的对应关系;
在接收到显示所述指定图片的指令时,利用所述指定图片与所述目标图片的对应关 系确定出与所述指定图片对应的所述目标图片。
显示出所述目标图片。
可选的,所述方法还包括:
存储所述目标图片;
建立所述指定图片与所述目标图片的对应关系;
在接收到删除所述指定图片的指令时,利用所述指定图片与所述目标图片的对应关系确定出与所述指定图片对应的所述目标图片;
删除所述指定图片和所述目标图片。
可选的,在所述获取所述指定图片之后,所述方法还包括:
确定显示所述指定图片的显示设备的类型;
判断显示所述指定图片的显示设备是否为软屏;
在显示所述指定图片的显示设备为软屏时,触发所述确定出所述指定图片中由至少三个单色区域组成的图像区域的步骤;
在显示所述指定图片的显示设备不为软屏时,利用所述显示设备显示出所述指定图片。
可选的,所述按照预设条件利用所述图像区域中单色区域的颜色值确定出目标颜色值的步骤包括:
计算所述图像区域中每个单色区域的颜色值的平均值;
将所述平均值确定为目标颜色值。
可选的,所述按照预设条件利用所述图像区域中单色区域的颜色值确定出目标颜色值的步骤包括:
获取所述图像区域中的最大颜色值和最小颜色值;
计算所述图像区域中所述最大颜色值与所述最小颜色值之差得到第一颜色值;
计算所述第一颜色值与预设系数的乘积得到第二颜色值;
计算所述最小颜色值与所述第二颜色值之和得到目标颜色值。
根据本公开实施例的第二方面,提供一种图片的显示装置,包括:
获取模块,用于在接收到显示指定图片的指令时,获取所述指定图片;
第一确定模块,用于确定出所述指定图片中由至少三个相邻的单色区域组成的图像区域;
第二确定模块,用于在所述图像区域中相邻的单色区域的颜色值之差小于阈值时,按照预设条件利用所述图像区域中单色区域的颜色值确定出目标颜色值;
转换模块,用于将所述指定图片的所述图像区域的颜色值转换成所述目标颜色值以生成目标图片;
第一显示模块,用于显示出所述目标图片。
可选的,所述装置还包括:
第一存储模块,用于存储所述目标图片;
第一建立模块,用于建立所述指定图片与所述目标图片的对应关系;
第三确定模块,用于在接收到显示所述指定图片的指令时,利用所述指定图片与所述目标图片的对应关系确定出与所述指定图片对应的所述目标图片。
第二显示模块,用于显示出所述目标图片。
可选的,所述装置还包括:
第二存储模块,用于存储所述目标图片;
第二建立模块,用于建立所述指定图片与所述目标图片的对应关系;
第四确定模块,用于在接收到删除所述指定图片的指令时,利用所述指定图片与所述目标图片的对应关系确定出与所述指定图片对应的所述目标图片;
删除模块,用于删除所述指定图片和所述目标图片。
可选的,所述装置还包括:
第五确定模块,用于确定显示所述指定图片的显示设备的类型;
判断模块,用于判断显示所述指定图片的显示设备是否为软屏;
触发模块,用于在显示所述指定图片的显示设备为软屏时,触发所述第一确定模块;
第三显示模块,用于在显示所述指定图片的显示设备不为软屏时,利用所述显示设备显示出所述指定图片。
可选的,所述第二确定模块包括:
第一计算子模块,用于计算所述图像区域中每个单色区域的颜色值的平均值;
确定子模块,用于将所述平均值确定为目标颜色值。
可选的,所述第二确定模块包括:
获取子模块,用于获取所述图像区域中的最大颜色值和最小颜色值;
第二计算子模块,用于计算所述图像区域中所述最大颜色值与所述最小颜色值之差得到第一颜色值;
第三计算子模块,用于计算所述第一颜色值与预设系数的乘积得到第二颜色值;
第四计算子模块,用于计算所述最小颜色值与所述第二颜色值之和得到目标颜色值。
根据本公开实施例的第三方面,提供一种图片的显示装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
在接收到显示指定图片的指令时,获取所述指定图片;
确定出所述指定图片中由至少三个相邻的单色区域组成的图像区域;
在所述图像区域中相邻的单色区域的颜色值之差小于阈值时,按照预设条件利用所述图像区域中单色区域的颜色值确定出目标颜色值;
将所述指定图片的所述图像区域的颜色值转换成所述目标颜色值以生成目标图片;
显示出所述目标图片。
本公开的实施例提供的技术方案可以包括以下有益效果:在本公开提供的方案中,在显示指定图片之前,需要先确定出指定图片中由至少三个单色区域组成的图像区域,在确定出图像区域中相邻的单色区域的颜色值之差小于阈值时,说明图像区域中相邻的单色区域的颜色相近,为了避免性能不佳的软屏显示指定图片中图像区域的每个单色区域时出现颜色跳跃,所以按照预设条件利用图像区域中每个单色区域的颜色值确定出目标颜色值,以生成该图像区域的颜色值为目标颜色值的目标图片,并显示该目标图片,以保证显示目标图片时不会出现颜色跳跃的情况。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。
图1是根据一示例性实施例示出的一种图片的显示方法的流程图。
图2是根据一示例性实施例示出的另一种图片的显示方法的流程图。
图3是根据一示例性实施例示出的又一种图片的显示方法的流程图。
图4是根据一示例性实施例示出的又一种图片的显示方法的流程图。
图5是根据一示例性实施例示出的一种图片的显示装置的示意图。
图6是根据一示例性实施例示出的另一种图片的显示装置的示意图。
图7是根据一示例性实施例示出的又一种图片的显示装置的示意图。
图8是根据一示例性实施例示出的又一种图片的显示装置的示意图。
图9是根据一示例性实施例示出的又一种图片的显示装置的示意图。
图10是根据一示例性实施例示出的又一种图片的显示装置的示意图。
图11是根据一示例性实施例示出的一种图片的显示装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。
图1是根据一示例性实施例示出的一种图片的显示方法的流程图,如图1所示,图1所示的图片的显示方法,可以用于智能设备中。本公开提供的图片的显示方法可以使性能不佳的软屏在显示图片中颜色相近的区域时,不会出现颜色跳跃的情况。该方法包括以下步骤。
在步骤S11中,在接收到显示指定图片的指令时,获取指定图片。
其中,本公开提供的方法可以应用于智能设备内,智能设备可以为智能电视、智能手机、平板电脑或智能手表等具有显示屏幕的设备。
在用户想要查看智能设备中存储的指定图片时,用户需要向智能设备输入显示指定图片的指令。在智能设备接收到显示指定图片的指令时,智能设备便会从硬盘中读取预先存储的指定图片。
在步骤S12中,确定出指定图片中由至少三个相邻的单色区域组成的图像区域。
其中,单色区域为多个颜色值相同且位置相邻的像素点组成的区域,颜色值可以采用RGB色彩模式来表示。例如,假设单色区域由2行3列的像素点组成,且2行3列中的6个像素点均为纯红色,即这6个像素点的颜色值为RGB(255,0,0)。
图像区域是由至少三个单色区域组成的区域。例如,假设图像区域A包括4个相邻的单色区域,第一个单色区域由2行3列的像素点组成,且2行3列中的6个像素点均为纯红色,即这6个像素点的颜色值为RGB(255,0,0);第二个单色区域由2行2列的像素点组成,且2行2列中的4个像素点均为红色,即这4个像素点的颜色值为RGB(240,0,0);第三个单色区域由2行2列的像素点组成,且2行2列中的4个像素点均为红色,即这4个像素点的颜色值为RGB(230,0,0);第四个单色区域由2行3列的像素点组成,且2行3列中的6个像素点均为红色,即这6个像素点的颜色值为RGB(220,0,0),所以图像区域A由上述4个相邻的单色区域组成,且图像区域A一共包括20个像素点。
在智能设备获取到指定图片以后,智能设备可能会确定出指定图片中很多个由至少三个相邻的单色区域组成的图像区域。在智能设备确定出由至少三个相邻的单色区域组成的图像区域后,智能设备需要获取到图像区域中的每个单色区域的颜色值。例如,假设智能设备获取到的图像区域A包括4个相邻的单色区域,第一个单色区域的颜色值为RGB(255,0,0);第二个单色区域的颜色值为RGB(240,0,0);第三个单色区域的颜色值为RGB(230,0,0);第四个单色区域的颜色值为RGB(220,0,0),此时,智能设备需要分别获取到这四个单色区域的颜色值,这四个单色区域的颜色值分别为RGB(255,0,0)、RGB(240,0,0)、RGB(230,0,0)和RGB(220,0,0)。
在步骤S13中,在图像区域中相邻的单色区域的颜色值之差小于阈值时,按照预设条件利用图像区域中单色区域的颜色值确定出目标颜色值。
其中,阈值为预先设定的颜色值,例如,假设可以预先将阈值设定为RGB(20,20,20)。
在智能设备确定出指定图片中由至少三个相邻的单色区域组成的图像区域以后,智能设备需要确定图像区域中相邻的单色区域的颜色值之差是否小于阈值。在智能设备确定出图像区域中相邻的单色区域的颜色值之差小于阈值时,说明图像区域中相邻的单色区域的颜色值相近似,在某些性能不佳的软屏上显示指定图片时,可能会将指定图片的图像区域中的某几个单色区域显示成同一种颜色,进而造成图像区域的颜色过度不够平 滑,而出现颜色跳跃的现象。
为此,在智能设备确定出图像区域中相邻的单色区域的颜色值之差小于阈值时,智能设备便需要按照预设条件利用图像区域中每个单色区域的颜色值确定出目标颜色值,以保证图像区域中的每个单色区域均采用目标颜色值,进而避免图像区域中出现颜色跳跃的现象。
例如,假设预先将阈值设定为RGB(20,20,20),智能设备确定出指定图片中由6个相邻的单色区域组成的图像区域A。其中,第一单色区域A1的颜色值为RGB(250,0,0);第二单色区域A2的颜色值为RGB(240,0,0);第三单色区域A3的颜色值为RGB(230,0,0);第四单色区域A4的颜色值为RGB(220,0,0),第五单色区域A5的颜色值为RGB(210,0,0);第六单色区域A6的颜色值为RGB(200,0,0)。而且,第一单色区域A1、第二单色区域A2、第三单色区域A3、第四单色区域A4、第五单色区域A5和第六单色区域A6依次相连。此时,智能设备会计算图像区域中相邻的单色区域的颜色值之差是否小于阈值RGB(20,20,20),其中,经过计算发现,指定图片的图像区域A中相邻的单色区域的颜色值的差值均等于RGB(10,0,0),所以颜色值的差值RGB(10,0,0)均小于阈值RGB(20,20,20),说明说明图像区域中相邻的单色区域的颜色值相近似,在某些性能不佳的软屏上显示指定图片时,可能会将指定图片的图像区域中的某几个单色区域显示成同一种颜色,进而造成图像区域的颜色过度不够平滑,而出现颜色跳跃的现象,所以智能设备需要按照预设条件利用图像区域中每个单色区域的颜色值确定出目标颜色值,以保证图像区域中的每个单色区域均采用目标颜色值,进而避免图像区域中出现颜色跳跃的现象。
另外,按照预设条件利用图像区域中每个单色区域的颜色值确定出目标颜色值的方式有多种,下面说明两种实现方式:
第一种实现方式,预设条件为先计算图像区域中每个单色区域的颜色值的平均值,然后将该平均值确定为目标颜色值。
为了更清楚的说明第一种实现方式,下面简要说明一下第一种实现方式的步骤:
第一步、计算图像区域中每个单色区域的颜色值的平均值。
第二步、将平均值确定为目标颜色值。
例如,假设智能设备确定出指定图片中由6个相邻的单色区域组成的图像区域A。其中,第一单色区域A1的颜色值为RGB(250,0,0);第二单色区域A2的颜色值为RGB(240,0,0);第三单色区域A3的颜色值为RGB(230,0,0);第四单色区域A4的颜色值为RGB(220,0,0),第五单色区域A5的颜色值为RGB(210,0,0);第六单色区域A6的颜色值为RGB(200,0,0)。此时,智能设备开始计算图像区域A中6个相邻的单色区域的颜色值的平均值,该平均值为[RGB(250,0,0)+(240,0,0)+RGB(230,0,0)+RGB(220,0,0)+RGB(210,0,0)+RGB(200,0,0)]/6=RGB(225,0,0)。最后,智能设备便会颜色值的平均值将RGB(225,0,0)确定为目标 颜色值。
第二种实现方式,预设条件为利用图像区域中的最大颜色值、最小颜色值和预设系数得到目标颜色值。
为了更清楚的说明第二种实现方式,下面简要说明一下第二种实现方式的步骤:
第一步、获取图像区域中的最大颜色值和最小颜色值。
第二步、计算图像区域中最大颜色值与最小颜色值之差得到第一颜色值。
第三步、计算第一颜色值与预设系数的乘积得到第二颜色值。
第四步、计算最小颜色值与第二颜色值之和得到目标颜色值。
例如,预设系数为0.6,假设智能设备确定出指定图片中由6个相邻的单色区域组成的图像区域A。其中,第一单色区域A1的颜色值为RGB(250,0,0);第二单色区域A2的颜色值为RGB(240,0,0);第三单色区域A3的颜色值为RGB(230,0,0);第四单色区域A4的颜色值为RGB(220,0,0),第五单色区域A5的颜色值为RGB(210,0,0);第六单色区域A6的颜色值为RGB(200,0,0)。此时,智能设备开始获取图像区域中的最大颜色值RGB(250,0,0)和最小颜色值RGB(200,0,0);然后,计算图像区域中最大颜色值RGB(250,0,0)与最小颜色值RGB(200,0,0)之差得到第一颜色值,第一颜色值为RGB(250,0,0)-RGB(200,0,0)=RGB(50,0,0);其次,计算第一颜色值RGB(50,0,0)与预设系数0.6的乘积得到第二颜色值,第二颜色值为RGB(50,0,0)×0.6=RGB(30,0,0);再次,计算最小颜色值RGB(200,0,0)与第二颜色值RGB(30,0,0)之和得到目标颜色值,目标颜色值为RGB(200,0,0)-RGB(30,0,0)=RGB(230,0,0)。
在步骤S14中,将指定图片的图像区域的颜色值转换成目标颜色值以生成目标图片。
其中,在智能设备按照预设条件利用图像区域中单色区域的颜色值确定出目标颜色值之后,智能设备需要将指定图片的图像区域的颜色值转换成目标颜色值以生成目标图片。此时,目标图片与指定图片的区别在于,目标图片的图像区域的颜色为目标颜色值,目标图片的其他部分与指定图片相同。
在步骤S15中,显示出目标图片。
其中,智能设备利用显示屏幕显示出目标图片。即使智能设备的显示屏幕为性能不佳的软屏,那么在显示目标图片时也不会出现颜色跳跃明显的情况。
在图1所示的实施例中,在显示指定图片之前,需要先确定出指定图片中由至少三个单色区域组成的图像区域,在确定出图像区域中相邻的单色区域的颜色值之差小于阈值时,说明图像区域中相邻的单色区域的颜色相近,为了避免性能不佳的软屏显示指定图片中图像区域的每个单色区域时出现颜色跳跃,所以按照预设条件利用图像区域中每个单色区域的颜色值确定出目标颜色值,以生成该图像区域的颜色值为目标颜色值的目标图片,并显示该目标图片,以保证显示目标图片时不会出现颜色跳跃的情况。
图2是根据一示例性实施例示出的另一种图片的显示方法的流程图,如图2所示,图2所示的图片的显示方法,可以用于智能设备中。图2为基于图1的一个可选的实施例,在图2所示的实施例中,与图1所示的实施例相同的部分可以参见图1所示的实施例中介绍和解释。图2所示的方法包括以下步骤。
在步骤S21中,在接收到显示指定图片的指令时,获取指定图片。
在步骤S22中,确定出指定图片中由至少三个相邻的单色区域组成的图像区域。
在步骤S23中,在图像区域中相邻的单色区域的颜色值之差小于阈值时,按照预设条件利用图像区域中单色区域的颜色值确定出目标颜色值。
在步骤S24中,将指定图片的图像区域的颜色值转换成目标颜色值以生成目标图片。
在步骤S25中,显示出目标图片。
在步骤S26中,存储目标图片。
其中,在智能设备利用显示屏幕显示出目标图片之后,智能设备可以将目标图片存储到硬盘中,以便于在接收到显示指定图片的指令时,不需要重复前面的步骤,智能设备能够快速的确定出目标图片。
在步骤S27中,建立指定图片与目标图片的对应关系。
其中,在智能设备存储完目标图片以后,还需要建立指定图片与目标图片的对应关系,以便于在智能设备接收到显示指定图片的指令时,智能设备可以根据指定图片与目标图片的对应关系快速的在智能设备的硬盘中找到与指定图片对应的目标图片,并显示出目标图片,进而节省时间。
在步骤S28中,在接收到显示指定图片的指令时,利用指定图片与目标图片的对应关系确定出与指定图片对应的目标图片。
在步骤S29中,显示出目标图片。
图3是根据一示例性实施例示出的又一种图片的显示方法的流程图,如图3所示,图3所示的图片的显示方法,可以用于智能设备中。图3为基于图1的一个可选的实施例,在图3所示的实施例中,与图1所示的实施例相同的部分可以参见图1所示的实施例中介绍和解释。图3所示的方法包括以下步骤。
在步骤S31中,在接收到显示指定图片的指令时,获取指定图片。
在步骤S32中,确定出指定图片中由至少三个相邻的单色区域组成的图像区域。
在步骤S33中,在图像区域中相邻的单色区域的颜色值之差小于阈值时,按照预设条件利用图像区域中单色区域的颜色值确定出目标颜色值。
在步骤S34中,将指定图片的图像区域的颜色值转换成目标颜色值以生成目标图片。
在步骤S35中,显示出目标图片。
在步骤S36中,存储目标图片。
其中,在智能设备利用显示屏幕显示出目标图片之后,智能设备可以将目标图片存 储到硬盘中,以便于在接收到显示指定图片的指令时,不需要重复前面的步骤,智能设备能够快速的确定出目标图片。
在步骤S37中,建立指定图片与目标图片的对应关系。
其中,在智能设备存储完目标图片以后,还需要建立指定图片与目标图片的对应关系,以便于在智能设备接收到删除指定图片的指令时,智能设备可以根据指定图片与目标图片的对应关系快速的在智能设备的硬盘中找到与指定图片对应的目标图片,进而节省时间。
在步骤S38中,在接收到删除指定图片的指令时,利用指定图片与目标图片的对应关系确定出与指定图片对应的目标图片。
其中,在智能设备接收到删除指定图片的指令时,说明用户不需要指定图片和目标图片了,所以智能设备便可以利用指定图片与目标图片的对应关系确定出预先存储的与指定图片对应的目标图片。
在步骤S39中,删除指定图片和目标图片。
其中,在智能设备确定出与指定图片对应的目标图片之后,便可以删除指定图片和目标图片。
图4是根据一示例性实施例示出的又一种图片的显示方法的流程图,如图4所示,图4所示的图片的显示方法,可以用于智能设备中。图4为基于图1的一个可选的实施例,在图4所示的实施例中,与图1所示的实施例相同的部分可以参见图1所示的实施例中介绍和解释。图4所示的方法包括以下步骤。
在步骤S41中,在接收到显示指定图片的指令时,获取指定图片。
在步骤S42中,确定显示指定图片的显示设备的类型。
其中,由于某些软屏的显示性能不佳,在利用软屏显示图片时,有可能会将图片中相近的颜色显示成同一种颜色,导致图片中颜色相近的部分看起来非常的突兀。但是,对于硬屏而言,却不存在此现象,所以在智能设备获取到指定图片时先确定显示指定图片的显示设备的类型。
在步骤S43中,判断显示指定图片的显示设备是否为软屏,在显示指定图片的显示设备为软屏时,执行步骤S45;在显示指定图片的显示设备不为软屏时,执行步骤S44。
其中,在智能设备判断出显示指定图片的显示设备为软屏时,那么说明软屏在显示指定图片时,有可能会把图片中相近的颜色显示成同一种颜色,以使图片中颜色相近的部分看起来非常的突兀,所以需要执行步骤S45,以避免该情况的发生;在智能设备判断出显示指定图片的显示设备不为软屏时,那么说明该显示设备在显示指定图片时,不会把图片中相近的颜色显示成同一种颜色,所以可以执行步骤S44,以使显示设备直接显示出指定图片。
在步骤S44中,利用显示设备显示出指定图片。
在步骤S45中,确定出指定图片中由至少三个相邻的单色区域组成的图像区域。
在步骤S46中,在图像区域中相邻的单色区域的颜色值之差小于阈值时,按照预设条件利用图像区域中单色区域的颜色值确定出目标颜色值。
在步骤S47中,将指定图片的图像区域的颜色值转换成目标颜色值以生成目标图片。
在步骤S48中,显示出目标图片。
图5是根据一示例性实施例示出的一种图片的显示装置的示意图。本公开提供的图片的显示装置可以使性能不佳的软屏在显示图片中颜色相近的区域时,不会出现颜色跳跃的情况。参照图5,该装置包括获取模块11、第一确定模块12、第二确定模块13、转换模块14和第一显示模块15。其中:
获取模块11,用于在接收到显示指定图片的指令时,获取指定图片。
第一确定模块12,用于确定出指定图片中由至少三个相邻的单色区域组成的图像区域。
第二确定模块13,用于在图像区域中相邻的单色区域的颜色值之差小于阈值时,按照预设条件利用图像区域中单色区域的颜色值确定出目标颜色值。
转换模块14,用于将指定图片的图像区域的颜色值转换成目标颜色值以生成目标图片。
第一显示模块15,用于显示出目标图片。
图6是根据一示例性实施例示出的另一种图片的显示装置的示意图。本公开提供的图片的显示装置可以使性能不佳的软屏在显示图片中颜色相近的区域时,不会出现颜色跳跃的情况。参照图6,该装置包括获取模块21、第一确定模块22、第二确定模块23、转换模块24、第一显示模块25、第一存储模块26、第一建立模块27、第三确定模块28和第二显示模块29。其中:
获取模块21,用于在接收到显示指定图片的指令时,获取指定图片。
第一确定模块22,用于确定出指定图片中由至少三个相邻的单色区域组成的图像区域。
第二确定模块23,用于在图像区域中相邻的单色区域的颜色值之差小于阈值时,按照预设条件利用图像区域中单色区域的颜色值确定出目标颜色值。
转换模块24,用于将指定图片的图像区域的颜色值转换成目标颜色值以生成目标图片。
第一显示模块25,用于显示出目标图片。
第一存储模块26,用于存储目标图片。
第一建立模块27,用于建立指定图片与目标图片的对应关系。
第三确定模块28,用于在接收到显示指定图片的指令时,利用指定图片与目标图片 的对应关系确定出与指定图片对应的目标图片。
第二显示模块29,用于显示出目标图片。
图7是根据一示例性实施例示出的又一种图片的显示装置的示意图。本公开提供的图片的显示装置可以使性能不佳的软屏在显示图片中颜色相近的区域时,不会出现颜色跳跃的情况。参照图7,该装置包括获取模块31、第一确定模块32、第二确定模块33、转换模块34、第一显示模块35、第二存储模块36、第二建立模块37、第四确定模块38和删除模块39。其中:
获取模块31,用于在接收到显示指定图片的指令时,获取指定图片。
第一确定模块32,用于确定出指定图片中由至少三个相邻的单色区域组成的图像区域。
第二确定模块33,用于在图像区域中相邻的单色区域的颜色值之差小于阈值时,按照预设条件利用图像区域中单色区域的颜色值确定出目标颜色值。
转换模块34,用于将指定图片的图像区域的颜色值转换成目标颜色值以生成目标图片。
第一显示模块35,用于显示出目标图片。
第二存储模块36,用于存储目标图片。
第二建立模块37,用于建立指定图片与目标图片的对应关系。
第四确定模块38,用于在接收到删除指定图片的指令时,利用指定图片与目标图片的对应关系确定出与指定图片对应的目标图片。
删除模块39,用于删除指定图片和目标图片。
图8是根据一示例性实施例示出的又一种图片的显示装置的示意图。本公开提供的图片的显示装置可以使性能不佳的软屏在显示图片中颜色相近的区域时,不会出现颜色跳跃的情况。参照图8,该装置包括获取模块41、第一确定模块42、第二确定模块43、转换模块44、第一显示模块45、第五确定模块46、判断模块47、触发模块48和第三显示模块49。其中:
获取模块41,用于在接收到显示指定图片的指令时,获取指定图片。
第一确定模块42,用于确定出指定图片中由至少三个相邻的单色区域组成的图像区域。
第二确定模块43,用于在图像区域中相邻的单色区域的颜色值之差小于阈值时,按照预设条件利用图像区域中单色区域的颜色值确定出目标颜色值。
转换模块44,用于将指定图片的图像区域的颜色值转换成目标颜色值以生成目标图片。
第一显示模块45,用于显示出目标图片。
第五确定模块46,用于确定显示指定图片的显示设备的类型。
判断模块47,用于判断显示指定图片的显示设备是否为软屏。
触发模块48,用于在显示指定图片的显示设备为软屏时,触发第一确定模块42。
第三显示模块49,用于在显示指定图片的显示设备不为软屏时,利用显示设备显示出指定图片。
图9是根据一示例性实施例示出的又一种图片的显示装置的示意图。本公开提供的图片的显示装置可以使性能不佳的软屏在显示图片中颜色相近的区域时,不会出现颜色跳跃的情况。参照图9,该装置包括获取模块51、第一确定模块52、第二确定模块53、转换模块54和第一显示模块55,第二确定模块52包括第一计算子模块521和确定子模块522。其中:
获取模块51,用于在接收到显示指定图片的指令时,获取指定图片。
第一确定模块52,用于确定出指定图片中由至少三个相邻的单色区域组成的图像区域。
第二确定模块53,用于在图像区域中相邻的单色区域的颜色值之差小于阈值时,按照预设条件利用图像区域中单色区域的颜色值确定出目标颜色值。
转换模块54,用于将指定图片的图像区域的颜色值转换成目标颜色值以生成目标图片。
第一显示模块55,用于显示出目标图片。
第一计算子模块521,用于计算图像区域中每个单色区域的颜色值的平均值。
确定子模块522,用于将平均值确定为目标颜色值。
图10是根据一示例性实施例示出的又一种图片的显示装置的示意图。本公开提供的图片的显示装置可以使性能不佳的软屏在显示图片中颜色相近的区域时,不会出现颜色跳跃的情况。参照图10,该装置包括获取模块61、第一确定模块62、第二确定模块63、转换模块64和第一显示模块65,第二确定模块62包括获取子模块621、第二计算子模块622、第三计算子模块623和第四计算子模块624。其中:
获取模块61,用于在接收到显示指定图片的指令时,获取指定图片。
第一确定模块62,用于确定出指定图片中由至少三个相邻的单色区域组成的图像区域。
第二确定模块63,用于在图像区域中相邻的单色区域的颜色值之差小于阈值时,按照预设条件利用图像区域中单色区域的颜色值确定出目标颜色值。
转换模块64,用于将指定图片的图像区域的颜色值转换成目标颜色值以生成目标图片。
第一显示模块65,用于显示出目标图片。
获取子模块621,用于获取图像区域中的最大颜色值和最小颜色值。
第二计算子模块622,用于计算图像区域中最大颜色值与最小颜色值之差得到第一颜色值。
第三计算子模块623,用于计算第一颜色值与预设系数的乘积得到第二颜色值。
第四计算子模块624,用于计算最小颜色值与第二颜色值之和得到目标颜色值。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图11是根据一示例性实施例示出的一种图片的显示装置800的框图。例如,装置800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图11,装置800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。
处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。
存储器804被配置为存储各种类型的数据以支持在装置800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件806为装置800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。
多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当装置800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变 焦能力。
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到装置800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由装置800的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行一种图片的显示方法,所述方法包括:在接收到显示指定图片的指令时,获取所述指定图片;确定出所述指定图片中由至少三个相邻的单色区域组成的图像区域;在所述图像区域中相邻的单色区域的颜色值之差小于阈值时,按照 预设条件利用所述图像区域中单色区域的颜色值确定出目标颜色值;将所述指定图片的所述图像区域的颜色值转换成所述目标颜色值以生成目标图片;显示出所述目标图片。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。

Claims (13)

  1. 一种图片的显示方法,其特征在于,包括:
    在接收到显示指定图片的指令时,获取所述指定图片;
    确定出所述指定图片中由至少三个相邻的单色区域组成的图像区域;
    在所述图像区域中相邻的单色区域的颜色值之差小于阈值时,按照预设条件利用所述图像区域中单色区域的颜色值确定出目标颜色值;
    将所述指定图片的所述图像区域的颜色值转换成所述目标颜色值以生成目标图片;
    显示出所述目标图片。
  2. 根据权利要求1所述的图片的显示方法,其特征在于,所述方法还包括:
    存储所述目标图片;
    建立所述指定图片与所述目标图片的对应关系;
    在接收到显示所述指定图片的指令时,利用所述指定图片与所述目标图片的对应关系确定出与所述指定图片对应的所述目标图片;
    显示出所述目标图片。
  3. 根据权利要求1所述的图片的显示方法,其特征在于,所述方法还包括:
    存储所述目标图片;
    建立所述指定图片与所述目标图片的对应关系;
    在接收到删除所述指定图片的指令时,利用所述指定图片与所述目标图片的对应关系确定出与所述指定图片对应的所述目标图片;
    删除所述指定图片和所述目标图片。
  4. 根据权利要求1所述的图片的显示方法,其特征在于,在所述获取所述指定图片之后,所述方法还包括:
    确定显示所述指定图片的显示设备的类型;
    判断显示所述指定图片的显示设备是否为软屏;
    在显示所述指定图片的显示设备为软屏时,触发所述确定出所述指定图片中由至少三个单色区域组成的图像区域的步骤;
    在显示所述指定图片的显示设备不为软屏时,利用所述显示设备显示出所述指定图片。
  5. 根据权利要求1所述的图片的显示方法,其特征在于,所述按照预设条件利用所述图像区域中单色区域的颜色值确定出目标颜色值的步骤包括:
    计算所述图像区域中每个单色区域的颜色值的平均值;
    将所述平均值确定为目标颜色值。
  6. 根据权利要求1所述的图片的显示方法,其特征在于,所述按照预设条件利用所述图像区域中单色区域的颜色值确定出目标颜色值的步骤包括:
    获取所述图像区域中的最大颜色值和最小颜色值;
    计算所述图像区域中所述最大颜色值与所述最小颜色值之差得到第一颜色值;
    计算所述第一颜色值与预设系数的乘积得到第二颜色值;
    计算所述最小颜色值与所述第二颜色值之和得到目标颜色值。
  7. 一种图片的显示装置,其特征在于,包括:
    获取模块,用于在接收到显示指定图片的指令时,获取所述指定图片;
    第一确定模块,用于确定出所述指定图片中由至少三个相邻的单色区域组成的图像区域;
    第二确定模块,用于在所述图像区域中相邻的单色区域的颜色值之差小于阈值时,按照预设条件利用所述图像区域中单色区域的颜色值确定出目标颜色值;
    转换模块,用于将所述指定图片的所述图像区域的颜色值转换成所述目标颜色值以生成目标图片;
    第一显示模块,用于显示出所述目标图片。
  8. 根据权利要求7所述的图片的显示装置,其特征在于,所述装置还包括:
    第一存储模块,用于存储所述目标图片;
    第一建立模块,用于建立所述指定图片与所述目标图片的对应关系;
    第三确定模块,用于在接收到显示所述指定图片的指令时,利用所述指定图片与所述目标图片的对应关系确定出与所述指定图片对应的所述目标图片;
    第二显示模块,用于显示出所述目标图片。
  9. 根据权利要求7所述的图片的显示装置,其特征在于,所述装置还包括:
    第二存储模块,用于存储所述目标图片;
    第二建立模块,用于建立所述指定图片与所述目标图片的对应关系;
    第四确定模块,用于在接收到删除所述指定图片的指令时,利用所述指定图片与所述目标图片的对应关系确定出与所述指定图片对应的所述目标图片;
    删除模块,用于删除所述指定图片和所述目标图片。
  10. 根据权利要求7所述的图片的显示装置,其特征在于,所述装置还包括:
    第五确定模块,用于确定显示所述指定图片的显示设备的类型;
    判断模块,用于判断显示所述指定图片的显示设备是否为软屏;
    触发模块,用于在显示所述指定图片的显示设备为软屏时,触发所述第一确定模块;
    第三显示模块,用于在显示所述指定图片的显示设备不为软屏时,利用所述显示设备显示出所述指定图片。
  11. 根据权利要求7所述的图片的显示装置,其特征在于,所述第二确定模块包括:
    第一计算子模块,用于计算所述图像区域中每个单色区域的颜色值的平均值;
    确定子模块,用于将所述平均值确定为目标颜色值。
  12. 根据权利要求7所述的图片的显示装置,其特征在于,所述第二确定模块包括:
    获取子模块,用于获取所述图像区域中的最大颜色值和最小颜色值;
    第二计算子模块,用于计算所述图像区域中所述最大颜色值与所述最小颜色值之差得到第一颜色值;
    第三计算子模块,用于计算所述第一颜色值与预设系数的乘积得到第二颜色值;
    第四计算子模块,用于计算所述最小颜色值与所述第二颜色值之和得到目标颜色值。
  13. 一种图片的显示装置,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    在接收到显示指定图片的指令时,获取所述指定图片;
    确定出所述指定图片中由至少三个相邻的单色区域组成的图像区域;
    在所述图像区域中相邻的单色区域的颜色值之差小于阈值时,按照预设条件利用所述图像区域中单色区域的颜色值确定出目标颜色值;
    将所述指定图片的所述图像区域的颜色值转换成所述目标颜色值以生成目标图片;
    显示出所述目标图片。
PCT/CN2015/095195 2015-07-17 2015-11-20 一种图片的显示方法及装置 Ceased WO2017012232A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
RU2016126478A RU2647673C2 (ru) 2015-07-17 2015-11-20 Способ воспроизведения изображений и устройство воспроизведения изображений
MX2016002667A MX358079B (es) 2015-07-17 2015-11-20 Metodo y dispositivo para visualizar imagenes.
KR1020167006687A KR101862276B1 (ko) 2015-07-17 2015-11-20 이미지 디스플레이 방법 및 장치, 및 컴퓨터 판독 가능한 저장 매체
JP2016515541A JP6461107B2 (ja) 2015-07-17 2015-11-20 ピクチャ表示方法および装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510424387.8A CN105183755B (zh) 2015-07-17 2015-07-17 一种图片的显示方法及装置
CN201510424387.8 2015-07-17

Publications (1)

Publication Number Publication Date
WO2017012232A1 true WO2017012232A1 (zh) 2017-01-26

Family

ID=54905839

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/095195 Ceased WO2017012232A1 (zh) 2015-07-17 2015-11-20 一种图片的显示方法及装置

Country Status (8)

Country Link
US (1) US9892524B2 (zh)
EP (1) EP3118847B1 (zh)
JP (1) JP6461107B2 (zh)
KR (1) KR101862276B1 (zh)
CN (1) CN105183755B (zh)
MX (1) MX358079B (zh)
RU (1) RU2647673C2 (zh)
WO (1) WO2017012232A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259746B (zh) * 2018-01-24 2021-02-02 维沃移动通信有限公司 一种图像色彩检测方法及移动终端
CN111598639A (zh) * 2019-02-21 2020-08-28 北京京东尚科信息技术有限公司 用于生成图像的方法和装置
CN110706322B (zh) * 2019-10-17 2023-08-11 网易(杭州)网络有限公司 图像显示的方法、装置、电子设备及可读存储介质
CN111158809A (zh) * 2019-12-12 2020-05-15 北京达佳互联信息技术有限公司 消息界面的展示方法、装置、电子设备及存储介质
CN113327560B (zh) * 2020-02-28 2022-11-18 咸阳彩虹光电科技有限公司 一种改善大视角色偏的方法、装置及显示面板
CN114430447B (zh) * 2021-12-20 2024-06-07 北京镁伽科技有限公司 基于fpga的测试图像数据流处理方法、装置及pg设备
CN114463344A (zh) * 2021-12-20 2022-05-10 北京镁伽科技有限公司 渐变图像的生成方法、生成装置及图像信号发生器
CN116052570B (zh) * 2022-12-26 2025-07-15 合肥大多数信息科技有限公司 一种多终端封装内核赋能方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1340178A (zh) * 1999-08-17 2002-03-13 皇家菲利浦电子有限公司 基于颜色的分割进行基于区域的图象检索的系统和方法
CN1879421A (zh) * 2003-11-05 2006-12-13 Lm爱立信电话有限公司 包括基于色度数据的亮度滤波的处理数字图像和/或视频数据的方法及相关系统和计算机程序产品
CN101098462A (zh) * 2007-07-12 2008-01-02 上海交通大学 结合色度偏差和亮度偏差的视频运动目标检测方法
JP2011049883A (ja) * 2009-08-27 2011-03-10 Mitsubishi Electric Corp 画像処理装置及び方法、並びに画像表示装置及び方法
CN102118620A (zh) * 2009-12-30 2011-07-06 华晶科技股份有限公司 数字影像的颜色错位的消除方法
GB2516110A (en) * 2013-07-12 2015-01-14 Barco Nv Guided image filtering for image content

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002259077A (ja) * 2001-03-01 2002-09-13 Konica Corp ネットワークプリントシステム及びネットワークプリント方法並びに情報記録媒体
US7031540B2 (en) * 2001-09-12 2006-04-18 Mobitv, Inc. Transformation to increase the lempel-ziv compressibility of images with minimal visual distortion
JP4054629B2 (ja) * 2002-08-09 2008-02-27 キヤノンマーケティングジャパン株式会社 画像変換サーバ、画像データ処理方法、記憶媒体、プログラム
US7265766B2 (en) * 2003-12-17 2007-09-04 Texas Instruments Incorporated Method and system for adaptive bit depth enhancement for displays
US7990343B2 (en) * 2004-05-18 2011-08-02 Panasonic Corporation False contour reduction device, display device, false contour reduction method, and false contour reduction program
US20060204675A1 (en) * 2005-03-08 2006-09-14 Eastman Kodak Company Display device with improved flexibility
US20070041064A1 (en) * 2005-08-16 2007-02-22 Micron Technology, Inc. Image sampling method for automatic white balance
RU2318230C2 (ru) * 2006-03-27 2008-02-27 Самсунг Электроникс Ко., Лтд. Гибкий дисплей
JP2007322870A (ja) * 2006-06-02 2007-12-13 Mitsubishi Electric Corp 画像表示装置および画像表示方法
JPWO2008015903A1 (ja) * 2006-08-04 2009-12-17 コニカミノルタエムジー株式会社 画像表示方法及び画像表示装置
JP2008118213A (ja) * 2006-10-31 2008-05-22 Brother Ind Ltd 画像処理装置
US9185268B2 (en) 2007-04-03 2015-11-10 Thomson Licensing Methods and systems for displays with chromatic correction with differing chromatic ranges
JP5625315B2 (ja) * 2009-10-22 2014-11-19 船井電機株式会社 画像表示装置および画像表示システム
JP2011233068A (ja) * 2010-04-30 2011-11-17 Buffalo Inc 画像表示装置及び画像表示装置において画像データの同期を行なう方法
JP5763002B2 (ja) * 2012-03-21 2015-08-12 株式会社ジャパンディスプレイ 画像処理装置および画像処理方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1340178A (zh) * 1999-08-17 2002-03-13 皇家菲利浦电子有限公司 基于颜色的分割进行基于区域的图象检索的系统和方法
CN1879421A (zh) * 2003-11-05 2006-12-13 Lm爱立信电话有限公司 包括基于色度数据的亮度滤波的处理数字图像和/或视频数据的方法及相关系统和计算机程序产品
CN101098462A (zh) * 2007-07-12 2008-01-02 上海交通大学 结合色度偏差和亮度偏差的视频运动目标检测方法
JP2011049883A (ja) * 2009-08-27 2011-03-10 Mitsubishi Electric Corp 画像処理装置及び方法、並びに画像表示装置及び方法
CN102118620A (zh) * 2009-12-30 2011-07-06 华晶科技股份有限公司 数字影像的颜色错位的消除方法
GB2516110A (en) * 2013-07-12 2015-01-14 Barco Nv Guided image filtering for image content

Also Published As

Publication number Publication date
RU2647673C2 (ru) 2018-03-16
US20170018097A1 (en) 2017-01-19
EP3118847B1 (en) 2023-11-08
KR20170020301A (ko) 2017-02-22
MX358079B (es) 2018-08-03
JP2017527832A (ja) 2017-09-21
CN105183755A (zh) 2015-12-23
EP3118847A1 (en) 2017-01-18
JP6461107B2 (ja) 2019-01-30
KR101862276B1 (ko) 2018-05-29
CN105183755B (zh) 2018-10-12
MX2016002667A (es) 2017-04-27
US9892524B2 (en) 2018-02-13

Similar Documents

Publication Publication Date Title
CN105183755B (zh) 一种图片的显示方法及装置
RU2630167C1 (ru) Способ и устройство для переключения режима цветовой гаммы
US9674395B2 (en) Methods and apparatuses for generating photograph
CN109360261B (zh) 图像处理方法、装置、电子设备及存储介质
EP3179711B1 (en) Method and apparatus for preventing photograph from being shielded
CN105159661B (zh) 图标的角标显示方法及装置
JP6328275B2 (ja) 画像タイプ識別方法、装置、プログラム及び記録媒体
CN111462701A (zh) 背光亮度调节方法及装置
CN106530252B (zh) 图像处理方法及装置
US10013151B2 (en) Method and terminal device for adjusting widget
WO2016176954A1 (zh) 拍摄参数设置方法及装置
US10109248B2 (en) Method and device for adjusting liquid crystal display
CN106251369B (zh) 图像处理方法及装置
CN109408022B (zh) 显示方法、装置、终端及存储介质
CN110876014B (zh) 图像处理方法及装置、电子设备及存储介质
US11348365B2 (en) Skin color identification method, skin color identification apparatus and storage medium
CN106775548B (zh) 页面处理方法及装置
CN108538261A (zh) 控制显示的方法及装置、显示设备
CN107680096A (zh) 图像处理方法及装置
CN108108668A (zh) 基于图像的年龄预测方法及装置
WO2021169810A1 (zh) 视频处理方法及服务器
CN118317203A (zh) 图像处理方法、装置、电子设备及芯片
CN112217989A (zh) 图像显示方法及装置
CN110648373A (zh) 图像处理方法及装置
CN110876013A (zh) 确定图像分辨率的方法及装置、电子设备及存储介质

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: MX/A/2016/002667

Country of ref document: MX

ENP Entry into the national phase

Ref document number: 20167006687

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2016515541

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2016126478

Country of ref document: RU

Kind code of ref document: A

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112016008127

Country of ref document: BR

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15898788

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 112016008127

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20160413

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15898788

Country of ref document: EP

Kind code of ref document: A1