CN105635792A - Function menu adjusting method and device - Google Patents

Function menu adjusting method and device Download PDF

Info

Publication number
CN105635792A
CN105635792A CN201511025748.8A CN201511025748A CN105635792A CN 105635792 A CN105635792 A CN 105635792A CN 201511025748 A CN201511025748 A CN 201511025748A CN 105635792 A CN105635792 A CN 105635792A
Authority
CN
China
Prior art keywords
value
pixel
function menu
region
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201511025748.8A
Other languages
Chinese (zh)
Other versions
CN105635792B (en
Inventor
王云华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201511025748.8A priority Critical patent/CN105635792B/en
Publication of CN105635792A publication Critical patent/CN105635792A/en
Priority to PCT/CN2016/084501 priority patent/WO2017113595A1/en
Application granted granted Critical
Publication of CN105635792B publication Critical patent/CN105635792B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4314Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4856End-user interface for client configuration for language selection, e.g. for the menu or subtitles

Abstract

The invention discloses a function menu adjusting method. The adjusting method comprises steps of when detecting that there is a function menu display command, determining whether an HDR high dynamic range mode is opened at present; if the HDR high dynamic range mode is opened, dividing a present frame into equal regions in the horizontal direction and in the vertical direction; judging frame types of all regions; and when all regions are dark frame regions, solving an average value of pixel values corresponding to all pixel points in the dark frame regions so as to obtain a first average value, and adjusting background pixel values of function menus corresponding to the dark frame regions into first average values. The invention also discloses a function menu adjusting device. Thus, a problem is solved that function menus are covered by program details of HDR black frames caused by too low transparent degree of the function menus.

Description

Function menu inflation method and device
Technical field
The present invention relates to field of video processing, particularly relate to a kind of function menu inflation method and device.
Background technology
Along with the development of intelligent television, the requirement of intelligent television image quality is more and more higher, FHD (FullHighDefinit-ion, full HD) or the development of higher resolution technique also more and more ripe, and HDR (High-DynamicRange, high dynamic range images) technology allows again the image quality of intelligent television enter new boundary, although the texture that the appearance of HDR technology allows user watch picture improves, but, when HDR program is play, transparent excessively low due to function menu itself, the program details of HDR black picture is caused to be covered by function menu, user cannot see details.
Summary of the invention
The main purpose of the present invention is to propose a kind of function menu inflation method, it is intended to solves the transparent excessively low of function menu, causes the technical problem that the program details of HDR black picture is covered by function menu.
For achieving the above object, a kind of function menu inflation method provided by the invention, described function menu inflation method comprises the following steps:
When detecting function menu display order, it is determined that currently whether open HDR high dynamic range mode;
If opening HDR high dynamic range mode, then current picture in the horizontal direction and is divided into each impartial region on vertical direction;
Judge the picture type in each region;
When each region is all dark picture area, seeks the mean value of the pixel value that each pixel is corresponding in each dark picture area, obtain the first mean value, and the background pixel value of function menu corresponding for each dark picture area is adjusted to described first mean value.
Preferably, described when detecting function menu display order, it is determined that the step currently whether opening HDR high dynamic range mode comprises:
When detecting function menu display order, obtain the order value that the display order of described function menu is corresponding;
Determine the display format of current picture, and the format value that the display format obtaining current picture is corresponding;
Described order value and described format value are carried out logic and operation;
The value that logic and operation obtains is carried out according to described order value and described format value, determine currently whether open HDR high dynamic range mode, wherein, described order value and described format value carry out the value that logic and operation obtains when being preset value, it is determined that current open HDR high dynamic range mode.
Preferably, the step of the picture type in described each region of judgement comprises:
Obtain each pixel in each region;
The yield value of each pixel in each region and preset gain value are compared;
When the yield value of pixel and the ratio of preset gain value are less than the first default ratio, determine that described pixel is dark picture pixel point, and when in same region, the ratio of the number of the total pixel of number and described region of dark picture pixel point is greater than the 2nd default ratio, it is determined that described region is dark picture area;
When the yield value of pixel and the ratio of preset gain value are greater than the first default ratio, determine that described pixel is bright picture pixel point, and when in same region, the ratio of the number of the total pixel of number and described region of bright picture pixel point is greater than the 2nd default ratio, it is determined that described region is bright picture area.
Preferably, after the step of the picture type in described each region of judgement, described function menu inflation method also comprises:
When there is dark picture area and bright picture area when each region, seek the mean value of the pixel value that each pixel in dark picture area is corresponding, obtain the first mean value, and the background pixel value of function menu corresponding for dark picture area is adjusted to described first mean value;
Seek the mean value of the pixel value that each pixel in bright picture area is corresponding, obtain the 2nd mean value, and the font pixel value of function menu corresponding for bright picture area is adjusted to described 2nd mean value.
Preferably, the described mean value seeking pixel value that each pixel in bright picture area is corresponding, obtain the 2nd mean value, and after the font pixel value of function menu corresponding for bright picture area is adjusted to the step of described 2nd mean value, described function menu inflation method also comprises:
Obtain function menu layer, in described function menu layer Overlapping display adjust after function menu background and function menu font.
, for achieving the above object, in addition the present invention also proposes a kind of function menu setting device, and institute's function menu setting device comprises:
Determination module, for when detecting function menu display order, it is determined that currently whether open HDR high dynamic range mode;
Divide module, if for opening HDR high dynamic range mode, then current picture in the horizontal direction and is divided into each impartial region on vertical direction;
Judge module, for judging the picture type in each region;
First processing module, for when each region is all dark picture area, seek the mean value of the pixel value that each pixel is corresponding in each dark picture area, obtain the first mean value, and the background pixel value of function menu corresponding for each dark picture area is adjusted to described first mean value.
Preferably, described determination module comprises:
First acquiring unit, for when detecting function menu display order, obtaining the order value that the display order of described function menu is corresponding;
First determining unit, for determining the display format of current picture;
Described first acquiring unit, also for format value that to obtain the display format of current picture corresponding;
Computing unit, for carrying out logic and operation by described order value and described format value;
Described first determining unit, also for carrying out, according to described order value and described format value, the value that logic and operation obtains, determine currently whether open HDR high dynamic range mode, wherein, described order value and described format value carry out the value that logic and operation obtains when being preset value, it is determined that current open HDR high dynamic range mode.
Preferably, described judgement module comprises:
2nd acquiring unit, for each pixel obtained in each region;
Relatively unit, for comparing the yield value of each pixel in each region and preset gain value;
2nd determining unit, for when the ratio of the yield value of pixel and preset gain value is less than the first default ratio, determine that described pixel is dark picture pixel point, and when in same region, the ratio of the number of the total pixel of number and described region of dark picture pixel point is greater than the 2nd default ratio, it is determined that described region is dark picture area;
3rd determining unit, for when the ratio of the yield value of pixel and preset gain value is greater than the first default ratio, determine that described pixel is bright picture pixel point, and when in same region, the ratio of the number of the total pixel of number and described region of bright picture pixel point is greater than the 2nd default ratio, it is determined that described region is bright picture area.
Preferably, described first processing module, time also for there is dark picture area and bright picture area when each region, seek the mean value of the pixel value that each pixel in dark picture area is corresponding, obtain the first mean value, and the background pixel value of function menu corresponding for dark picture area is adjusted to described first mean value;
Described function menu setting device also comprises:
2nd processing module, for seeking the mean value of pixel value that each pixel in bright picture area is corresponding, obtains the 2nd mean value, and the font pixel value of function menu corresponding for bright picture area is adjusted to described 2nd mean value.
Preferably, described function menu setting device also comprises:
Acquisition module, for obtaining function menu layer;
Display module, for the function menu background after the adjustment of Overlapping display in described function menu layer and function menu font.
The function menu inflation method that the present invention proposes and device, when detecting function menu display order, determine currently whether open HDR high dynamic range mode, if opening HDR high dynamic range mode, then current picture in the horizontal direction and is divided into each impartial region on vertical direction, and judge the picture type in each region, when each region is all dark picture area, seek the mean value of the pixel value that each pixel is corresponding in each dark picture area, obtain the first mean value, and the background pixel value of function menu corresponding for each dark picture area is adjusted to described first mean value, when achieving the broadcasting of HDR program, the background pixel value of function menu is consistent with the pixel average of current picture dark areas, and the program details of HDR black picture can not be covered because of transparent minuent excessively.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of function menu inflation method first embodiment of the present invention;
Fig. 2 is the schematic flow sheet that the present invention determines currently whether to open the better embodiment of HDR high dynamic range mode;
Fig. 3 is the schematic flow sheet that the present invention judges the better embodiment of the picture type in each region;
Fig. 4 is the schematic flow sheet of function menu inflation method the 4th embodiment of the present invention;
Fig. 5 is the schematic flow sheet of function menu inflation method the 5th embodiment of the present invention;
Fig. 6 is the high-level schematic functional block diagram of function menu setting device first embodiment of the present invention;
Fig. 7 is the refinement high-level schematic functional block diagram of determination module in Fig. 6;
Fig. 8 is the refinement high-level schematic functional block diagram judging module in Fig. 6;
Fig. 9 is the high-level schematic functional block diagram of function menu setting device the 4th embodiment of the present invention;
Figure 10 is the high-level schematic functional block diagram of function menu setting device the 5th embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
It is to be understood that specific embodiment described herein is only in order to explain the present invention, it is not intended to limit the present invention.
The present invention provides a kind of function menu inflation method.
With reference to the schematic flow sheet that Fig. 1, Fig. 1 are function menu inflation method first embodiment of the present invention.
The present embodiment proposes a kind of function menu inflation method, and described function menu inflation method comprises:
Step S10, when detecting function menu display order, it is determined that currently whether open HDR high dynamic range mode;
In the present embodiment, the triggering mode of described function menu display order is: terminal is at HDMI (HighDefinitionMultimediaInterface, high-definition multimedia interface) under broadcasting pattern, terminal is detecting that user touches mouse or telepilot, trigger function menu display order, when detecting function menu display order, order value corresponding for function menu display order is stored into default storage zone as in storage zone 11, such as: 0x01 represents that detecting function menu display orders, and 0x02 represents that not receiving function menu display orders. So, detecting function menu display order, the order value illustrated in current storage zone 11 is 0x01, so, determine currently whether open HDR high dynamic range mode further, it is preferable to the mark value in storage zone 22 is preset value, during such as 1, current unlatching HDR high dynamic range mode.
Step S20, if opening HDR high dynamic range mode, then in the horizontal direction and is divided into each impartial region by current picture on vertical direction;
In the present embodiment, if opening HDR high dynamic range mode, then current picture in the horizontal direction and is divided into each impartial region on vertical direction, in the present embodiment, preferably obtain the center line on current picture center line in the horizontal direction and vertical direction, by the center line in horizontal direction and the center line on vertical direction, current picture is carried out the division on horizontal direction and vertical direction, to be divided into four impartial regions.
Step S30, judges the picture type in each region;
In the present embodiment, when current picture is divided into each region of equalization, judging the picture type in each region, described picture type comprises dark picture area and bright picture area.
Step S40, when each region is all dark picture area, seek the mean value of the pixel value that each pixel is corresponding in each dark picture area, obtain the first mean value, and the background pixel value of function menu corresponding for each dark picture area is adjusted to described first mean value.
In each region ready-portioned, when each region is all dark picture area, obtain each dark picture area, and obtain each pixel in each dark picture area, described pixel comprises red Rgain, green Ggain, blue Bgain pixel, then ask described red, green, the mean value of the pixel value of blue pixel, obtain the first mean value, can learn, the corresponding color value of described first mean value, then described first mean value is stored in default storage zone 33, further, background pixel value current for the function menu of reading is stored in default storage zone 44 by terminal, finally background pixel value current for function menu is set as the first mean value that storage zone 33 stores.
The function menu inflation method that the present embodiment proposes, when detecting function menu display order, determine currently whether open HDR high dynamic range mode, if opening HDR high dynamic range mode, then current picture in the horizontal direction and is divided into each impartial region on vertical direction, and judge the picture type in each region, when each region is all dark picture area, seek the mean value of the pixel value that each pixel is corresponding in each dark picture area, obtain the first mean value, and the background pixel value of function menu corresponding for each dark picture area is adjusted to described first mean value, when achieving the broadcasting of HDR program, the background pixel value of function menu is consistent with the pixel average of current picture dark areas, and the program details of HDR black picture can not be covered because of transparent minuent excessively.
Further, in order to improve the handiness of function menu adjustment, proposing the 2nd embodiment of function menu inflation method of the present invention based on the first embodiment, in the present embodiment, with reference to Fig. 2, described step S10 comprises:
Step S11, when detecting function menu display order, obtains the order value that the display order of described function menu is corresponding;
Step S12, it is determined that the display format of current picture, and the format value that the display format obtaining current picture is corresponding;
Step S13, carries out logic and operation by described order value and described format value;
Step S14, the value that logic and operation obtains is carried out according to described order value and described format value, determine currently whether open HDR high dynamic range mode, wherein, described order value and described format value carry out the value that logic and operation obtains when being preset value, it is determined that current open HDR high dynamic range mode.
In the present embodiment, when detecting function menu display order, obtain the order value that the display order of described function menu is corresponding, according to the first embodiment, current order value is 0x01, determine the display format of current picture again, described display format comprises HDR format picture and non-HDR format picture, equally, the format value of HDR format picture is set to 0x01, the format value of non-HDR format picture is set to 0x00, so, obtain format value 0x01 or 0x00 that the display format of current picture is corresponding, described order value and described format value are carried out logic and operation, also it is exactly that the format value 0x01 that order is worth 0x01 and HDR format picture carries out logic and operation, the value obtained is 1, equally, the format value 0x00 that order is worth 0x01 and non-HDR format picture carries out logic and operation, the value obtained is 0, finally, when to carry out value that logic and operation obtains be 1 for described order value and described format value, determine currently to open HDR high dynamic range mode, when to carry out value that logic and operation obtains be 0 for described order value and described format value, determine currently to close HDR high dynamic range mode, it is understandable that, described preset value is arranged according to particular case, such as order value be 0x01, the format value of HDR format picture is set to 0x00, the format value of non-HDR format picture is set to 0x01, now, the format value 0x00 that order is worth 0x01 and HDR format picture carries out logic and operation, the value obtained is 0, equally, the format value 0x01 that order is worth 0x01 and non-HDR format picture carries out logic and operation, and the value obtained is 1, it is seen that, when to carry out value that logic and operation obtains be 0 for described order value and described format value, it is determined that current open HDR high dynamic range mode.
Further, in order to improve the handiness of function menu adjustment, proposing the 3rd embodiment of function menu inflation method of the present invention based on the first embodiment, in the present embodiment, with reference to Fig. 3, described step S30 comprises:
Step S31, obtains each pixel in each region;
Step S32, compares the yield value of each pixel in each region and preset gain value;
Step S33, when the yield value of pixel and the ratio of preset gain value are less than the first default ratio, determine that described pixel is dark picture pixel point, and when in same region, the ratio of the number of the total pixel of number and described region of dark picture pixel point is greater than the 2nd default ratio, it is determined that described region is dark picture area.
Step S34, when the yield value of pixel and the ratio of preset gain value are greater than the first default ratio, determine that described pixel is bright picture pixel point, and when in same region, the ratio of the number of the total pixel of number and described region of bright picture pixel point is greater than the 2nd default ratio, it is determined that described region is bright picture area.
In the present embodiment, obtain each pixel in each region, described pixel comprises red Rgain, green Ggain, blue Bgain pixel, calculate the yield value of each pixel again, it is understandable that, what red pixel point was corresponding is red gain value, what green pixel point was corresponding is green gain value, what blue pixel point was corresponding is blue gain value, then the yield value that each pixel is corresponding with each pixel is compared, also exactly red pixel point and red gain value are compared, green pixel point and green gain value compare, blue pixel point and blue gain value compare, if the ratio of the yield value and preset gain value that there is pixel is less than first presets ratio, when preferably the described first default ratio is 1/2, determine that described pixel is dark picture pixel point, namely when the yield value of red pixel point and the ratio of red gain value are less than 1/2, this red pixel is dark picture pixel point, otherwise, when the yield value of red pixel point and the ratio of red gain value are greater than 1/2, this red pixel is bright picture pixel point, green pixel point is consistent with red pixel point with the determination mode of blue pixel point, now no longer go to live in the household of one's in-laws on getting married and tell. obtaining after each pixel is dark picture pixel point or bright picture pixel point, the ratio of statistics number of the total pixel of number and described region of dark picture pixel point in same region, or in same region the ratio of the number of the total pixel of number and described region of bright picture pixel point, preferably in same region, the ratio of the number of the total pixel of number and described region of dark picture pixel point is greater than the 2nd default ratio, when preferably the described 2nd default ratio is 1/2, determine that described region is dark picture area, with reason, when in same region, the ratio of the number of the total pixel of number and described region of bright picture pixel point is greater than 1/2, determine that described region is bright picture area.
Further, in order to improve the handiness of function menu adjustment, the 4th embodiment of function menu inflation method of the present invention is proposed based on first, second or the 3rd embodiment, in the present embodiment, with reference to Fig. 4, after described step S30, described function menu inflation method also comprises:
Step S40, when there is dark picture area and bright picture area when each region, seek the mean value of the pixel value that each pixel in dark picture area is corresponding, obtain the first mean value, and the background pixel value of function menu corresponding for dark picture area is adjusted to described first mean value;
Step S50, seeks the mean value of the pixel value that each pixel in bright picture area is corresponding, obtains the 2nd mean value, and the font pixel value of function menu corresponding for bright picture area is adjusted to described 2nd mean value.
In the present embodiment, each region and be not all dark picture area, likely comprise bright picture area, namely there is the ratio of the number of the total pixel of number and described region of bright picture pixel point in region to be greater than the 2nd and preset ratio such as 1/2, now, seek the mean value of the pixel value that each pixel in dark picture area is corresponding, obtain the first mean value, namely ask in dark picture area each red, green, the mean value of blue pixel pixel value, obtain the first mean value, then described first mean value is stored in default storage zone 33, then background pixel value current for the function menu of reading is stored in default storage zone 44, finally background pixel value current for function menu is set as the first mean value that storage zone 33 stores. then, seek the mean value of the pixel value that each pixel in bright picture area is corresponding, namely the mean value of red, green, blue pixel pixel value in bright picture area is sought, obtain the 2nd mean value, then described 2nd mean value is stored in default storage zone 55, further, font pixel value current for the function menu of reading is stored in default storage zone 66, finally font pixel value current for function menu is set as the 2nd mean value that storage zone 55 stores.
Further, in order to improve the handiness of function menu adjustment, proposing the 5th embodiment of function menu inflation method of the present invention based on the 4th embodiment, in the present embodiment, with reference to Fig. 5, after described step S50, described function menu inflation method also comprises:
Step S60, obtain function menu layer, in described function menu layer Overlapping display adjust after function menu background and function menu font.
In the present embodiment, obtain function menu layer, and in described function menu layer Overlapping display adjust after function menu background and function menu font, the dark picture function menu background page is mixed automatically with bright picture function menu font color, and output on display screen, by described function menu layer so that function menu is displayed in different canvas sheet from HDR programme content, and it it is Overlapping display.
The present invention further provides a kind of function menu setting device.
With reference to the high-level schematic functional block diagram that Fig. 6, Fig. 6 are function menu setting device first embodiment of the present invention.
It is emphasized that, to one skilled in the art, functional block diagram shown in Fig. 6 is only the exemplary plot of a better embodiment, and the technician of this area, around the function module of the function menu setting device shown in Fig. 6, can carry out supplementing of new function module easily; The title of each function module is self-defined title, only for auxiliary each program functional block understanding this function menu setting device, being not used in the technical scheme limiting the present invention, the core of technical solution of the present invention is, the function that the function module of each self-defined title to be reached.
The present embodiment proposes a kind of function menu setting device, and described function menu setting device comprises:
Determination module 10, for when detecting function menu display order, it is determined that currently whether open HDR high dynamic range mode;
In the present embodiment, the triggering mode of described function menu display order is: at HDMI (HighDefinitionMultimediaInterface, high-definition multimedia interface) under broadcasting pattern, if detecting, user touches mouse or telepilot, trigger function menu display order, when detecting function menu display order, order value corresponding for function menu display order is stored into default storage zone as in storage zone 11, such as: 0x01 represents that detecting function menu display orders, and 0x02 represents that not receiving function menu display orders. So, detecting function menu display order, the order value illustrated in current storage zone 11 is 0x01, so, described determination module 10 determines currently whether open HDR high dynamic range mode further, it is preferable to when the mark value in storage zone 22 is 1, current unlatching HDR high dynamic range mode.
Divide module 20, if for opening HDR high dynamic range mode, then current picture in the horizontal direction and is divided into each impartial region on vertical direction;
In the present embodiment, if opening HDR high dynamic range mode, then current picture in the horizontal direction and is divided into each impartial region by described division module 20 on vertical direction, in the present embodiment, preferably obtain the center line on current picture center line in the horizontal direction and vertical direction, current picture is carried out the division on horizontal direction and vertical direction by the center line in horizontal direction and the center line on vertical direction by described division module 20, to be divided into four impartial regions.
Judge module 30, for judging the picture type in each region;
In the present embodiment, when current picture is divided into each region of equalization, described judgement module 30 judges the picture type in each region, and described picture type comprises dark picture area and bright picture area.
First processing module 40, for when each region is all dark picture area, seek the mean value of the pixel value that each pixel is corresponding in each dark picture area, obtain the first mean value, and the background pixel value of function menu corresponding for each dark picture area is adjusted to described first mean value.
In each region ready-portioned, when each region is all dark picture area, described first processing module 40 obtains each dark picture area, and obtain each pixel in each dark picture area, described pixel comprises red Rgain, green Ggain, blue Bgain pixel, then ask described red, green, the mean value of the pixel value of blue pixel, obtain the first mean value, can learn, the corresponding color value of described first mean value, then described first mean value is stored in default storage zone 33, further, background pixel value current for the function menu of reading is stored in default storage zone 44 by described first processing module 40, finally background pixel value current for function menu is set as the first mean value that storage zone 33 stores.
The function menu setting device that the present embodiment proposes, when detecting function menu display order, determine currently whether open HDR high dynamic range mode, if opening HDR high dynamic range mode, then current picture in the horizontal direction and is divided into each impartial region on vertical direction, and judge the picture type in each region, when each region is all dark picture area, seek the mean value of the pixel value that each pixel is corresponding in each dark picture area, obtain the first mean value, and the background pixel value of function menu corresponding for each dark picture area is adjusted to described first mean value, when achieving the broadcasting of HDR program, the background pixel value of function menu is consistent with the pixel average of current picture dark areas, and the program details of HDR black picture can not be covered because of transparent minuent excessively.
Further, in order to improve the handiness of function menu adjustment, proposing the 2nd embodiment of function menu setting device of the present invention based on the first embodiment, in the present embodiment, with reference to Fig. 7, described determination module 10 comprises:
First acquiring unit 11, for when detecting function menu display order, obtaining the order value that the display order of described function menu is corresponding;
First determining unit 12, for determining the display format of current picture;
Described first acquiring unit 11, also for format value that to obtain the display format of current picture corresponding;
Computing unit 13, for carrying out logic and operation by described order value and described format value;
Described first determining unit 12, also for carrying out, according to described order value and described format value, the value that logic and operation obtains, determine currently whether open HDR high dynamic range mode, wherein, described order value and described format value carry out the value that logic and operation obtains when being preset value, it is determined that current open HDR high dynamic range mode.
In the present embodiment, when detecting function menu display order, described first acquiring unit 11 obtains order value corresponding to described function menu display order, according to the first embodiment, current order value is 0x01, described first determining unit 12 determines the display format of current picture, described display format comprises HDR format picture and non-HDR format picture, equally, the format value of HDR format picture is set to 0x01, the format value of non-HDR format picture is set to 0x00, so, described first acquiring unit 11 is in format value 0x01 or 0x00 corresponding to display format obtaining current picture, described order value and described format value are carried out logic and operation by described computing unit 13, also it is exactly that the format value 0x01 that order is worth 0x01 and HDR format picture carries out logic and operation, the value obtained is 1, equally, the format value 0x00 that order is worth 0x01 and non-HDR format picture carries out logic and operation, the value obtained is 0, finally, when to carry out value that logic and operation obtains be 1 for described order value and described format value, described first determining unit 12 determines currently to open HDR high dynamic range mode, when to carry out value that logic and operation obtains be 0 for described order value and described format value, determine currently to close HDR high dynamic range mode, it is understandable that, described preset value is arranged according to particular case, such as order value be 0x01, the format value of HDR format picture is set to 0x00, the format value of non-HDR format picture is set to 0x01, now, the format value 0x00 that order is worth 0x01 and HDR format picture carries out logic and operation, the value obtained is 0, equally, the format value 0x01 that order is worth 0x01 and non-HDR format picture carries out logic and operation, and the value obtained is 1, it is seen that, when to carry out value that logic and operation obtains be 0 for described order value and described format value, it is determined that current open HDR high dynamic range mode.
Further, in order to improve the handiness of function menu adjustment, proposing the 3rd embodiment of function menu setting device of the present invention based on the first embodiment, in the present embodiment, with reference to Fig. 8, described judgement module 30 comprises:
2nd acquiring unit 31, for each pixel obtained in each region;
Relatively unit 32, for comparing the yield value of each pixel in each region and preset gain value;
2nd determining unit 33, for when the ratio of the yield value of pixel and preset gain value is less than the first default ratio, determine that described pixel is dark picture pixel point, and the ratio that the number of dark picture pixel point accounts for the number of the total pixel in described region in same region is greater than the 2nd when presetting ratio, it is determined that described region is dark picture area.
3rd determining unit 34, for when the ratio of the yield value of pixel and preset gain value is greater than the first default ratio, determine that described pixel is bright picture pixel point, and when in same region, the ratio of the number of the total pixel of number and described region of bright picture pixel point is greater than the 2nd default ratio, it is determined that described region is bright picture area.
In the present embodiment, described 2nd acquiring unit 31 obtains each pixel in each region, described pixel comprises red Rgain, green Ggain, blue Bgain pixel, calculate the yield value of each pixel again, it is understandable that, what red pixel point was corresponding is red gain value, what green pixel point was corresponding is green gain value, what blue pixel point was corresponding is blue gain value, then the yield value that each pixel is corresponding with each pixel is compared by the described unit 32 that compares, also exactly red pixel point and red gain value are compared, green pixel point and green gain value compare, blue pixel point and blue gain value compare, if the ratio of the yield value and preset gain value that there is pixel is less than first presets ratio, when preferably the described first default ratio is 1/2, described 2nd determining unit 33 determines that described pixel is dark picture pixel point, namely when the yield value of red pixel point and the ratio of red gain value are less than 1/2, this red pixel is dark picture pixel point, otherwise, when the yield value of red pixel point and the ratio of red gain value are greater than 1/2, described 3rd determining unit 34 determines that this red pixel is bright picture pixel point, green pixel point is consistent with red pixel point with the determination mode of blue pixel point, now no longer go to live in the household of one's in-laws on getting married and tell. obtaining after each pixel is dark picture pixel point or bright picture pixel point, the ratio of statistics number of the total pixel of number and described region of dark picture pixel point in same region, or in same region the ratio of the number of the total pixel of number and described region of bright picture pixel point, preferably in same region, the ratio of the number of the total pixel of number and described region of dark picture pixel point is greater than the 2nd default ratio, when preferably the described 2nd default ratio is 1/2, described 2nd determining unit 33 determines that described region is dark picture area, with reason, when in same region, the ratio of the number of the total pixel of number and described region of bright picture pixel point is greater than 1/2, described 3rd determining unit 34 determines that described region is bright picture area.
Further, in order to improve the handiness of function menu adjustment, proposing the 4th embodiment of function menu setting device of the present invention based on first, second or the 3rd embodiment, in the present embodiment, with reference to Fig. 9, described function menu setting device also comprises:
Described first processing module 40, time also for there is dark picture area and bright picture area when each region, seek the mean value of the pixel value that each pixel in dark picture area is corresponding, obtain the first mean value, and the background pixel value of function menu corresponding for dark picture area is adjusted to described first mean value;
2nd processing module 50, for seeking the mean value of pixel value that each pixel in bright picture area is corresponding, obtains the 2nd mean value, and the font pixel value of function menu corresponding for bright picture area is adjusted to described 2nd mean value.
In the present embodiment, each region and be not all dark picture area, likely comprise bright picture area, namely there is the ratio of the number of the total pixel of number and described region of bright picture pixel point in region to be greater than the 2nd and preset ratio such as 1/2, now, described first processing module 40 seeks the mean value of the pixel value that each pixel in dark picture area is corresponding, obtain the first mean value, namely ask in dark picture area each red, green, the mean value of blue pixel pixel value, obtain the first mean value, obtain the first mean value, then described first mean value is stored in default storage zone 33, then background pixel value current for the function menu of reading is stored in default storage zone 44, finally background pixel value current for function menu is set as the first mean value that storage zone 33 stores. then, described 2nd processing module 50 seeks the mean value of the pixel value that each pixel in bright picture area is corresponding, namely the mean value of red, green, blue pixel pixel value in bright picture area is sought, obtain the 2nd mean value, then described 2nd mean value is stored in default storage zone 55, further, font pixel value current for the function menu of reading is stored in default storage zone 66, finally font pixel value current for function menu is set as the 2nd mean value that storage zone 55 stores.
Further, in order to improve the handiness of function menu adjustment, proposing the 5th embodiment of function menu setting device of the present invention based on the 4th embodiment, in the present embodiment, with reference to Figure 10, described function menu setting device also comprises:
Acquisition module 60, for obtaining function menu layer;
Display module 70, for the function menu background after the adjustment of Overlapping display in described function menu layer and function menu font.
In the present embodiment, described acquisition module 60 obtains function menu layer, described display module 70 in described function menu layer Overlapping display adjust after function menu background and function menu font, the dark picture function menu background page is mixed automatically with bright picture function menu font color, and output on display screen, by described function menu layer so that function menu is displayed in different canvas sheet from HDR programme content, and it it is Overlapping display.
It should be noted that, herein, term " comprises ", " comprising " or its other variant any are intended to contain comprising of nonexcludability, so that comprise the process of a series of key element, method, article or device not only comprise those key elements, but also comprise other key element clearly do not listed, or also comprise the key element intrinsic for this kind of process, method, article or device. When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
Above-mentioned embodiment of the present invention sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, the technician of this area can be well understood to above-described embodiment method and can realize by the mode that software adds required general hardware platform, hardware can certainly be passed through, but in a lot of situation, the former is better enforcement mode. Based on such understanding, the technical scheme of the present invention in essence or says that part prior art contributed can embody with the form of software product, this computer software product is stored in a storage media (such as ROM/RAM, magnetic disc, CD), comprise some instructions with so that a station terminal equipment (can be mobile phone, computer, server, conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the patent scope of the present invention is limited; every utilize specification sheets of the present invention and accompanying drawing content to do equivalent structure or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical field, all it is included in the scope of patent protection of the present invention with reason.

Claims (10)

1. a function menu inflation method, it is characterised in that, described function menu inflation method comprises the following steps:
When detecting function menu display order, it is determined that currently whether open HDR high dynamic range mode;
If opening HDR high dynamic range mode, then current picture in the horizontal direction and is divided into each impartial region on vertical direction;
Judge the picture type in each region;
When each region is all dark picture area, seeks the mean value of the pixel value that each pixel is corresponding in each dark picture area, obtain the first mean value, and the background pixel value of function menu corresponding for each dark picture area is adjusted to described first mean value.
2. function menu inflation method as claimed in claim 1, it is characterised in that, described when detecting function menu display order, it is determined that the step currently whether opening HDR high dynamic range mode comprises:
When detecting function menu display order, obtain the order value that the display order of described function menu is corresponding;
Determine the display format of current picture, and the format value that the display format obtaining current picture is corresponding;
Described order value and described format value are carried out logic and operation;
The value that logic and operation obtains is carried out according to described order value and described format value, determine currently whether open HDR high dynamic range mode, wherein, described order value and described format value carry out the value that logic and operation obtains when being preset value, it is determined that current open HDR high dynamic range mode.
3. function menu inflation method according to claim 1, it is characterised in that, the step of the picture type in described each region of judgement comprises:
Obtain each pixel in each region;
The yield value of each pixel in each region and preset gain value are compared;
When the yield value of pixel and the ratio of preset gain value are less than the first default ratio, determine that described pixel is dark picture pixel point, and when in same region, the ratio of the number of the total pixel of number and described region of dark picture pixel point is greater than the 2nd default ratio, it is determined that described region is dark picture area;
When the yield value of pixel and the ratio of preset gain value are greater than the first default ratio, determine that described pixel is bright picture pixel point, and when in same region, the ratio of the number of the total pixel of number and described region of bright picture pixel point is greater than the 2nd default ratio, it is determined that described region is bright picture area.
4. function menu inflation method as described in item as arbitrary in claim 1-3, it is characterised in that, after the step of the picture type in described each region of judgement, described function menu inflation method also comprises:
When there is dark picture area and bright picture area when each region, seek the mean value of the pixel value that each pixel in dark picture area is corresponding, obtain the first mean value, and the background pixel value of function menu corresponding for dark picture area is adjusted to described first mean value;
Seek the mean value of the pixel value that each pixel in bright picture area is corresponding, obtain the 2nd mean value, and the font pixel value of function menu corresponding for bright picture area is adjusted to described 2nd mean value.
5. function menu inflation method as claimed in claim 4, it is characterized in that, the described mean value seeking pixel value that each pixel in bright picture area is corresponding, obtain the 2nd mean value, and after the font pixel value of function menu corresponding for bright picture area is adjusted to the step of described 2nd mean value, described function menu inflation method also comprises:
Obtain function menu layer, in described function menu layer Overlapping display adjust after function menu background and function menu font.
6. a function menu setting device, it is characterised in that, described function menu setting device comprises:
Determination module, for when detecting function menu display order, it is determined that currently whether open HDR high dynamic range mode;
Divide module, if for opening HDR high dynamic range mode, then current picture in the horizontal direction and is divided into each impartial region on vertical direction;
Judge module, for judging the picture type in each region;
First processing module, for when each region is all dark picture area, seek the mean value of the pixel value that each pixel is corresponding in each dark picture area, obtain the first mean value, and the background pixel value of function menu corresponding for each dark picture area is adjusted to described first mean value.
7. function menu setting device as claimed in claim 6, it is characterised in that, described determination module comprises:
First acquiring unit, for when detecting function menu display order, obtaining the order value that the display order of described function menu is corresponding;
First determining unit, for determining the display format of current picture;
Described first acquiring unit, also for format value that to obtain the display format of current picture corresponding;
Computing unit, for carrying out logic and operation by described order value and described format value;
Described first determining unit, also for carrying out, according to described order value and described format value, the value that logic and operation obtains, determine currently whether open HDR high dynamic range mode, wherein, described order value and described format value carry out the value that logic and operation obtains when being preset value, it is determined that current open HDR high dynamic range mode.
8. function menu setting device according to claim 6, it is characterised in that, described judgement module comprises:
2nd acquiring unit, for each pixel obtained in each region;
Relatively unit, for comparing the yield value of each pixel in each region and preset gain value;
2nd determining unit, for when the ratio of the yield value of pixel and preset gain value is less than the first default ratio, determine that described pixel is dark picture pixel point, and when in same region, the ratio of the number of the total pixel of number and described region of dark picture pixel point is greater than the 2nd default ratio, it is determined that described region is dark picture area;
3rd determining unit, for when the ratio of the yield value of pixel and preset gain value is greater than the first default ratio, determine that described pixel is bright picture pixel point, and when in same region, the ratio of the number of the total pixel of number and described region of bright picture pixel point is greater than the 2nd default ratio, it is determined that described region is bright picture area.
9. function menu setting device as described in item as arbitrary in claim 6-8, it is characterized in that, described first processing module, time also for there is dark picture area and bright picture area when each region, seek the mean value of the pixel value that each pixel in dark picture area is corresponding, obtain the first mean value, and the background pixel value of function menu corresponding for dark picture area is adjusted to described first mean value;
Described function menu setting device also comprises:
2nd processing module, for seeking the mean value of pixel value that each pixel in bright picture area is corresponding, obtains the 2nd mean value, and the font pixel value of function menu corresponding for bright picture area is adjusted to described 2nd mean value.
10. function menu setting device as claimed in claim 9, it is characterised in that, described function menu setting device also comprises:
Acquisition module, for obtaining function menu layer;
Display module, for the function menu background after the adjustment of Overlapping display in described function menu layer and function menu font.
CN201511025748.8A 2015-12-30 2015-12-30 Function menu method of adjustment and device Active CN105635792B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201511025748.8A CN105635792B (en) 2015-12-30 2015-12-30 Function menu method of adjustment and device
PCT/CN2016/084501 WO2017113595A1 (en) 2015-12-30 2016-06-02 Method and device for adjusting function menu

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511025748.8A CN105635792B (en) 2015-12-30 2015-12-30 Function menu method of adjustment and device

Publications (2)

Publication Number Publication Date
CN105635792A true CN105635792A (en) 2016-06-01
CN105635792B CN105635792B (en) 2018-12-07

Family

ID=56050213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511025748.8A Active CN105635792B (en) 2015-12-30 2015-12-30 Function menu method of adjustment and device

Country Status (2)

Country Link
CN (1) CN105635792B (en)
WO (1) WO2017113595A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210852A (en) * 2016-07-07 2016-12-07 青岛海信电器股份有限公司 A kind of terminal static map layer information detecting method and terminal
WO2017113595A1 (en) * 2015-12-30 2017-07-06 深圳Tcl数字技术有限公司 Method and device for adjusting function menu

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333548B (en) * 2020-09-22 2023-12-05 深圳Tcl新技术有限公司 Smart television menu hiding method, smart television and computer storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060114165A (en) * 2005-04-29 2006-11-06 엘지전자 주식회사 Apparatus and method for differential controlling screen brightness
CN1870127A (en) * 2005-05-26 2006-11-29 明基电通股份有限公司 Display device and method for regulating display parameter according to image content
EP2076031A1 (en) * 2007-12-28 2009-07-01 Vestel Elektronik Sanayi ve Ticaret A.S. Dynamic-colored user menu for display systems
CN101477792A (en) * 2009-01-21 2009-07-08 深圳华为通信技术有限公司 Method for displaying overlapped pattern on the background picture and display apparatus thereof
CN101753912A (en) * 2008-12-22 2010-06-23 康佳集团股份有限公司 Method and device for displaying picture of embedded set top box
CN102075715A (en) * 2009-11-25 2011-05-25 深圳Tcl新技术有限公司 Television for dynamically adjusting color of function menu and implementation method thereof
CN103731608A (en) * 2013-12-27 2014-04-16 深圳英飞拓科技股份有限公司 Character superimposition display method capable of supporting multiple colors and automatic color inverting
CN104918098A (en) * 2015-06-10 2015-09-16 福州瑞芯微电子有限公司 Automatic color matching method, system and device in video playing interface
CN105120369A (en) * 2015-07-30 2015-12-02 深圳Tcl数字技术有限公司 Menu background color processing method and apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024300B (en) * 2012-12-25 2015-11-25 华为技术有限公司 A kind of method for high dynamic range image display and device
CN105635792B (en) * 2015-12-30 2018-12-07 深圳Tcl数字技术有限公司 Function menu method of adjustment and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060114165A (en) * 2005-04-29 2006-11-06 엘지전자 주식회사 Apparatus and method for differential controlling screen brightness
CN1870127A (en) * 2005-05-26 2006-11-29 明基电通股份有限公司 Display device and method for regulating display parameter according to image content
EP2076031A1 (en) * 2007-12-28 2009-07-01 Vestel Elektronik Sanayi ve Ticaret A.S. Dynamic-colored user menu for display systems
CN101753912A (en) * 2008-12-22 2010-06-23 康佳集团股份有限公司 Method and device for displaying picture of embedded set top box
CN101477792A (en) * 2009-01-21 2009-07-08 深圳华为通信技术有限公司 Method for displaying overlapped pattern on the background picture and display apparatus thereof
CN102075715A (en) * 2009-11-25 2011-05-25 深圳Tcl新技术有限公司 Television for dynamically adjusting color of function menu and implementation method thereof
CN103731608A (en) * 2013-12-27 2014-04-16 深圳英飞拓科技股份有限公司 Character superimposition display method capable of supporting multiple colors and automatic color inverting
CN104918098A (en) * 2015-06-10 2015-09-16 福州瑞芯微电子有限公司 Automatic color matching method, system and device in video playing interface
CN105120369A (en) * 2015-07-30 2015-12-02 深圳Tcl数字技术有限公司 Menu background color processing method and apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017113595A1 (en) * 2015-12-30 2017-07-06 深圳Tcl数字技术有限公司 Method and device for adjusting function menu
CN106210852A (en) * 2016-07-07 2016-12-07 青岛海信电器股份有限公司 A kind of terminal static map layer information detecting method and terminal
US10237454B2 (en) 2016-07-07 2019-03-19 Hisense Electric Co., Ltd. Method for detecting terminal static layer information, terminal and television
CN106210852B (en) * 2016-07-07 2019-06-28 青岛海信电器股份有限公司 A kind of terminal static state figure layer information detecting method and terminal

Also Published As

Publication number Publication date
CN105635792B (en) 2018-12-07
WO2017113595A1 (en) 2017-07-06

Similar Documents

Publication Publication Date Title
CN101404148B (en) Method for regulating terminal screen display effect and terminal unit
CN102957934B (en) Display processing method, device and display device
CN108810649A (en) Picture quality regulation method, intelligent TV set and storage medium
CN109658427B (en) Image processing method and device
CN100377576C (en) Apparatus for digital video processing and method thereof
CN113766341A (en) Television image quality adjusting method, device and system and television equipment
CN102752604B (en) Image display method and intelligent device
CN104994374B (en) Method for automatically detecting three-dimensional format of video
CN105635792A (en) Function menu adjusting method and device
CN111064942B (en) Image processing method and apparatus
CN108391111A (en) Image definition adjusting method, display device and computer readable storage medium
CN103763537A (en) Method and device for dynamically regulating display image quality
KR20140128377A (en) Image hue determination method and wireless handheld device
CN104836968A (en) Information processing method and electronic device
CN104363502A (en) Method and device for protecting OSD (on-screen display) pictures
CN105979370B (en) A kind of method and device configuring image model
CN102254544B (en) Method for automatically adjusting video signal proportion and television using same
CN112383820A (en) Method for identifying horizontal and vertical screens of screen projection equipment, storage medium and terminal equipment
KR101985880B1 (en) Display device and control method thereof
EP3975043A1 (en) Image processing method, terminal, and storage medium
CN105959727A (en) Video processing method and device
CN101252642A (en) Television set imaging method
US20140078340A1 (en) White balancing method and image capturing device
CN110490838A (en) The method and device of display panel different resolution zone boundary processing
CN105472255A (en) Video play control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant