RU2671763C1 - Color space displaying method and device - Google Patents

Color space displaying method and device Download PDF

Info

Publication number
RU2671763C1
RU2671763C1 RU2017121651A RU2017121651A RU2671763C1 RU 2671763 C1 RU2671763 C1 RU 2671763C1 RU 2017121651 A RU2017121651 A RU 2017121651A RU 2017121651 A RU2017121651 A RU 2017121651A RU 2671763 C1 RU2671763 C1 RU 2671763C1
Authority
RU
Russia
Prior art keywords
layer
color space
specified
image
display
Prior art date
Application number
RU2017121651A
Other languages
Russian (ru)
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 Бейджин Сяоми Мобайл Софтвеа Ко., Лтд.
Application granted granted Critical
Publication of RU2671763C1 publication Critical patent/RU2671763C1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/6058Reduction of colour to a range of reproducible colours, e.g. to ink- reproducible colour gamut
    • H04N1/6063Reduction of colour to a range of reproducible colours, e.g. to ink- reproducible colour gamut dependent on the contents of the image to be reproduced
    • H04N1/6069Reduction of colour to a range of reproducible colours, e.g. to ink- reproducible colour gamut dependent on the contents of the image to be reproduced spatially varying within the image
    • 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/022Control 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 using memory planes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • 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
    • G02OPTICS
    • G02FOPTICAL DEVICES OR ARRANGEMENTS FOR THE CONTROL OF LIGHT BY MODIFICATION OF THE OPTICAL PROPERTIES OF THE MEDIA OF THE ELEMENTS INVOLVED THEREIN; NON-LINEAR OPTICS; FREQUENCY-CHANGING OF LIGHT; OPTICAL LOGIC ELEMENTS; OPTICAL ANALOGUE/DIGITAL CONVERTERS
    • G02F1/00Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics
    • G02F1/01Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/124Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/24Indexing scheme for image data processing or generation, in general involving graphical user interfaces [GUIs]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20016Hierarchical, coarse-to-fine, multiscale or multiresolution image processing; Pyramid transform
    • 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/04Control 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 using circuits for interfacing with colour displays

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Nonlinear Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Optics & Photonics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)
  • Color Image Communication Systems (AREA)
  • Image Generation (AREA)
  • Video Image Reproduction Devices For Color Tv Systems (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

FIELD: image processing means.SUBSTANCE: invention discloses a method and a display device on the color space of an image including a series of superimposed layers. Said method comprises: obtaining at least one mark of the color space type of at least one layer from among said layers added during the formation of said layer; determining at least one color space corresponding to said at least one layer based on said at least one label of the type of color space; mapping said at least one layer onto at least one corresponding color space; and overlaying said at least one layer mapped onto said at least one corresponding color space, on one or more other layers in order to form and output an image to be demonstrated.EFFECT: technical result is to reduce the amount of computational load required to process the image layers and output the final image.9 cl, 6 dwg

Description

Настоящая патентная заявка основана на патентной заявке Китая № 201610677001.9, поданной 16 августа 2016 г., которая полностью включена в настоящий документ посредством ссылки и по которой испрашивается приоритет.This patent application is based on China Patent Application No. 201610677001.9, filed August 16, 2016, which is incorporated herein by reference in its entirety and which claims priority.

Область техники, к которой относится изобретениеFIELD OF THE INVENTION

Настоящее изобретение в общем относится к области визуализации изображений, и, более конкретно, к способу и устройству для отображения на цветовое пространство.The present invention relates generally to the field of imaging, and, more specifically, to a method and apparatus for displaying in a color space.

Уровень техникиState of the art

Под цветовым пространством понимается способ кодирования цвета, а также полный набор цветов, которые может воспроизводить система визуализации изображения. Например, существует кодирование (цветовое пространство) sRGB (standard Red Green Blue, стандартное кодирование на основе красного, зеленого и синего цветов) и кодирование (цветовое пространство) NTSC (National Television Standards Committee, Национальный комитет по стандартам телевидения).Under the color space refers to the method of color coding, as well as the full range of colors that can be reproduced by the image visualization system. For example, there is coding (color space) of sRGB (standard Red Green Blue, standard coding based on red, green, and blue) and coding (color space) of NTSC (National Television Standards Committee, National Television Standards Committee).

В уровне техники есть способ отображения на цветовое пространство, в котором терминал отображает изображение, подлежащее демонстрации, на цветовое пространство sRGB с целью демонстрации в случае, когда пользователь желает видеть более точные цвета, и отображает изображение, подлежащее демонстрации, на цветовое пространство NTSC с целью демонстрации в случае, когда пользователь желает видеть более яркие цвета.In the prior art, there is a method of displaying on a color space in which the terminal displays the image to be displayed on the sRGB color space for display in the case where the user wishes to see more accurate colors, and maps the image to be displayed on the NTSC color space for Demos when the user wants to see brighter colors.

Раскрытие изобретенияDisclosure of invention

Чтобы устранить недостаток, состоящий в том, что некоторые слои плохо смотрятся при использовании одного цветового пространства для демонстрации в терминале всех кадров изображения, настоящее изобретение предлагает следующие способ и устройство отображения цветового пространства.To eliminate the disadvantage that some layers do not look good when using the same color space to demonstrate all image frames in the terminal, the present invention provides the following method and device for displaying a color space.

В соответствии с первым аспектом настоящего изобретения предлагается способ отображения на цветовое пространство. Указанный способ содержит: получение по меньшей мере одной метки типа цветового пространства по меньшей мере одного слоя, добавленной при формировании указанного слоя; определение по меньшей мере одного цветового пространства, соответствующего указанному по меньшей мере одному слою, на основании указанной по меньшей мере одной метки типа цветового пространства; отображение указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство; и наложение указанного по меньшей мере одного слоя, отображенного на указанное по меньшей мере одно соответствующее цветовое пространство, с целью формирования и вывода изображения, подлежащего демонстрации.In accordance with a first aspect of the present invention, there is provided a method for displaying in a color space. The specified method comprises: obtaining at least one label such as a color space of at least one layer added during the formation of the specified layer; determining at least one color space corresponding to said at least one layer based on said at least one color space type label; mapping said at least one layer to at least one corresponding color space; and overlaying said at least one layer mapped onto said at least one corresponding color space in order to form and output an image to be displayed.

В возможном варианте осуществления отображение указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство содержит: получение порядка наложения указанного по меньшей мере одного слоя; маркировку по меньшей мере одной соответствующей актуальной области демонстрации указанного по меньшей мере одного слоя в соответствии с указанным порядком наложения; и отображение по меньшей мере одной соответствующей актуальной области демонстрации указанного по меньшей мере одного слоя на указанное по меньшей мере одно соответствующее цветовое пространство.In a possible embodiment, the mapping of the specified at least one layer to the at least one corresponding color space comprises: obtaining an overlapping order of the specified at least one layer; marking at least one corresponding actual area of the demonstration of the specified at least one layer in accordance with the specified order of application; and displaying at least one corresponding actual display area of said at least one layer onto said at least one corresponding color space.

В возможном варианте осуществления наложение указанного по меньшей мере одного слоя, отображенного на указанное по меньшей мере одно соответствующее цветовое пространство, с целью формирования и вывода изображения, подлежащего демонстрации, содержит: наложение указанного по меньшей мере одного слоя в соответствии с указанным порядком наложения с целью формирования изображения, подлежащего демонстрации; и вывод изображения, подлежащего демонстрации, на экран дисплея с целью демонстрации.In a possible embodiment, the overlay of the specified at least one layer displayed on the specified at least one corresponding color space, with the aim of forming and displaying the image to be displayed, contains: the overlay of the specified at least one layer in accordance with the specified order of overlay with the aim forming an image to be demonstrated; and displaying the image to be displayed on a display screen for demonstration purposes.

В возможном варианте осуществления получение по меньшей мере одной метки типа цветового пространства по меньшей мере одного слоя, добавленной при формировании указанного слоя, содержит: получение слоя, сформированного прикладной программой, и метки типа цветового пространства, соответствующей указанному слою, добавленной при формировании указанного слоя указанной прикладной программой.In a possible embodiment, obtaining at least one color space type label of at least one layer added during the formation of the specified layer, comprises: obtaining a layer formed by the application program and a color space type label corresponding to the specified layer added during the formation of the specified layer application program.

В возможном варианте осуществления указанный способ дополнительно содержит проверку выполнения условия запуска функции автоматического отображения цветового пространства, причем получение указанной метки типа цветового пространства указанного слоя выполняется, лишь если указанное условие запуска выполнено.In a possible embodiment, the method further comprises verifying that the launch condition of the automatic display function of the color space is satisfied, and obtaining the specified label such as the color space of the specified layer is performed only if the specified launch condition is fulfilled.

В соответствии со вторым аспектом настоящего изобретения предлагается устройство отображения на цветовое пространство. Указанное устройство содержит: модуль получения, выполненный с возможностью получения по меньшей мере одной метки типа цветового пространства по меньшей мере одного слоя, добавленной при формировании указанного слоя; модуль идентификации, выполненный с возможностью определения по меньшей мере одного цветового пространства, соответствующего указанному по меньшей мере одному слою, на основании указанной по меньшей мере одной метки типа цветового пространства; модуль отображения, выполненный с возможностью отображения указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство; и модуль демонстрации, выполненный с возможностью наложения указанного по меньшей мере одного слоя, отображенного на указанное по меньшей мере одно соответствующее цветовое пространство, с целью формирования и вывода изображения, подлежащего демонстрации.In accordance with a second aspect of the present invention, there is provided a color space display device. The specified device includes: a receiving module, configured to receive at least one label such as a color space of at least one layer added when forming the specified layer; an identification module configured to determine at least one color space corresponding to the at least one layer based on the at least one color space type label; a display module, configured to display the specified at least one layer on at least one corresponding color space; and a demonstration module, configured to overlay the specified at least one layer mapped to the specified at least one corresponding color space, with the aim of forming and displaying the image to be demonstrated.

В возможном варианте осуществления модуль отображения содержит: субмодуль получения, выполненный с возможностью получения порядка наложения указанного по меньшей мере одного слоя; субмодуль маркировки, выполненный с возможностью маркировки по меньшей мере одной соответствующей актуальной области демонстрации указанного по меньшей мере одного слоя в соответствии с указанным порядком наложения; и субмодуль отображения, выполненный с возможностью отображения по меньшей мере одной соответствующей актуальной области демонстрации указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство.In a possible embodiment, the display module comprises: a receiving submodule, configured to obtain an overlay order of the at least one layer; a marking submodule configured to mark at least one corresponding actual display area of the at least one layer in accordance with the specified overlay order; and a display submodule configured to display at least one corresponding actual display area of said at least one layer on at least one corresponding color space.

В возможном варианте осуществления модуль демонстрации выполнен с возможностью наложения указанного по меньшей мере одного слоя в соответствии с указанным порядком наложения с целью формирования изображения, подлежащего демонстрации, и вывода указанного изображения, подлежащего демонстрации, на экран дисплея с целью демонстрации.In a possible embodiment, the demonstration module is configured to overlay the specified at least one layer in accordance with the specified overlay order in order to form the image to be displayed, and display the specified image to be displayed on the display screen for demonstration.

В возможном варианте осуществления модуль получения выполнен с возможностью получения слоя, сформированного прикладной программой, и метки типа цветового пространства, соответствующей указанному слою, добавленной при формировании указанного слоя указанной прикладной программой.In a possible embodiment, the acquisition module is configured to receive a layer formed by the application program and a label such as a color space corresponding to the specified layer added when the specified layer is formed by the specified application program.

В возможном варианте осуществления указанное устройство дополнительно содержит модуль проверки, выполненный с возможностью проверки выполнения условия запуска функции автоматического отображения на цветовое пространство, при этом модуль получения выполнен с возможностью получения метки типа цветового пространства указанного слоя лишь при выполнении указанного условия запуска.In a possible embodiment, said device further comprises a verification module configured to verify that the launch condition of the automatic mapping function to the color space is fulfilled, while the receiving module is configured to receive a label such as the color space of the specified layer only when the specified launch condition is satisfied.

В соответствии с третьим аспектом настоящего изобретения предлагается устройство отображения цветового пространства. Указанное устройство содержит: процессор; и память, хранящую команды, которые могут быть исполнены указанным процессором. Указанный процессор выполнен с возможностью: получения по меньшей мере одной метки типа цветового пространства по меньшей мере одного слоя, добавленной при формировании указанного слоя; определения по меньшей мере одного цветового пространства, соответствующего указанному по меньшей мере одному слою, на основании указанной по меньшей мере одной метки типа цветового пространства; отображения указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство; и наложения указанного по меньшей мере одного слоя, отображенного на указанное по меньшей мере одно соответствующее цветовое пространство, с целью формирования и вывода изображения, подлежащего демонстрации.In accordance with a third aspect of the present invention, there is provided a color space display device. The specified device contains: a processor; and memory storing instructions that can be executed by the specified processor. The specified processor is configured to: obtain at least one label such as a color space of at least one layer added when forming the specified layer; determining at least one color space corresponding to said at least one layer based on said at least one color space type label; mapping said at least one layer onto at least one corresponding color space; and overlaying said at least one layer mapped onto said at least one corresponding color space in order to form and output an image to be displayed.

Технические решения, предлагаемые вариантами осуществления настоящего изобретения, могут дать следующий технический результат.The technical solutions proposed by the embodiments of the present invention can give the following technical result.

Путем получения по меньшей мере одной метки типа цветового пространства по меньшей мере одного слоя; определения по меньшей мере одного цветового пространства, соответствующего указанному по меньшей мере одному слою, на основании указанной по меньшей мере одной метки типа цветового пространства; отображения указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство; и наложения указанного по меньшей мере одного слоя, отображенного на указанное по меньшей мере одно соответствующее цветовое пространство, с целью формирования и вывода изображения, подлежащего демонстрации, указанные технические решения устраняют недостаток, состоящий в том, что некоторые слои изображения, подлежащего демонстрации в терминале, плохо выглядят при использовании одного цветового пространства для демонстрации всех кадров изображения, и дают возможность получить технический результат, состоящий в том, что разные слои каждого изображения, подлежащего демонстрации на терминале, отображаются на разные цветовые пространства согласно индивидуальному типу цветового пространства каждого слоя, в результате чего каждый слой выглядит так, как требуется. Например, для естественного слоя могут быть использованы более точные цвета, а для слоя пользовательского интерфейса могут быть использованы более яркие цвета, чем создается более благоприятное общее впечатление от демонстрируемого терминалом изображения.By obtaining at least one label such as a color space of at least one layer; determining at least one color space corresponding to said at least one layer based on said at least one color space type label; mapping said at least one layer onto at least one corresponding color space; and overlaying the specified at least one layer displayed on the specified at least one corresponding color space, with the aim of forming and displaying the image to be displayed, these technical solutions eliminate the disadvantage that some layers of the image to be displayed in the terminal, look bad when using the same color space to demonstrate all the frames of the image, and make it possible to obtain a technical result, consisting in the fact that different layers of dogo image to be demonstrate at a terminal are displayed on a different color space according to the individual type of color space of each layer, whereby each layer is as follows, as required. For example, more accurate colors can be used for the natural layer, and brighter colors can be used for the user interface layer, which creates a more favorable overall impression of the image displayed by the terminal.

Следует понимать, что как вышеприведенное общее описание, так и нижеследующее подробное описание предлагаются лишь в качестве примера, служат лишь для пояснения и не ограничивают настоящее изобретение.It should be understood that both the foregoing general description and the following detailed description are provided by way of example only, are for explanation only and are not intended to limit the present invention.

Краткое описание чертежейBrief Description of the Drawings

Сопровождающие чертежи, включенные в настоящий документ и составляющие его часть, иллюстрируют варианты осуществления, соответствующие настоящему изобретению, и вместе с настоящим раскрытием служат для пояснения принципов настоящего изобретения.The accompanying drawings, incorporated herein and constituting a part thereof, illustrate embodiments of the present invention, and together with the present disclosure, serve to explain the principles of the present invention.

Фиг. 1 представляет собой блок-схему, иллюстрирующую способ отображения на цветовое пространство в соответствии с примерным вариантом осуществления.FIG. 1 is a flowchart illustrating a method of displaying on a color space in accordance with an exemplary embodiment.

Фиг. 2 представляет собой схему, иллюстрирующую слоевую структуру демонстрируемого изображения в соответствии с примерным вариантом осуществления.FIG. 2 is a diagram illustrating a layer structure of a displayed image in accordance with an exemplary embodiment.

Фиг. 3 представляет собой блок-схему, иллюстрирующую способ отображения на цветовое пространство в соответствии с еще одним примерным вариантом осуществления.FIG. 3 is a flowchart illustrating a method for displaying on a color space in accordance with another exemplary embodiment.

Фиг. 4 представляет собой блок-схему, иллюстрирующую способ отображения на цветовое пространство в соответствии с еще одним примерным вариантом осуществления.FIG. 4 is a flowchart illustrating a method for displaying on a color space in accordance with another exemplary embodiment.

Фиг. 5 представляет собой функциональную схему, иллюстрирующую устройство отображения на цветовое пространство в соответствии с примерным вариантом осуществления.FIG. 5 is a functional diagram illustrating a color space display apparatus in accordance with an exemplary embodiment.

Фиг. 6 представляет собой функциональную схему, иллюстрирующую устройство отображения на цветовое пространство в соответствии с еще одним примерным вариантом осуществления.FIG. 6 is a functional diagram illustrating a color space display apparatus according to another exemplary embodiment.

Осуществление изобретенияThe implementation of the invention

Далее подробно рассматриваются некоторые примерные варианты осуществления, иллюстрируемые сопровождающими чертежами. Нижеследующее описание ссылается на сопровождающие чертежи, в которых на разных чертежах одинаковые номера ссылочных обозначений представляют одинаковые или подобные элементы, если не указано иное. Реализации, приведенные в нижеследующем описании вариантов осуществления, не представляют все реализации, соответствующие настоящему изобретению. Напротив, они представляют собой лишь примеры устройств и способов, соответствующих аспектам, относящимся к настоящему изобретению согласно прилагаемой формуле изобретения.Some exemplary embodiments illustrated in the accompanying drawings are discussed in detail below. The following description refers to the accompanying drawings, in which, in different figures, the same reference numerals represent the same or similar elements, unless otherwise indicated. The implementations described in the following description of embodiments do not represent all implementations corresponding to the present invention. On the contrary, they are only examples of devices and methods corresponding to aspects related to the present invention according to the attached claims.

В уровне техники, как правило, для каждого кадра изображения, демонстрируемого терминалом, используется один и тот же способ отображения цветового пространства. Демонстрируемый кадр изображения обычно получается наложением множества слоев. Однако не все слои кадра подходят для одного и то же цветового пространства. Например, в интерфейсе экрана блокировки смартфона содержатся слой полосы состояния, слой обоев и слой значков рабочего стола. Слой полосы состояния и слой значков рабочего стола принадлежат слою пользовательского интерфейса (ПИ), представляющего собой искусственно созданный, изначально хорошо смотрящийся слой. Но если слой ПИ отображается на некорректное цветовое пространство, то эстетичность представления этого слоя ПИ ухудшается. С учетом этого настоящее изобретение предлагает следующие примерные варианты осуществления.In the prior art, as a rule, the same color space display method is used for each frame of an image displayed by a terminal. The displayed image frame is usually obtained by overlaying multiple layers. However, not all layers of the frame are suitable for the same color space. For example, the smartphone’s lock screen interface contains a status bar layer, a wallpaper layer, and a desktop icon layer. The status bar layer and the desktop icon layer belong to the user interface (PI) layer, which is an artificially created, initially good-looking layer. But if the PI layer is mapped to an incorrect color space, then the aesthetics of the presentation of this PI layer is degraded. With this in mind, the present invention provides the following exemplary embodiments.

Фиг. 1 представляет собой блок-схему, иллюстрирующую способ отображения на цветовое пространство в соответствии с примерным вариантом осуществления. Данный вариант осуществления описывается на примере реализации предлагаемого способа в терминале, выполненном с возможностью обработки изображений. Указанный способ содержит следующие шаги.FIG. 1 is a flowchart illustrating a method of displaying on a color space in accordance with an exemplary embodiment. This embodiment is described by an example implementation of the proposed method in a terminal configured to process images. The specified method contains the following steps.

На шаге 102 выполняется получение по меньшей мере одной метки типа цветового пространства по меньшей мере одного слоя, добавленной при формировании указанного слоя.At step 102, at least one label of the type of color space of at least one layer added during the formation of the specified layer is obtained.

На шаге 104 на основании указанной по меньшей мере одной метки типа цветового пространства определяется по меньшей мере одно цветовое пространство, соответствующее указанному по меньшей мере одному слою.In step 104, based on the at least one color space type label, at least one color space corresponding to the at least one layer is determined.

На шаге 106 указанный по меньшей мере один слой отображается на указанное по меньшей мере одно соответствующее цветовое пространство.In step 106, said at least one layer is mapped onto said at least one corresponding color space.

На шаге 108 выполняется наложение указанного по меньшей мере одного слоя, отображенного на указанное по меньшей мере одно соответствующее цветовое пространство, с целью формирования и вывода изображения, подлежащего демонстрации.At step 108, an overlay of the at least one layer mapped onto the at least one corresponding color space is performed to form and display the image to be displayed.

Как результат, путем получения по меньшей мере одной метки типа цветового пространства по меньшей мере одного слоя; определения по меньшей мере одного цветового пространства, соответствующего указанному по меньшей мере одному слою, на основании указанной по меньшей мере одной метки типа цветового пространства; отображения указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство; и наложения указанного по меньшей мере одного слоя, отображенного на указанное по меньшей мере одно соответствующее цветовое пространство, с целью формирования и вывода изображения, подлежащего демонстрации, способ отображения цветового пространства, предлагаемый данным вариантом осуществления, устраняет недостаток, состоящий в том, что некоторые слои изображения, подлежащего демонстрации в терминале, плохо выглядят при использовании одного цветового пространства для демонстрации всех кадров изображения, и дает возможность получить технический результат, состоящий в том, что разные слои каждого изображения, подлежащего демонстрации на терминале, отображаются на разные цветовые пространства согласно индивидуальному типу цветового пространства каждого слоя, в результате чего каждый слой выглядит так, как требуется. Например, для естественного слоя могут быть использованы более точные цвета, а для слоя пользовательского интерфейса могут быть использованы более яркие цвета, чем создается более благоприятное общее впечатление от демонстрируемого терминалом изображения.As a result, by obtaining at least one label such as a color space of at least one layer; determining at least one color space corresponding to said at least one layer based on said at least one color space type label; mapping said at least one layer onto at least one corresponding color space; and overlaying said at least one layer mapped onto said at least one corresponding color space in order to form and output an image to be displayed, the color space display method proposed by this embodiment eliminates the disadvantage that some layers the images to be displayed in the terminal look bad when using the same color space to show all the frames of the image, and gives you the opportunity The technical result consists in the fact that the different layers of each image to be demonstrate at a terminal are displayed on a different color space according to the individual type of color space of each layer, whereby each layer is as follows, as required. For example, more accurate colors can be used for the natural layer, and brighter colors can be used for the user interface layer, which creates a more favorable overall impression of the image displayed by the terminal.

Фиг. 2 представляет собой схему, иллюстрирующую слоевую структуру демонстрируемого кадра изображения 10 в соответствии с примерным вариантом осуществления. Демонстрируемое изображение 10 представляет собой стартовую страницу смартфона. Эта стартовая страница смартфона содержит три следующих слоя: слой 12 полосы состояния, слой 14 значков рабочего стола и слой 16 обоев. Слой 12 полосы состояния является самым верхним слоем, слой 14 значка рабочего стола является промежуточным слоем, а слой 16 обоев является самым нижним слоем. Если вышележащий слой является непрозрачным, то он делает нижележащий слой невидимым. Порядок наложения слоев определяется значениями порядка в направлении z, соответствующими указанным слоям. Порядок в направлении z задает иерархическую взаимосвязь между слоями (которые также называются отображаемыми объектами). Как правило, слой, которому соответствует более высокое значение порядка в направлении z, является вышележащим для слоя, которому соответствует более низкое значение порядка в направлении z.FIG. 2 is a diagram illustrating a layer structure of a display frame of an image 10 in accordance with an exemplary embodiment. Image 10 shown is the start page of a smartphone. This smartphone’s start page contains the following three layers: status bar layer 12, desktop icon layer 14 and wallpaper layer 16. The status bar layer 12 is the uppermost layer, the desktop icon layer 14 is an intermediate layer, and the wallpaper layer 16 is the lowermost layer. If the overlying layer is opaque, then it makes the underlying layer invisible. The order of overlapping layers is determined by the order values in the z direction corresponding to the specified layers. The order in the z direction defines a hierarchical relationship between layers (which are also called display objects). Typically, a layer that corresponds to a higher order value in the z direction is overlying for a layer that corresponds to a lower order value in the z direction.

В терминале демонстрируемое изображение 10 формируется путем синтеза трех вышеуказанных слоев. Источники указанных слоев могут быть одними и теми же или различными.In the terminal, the displayed image 10 is formed by synthesis of the three above layers. The sources of these layers can be the same or different.

В качестве одной из возможностей, с программной точки зрения, в число источников слоев входят прикладная программа рабочего стола, прикладная программа состояния, прикладная программа обоев, сторонняя прикладная программа и т.д. Слои от указанных прикладных программ объединяются в результирующее демонстрируемое изображение программой синтеза изображения операционной системы. Например, в системе Android за объединение слоев отвечает уровень SurfaceFlinger.As one of the possibilities, from a software point of view, the sources of layers include a desktop application, a state application, a wallpaper application, a third-party application, etc. Layers from the specified application programs are combined into the resulting displayed image by the image synthesis program of the operating system. For example, on Android, the SurfaceFlinger layer is responsible for merging layers.

В качестве одной из возможностей, с аппаратной точки зрения, в число источников слоев входят по меньшей мере одно устройство из числа центрального процессорного устройства (ЦПУ), графического процессорного устройства (ГПУ) и микросхемы видеодекодера. Эти слои объединяются в процессоре прикладных программ (ППП), а затем выдаются на экран дисплея с целью демонстрации.As one of the possibilities, from a hardware point of view, the number of layer sources includes at least one device from a central processing unit (CPU), a graphics processing unit (GPU), and a video decoder chip. These layers are combined in the application processor (PPP), and then displayed on the display screen for demonstration purposes.

В качестве одной из возможностей, каждый слой классифицируется как естественный слой или как слой пользовательского интерфейса (ПИ). Под естественным слоем понимается слой, сформированный на основе естественно существующих объектов, или слой, сформированный путем эмуляции естественно существующих объектов. В число типичных естественных слоев входят: слой, получаемый путем фотографирования камерой, слой кадра, полученного путем декодирования видеоматериала, слой из виртуального мира, построенный в реальном времени программным ядром компьютерной игры, и т.д. Под слоем ПИ понимается слой, предназначенный для реализации взаимодействия человека и машины. Как правило, слой ПИ создается искусственно. Для слоев разного типа лучше подходят разные цветовые пространства. Например, для естественного слоя лучше подходит цветовое пространство NTSC, а для слоя ПИ лучше подходит цветовое пространство sRGB.As one option, each layer is classified as a natural layer or as a user interface (UI) layer. By a natural layer is meant a layer formed on the basis of naturally existing objects, or a layer formed by emulating naturally existing objects. Typical natural layers include: a layer obtained by photographing with a camera, a layer of a frame obtained by decoding video material, a layer from the virtual world, built in real time by the software core of a computer game, etc. The PI layer is understood as a layer intended for the implementation of human – machine interaction. Typically, a PI layer is artificially created. Different color spaces are better for layers of different types. For example, the NTSC color space is better suited for the natural layer, and the sRGB color space is better suited for the PI layer.

Фиг. 3 представляет собой блок-схему, иллюстрирующую способ отображения на цветовое пространство в соответствии с примерным вариантом осуществления. Данный вариант осуществления описывается на примере реализации предлагаемого способа в терминале. Способ содержит следующие шаги.FIG. 3 is a flowchart illustrating a method of displaying on a color space in accordance with an exemplary embodiment. This embodiment is described by an example implementation of the proposed method in the terminal. The method contains the following steps.

На шаге 301 проверяется выполнение условия запуска функции автоматического отображения на цветовое пространство.At step 301, the fulfillment of the triggering condition of the automatic display function on the color space is checked.

В качестве одной из возможностей, в число условий для запуска функции автоматического отображения на цветовое пространство входит по меньшей мере одно из следующих условий, без ограничения возможных условий перечисленными условиями.As one of the possibilities, the conditions for starting the function of automatic display on the color space include at least one of the following conditions, without limiting the possible conditions to the listed conditions.

Условие 1: когда запускается условленная прикладная программа, например, программа медиаплейера.Condition 1: when a conditional application program is launched, for example, a media player program.

Условие 2: когда функция автоматического отображения цветового пространства настроена на включение пользователем.Condition 2: When the auto color space display function is configured to be turned on by the user.

Если указанное условие запуска выполнено, то выполняется переход к шагу 302. Если указанное условие запуска не выполнено, то никакая обработка не выполняется и используются цветовые пространства самого экрана или цветовые пространства, используемые в настоящий момент операционной системой.If the specified start condition is fulfilled, then proceed to step 302. If the specified start condition is not fulfilled, no processing is performed and the color spaces of the screen itself or the color spaces currently used by the operating system are used.

На шаге 302, если указанное условие запуска выполнено, то выполняется получение слоя, сформированного прикладной программой, и получение метки типа цветового пространства, соответствующей указанному слою и добавленной при формировании указанного слоя указанной прикладной программой.At step 302, if the specified launch condition is met, then the layer generated by the application program is obtained and the label of the color space type corresponding to the specified layer and added when the specified application is formed to form the specified layer is obtained.

При обычном функционировании терминала каждая прикладная программа формирует свой слой. Например, прикладная программа рабочего стола формирует слой значков, прикладная программа обоев формирует слой обоев, а прикладная программа полосы состояния формирует слой полосы состояния.In the normal operation of the terminal, each application program forms its own layer. For example, the desktop application generates an icon layer, the wallpaper application generates a wallpaper layer, and the status bar application generates a status bar layer.

В качестве одной из возможностей, каждая прикладная программа также формирует метку типа цветового пространства, соответствующую указанному слою, на основании содержания указанного слоя.As one of the possibilities, each application program also generates a label of the type of color space corresponding to the specified layer, based on the content of the specified layer.

Например, слой значков содержит значки множества прикладных программ. Поскольку все указанные значки представляют собой искусственно созданные значки ПИ, указанная прикладная программа рабочего стола формирует соответствующую указанному слою значков метку типа цветового пространства «Метка1». Также в качестве примера, поскольку слой обоев представляет собой фотографию природного пейзажа, прикладная программа обоев формирует метку типа цветового пространства «Метка2», соответствующую указанному слою обоев. В качестве еще одного примера, поскольку слой полосы состояния представляет собой искусственно созданный слой ПИ, прикладная программа полосы состояния формирует метку типа цветового пространства «Метка1», соответствующую указанному слою полосы состояния.For example, the icon layer contains the icons of many application programs. Since all of these icons are artificially created PI icons, the specified desktop application generates a label corresponding to the specified icon layer, such as the color space Label1. Also, as an example, since the wallpaper layer is a photograph of a natural landscape, the wallpaper application generates a label such as the color space “Label 2” corresponding to the specified wallpaper layer. As another example, since the status bar layer is an artificially created PI layer, the status bar application generates a label of the type of color space “Label 1” corresponding to the specified status bar layer.

Синтезатор изображения или программа синтеза изображения в терминале получает слой, сформированный каждой прикладной программой, и метку типа цветового пространства, соответствующую этому слою.An image synthesizer or image synthesis program in the terminal receives a layer formed by each application program and a color space type label corresponding to this layer.

На шаге 303 на основании указанной по меньшей мере одной метки типа цветового пространства определяется по меньшей мере одно цветовое пространство, соответствующее указанному по меньшей мере одному слою.In step 303, at least one color space corresponding to the at least one layer is determined based on the at least one color space type label.

В качестве иллюстрации, если меткой типа цветового пространства слоя значков является «Метка1», то в качестве цветового пространства, соответствующего указанному слою значков, задается цветовое пространство sRGB. Если меткой типа цветового пространства слоя обоев является «Метка2», то в качестве цветового пространства, соответствующего указанному слою обоев, задается цветовое пространство NTSC.As an illustration, if the label for the type of color space of the icon layer is “Label 1”, then the color space sRGB is set as the color space corresponding to the specified icon layer. If the label of the color space type of the wallpaper layer is “Label 2”, then the NTSC color space is set as the color space corresponding to the specified wallpaper layer.

На шаге 304 указанный по меньшей мере один слой отображается на указанное по меньшей мере одно соответствующее цветовое пространство.In step 304, said at least one layer is mapped onto said at least one corresponding color space.

В качестве иллюстрации, терминал соответственно отображает указанный по меньшей мере один слой на по меньшей мере одно соответствующее цветовое пространство.By way of illustration, the terminal accordingly maps said at least one layer to at least one corresponding color space.

Например, когда цветовым пространством, соответствующим слою, является цветовое пространство sRGB, терминал отображает этот слой на цветовое пространство sRGB. В качестве еще одного примера, когда цветовое пространство, соответствующее слою, представляет собой цветовое пространство NTSC, терминал отображает этот слой на цветовое пространство NTSC.For example, when the color space corresponding to the layer is the sRGB color space, the terminal maps this layer to the sRGB color space. As another example, when a color space corresponding to a layer is an NTSC color space, the terminal maps that layer to an NTSC color space.

На шаге 305 выполняется получение порядка наложения указанного по меньшей мере одного слоя.At step 305, an overlap order of the specified at least one layer is obtained.

Терминал также получает значение порядка в направлении z каждого слоя и определяет порядок наложения слоев на основании указанного значения порядка в направлении z каждого слоя. Как правило, слой, которому соответствует более высокое значение порядка в направлении z, является вышележащим для слоя, которому соответствует более низкое значение порядка в направлении z.The terminal also obtains the order value in the z direction of each layer and determines the layer stacking order based on the specified order value in the z direction of each layer. Typically, a layer that corresponds to a higher order value in the z direction is overlying for a layer that corresponds to a lower order value in the z direction.

На шаге 306 в соответствии с указанным порядком наложения выполняется наложение указанного по меньшей мере одного слоя с целью получения изображения, подлежащего демонстрации.At step 306, in accordance with the specified overlay order, the specified at least one layer is overlaid to obtain an image to be displayed.

Терминал в соответствии с указанным порядком наложения выполняет наложение слоев с целью получения кадра изображения, подлежащего демонстрации. Каждый кадр изображения, подлежащего демонстрации, получается путем наложения по меньшей мере одного слоя указанного кадра изображения.The terminal, in accordance with the specified overlay order, performs the overlay of layers in order to obtain a frame of the image to be demonstrated. Each frame of the image to be demonstrated is obtained by superimposing at least one layer of the specified image frame.

На шаге 307 изображение, подлежащее демонстрации, выводится на экран дисплея с целью демонстрации.At step 307, the image to be displayed is displayed on the display screen for demonstration purposes.

Терминал с целью демонстрации выводит изображение, подлежащее демонстрации, на экран своего дисплея.The terminal, for the purpose of demonstration, displays the image to be demonstrated on the screen of its display.

Как результат, путем получения по меньшей мере одной метки типа цветового пространства по меньшей мере одного слоя; определения по меньшей мере одного цветового пространства, соответствующего указанному по меньшей мере одному слою, на основании указанной по меньшей мере одной метки типа цветового пространства; отображения указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство; и наложения указанного по меньшей мере одного слоя, отображенного на указанное по меньшей мере одно соответствующее цветовое пространство, с целью формирования и вывода изображения, подлежащего демонстрации, способ отображения цветового пространства, предлагаемый данным вариантом осуществления, устраняет недостаток, состоящий в том, что некоторые слои изображения, подлежащего демонстрации в терминале, плохо выглядят при использовании одного цветового пространства для демонстрации всех кадров изображения, и дает возможность получить технический результат, состоящий в том, что разные слои каждого изображения, подлежащего демонстрации на терминале, отображаются на разные цветовые пространства согласно индивидуальному типу цветового пространства каждого слоя, в результате чего каждый слой выглядит так, как требуется. Например, для естественного слоя могут быть использованы более точные цвета, а для слоя пользовательского интерфейса могут быть использованы более яркие цвета, чем создается более благоприятное общее впечатление от демонстрируемого терминалом изображения.As a result, by obtaining at least one label such as a color space of at least one layer; determining at least one color space corresponding to said at least one layer based on said at least one color space type label; mapping said at least one layer onto at least one corresponding color space; and overlaying said at least one layer mapped onto said at least one corresponding color space in order to form and output an image to be displayed, the color space display method proposed by this embodiment eliminates the disadvantage that some layers the images to be displayed in the terminal look bad when using the same color space to show all the frames of the image, and gives you the opportunity The technical result consists in the fact that the different layers of each image to be demonstrate at a terminal are displayed on a different color space according to the individual type of color space of each layer, whereby each layer is as follows, as required. For example, more accurate colors can be used for the natural layer, and brighter colors can be used for the user interface layer, which creates a more favorable overall impression of the image displayed by the terminal.

Поскольку предполагается, что непрозрачные пикселы вышележащего слоя закрывают пикселы нижележащих слоев, некоторые области в нижележащих слоях в итоге не будут представлены пользователям. Иными словами, вся область демонстрации слоя может быть актуальной областью демонстрации, или слой может содержать актуальную область демонстрации и неактуальную область демонстрации. Актуальная область демонстрации видна в итоговом демонстрируемом изображении, а неактуальная область демонстрации в демонстрируемом изображении не видна. Настоящее изобретение, кроме того, предлагает следующие варианты осуществления изобретения, направленные на снижение объема вычислений.Since it is assumed that the opaque pixels of the overlying layer cover the pixels of the underlying layers, some areas in the underlying layers will ultimately not be presented to users. In other words, the entire demonstration area of the layer may be the current demonstration area, or the layer may contain the current demonstration area and the irrelevant demonstration area. The current demonstration area is visible in the final displayed image, and the irrelevant demonstration area in the displayed image is not visible. The present invention also provides the following embodiments of the invention, aimed at reducing the amount of computation.

Фиг. 4 представляет собой блок-схему, иллюстрирующую способ отображения на цветовое пространство в соответствии с примерным вариантом осуществления. Данный вариант осуществления описывается на примере реализации предлагаемого способа в терминале. Указанный способ содержит следующие шаги.FIG. 4 is a flowchart illustrating a method for displaying on a color space in accordance with an exemplary embodiment. This embodiment is described by an example implementation of the proposed method in the terminal. The specified method contains the following steps.

На шаге 401 проверяется выполнение условия запуска функции автоматического отображения на цветовое пространство.At step 401, the fulfillment of the triggering condition of the automatic mapping function to the color space is checked.

В качестве одной из возможностей, в число условий для запуска функции автоматического отображения на цветовое пространство входит по меньшей мере одно из следующих условий, без ограничения возможных условий перечисленными условиями.As one of the possibilities, the conditions for starting the function of automatic display on the color space include at least one of the following conditions, without limiting the possible conditions to the listed conditions.

Условие 1: когда запускается условленная прикладная программа, например, программа медиаплейера.Condition 1: when a conditional application program is launched, for example, a media player program.

Условие 2: когда функция автоматического отображения цветового пространства настроена на включение пользователем.Condition 2: When the auto color space display function is configured to be turned on by the user.

Если указанное условие запуска выполнено, то выполняется переход к шагу 402. Если указанное условие запуска не выполнено, то никакая обработка не выполняется и используются цветовые пространства самого экрана или цветовые пространства, используемые в настоящий момент операционной системой.If the specified start condition is fulfilled, then proceed to step 402. If the specified start condition is not fulfilled, no processing is performed and the color spaces of the screen itself or the color spaces currently used by the operating system are used.

На шаге 402, если указанное условие запуска выполнено, то выполняется получение слоя, сформированного прикладной программой, и получение метки типа цветового пространства, соответствующей указанному слою и добавленной при формировании указанного слоя указанной прикладной программой.At step 402, if the specified launch condition is met, then the layer generated by the application program is obtained and the label of the color space type corresponding to the specified layer and added when the specified layer is formed by the specified application program is obtained.

При обычном функционировании терминала каждая прикладная программа формирует свой слой. Например, прикладная программа рабочего стола формирует слой значков, прикладная программа обоев формирует слой обоев, а прикладная программа полосы состояния формирует слой полосы состояния.In the normal operation of the terminal, each application program forms its own layer. For example, the desktop application generates an icon layer, the wallpaper application generates a wallpaper layer, and the status bar application generates a status bar layer.

В качестве одной из возможностей, каждая прикладная программа также формирует метку типа цветового пространства, соответствующую указанному слою, на основании содержания указанного слоя.As one of the possibilities, each application program also generates a label of the type of color space corresponding to the specified layer, based on the content of the specified layer.

Например, слой значков содержит значки множества прикладных программ. Поскольку все указанные значки представляют собой искусственно созданные значки ПИ, указанная прикладная программа рабочего стола формирует соответствующую указанному слою значков метку типа цветового пространства «Метка1». Также в качестве примера, поскольку слой обоев представляет собой фотографию природного пейзажа, прикладная программа обоев формирует метку типа цветового пространства «Метка2», соответствующую указанному слою обоев. В качестве еще одного примера, поскольку слой полосы состояния представляет собой искусственно созданный слой ПИ, прикладная программа полосы состояния формирует метку типа цветового пространства «Метка1», соответствующую указанному слою полосы состояния.For example, the icon layer contains the icons of many application programs. Since all of these icons are artificially created PI icons, the specified desktop application generates a label corresponding to the specified icon layer, such as the color space Label1. Also, as an example, since the wallpaper layer is a photograph of a natural landscape, the wallpaper application generates a label such as the color space “Label 2” corresponding to the specified wallpaper layer. As another example, since the status bar layer is an artificially created PI layer, the status bar application generates a label of the type of color space “Label 1” corresponding to the specified status bar layer.

Синтезатор изображения или программа синтеза изображения в терминале получает слой, сформированный каждой прикладной программой, и метку типа цветового пространства, соответствующую этому слою.An image synthesizer or image synthesis program in the terminal receives a layer formed by each application program and a color space type label corresponding to this layer.

На шаге 403 на основании указанной по меньшей мере одной метки типа цветового пространства определяется по меньшей мере одно цветовое пространство, соответствующее указанному по меньшей мере одному слою.At 403, at least one color space corresponding to the at least one layer is determined based on the at least one color space type label.

В качестве иллюстрации, если меткой типа цветового пространства слоя значков является «Метка1», то в качестве цветового пространства, соответствующего указанному слою значков, задается цветовое пространство sRGB. Если меткой типа цветового пространства слоя обоев является «Метка2», то в качестве цветового пространства, соответствующего указанному слою обоев, задается цветовое пространство NTSC.As an illustration, if the label for the type of color space of the icon layer is “Label 1”, then the color space sRGB is set as the color space corresponding to the specified icon layer. If the label of the color space type of the wallpaper layer is “Label 2”, then the NTSC color space is set as the color space corresponding to the specified wallpaper layer.

На шаге 404 выполняется получение порядка наложения указанного по меньшей мере одного слоя.At step 404, the blending order of the specified at least one layer is obtained.

Терминал также получает значение порядка в направлении z каждого слоя и определяет порядок наложения слоев на основании указанного значения порядка в направлении z каждого слоя. Как правило, слой, которому соответствует более высокое значение порядка в направлении z, является вышележащим для слоя, которому соответствует более низкое значение порядка в направлении z.The terminal also obtains the order value in the z direction of each layer and determines the layer stacking order based on the specified order value in the z direction of each layer. Typically, a layer that corresponds to a higher order value in the z direction is overlying for a layer that corresponds to a lower order value in the z direction.

На шаге 405 в соответствии с указанным порядком наложения выполняется маркировка по меньшей мере одной соответствующей актуальной области демонстрации указанного по меньшей мере одного слоя.At step 405, in accordance with the specified overlay order, at least one corresponding actual display area of the at least one layer is marked.

В качестве одной из возможностей, под актуальной областью демонстрации каждого слоя понимается область текущего слоя, не закрываемая вышележащими слоями. Иными словами, под актуальной областью демонстрации каждого слоя понимается область, которая видна в изображении.As one of the possibilities, the actual demonstration area of each layer is understood as the region of the current layer that is not covered by the overlying layers. In other words, the actual area of the demonstration of each layer refers to the area that is visible in the image.

Слои накладываются в соответствии с их значениями порядка в направлении z. Когда вышележащие пикселы в вышележащем слое непрозрачны, нижележащие пикселы в нижележащем слое, расположенные непосредственно под указанными вышележащими пикселами, будут закрыты и в итоге не появятся в демонстрируемом изображении.Layers are superimposed according to their order values in the z direction. When the overlying pixels in the overlying layer are opaque, the underlying pixels in the underlying layer located directly below the specified overlying pixels will be closed and will not appear in the displayed image.

Терминал маркирует актуальную область демонстрации каждого из слоев в соответствии с указанным порядком наложения слоев. В качестве одной из возможностей, когда слой является самым верхним слоем, вся область этого слоя маркируется как актуальная область демонстрации. Когда слой не является самым верхним слоем, выполняется получение по меньшей мере одного слоя, являющегося вышележащим по отношению к данному слою. Положения пикселов в слое, соответствующие непрозрачным пикселам в по меньшей мере одном верхнем слое, маркируются, в результате чего формируется первое множество пикселов, после чего формируется и задается в качестве актуальной области демонстрации второе множество пикселов, содержащее пикселы слоя, не вошедшие в первое множество пикселов.The terminal marks the current area of demonstration of each of the layers in accordance with the specified sequence of layers. As one of the possibilities, when the layer is the uppermost layer, the entire area of this layer is marked as the current area of the demonstration. When the layer is not the uppermost layer, at least one layer that is overlying with respect to the layer is obtained. The positions of the pixels in the layer corresponding to the opaque pixels in at least one upper layer are marked, as a result of which the first set of pixels is formed, and then the second set of pixels containing the pixels of the layer that are not included in the first set of pixels is formed and set as the current demonstration area .

На шаге 406 по меньшей мере одна эффективная область демонстрации указанного по меньшей мере одного слоя отображается на указанное по меньшей мере одно соответствующее цветовое пространство.At step 406, at least one effective display area of the specified at least one layer is mapped to the specified at least one corresponding color space.

В качестве иллюстрации, терминал отображает актуальную область демонстрации слоя на соответствующее этому слою цветовое пространство. Например, когда цветовым пространством, соответствующим слою, является цветовое пространство sRGB, терминал отображает эту актуальную область демонстрации указанного слоя на цветовое пространство sRGB. В качестве еще одного примера, когда цветовое пространство, соответствующее указанному слою, представляет собой цветовое пространство NTSC, терминал отображает эту актуальную область демонстрации указанного слоя на цветовое пространство NTSC.As an illustration, the terminal displays the current demonstration area of a layer in the color space corresponding to that layer. For example, when the color space corresponding to the layer is the sRGB color space, the terminal maps this current display area of the specified layer to the sRGB color space. As another example, when the color space corresponding to the specified layer is an NTSC color space, the terminal maps this current display area of the specified layer to the NTSC color space.

Следует отметить, что шаги 404 и 405 являются необязательными шагами. На шаге 406, для каждого слоя, если актуальная область демонстрации слоя не задана, то на цветовое пространство, соответствующее этому слою, отображается непосредственно вся область демонстрации этого слоя.It should be noted that steps 404 and 405 are optional steps. At step 406, for each layer, if the current demonstration area of the layer is not specified, then the entire demonstration area of this layer is displayed directly on the color space corresponding to this layer.

На шаге 407 в соответствии с указанным порядком наложения выполняется наложение указанного по меньшей мере одного слоя с целью получения изображения, подлежащего демонстрации.At step 407, in accordance with the specified overlay order, the specified at least one layer is overlaid to obtain an image to be displayed.

Терминал в соответствии с указанным порядком наложения выполняет наложение слоев с целью получения кадра изображения, подлежащего демонстрации. Каждый кадр изображения, подлежащего демонстрации, получается путем наложения по меньшей мере одного слоя указанного кадра изображения.The terminal, in accordance with the specified overlay order, performs the overlay of layers in order to obtain a frame of the image to be demonstrated. Each frame of the image to be demonstrated is obtained by superimposing at least one layer of the specified image frame.

На шаге 408 изображение, подлежащее демонстрации, выводится на экран дисплея с целью демонстрации.At step 408, the image to be displayed is displayed on the display screen for demonstration purposes.

Терминал с целью демонстрации выводит изображение, подлежащее демонстрации, на экран дисплея.For demonstration purposes, the terminal displays the image to be displayed on the display screen.

Следует заметить, что конкретные примеры метки типа цветового пространства и цветового пространства, указанные в вариантах осуществления настоящего изобретения, приведены лишь для упрощения понимания данных вариантов осуществления и не накладывают ограничения на метку типа цветового пространства и на цветовое пространство.It should be noted that the specific examples of the color space type label and the color space indicated in the embodiments of the present invention are provided only to simplify the understanding of these embodiments and do not impose restrictions on the color space type label and color space.

Как результат, путем получения по меньшей мере одной метки типа цветового пространства по меньшей мере одного слоя, определения по меньшей мере одного цветового пространства, соответствующего указанному по меньшей мере одному слою, на основании указанной по меньшей мере одной метки типа цветового пространства, отображения указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство, и наложения указанного по меньшей мере одного слоя, отображенного на указанное по меньшей мере одно соответствующее цветовое пространство, с целью формирования и вывода изображения, подлежащего демонстрации, способ отображения цветового пространства, предлагаемый данным вариантом осуществления, устраняет недостаток, состоящий в том, что некоторые слои изображения, подлежащего демонстрации в терминале, плохо выглядят при использовании одного цветового пространства для демонстрации всех кадров изображения, и дает возможность получить технический результат, состоящий в том, что разные слои каждого изображения, подлежащего демонстрации на терминале, отображаются на разные цветовые пространства согласно индивидуальному типу цветового пространства каждого слоя, в результате чего каждый слой выглядит так, как требуется. Например, для естественного слоя могут быть использованы более точные цвета, а для слоя пользовательского интерфейса могут быть использованы более яркие цвета, чем создается более благоприятное общее впечатление от демонстрируемого терминалом изображения.As a result, by obtaining at least one color space type label of at least one layer, determining at least one color space corresponding to the at least one layer based on the at least one color space type label, displaying at least one layer on at least one corresponding color space, and overlaying the specified at least one layer displayed on the specified at least one corresponding e color space, in order to form and output the image to be displayed, the color space display method proposed by this embodiment eliminates the disadvantage that some layers of the image to be displayed in the terminal do not look good when using one color space for demonstration all frames of the image, and makes it possible to obtain a technical result, consisting in the fact that the different layers of each image to be demonstrated on the term e, displayed on a different color space according to the individual type of color space of each layer, whereby each layer is as follows, as required. For example, more accurate colors can be used for the natural layer, and brighter colors can be used for the user interface layer, which creates a more favorable overall impression of the image displayed by the terminal.

Кроме того, путем выполнения отображения только для актуальной области демонстрации каждого слоя, способ отображения цветового пространства, предлагаемый данным вариантом осуществления, дает возможность снизить объем вычислений терминала и ускорить вычисления, выполняемые терминалом при отображении на цветовое пространство. В качестве одной из возможностей, для терминала также целесообразно выполнение отображения на цветовое пространство лишь для актуальной области демонстрации каждого слоя.In addition, by performing the display only for the actual demonstration area of each layer, the color space display method proposed by this embodiment makes it possible to reduce the amount of terminal calculations and speed up the calculations performed by the terminal when displayed on the color space. As one of the possibilities, it is also advisable for the terminal to display on the color space only for the current area of demonstration of each layer.

Варианты осуществления устройства, выполненного с возможностью реализации вариантов осуществления способа настоящего изобретения, представлены ниже. За подробностями, не раскрытыми при описании вариантов осуществления устройства настоящего изобретения, можно обратиться к вариантам осуществления способа настоящего изобретения.Embodiments of a device configured to implement embodiments of the method of the present invention are presented below. For details not disclosed in the description of embodiments of the device of the present invention, you can refer to the options for implementing the method of the present invention.

Фиг. 5 представляет собой функциональную схему, иллюстрирующую конструкцию устройства отображения цветового пространства в соответствии с примерным вариантом осуществления. Указанное устройство отображения цветового пространства может быть осуществлено посредством специализированных аппаратных схем и/ или сочетания программы и аппаратуры, в виде терминала или части терминала, выполненного с возможностью обработки изображений. Указанное устройство содержит модуль 520 получения, модуль 540 идентификации, модуль 560 отображения и модуль 580 демонстрации.FIG. 5 is a functional diagram illustrating a structure of a color space display device in accordance with an exemplary embodiment. The specified color space display device may be implemented using specialized hardware circuits and / or a combination of software and hardware, in the form of a terminal or part of a terminal, configured to process images. The specified device includes a receiving module 520, an identification module 540, a display module 560, and a demonstration module 580.

Модуль 520 получения выполнен с возможностью получения по меньшей мере одной метки типа цветового пространства по меньшей мере одного слоя, добавленной при формировании указанного слоя.The obtaining module 520 is configured to receive at least one label such as a color space of at least one layer added when forming said layer.

Модуль 540 идентификации выполнен с возможностью определения по меньшей мере одного цветового пространства, соответствующего указанному по меньшей мере одному слою, на основании указанной по меньшей мере одной метки типа цветового пространства.The identification module 540 is configured to determine at least one color space corresponding to the specified at least one layer based on the specified at least one color space type label.

Модуль 560 отображения выполнен с возможностью отображения указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство.The display module 560 is configured to map the at least one layer to at least one corresponding color space.

Модуль 580 демонстрации выполнен с возможностью наложения указанного по меньшей мере одного слоя, отображенного на указанное по меньшей мере одно соответствующее цветовое пространство, с целью формирования и вывода изображения, подлежащего демонстрации.The demonstration module 580 is configured to superimpose said at least one layer mapped onto said at least one corresponding color space in order to form and output an image to be demonstrated.

В возможном варианте осуществления модуль 560 отображения содержит: субмодуль получения, выполненный с возможностью получения порядка наложения указанного по меньшей мере одного слоя; субмодуль маркировки, выполненный с возможностью маркировки по меньшей мере одной соответствующей актуальной области демонстрации указанного по меньшей мере одного слоя в соответствии с указанным порядком наложения; и субмодуль отображения, выполненный с возможностью отображения по меньшей мере одной соответствующей актуальной области демонстрации указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство.In a possible embodiment, the display module 560 comprises: a receiving submodule, configured to obtain an overlay order of the at least one layer; a marking submodule configured to mark at least one corresponding actual display area of the at least one layer in accordance with the specified overlay order; and a display submodule configured to display at least one corresponding actual display area of said at least one layer on at least one corresponding color space.

В возможном варианте осуществления модуль 580 демонстрации выполнен с возможностью наложения указанного по меньшей мере одного слоя в соответствии с указанным порядком наложения с целью формирования изображения, подлежащего демонстрации, и с возможностью вывода указанного изображения, подлежащего демонстрации, на экран дисплея с целью демонстрации.In a possible embodiment, the demonstration module 580 is configured to overlay the specified at least one layer in accordance with the specified overlay order to form the image to be displayed, and to display the specified image to be displayed on the display screen for demonstration.

В возможном варианте осуществления модуль 520 получения выполнен с возможностью получения слоя, сформированного прикладной программой, и метки типа цветового пространства, соответствующей указанному слою, причем эта метка типа цветового пространства представляет собой метку, добавляемую при формировании указанного слоя указанной прикладной программой.In a possible embodiment, the obtaining module 520 is configured to receive a layer formed by the application program and a color space type label corresponding to the specified layer, moreover, this color space type label is a label added when the specified layer is formed by the specified application program.

В возможном варианте осуществления указанное устройство дополнительно содержит: модуль 510 проверки, выполненный с возможностью проверки выполнения условия запуска функции автоматического отображения цветового пространства; и модуль 520 получения, выполненный с возможностью приема метки типа цветового пространства слоя при выполнении указанного условия запуска.In a possible embodiment, said device further comprises: a verification module 510, configured to verify that the triggering condition for the automatic display of the color space is fulfilled; and a receiving unit 520, configured to receive a label such as the color space of the layer when the specified triggering condition is met.

Как результат, путем получения по меньшей мере одной метки типа цветового пространства по меньшей мере одного слоя, определения по меньшей мере одного цветового пространства, соответствующего указанному по меньшей мере одному слою, на основании указанной по меньшей мере одной метки типа цветового пространства, отображения указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство, и наложения указанного по меньшей мере одного слоя, отображенного на указанное по меньшей мере одно соответствующее цветовое пространство, с целью формирования и вывода изображения, подлежащего демонстрации, устройство отображения цветового пространства, предлагаемое данным вариантом осуществления, устраняет недостаток, состоящий в том, что некоторые слои изображения, подлежащего демонстрации в терминале, плохо выглядят при использовании одного цветового пространства для демонстрации всех кадров изображения, и дает возможность получить технический результат, состоящий в том, что разные слои каждого изображения, подлежащего демонстрации на терминале, отображаются на разные цветовые пространства согласно индивидуальному типу цветового пространства каждого слоя, в результате чего каждый слой выглядит так, как требуется. Например, для естественного слоя могут быть использованы более точные цвета, а для слоя пользовательского интерфейса могут быть использованы более яркие цвета, чем создается более благоприятное общее впечатление от демонстрируемого терминалом изображения.As a result, by obtaining at least one color space type label of at least one layer, determining at least one color space corresponding to the at least one layer based on the at least one color space type label, displaying at least one layer on at least one corresponding color space, and overlaying the specified at least one layer displayed on the specified at least one corresponding e color space, in order to form and output the image to be displayed, the color space display device proposed by this embodiment eliminates the disadvantage that some layers of the image to be displayed in the terminal do not look good when using one color space for demonstration all frames of the image, and makes it possible to obtain a technical result, consisting in the fact that the different layers of each image to be demonstrated on ter ynal, displayed on a different color space according to the individual type of color space of each layer, whereby each layer is as follows, as required. For example, more accurate colors can be used for the natural layer, and brighter colors can be used for the user interface layer, which creates a more favorable overall impression of the image displayed by the terminal.

Кроме того, путем выполнения отображения только для актуальной области демонстрации каждого слоя, устройство отображения цветового пространства, предлагаемое данным вариантом осуществления, дает возможность снизить объем вычислений терминала и ускорить вычисления, выполняемые терминалом при отображении на цветовое пространство. В качестве одной из возможностей, для терминала также целесообразно выполнение отображения на цветовое пространство лишь для актуальной области демонстрации каждого слоя.In addition, by performing the display only for the actual demonstration area of each layer, the color space display device proposed by this embodiment makes it possible to reduce the amount of terminal calculations and speed up the calculations performed by the terminal when displayed on the color space. As one of the possibilities, it is also advisable for the terminal to display on the color space only for the current area of demonstration of each layer.

Что касается устройства, рассмотренного в вышеприведенных вариантах осуществления, конкретные способы выполнения операций соответствующими модулями были подробно описаны в вариантах осуществления, относящихся к указанным способам, и здесь подробно рассматриваться не будут.As for the device described in the above embodiments, specific methods for performing operations by the respective modules have been described in detail in the embodiments related to these methods, and will not be discussed in detail here.

Примерный вариант осуществления настоящего изобретения предлагает устройство отображения цветового пространства, которое может реализовать способ отображения цветового пространства, предлагаемый настоящим изобретением. Указанное устройство отображения цветового пространства содержит: процессор; и память, хранящую команды, которые могут быть исполнены указанным процессором. Указанный процессор выполнен с возможностью: получения по меньшей мере одной метки типа цветового пространства по меньшей мере одного слоя, добавленной при формировании указанного слоя; определения по меньшей мере одного цветового пространства, соответствующего указанному по меньшей мере одному слою, на основании указанной по меньшей мере одной метки типа цветового пространства; отображения указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство; и наложения указанного по меньшей мере одного слоя, отображенного на указанное по меньшей мере одно соответствующее цветовое пространство, с целью формирования и вывода изображения, подлежащего демонстрации.An exemplary embodiment of the present invention provides a color space display device that can implement the color space display method of the present invention. The specified color space display device comprises: a processor; and memory storing instructions that can be executed by the specified processor. The specified processor is configured to: obtain at least one label such as a color space of at least one layer added when forming the specified layer; determining at least one color space corresponding to said at least one layer based on said at least one color space type label; mapping said at least one layer onto at least one corresponding color space; and overlaying said at least one layer mapped onto said at least one corresponding color space in order to form and output an image to be displayed.

Фиг. 6 представляет собой функциональную схему, иллюстрирующую устройство отображения на цветовое пространство в соответствии с примерным вариантом осуществления. Устройством 600 может быть, например, мобильный телефон, компьютер, цифровой радиотерминал, устройство обмена сообщениями, игровая консоль, планшет, медицинское устройство, оборудование для упражнений, персональный цифровой помощник и т.п.FIG. 6 is a functional diagram illustrating a color space display apparatus in accordance with an exemplary embodiment. The device 600 can be, for example, a mobile phone, a computer, a digital radio terminal, a messaging device, a game console, a tablet, a medical device, exercise equipment, a personal digital assistant, and the like.

Как показано на фиг. 6, устройство 600 может содержать один или более следующих компонентов: обрабатывающий компонент 602, память 604, питающий компонент 606, мультимедийный компонент 608, аудиокомпонент 610, интерфейс 612 ввода/ вывода, сенсорный компонент 614 и связной компонент 616.As shown in FIG. 6, device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input / output interface 612, a sensor component 614, and a connected component 616.

Обрабатывающий компонент 602, в основном, управляет работой устройства 600 в целом, например, операциями, связанными с отображением, телефонными вызовами, передачей данных, работой камеры и записью. Обрабатывающий компонент 602 может содержать один или более процессоров 620, выполненных с возможностью исполнения команд, предназначенных для выполнения всех или некоторых шагов вышеописанных способов. Кроме того, обрабатывающий компонент 602 может содержать один или более модулей, выполненных с возможностью обеспечения взаимодействия между обрабатывающим компонентом 602 и другими компонентами. Например, обрабатывающий компонент 602 может содержать мультимедийный модуль, выполненный с возможностью обеспечения взаимодействия между мультимедийным компонентом 608 и обрабатывающим компонентом 602.The processing component 602 mainly controls the operation of the device 600 as a whole, for example, operations related to display, telephone calls, data transfer, camera operation and recording. The processing component 602 may include one or more processors 620 configured to execute instructions for performing all or some of the steps of the above methods. In addition, the processing component 602 may include one or more modules configured to provide interaction between the processing component 602 and other components. For example, the processing component 602 may comprise a multimedia module configured to provide interaction between the multimedia component 608 and the processing component 602.

Память 604 выполнена с возможностью хранения данных различных типов с целью обеспечения выполнения операций на устройстве 600. В число примеров таких данных входят команды каких-либо прикладных программ или способов, выполняемых на устройстве 600, контактные данные, данные телефонной книги, сообщения, изображения, видеоданные и т.д. Память 604 может быть реализована с использованием любого типа постоянного или непостоянного запоминающего устройства или их сочетания, например, статического запоминающего устройства с произвольным доступом (Static Random-Access Memory, SRAM), электрически стираемого программируемого постоянного запоминающего устройства (Electrically Erasable Programmable Read-Only Memory, EEPROM), стираемого программируемого постоянного запоминающего устройства (Erasable Programmable Read-Only Memory, EPROM), программируемого постоянного запоминающего устройства (Programmable Read-Only Memory, PROM), постоянного запоминающего устройства (Read-Only Memory, ROM), магнитной памяти, флэш-памяти, магнитного диска или оптического диска.A memory 604 is configured to store various types of data in order to facilitate operations on the device 600. Examples of such data include commands from any application programs or methods running on the device 600, contact data, phone book data, messages, images, video data etc. Memory 604 may be implemented using any type of read-only or non-read-only memory or a combination thereof, for example, Static Random-Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory) , EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory a device (Read-Only Memory, ROM), magnetic memory, flash memory, magnetic disk or optical disk.

Питающий компонент 606 обеспечивает питанием различные компоненты устройства 600. Питающий компонент 606 может содержать систему управления питанием, один или несколько источников питания и другие компоненты, имеющие отношение к генерированию питания, управлению питанием и распределению питания в устройстве 600.Power component 606 provides power to various components of device 600. Power component 606 may include a power management system, one or more power supplies, and other components related to power generation, power management, and power distribution in device 600.

Мультимедийный компонент 608 содержит экран, реализующий интерфейс вывода между устройством 600 и пользователем. В некоторых вариантах осуществления изобретения этот экран может содержать жидкокристаллический дисплей (ЖКД) и сенсорную панель (СП). Если экран содержит сенсорную панель, то данный экран может быть реализован как сенсорный экран, выполненный с возможностью приема сигналов ввода от пользователя. Сенсорная панель содержит один или несколько сенсорных датчиков, выполненных с возможностью восприятия прикосновений, проводок и фигур движения на указанной сенсорной панели. Сенсорные датчики могут воспринимать не только границу области прикосновения или проводки, но также и период времени и давление, имеющие отношение к данному прикосновению или проводке. В некоторых вариантах осуществления изобретения мультимедийный компонент 608 содержит переднюю камеру и/ или заднюю камеру. Когда устройство 600 находится в рабочем режиме, например, в режиме фотосъемки или в режиме видеосъемки, передняя камера и/ или задняя камера могут получать извне мультимедийные данные. Как передняя камера, так и задняя камера может быть системой с ненастраиваемым объективом или может иметь техническую возможность фокусировки и оптической трансфокации.The multimedia component 608 includes a screen that implements an output interface between the device 600 and the user. In some embodiments of the invention, this screen may include a liquid crystal display (LCD) and a touch panel (SP). If the screen contains a touch panel, then this screen can be implemented as a touch screen, configured to receive input signals from the user. The touch panel contains one or more touch sensors configured to sense touches, wiring, and motion patterns on said touch panel. Touch sensors can perceive not only the boundary of the touch or wiring area, but also the time period and pressure related to that touch or wiring. In some embodiments, the multimedia component 608 comprises a front camera and / or a rear camera. When the device 600 is in an operating mode, for example, in a photography mode or a video shooting mode, the front camera and / or the rear camera can receive multimedia data from outside. Both the front camera and the rear camera may be a system with a non-adjustable lens or may have the technical ability to focus and optical zoom.

Аудиокомпонент 610 выполнен с возможностью вывода и/ или приема аудиосигналов. Например, аудиокомпонент 610 содержит a микрофон (MIC), выполненный с возможностью приема внешнего аудиосигнала, когда устройство 600 находится в рабочем режиме, например, в режиме вызова, в режиме записи и в режиме распознавания голоса. Принятый аудиосигнал может быть затем сохранен в памяти 604 или передан посредством связного компонента 616. В некоторых вариантах осуществления изобретения аудиокомпонент 610 дополнительно содержит акустический излучатель, выполненный с возможностью вывода аудиосигналов.The audio component 610 is configured to output and / or receive audio signals. For example, audio component 610 comprises a microphone (MIC) configured to receive an external audio signal when device 600 is in an operational mode, for example, in a call mode, a recording mode, and a voice recognition mode. The received audio signal may then be stored in the memory 604 or transmitted via the communication component 616. In some embodiments of the invention, the audio component 610 further comprises an acoustic emitter configured to output audio signals.

Интерфейс 612 ввода/ вывода обеспечивает взаимосвязь между обрабатывающим компонентом 602 и периферийными интерфейсными модулями, например, клавиатурой, чувствительным к нажатию колесиком, кнопками и т.п. В число указанных кнопок могут входить кнопка возврата в исходное состояние, кнопка регулировки громкости, кнопка запуска и кнопка блокировки, но приведенный перечень не является ограничивающим.An I / O interface 612 provides a relationship between the processing component 602 and peripheral interface modules, such as a keypad, pressure-sensitive wheel, buttons, and the like. These buttons may include a reset button, a volume button, a start button, and a lock button, but the list is not limiting.

Сенсорный компонент 614 содержит один или более датчиков для предоставления информации о состояниях различных аспектов устройства 600. Например, сенсорный компонент 614 может определять открытое/ закрытое состояние устройства 600, относительное расположение компонентов, например, дисплея и клавиатуры, устройства 600, изменение положения устройства 600 или компонента устройства 600, наличие или отсутствие контакта между пользователем и устройством 600, ориентацию или ускорение/ замедление устройства 600, изменение температуры устройства 600. Сенсорный компонент 614 может содержать датчик приближения, выполненный с возможностью обнаружения присутствия близко расположенных объектов при отсутствии какого-либо физического контакта. Сенсорный компонент 614 также может содержать датчик света, например, датчик изображения типа КМОП (комплементарные структуры металл-оксид-полупроводник) или ПЗС (прибор с зарядовой связью) для использования в прикладных программах получения изображений. В некоторых вариантах осуществления изобретения сенсорный компонент 614 также может содержать акселерометрический датчик, гироскопический датчик, магнитный датчик, датчик давления или температурный датчик.The sensor component 614 contains one or more sensors for providing information about the states of various aspects of the device 600. For example, the sensor component 614 can determine the open / closed state of the device 600, the relative position of components, such as a display and keyboard, the device 600, the position of the device 600 or component of device 600, presence or absence of contact between the user and device 600, orientation or acceleration / deceleration of device 600, change in temperature of device 600. Sensor the first component 614 may comprise a proximity sensor adapted to detect the presence of nearby objects in the absence of any physical contact. The sensor component 614 may also include a light sensor, for example, a CMOS image sensor (complementary metal-oxide-semiconductor structures) or a CCD (charge coupled device) for use in image acquisition applications. In some embodiments, the sensor component 614 may also include an accelerometer sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

Связной компонент 616 выполнен с возможностью осуществления проводной или беспроводной связи между устройством 600 и другими устройствами. Устройство 600 выполнено с возможностью осуществления доступа к беспроводной сети с использованием некоторого стандарта связи, например, WiFi, 2G, 3G или их сочетания. В одном предлагаемом в качестве примера варианте осуществления связной компонент 616 принимает широковещательный сигнал или широковещательно передаваемую соответствующую информацию из внешней системы управления, использующей широковещательную передачу, через широковещательный канал. В одном предлагаемом в качестве примера варианте осуществления связной компонент 616 дополнительно содержит модуль беспроводной связи ближнего радиуса действия (Near Field Communication, NFC) для осуществления связи на небольших расстояниях. Этот модуль ближней связи может быть реализован, например, на основе технологии радиочастотной идентификации (Radio-frequency Identification, RFID), инфракрасной передачи данных (Infrared Data Association, IrDA), сверхширокополосной технологии (Ultra Wide Band, UWB), технологии Bluetooth (BT) и других технологий.The communication component 616 is configured to provide wired or wireless communication between the device 600 and other devices. The device 600 is configured to access a wireless network using some communication standard, such as WiFi, 2G, 3G, or a combination thereof. In one exemplary embodiment, the connected component 616 receives a broadcast signal or broadcast corresponding information from an external control system using broadcast transmission through a broadcast channel. In one exemplary embodiment, communications component 616 further comprises a Near Field Communication (NFC) wireless communications module for communicating over short distances. This short-range communication module can be implemented, for example, based on Radio-frequency Identification (RFID) technology, Infrared Data Association (IrDA), Ultra Wide Band (UWB), Bluetooth (BT) technology and other technologies.

В примерных вариантах осуществления устройство 600 с целью реализации вышеописанных способов отображения цветового пространства может быть осуществлено с использованием одной или более специализированных интегральных схем (Application Specific Integrated Circuit, ASIC), цифровых сигнальных процессоров (Digital Signal Processor, DSP), цифровых устройств обработки сигнала (Digital Signal Processing Device, DSPD), программируемых логических устройств (Programmable Logic Devices, PLD), программируемых матриц логических элементов (Field Programmable Gate Array, FPGA), контроллеров, микроконтроллеров, микропроцессоров или других электронных компонентов. In exemplary embodiments, a device 600 for implementing the above color space display methods may be implemented using one or more specialized integrated circuits (Application Specific Integrated Circuit, ASIC), digital signal processors (Digital Signal Processor, DSP), digital signal processing devices ( Digital Signal Processing Device (DSPD), programmable logic devices (PLD), programmable logic element arrays (Field Programmable Gate Array, FPGA), controllers, microcontrollers, microprocessors or other electronic components.

В примерных вариантах осуществления также предусмотрен долговременный машиночитаемый носитель информации, содержащий команды, например, занесенные в память 604, которые могут быть исполнены процессором 618 устройства 600 для реализации описанных выше способов. Этим долговременным машиночитаемым носителем информации может быть, например, постоянное запоминающее устройство (ПЗУ), оперативное запоминающее устройство (ОЗУ), диск CD-ROM, магнитная лента, гибкий магнитный диск, оптическое запоминающее устройство и т.п.In exemplary embodiments, a long-term computer-readable storage medium is also provided comprising instructions, for example, stored in memory 604, which may be executed by processor 618 of device 600 to implement the methods described above. This long-term machine-readable storage medium may be, for example, read-only memory (ROM), random access memory (RAM), CD-ROM, magnetic tape, flexible magnetic disk, optical storage device, etc.

Из рассмотрения настоящего описания и практического использования раскрытого здесь изобретения специалисту в данной области техники должны стать очевидными другие варианты осуществления настоящего изобретения. Настоящая патентная заявка подразумевает охват всех разновидностей, видов использования или адаптаций настоящего изобретения, следующих из его общих принципов, и содержит подобные отклонения от настоящего изобретения, полагая их относящимися к известной или общепринятой практике в данной области техники. Предполагается, что настоящее раскрытие и примеры должны рассматриваться лишь в качестве иллюстрации, а подлинный объем и сущность настоящего изобретения указываются прилагаемой формулой изобретения.From consideration of the present description and the practical use of the invention disclosed herein, other embodiments of the present invention will become apparent to those skilled in the art. The present patent application is intended to cover all varieties, uses or adaptations of the present invention resulting from its general principles, and contains similar deviations from the present invention, considering them to be well-known or generally accepted practice in the art. It is intended that the present disclosure and examples be considered as illustrative only, and the true scope and spirit of the present invention are indicated by the appended claims.

Должно быть понятно, что настоящее изобретение не ограничено конкретной конструкцией, описанной выше и показанной на сопровождающих чертежах, и что без выхода за пределы объема настоящего изобретения могут быть сделаны различные модификации и изменения. Предполагается, что объем настоящего изобретения ограничен только прилагаемой формулой изобретения.It should be understood that the present invention is not limited to the specific construction described above and shown in the accompanying drawings, and that various modifications and changes can be made without departing from the scope of the present invention. It is intended that the scope of the present invention be limited only by the appended claims.

Claims (40)

1. Способ отображения на цветовое пространство изображения, включающего ряд наложенных друг на друга слоев, содержащий:1. A method of displaying on a color space an image comprising a series of superposed layers, comprising: получение по меньшей мере одной метки типа цветового пространства по меньшей мере одного слоя из числа указанных слоев, добавленной при формировании указанного слоя;obtaining at least one label of the type of color space of at least one layer from among these layers, added during the formation of the specified layer; определение по меньшей мере одного цветового пространства, соответствующего указанному по меньшей мере одному слою, на основании указанной по меньшей мере одной метки типа цветового пространства;determining at least one color space corresponding to said at least one layer based on said at least one color space type label; отображение указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство; иmapping said at least one layer to at least one corresponding color space; and наложение указанного по меньшей мере одного слоя, отображенного на указанное по меньшей мере одно соответствующее цветовое пространство, на один или более других слоев с целью формирования и вывода изображения, подлежащего демонстрации,superimposing said at least one layer mapped onto said at least one corresponding color space onto one or more other layers in order to form and output an image to be displayed, при этом отображение указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство содержит:wherein the mapping of said at least one layer to at least one corresponding color space comprises: получение порядка наложения указанного по меньшей мере одного слоя;obtaining the blending order of the specified at least one layer; маркировку по меньшей мере одной соответствующей актуальной области демонстрации указанного по меньшей мере одного слоя в соответствии с указанным порядком наложения, причем актуальная область демонстрации указывает область указанного по меньшей мере одного слоя, которая будет в итоге видна в демонстрируемом отображении; иmarking at least one corresponding actual display area of the specified at least one layer in accordance with the specified overlay order, the actual display area indicating the area of the specified at least one layer, which will ultimately be visible in the displayed display; and отображение по меньшей мере одной соответствующей актуальной области демонстрации указанного по меньшей мере одного слоя на указанное по меньшей мере одно соответствующее цветовое пространство.mapping at least one corresponding actual area of the demonstration of the specified at least one layer on the specified at least one corresponding color space. 2. Способ по п. 1, в котором наложение по меньшей мере одного слоя, отображенного на указанное по меньшей мере одно соответствующее цветовое пространство, с целью формирования и вывода изображения, подлежащего демонстрации, содержит:2. The method according to p. 1, in which the overlay of at least one layer mapped to the specified at least one corresponding color space, with the aim of forming and displaying the image to be demonstrated, contains: наложение указанного по меньшей мере одного слоя в соответствии с указанным порядком наложения с целью формирования изображения, подлежащего демонстрации; иoverlaying said at least one layer in accordance with said overlay order to form an image to be displayed; and вывод изображения, подлежащего демонстрации, на экран дисплея с целью демонстрации.displaying the image to be displayed on a display screen for demonstration purposes. 3. Способ по любому из пп. 1-2, в котором получение метки типа цветового пространства указанного слоя, добавленной при формировании указанного слоя, содержит получение слоя, сформированного прикладной программой, и метки типа цветового пространства, соответствующей указанному слою, добавленной при формировании указанного слоя указанной прикладной программой.3. The method according to any one of paragraphs. 1-2, in which obtaining a label such as the color space of the specified layer added when forming the specified layer, includes receiving a layer formed by the application program, and a label of the type of color space corresponding to the specified layer, added when forming the specified layer by the specified application. 4. Способ по любому из пп. 1-2, дополнительно содержащий проверку выполнения условия запуска функции автоматического отображения цветового пространства, причем получение указанной метки типа цветового пространства указанного слоя выполняется в том случае, если указанное условие запуска выполнено.4. The method according to any one of paragraphs. 1-2, additionally containing a check of the fulfillment of the launch condition of the automatic display function of the color space, and obtaining the specified label type of color space of the specified layer is performed if the specified start condition is fulfilled. 5. Устройство отображения на цветовое пространство изображения, включающего ряд наложенных друг на друга слоев, содержащее:5. A display device on the color space of the image, including a series of superimposed layers, containing: модуль получения, выполненный с возможностью получения по меньшей мере одной метки типа цветового пространства по меньшей мере одного слоя из числа указанных слоев, добавленной при формировании указанного слоя;a receiving module, configured to receive at least one label such as a color space of at least one layer from among these layers, added when forming the specified layer; модуль идентификации, выполненный с возможностью определения по меньшей мере одного цветового пространства, соответствующего указанному по меньшей мере одному слою, на основании указанной по меньшей мере одной метки типа цветового пространства;an identification module configured to determine at least one color space corresponding to the at least one layer based on the at least one color space type label; модуль отображения, выполненный с возможностью отображения указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство; иa display module, configured to display the specified at least one layer on at least one corresponding color space; and модуль демонстрации, выполненный с возможностью наложения указанного по меньшей мере одного слоя, отображенного на указанное по меньшей мере одно соответствующее цветовое пространство, на один или более других слоев с целью формирования и вывода изображения, подлежащего демонстрации,a demonstration module, configured to superimpose said at least one layer mapped onto said at least one corresponding color space onto one or more other layers in order to form and output an image to be displayed, при этом модуль отображения содержит:wherein the display module contains: субмодуль получения, выполненный с возможностью получения порядка наложения указанного по меньшей мере одного слоя;a submodule for receiving, configured to obtain the order of application of the specified at least one layer; субмодуль маркировки, выполненный с возможностью маркировки по меньшей мере одной соответствующей актуальной области демонстрации указанного по меньшей мере одного слоя в соответствии с указанным порядком наложения, причем актуальная область демонстрации указывает область указанного по меньшей мере одного слоя, которая будет в итоге видна в демонстрируемом изображении; иa marking submodule configured to mark at least one corresponding actual display area of the at least one layer in accordance with the specified stacking order, the current display area indicating the area of the at least one layer that will eventually be visible in the displayed image; and субмодуль отображения, выполненный с возможностью отображения по меньшей мере одной соответствующей актуальной области демонстрации указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство.a display submodule adapted to display at least one corresponding actual display area of said at least one layer on at least one corresponding color space. 6. Устройство по п. 5, в котором модуль демонстрации выполнен с возможностью:6. The device according to claim 5, in which the demonstration module is configured to: наложения указанного по меньшей мере одного слоя в соответствии с указанным порядком наложения с целью формирования изображения, подлежащего демонстрации; иapplying the specified at least one layer in accordance with the specified order of application with the aim of forming an image to be demonstrated; and вывода указанного изображения, подлежащего демонстрации, на экран дисплея с целью демонстрации.displaying the specified image to be displayed on a display screen for demonstration purposes. 7. Устройство по любому из пп. 5-6, в котором модуль получения выполнен с возможностью получения слоя, сформированного прикладной программой, и метки типа цветового пространства, соответствующей указанному слою, добавленной при формировании указанного слоя указанной прикладной программой.7. The device according to any one of paragraphs. 5-6, in which the acquisition module is configured to receive a layer formed by the application program and a label such as a color space corresponding to the specified layer added when the specified layer is formed by the specified application program. 8. Устройство по любому из пп. 5-6, дополнительно содержащее модуль проверки, выполненный с возможностью проверки выполнения условия запуска функции автоматического отображения на цветовое пространство, при этом модуль получения выполнен с возможностью получения метки типа цветового пространства указанного слоя лишь при выполнении указанного условия запуска.8. The device according to any one of paragraphs. 5-6, further comprising a verification module configured to verify that the launch condition of the automatic mapping function to the color space is satisfied, while the receiving module is configured to receive a label such as the color space of the specified layer only when the specified launch condition is satisfied. 9. Устройство отображения на цветовое пространство изображения, включающего ряд наложенных друг на друга слоев, содержащее:9. A display device on the color space of the image, including a series of superimposed layers, containing: процессор; иCPU; and память, хранящую команды, исполняемые указанным процессором,memory storing instructions executed by the specified processor, причем указанный процессор выполнен с возможностью:wherein said processor is configured to: получения по меньшей мере одной метки типа цветового пространства по меньшей мере одного слоя из числа указанных слоев, добавленной при формировании указанного слоя;obtaining at least one label of the type of color space of at least one layer from among these layers added to form the specified layer; определения по меньшей мере одного цветового пространства, соответствующего указанному по меньшей мере одному слою, на основании указанной по меньшей мере одной метки типа цветового пространства;determining at least one color space corresponding to said at least one layer based on said at least one color space type label; отображения указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство; иmapping said at least one layer onto at least one corresponding color space; and наложения указанного по меньшей мере одного слоя, отображенного на указанное по меньшей мере одно соответствующее цветовое пространство, на один или более других слоев с целью формирования и вывода изображения, подлежащего демонстрации,overlaying the specified at least one layer displayed on the specified at least one corresponding color space on one or more other layers in order to form and display the image to be demonstrated, при этом при отображении указанного по меньшей мере одного слоя на по меньшей мере одно соответствующее цветовое пространство процессор дополнительно выполнен с возможностью:however, when displaying the specified at least one layer on at least one corresponding color space, the processor is further configured to: получения порядка наложения указанного по меньшей мере одного слоя;obtaining the order of application of the specified at least one layer; маркировки по меньшей мере одной соответствующей актуальной области демонстрации указанного по меньшей мере одного слоя в соответствии с указанным порядком наложения, причем актуальная область демонстрации указывает область указанного по меньшей мере одного слоя, которая будет в итоге видна в демонстрируемом отображении; иmarking at least one corresponding actual area of the demonstration of the specified at least one layer in accordance with the specified order of overlap, and the actual area of the demonstration indicates the area of the specified at least one layer, which will ultimately be visible in the displayed display; and отображения по меньшей мере одной соответствующей актуальной области демонстрации указанного по меньшей мере одного слоя на указанное по меньшей мере одно соответствующее цветовое пространство.displaying at least one corresponding actual area of the demonstration of the specified at least one layer on the specified at least one corresponding color space.
RU2017121651A 2016-08-16 2016-12-19 Color space displaying method and device RU2671763C1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201610677001.9 2016-08-16
CN201610677001.9A CN107767838B (en) 2016-08-16 2016-08-16 Color gamut mapping method and device
PCT/CN2016/110861 WO2018032674A1 (en) 2016-08-16 2016-12-19 Color gamut mapping method and device

Publications (1)

Publication Number Publication Date
RU2671763C1 true RU2671763C1 (en) 2018-11-06

Family

ID=59631661

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2017121651A RU2671763C1 (en) 2016-08-16 2016-12-19 Color space displaying method and device

Country Status (7)

Country Link
US (1) US10325569B2 (en)
EP (1) EP3285474B1 (en)
JP (1) JP6564859B2 (en)
KR (1) KR102189189B1 (en)
CN (1) CN107767838B (en)
RU (1) RU2671763C1 (en)
WO (1) WO2018032674A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019199061A1 (en) 2018-04-10 2019-10-17 주식회사 엘지화학 Decorative member
CN110378974B (en) * 2019-07-17 2021-09-14 Oppo广东移动通信有限公司 Picture processing method and device, mobile terminal and storage medium
CN114067739B (en) * 2020-07-31 2024-02-06 北京小米移动软件有限公司 Color gamut mapping method and device, electronic equipment and storage medium
CN114866752B (en) * 2022-06-01 2023-10-27 青岛海信激光显示股份有限公司 Laser projection display method, three-color laser projection apparatus, and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100119149A1 (en) * 2008-11-12 2010-05-13 Samsung Electronics Co., Ltd. Image processing apparatus and method of enhancing depth perception
WO2015076616A1 (en) * 2013-11-21 2015-05-28 엘지전자 주식회사 Signal transceiving apparatus and signal transceiving method
US20150304665A1 (en) * 2014-01-07 2015-10-22 Nokia Corporation Method and apparatus for video coding and decoding
RU2589871C2 (en) * 2011-04-28 2016-07-10 Конинклейке Филипс Н.В. Device and methods for encoding and decoding hdr images

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4531356B2 (en) * 2003-06-26 2010-08-25 株式会社メガチップス Image display device and image display switching method
US7646391B1 (en) * 2004-04-30 2010-01-12 Apple Inc. Systems and methods for color managing content elements on a display device
KR100814079B1 (en) * 2007-05-28 2008-03-14 주식회사 모비더스 Method for converting html file to flash image
US20100011914A1 (en) * 2008-07-16 2010-01-21 Chang Ming-Chi Hand tool
CN102156999B (en) 2010-02-11 2015-06-10 腾讯科技(深圳)有限公司 Generation method and device thereof for user interface
TWI521973B (en) 2011-04-15 2016-02-11 杜比實驗室特許公司 Encoding, decoding, and representing high dynamic range images
EP2887634B1 (en) * 2013-12-23 2018-09-19 Thomson Licensing Method of mapping source colors from a source color gamut into a target color gamut
US10257964B2 (en) 2014-07-28 2019-04-09 International Business Machines Corporation Reducing condensation risk within liquid cooled computers
CN105141806B (en) * 2015-07-28 2019-03-01 小米科技有限责任公司 The display methods and device of image file
CN105118026A (en) * 2015-07-28 2015-12-02 小米科技有限责任公司 Color gamut mode switching method and device
CN105261326A (en) * 2015-10-09 2016-01-20 惠州Tcl移动通信有限公司 Display device for adjusting display color gamut and method for adjusting display color gamut

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100119149A1 (en) * 2008-11-12 2010-05-13 Samsung Electronics Co., Ltd. Image processing apparatus and method of enhancing depth perception
RU2589871C2 (en) * 2011-04-28 2016-07-10 Конинклейке Филипс Н.В. Device and methods for encoding and decoding hdr images
WO2015076616A1 (en) * 2013-11-21 2015-05-28 엘지전자 주식회사 Signal transceiving apparatus and signal transceiving method
US20150304665A1 (en) * 2014-01-07 2015-10-22 Nokia Corporation Method and apparatus for video coding and decoding

Also Published As

Publication number Publication date
WO2018032674A1 (en) 2018-02-22
KR20180132095A (en) 2018-12-11
KR102189189B1 (en) 2020-12-09
EP3285474B1 (en) 2021-05-05
JP2018537870A (en) 2018-12-20
CN107767838A (en) 2018-03-06
CN107767838B (en) 2020-06-02
US10325569B2 (en) 2019-06-18
JP6564859B2 (en) 2019-08-21
US20180052337A1 (en) 2018-02-22
EP3285474A1 (en) 2018-02-21

Similar Documents

Publication Publication Date Title
US11315336B2 (en) Method and device for editing virtual scene, and non-transitory computer-readable storage medium
EP3672262A1 (en) Operation method, device, apparatus and storage medium of playing video
CN109191549B (en) Method and device for displaying animation
CN110597510B (en) Dynamic layout method and device for interface
RU2671763C1 (en) Color space displaying method and device
CN106339224B (en) Readability enhancing method and device
WO2017114048A1 (en) Mobile terminal and method for identifying contact
CN110609649B (en) Interface display method, device and storage medium
CN105183755B (en) A kind of display methods and device of picture
RU2635243C2 (en) Method and device for displaying pages, electronic device
CN111338743B (en) Interface processing method and device and storage medium
US10204403B2 (en) Method, device and medium for enhancing saturation
CN113409427A (en) Animation playing method and device, electronic equipment and computer readable storage medium
CN112866557A (en) Composition recommendation method and electronic device
EP4358501A1 (en) Wallpaper display method, electronic device and storage medium
CN110992268B (en) Background setting method, device, terminal and storage medium
US10827156B2 (en) Light filling method and apparatus for photographing environment, and computer-readable storage medium
WO2018036526A1 (en) Display method and device
CN111835977B (en) Image sensor, image generation method and device, electronic device, and storage medium
CN112799557B (en) Ink screen display control method, terminal and computer readable storage medium
EP3273437A1 (en) Method and device for enhancing readability of a display
CN114155336A (en) Virtual object display method and device, electronic equipment and storage medium
CN114495864B (en) Screen refresh rate adjusting method, electronic device and readable storage medium
WO2022206783A1 (en) Photography method and apparatus, and electronic device and readable storage medium
CN116708931A (en) Image processing method and electronic equipment