CN105100895A - Video and screen resolution matching method and device with no video resolution information - Google Patents
Video and screen resolution matching method and device with no video resolution information Download PDFInfo
- Publication number
- CN105100895A CN105100895A CN201410190673.8A CN201410190673A CN105100895A CN 105100895 A CN105100895 A CN 105100895A CN 201410190673 A CN201410190673 A CN 201410190673A CN 105100895 A CN105100895 A CN 105100895A
- Authority
- CN
- China
- Prior art keywords
- resolution
- video
- screen
- input signal
- signal source
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000013011 mating Effects 0.000 claims description 12
- 239000000284 extract Substances 0.000 claims description 10
- 230000009286 beneficial effect Effects 0.000 abstract description 6
- 239000003086 colorant Substances 0.000 description 20
- 238000010586 diagram Methods 0.000 description 4
- 230000003321 amplification Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Controls And Circuits For Display Device (AREA)
- Transforming Electric Information Into Light Information (AREA)
Abstract
The invention discloses a video and screen resolution matching method and device with no video resolution information. According to the embodiment of the invention, employing a pixel number in a gamma table corresponding to a television display screen to calculate and obtain the resolution of the television display screen; receiving input signals inputted by a signal source to the television; extracting corresponding video frames from the input signals, and obtaining video resolution corresponding to the video frames; obtaining a difference degree between the video resolution and the screen resolution according to the screen resolution and the video resolution, and enabling a signal source corresponding to the video resolution with the minimum difference degree to serve as a matched signal source matched with the television display screen. The method and device has the beneficial effects that the method and device can recognize the signal source equipment with the best matching degree with the screen resolution of the television screen, and improve the recognition efficiency and the intelligence of the television.
Description
Technical field
The present invention relates to intelligent television field, particularly relate to a kind of without the video of video resolution information and the matching process of screen resolution and device.
Background technology
At present, DVD (DigitalVersatileDisc, digital versatile disc) etc. be all accompanied with video resolution information in the video that transmits of professional video information source, when above-mentioned professional video information source transmission of video information is to intelligent TV set, intelligent TV set just can play above-mentioned video information according to video resolution entrained in the video information of transmission.
And along with constantly popularizing of intelligent terminal and enriching constantly of function, user just can carry out video record whenever and wherever possible easily by mobile devices such as mobile phone, panel computer or cameras, but does not usually attach video resolution information by the recorded video that the said equipment obtains, when when the video content in the said equipment is roughly the same, video resolution is different, during the information source of the equipment corresponding to video that user wants to select wherein picture result of broadcast the best in current had television set (the screen resolution matching degree of the video resolution namely play and TV machine is best) from above-mentioned mobile device as television set, the video on each equipment is often needed to pilot on TV, by manually comparing the most satisfied equipment effect information source of rear selection, this mode of operation is very not intelligent and waste time and energy, treatment effeciency is also very low simultaneously.
Summary of the invention
In view of above content, be necessary to provide a kind of without the video of video resolution information and the matching process of screen resolution and device, be intended to reach television set and can automatically identify the object with the source device of this television screen resolution match degree the best.
The embodiment of the invention discloses a kind of without the video of video resolution information and the matching process of screen resolution, comprise the following steps:
Pixel count in the gamma form utilizing television display screen corresponding, calculates the screen resolution obtaining described television display screen;
Receive the input signal that each signal source inputs to described television set, from each described input signal, extract corresponding frame of video respectively, obtain the video resolution that described frame of video is corresponding;
According to described screen resolution and video resolution, obtain the diversity factor between each described video resolution and screen resolution, using signal source corresponding for described video resolution minimum for diversity factor as the matched signal source of mating with described television display screen.
Preferably, the diversity factor between each described video resolution of described acquisition and screen resolution comprises:
Calculate described screen resolution and distinguish corresponding resolution difference, using described resolution difference as the diversity factor between described video resolution and screen resolution with video resolution described in each at vertical direction and/or horizontal direction; Wherein, described resolution difference is maximum, then corresponding described diversity factor is the highest.
Preferably, described according to described screen resolution and video resolution, obtain the diversity factor between each described video resolution and screen resolution, using signal source corresponding for described video resolution minimum for diversity factor as the matched signal source of mating with described television display screen step after, also comprise:
Play the input signal that described matched signal source is corresponding, show video corresponding to described input signal by described television display screen.
Preferably, the described video showing described input signal corresponding by described television display screen comprises:
When the described diversity factor obtained is 0, be displayed in full screen video corresponding to described input signal according to described screen resolution;
When the described diversity factor obtained is not 0, according to described diversity factor, the video resolution corresponding to described input signal carries out convergent-divergent, and is displayed in full screen video corresponding to described input signal according to the video resolution after convergent-divergent.
Preferably, when the described diversity factor of described acquisition is not 0, according to described diversity factor, the step that the video resolution corresponding to described input signal carries out convergent-divergent comprises:
According to the described resolution difference n that described diversity factor is corresponding, and the described video resolution m on same direction corresponding to described resolution difference, when described screen resolution is higher than described video resolution, calculating the ratio a that video resolution m corresponding to described input signal need carry out amplifying is:
a=1+n/m;
When described screen resolution is lower than described video resolution, calculating the ratio b that video resolution m corresponding to described input signal need carry out reducing is:
b=1-n/m;
Wherein, the value of a, b, m and n is all greater than 0.
The embodiment of the present invention also discloses a kind of without the video of video resolution information and the coalignment of screen resolution, comprising:
Acquisition module, for utilize television display screen corresponding gamma form in pixel count, calculate and obtain the screen resolution of described television display screen; Receive the input signal that each signal source inputs to described television set, from each described input signal, extract corresponding frame of video respectively, obtain the video resolution that described frame of video is corresponding;
Matching module, for according to described screen resolution and video resolution, obtain the diversity factor between each described video resolution and screen resolution, using signal source corresponding for described video resolution minimum for diversity factor as the matched signal source of mating with described television display screen.
Preferably, described matching module also for:
Calculate described screen resolution and distinguish corresponding resolution difference, using described resolution difference as the diversity factor between described video resolution and screen resolution with video resolution described in each at vertical direction and/or horizontal direction; Wherein, described resolution difference is maximum, then corresponding described diversity factor is the highest.
Preferably, describedly also to comprise without the video of video resolution information and the coalignment of screen resolution:
Playing module, for playing input signal corresponding to described matched signal source, shows video corresponding to described input signal by described television display screen.
Preferably, described playing module also for:
When the described diversity factor obtained is 0, be displayed in full screen video corresponding to described input signal according to described screen resolution;
When the described diversity factor obtained is not 0, according to described diversity factor, the video resolution corresponding to described input signal carries out convergent-divergent, and is displayed in full screen video corresponding to described input signal according to the video resolution after convergent-divergent.
Preferably, described playing module also for:
According to the described resolution difference n that described diversity factor is corresponding, and the described video resolution m on same direction corresponding to described resolution difference, when described screen resolution is higher than described video resolution, calculating the ratio a that video resolution m corresponding to described input signal need carry out amplifying is:
a=1+n/m;
When described screen resolution is lower than described video resolution, calculating the ratio b that video resolution m corresponding to described input signal need carry out reducing is:
b=1-n/m;
Wherein, the value of a, b, m and n is all greater than 0.
Pixel count in the gamma form that embodiment of the present invention television set utilizes television display screen corresponding, calculates the screen resolution obtaining described television display screen; Receive the input signal that each signal source inputs to described television set, from each described input signal, extract corresponding frame of video respectively, obtain the video resolution that described frame of video is corresponding; According to described screen resolution and video resolution, obtain the diversity factor between each described video resolution and screen resolution, using signal source corresponding for described video resolution minimum for diversity factor as the matched signal source of mating with described television display screen; There is the beneficial effect automatically identified with the source device of this television screen resolution match degree the best, improve the intelligent of recognition efficiency and television set.
Accompanying drawing explanation
Fig. 1 is the video of the present invention without video resolution information and the matching process first embodiment schematic flow sheet of screen resolution;
Fig. 2 is the video of the present invention without video resolution information and the matching process second embodiment schematic flow sheet of screen resolution;
Fig. 3 a is the video one embodiment broadcast window schematic diagram that television screen plays the input of matched signal source;
Fig. 3 b is that the present invention carries out broadcasting one embodiment broadcast window schematic diagram again without television set in the video of video resolution information and the matching process of screen resolution after adjusting the video resolution that in Fig. 3 a, matched signal source inputs;
Fig. 4 is the video of the present invention without video resolution information and the coalignment first embodiment high-level schematic functional block diagram of screen resolution;
Fig. 5 is the video of the present invention without video resolution information and the coalignment second embodiment high-level schematic functional block diagram of screen resolution.
The realization of embodiment of the present invention object, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Technical scheme of the present invention is further illustrated below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Embodiments provide matching process first embodiment of a kind of video without video resolution information and screen resolution; As shown in Figure 1, the present invention comprises the following steps without the video of video resolution information and the matching process of screen resolution:
Step S01, utilize television display screen corresponding gamma form in pixel count, calculate and obtain the screen resolution of described television display screen;
If be previously stored with the screen parameter corresponding to television display screen in television memory, directly can read the screen parameter corresponding to television display screen stored from television memory, thus obtain the screen resolution of this television display screen; But in most cases, television set does not prestore the screen parameter corresponding to television display screen in fact, therefore directly can not obtain screen resolution.In the present embodiment, inventor, through long-term research, creatively proposes a kind of scheme that can obtain screen resolution, that is: the pixel count in the gamma form utilizing television display screen corresponding, calculates the screen resolution of described television display screen.
Pixel count in the gamma form that television set utilizes television display screen corresponding, calculates the screen resolution of television display screen and comprises: television set obtains the total pixel number on total pixel number in current display screen horizontal direction in corresponding gamma form and vertical direction in corresponding gamma form; Total pixel number in gamma form in horizontal direction is obtained this display screen screen resolution in the horizontal direction divided by 3 by television set; Similarly, the total pixel number in gamma form on vertical direction is obtained the screen resolution of this display screen in the vertical direction by television set divided by 3.After getting the screen resolution of above-mentioned television display screen, television set stores the screen resolution of this television display screen obtained.Such as, television set creates memory block 1, is recorded by the screen resolution of TV machine display screen.
Such as, it is 5760 that television set gets trichromatic numerical value in the gamma form of display screen in horizontal direction, namely television display screen three primary colors number is in the horizontal direction 5760, then pixel count i.e. this television display screen screen resolution OFxga in the horizontal direction of this television display screen every a line is in the horizontal direction: OFxga=5760/3=1920.Similarly, television set get vertical direction come on TV machine display screen gamma form in trichromatic numerical value 3280, namely the three primary colors number of television display screen in the vertical direction is 3280, then the pixel count of the every a line of the television display screen in the vertical direction i.e. screen resolution OFyga of this television display screen in the vertical direction is: OFyga=3280/3=1080.Now, the screen resolution of this television display screen of television set acquisition is: 1920*1080.
Step S02, receive the input signal that each signal source inputs to described television set, from each described input signal, extract corresponding frame of video respectively, obtain the video resolution that described frame of video is corresponding;
Television set receives the input signal that each signal source inputs to this television set, and extracts frame of video corresponding to each signal source respectively from described input signal corresponding to above-mentioned different signal source, obtains the video resolution of above-mentioned frame of video.
Television set captures a frame of video picture from the input signal of signal source 1 as random image information, and obtain the three primary colors number of above-mentioned frame of video picture every a line in the horizontal direction, the three primary colors number of a line every in above-mentioned horizontal direction is obtained the video resolution in the pixel number of this frame of video picture every a line in the horizontal direction and horizontal direction divided by 3.Television set obtains the three primary colors number of the every a line of this frame of video picture in the vertical direction, the three primary colors number of a line every on above-mentioned vertical direction is obtained the pixel count i.e. video resolution of this frame of video picture in the vertical direction of the every a line of this frame of video picture in the vertical direction divided by 3.After getting the video resolution of above-mentioned signal source 1, television set stores the video resolution of this signal source 1 obtained.Such as, television set creates memory block 2, the video resolution of signal source 1 is recorded.
Such as, the three primary colors number of the frame of video picture that television set obtains signal source 1 every a line is in the horizontal direction 1920, by the three primary colors number in this horizontal direction divided by 3, obtain the pixel count of signal source 1 every a line in the horizontal direction, namely obtaining above-mentioned signal source 1 video resolution I1Fxga is in the horizontal direction: I1Fxga=640.Similarly, the three primary colors number that television set obtains every a line of frame of video picture in the vertical direction of signal source 1 is 1440, by the three primary colors number of a line every on this vertical direction divided by 3, obtain the pixel count of the every a line of signal source 1 in the vertical direction, the video resolution I1Fyga namely obtaining above-mentioned signal source 1 in the vertical direction is: I1Fyga=480.The video resolution that television set stores signal source 1 correspondence obtained is 640*480.
In the manner described above, television set obtain respectively the signal source of all input signals distinguish corresponding video resolution.
In the present embodiment, the execution sequence of described step S01 and step S02 can exchange, and performs step S02 again after namely performing step S01, or first execution step S02 performs step S01, these two kinds of execution sequences again; The priority execution sequence of the present embodiment to step S01 and step S02 does not limit, if before step S03 complete step S01 and step S02; Fig. 1 embodiment is only described for the complete rear execution step S02 of step S01.
Step S03, according to described screen resolution and video resolution, obtain the diversity factor between each described video resolution and screen resolution, using signal source corresponding for described video resolution minimum for diversity factor as the matched signal source of mating with described television display screen.
Distinguish corresponding video resolution according to the screen resolution of the television screen obtained and the signal source institute of input television set, television set is searching optimum Match signal source, calculates the diversity factor between each video resolution and the screen resolution of television set.According to the above-mentioned diversity factor obtained, the video resolution that television set Recognition Different degree is minimum.Wherein, diversity factor is determined by the difference of resolution, and the difference on same direction (be such as horizontal direction or be vertical direction) of video resolution and screen resolution is less, then the diversity factor of video resolution and screen resolution is lower; On the contrary, if the difference in the same direction of video resolution and screen resolution is larger, then the diversity factor of video resolution and screen resolution is higher.When television set identifies diversity factor minimum video resolution, using the signal source corresponding to video resolution minimum for diversity factor as the optimum signal source the highest with television display screen matching degree, namely described matched signal source.Difference described in the embodiment of the present invention all refers to absolute value, and that namely compares is only numerical value, does not mind the positive and negative of difference.
In the embodiment of the present invention, when television set obtains the diversity factor between each described video resolution and screen resolution, television set calculates described screen resolution and distinguishes corresponding resolution difference with video resolution described in each at vertical direction and/or horizontal direction.Due in current screen resolution or video resolution, numerical value in the horizontal direction becomes corresponding proportionate relationship with the numerical value of vertical direction, therefore, when the video resolution of the more multiple signal source of television set, can diversity factor only only on the same direction of comparison, diversity factor such as only on comparison vertical direction, or the diversity factor in only comparison horizontal direction.
For three signal sources, the implementation that television set obtains the diversity factor between the screen resolution video resolution corresponding with unlike signal source is described below.
Television set adopts the method for the video resolution obtaining signal source 1, and the video resolution of the signal source 2 got respectively is: 1280*720, i.e. I2Fxga=1280, I2Fyga=720; The video resolution of signal source 3 is: 1920*1080, i.e. I3Fxga=1920, I3Fyga=1080.Television set, according to above-mentioned different signal source, calls display screen difference resolution algorithm respectively, calculates the difference of the screen resolution of television display screen video resolution corresponding with above-mentioned each signal source respectively.For the difference of the video resolution corresponding with above-mentioned signal source of screen resolution on calculated level direction, obtain the difference OD1x of the video resolution of above-mentioned screen resolution and signal source 1, with the difference OD2x of the video resolution of signal source 2 and be respectively with the difference OD3x of the video resolution of signal source 3:
The video resolution that the concrete numerical value 1920 of screen resolution in horizontal direction and above-mentioned 3 signal sources are corresponding respectively substitutes into above-mentioned Arithmetic Expressions Using, show that difference OD1x is: OD1x=|1920 – 640|=1280; OD2x is: OD2x=|1920 – 1280|=640; OD3x is: OD3x=|1920 – 1920|=0.Television set sorts according to the size of above-mentioned difference, obtains the signal source corresponding to video resolution OD3x that difference is minimum, as the signal source 3 in the present embodiment; Then television set using above-mentioned signal source 3 as the matched signal source with described television display screen matching degree the best.
Pixel count in the gamma form that embodiment of the present invention television set utilizes television display screen corresponding, calculates the screen resolution obtaining described television display screen; Receive the input signal that each signal source inputs to described television set, from each described input signal, extract corresponding frame of video respectively, obtain the video resolution that described frame of video is corresponding; According to described screen resolution and video resolution, obtain the diversity factor between each described video resolution and screen resolution, using signal source corresponding for described video resolution minimum for diversity factor as the matched signal source of mating with described television display screen; There is the beneficial effect automatically identified with the source device of this television screen resolution match degree the best, improve the intelligent of recognition efficiency and television set.
The matching process second that the embodiment of the present invention additionally provides a kind of video without video resolution information and screen resolution is implemented; The difference of embodiment described in the present embodiment and Fig. 1 is, the input signal of television for play matched signal source input, and the concrete video resolution corresponding according to input signal are play after processing needing video to be processed again.
Based on the description of embodiment described in Fig. 1, as shown in Figure 2, the present invention without the video of video resolution information and the matching process of screen resolution described in Fig. 1 embodiment " step S03, according to described screen resolution and video resolution; obtain the diversity factor between each described video resolution and screen resolution; using signal source corresponding for described video resolution minimum for diversity factor as the matched signal source of mating with described television display screen " step after, also comprise:
Step S04, play input signal corresponding to described matched signal source, show video corresponding to described input signal by described television display screen.
In the present embodiment, television set identify with the matched signal source of television display screen matching degree the best after, play this matched signal source input the video corresponding to input signal.Wherein, when the video resolution in described matched signal source is identical with the screen resolution of television screen, namely when the diversity factor of the two is 0, because the screen resolution of television set is identical with the video resolution in matched signal source, therefore the video of television set direct played in full screen matched signal source input, carries out any convergent-divergent without the need to the broadcasting pictures corresponding to displaying video.
When the video resolution in described matched signal source is different from the screen resolution of television screen, the diversity factor of the two is not 0, for ensureing the definition of displaying video, television set is according to the diversity factor of screen resolution and video resolution corresponding to signal source input signal, the video resolution corresponding to input signal carries out convergent-divergent, when the ratio that when such as setting is play, video pictures accounts for television display screen is less than preset range value, the video pictures play is stretched; Or when the difference of the screen resolution of the video resolution that signal source input signal is corresponding and television display screen is beyond preset ratio, the video pictures corresponding to signal source input signal stretches etc.; Namely television set is according to described resolution difference n corresponding to described diversity factor, and the described video resolution m on same direction corresponding to described resolution difference, when described screen resolution is higher than described video resolution, calculating the ratio a that video resolution m corresponding to described input signal need carry out amplifying is: a=1+n/m; When described screen resolution is lower than described video resolution, calculating the ratio b that video resolution m corresponding to described input signal need carry out reducing is: b=1-n/m; Wherein, the value of a, b, m and n is all greater than 0.Television set is displayed in full screen video corresponding to described input signal according to the video resolution after convergent-divergent.
Such as, television set identifies in multiple signal sources of input television set, the video resolution corresponding with the matched signal source of screen resolution matching degree the best of television display screen is 1280*720, and the screen resolution of television display screen is 1920*1280, then when the video of the above-mentioned signal source input of television for play, if do not carry out convergent-divergent to it, then the display frame played out as shown in Figure 3 a; In Fig. 3 a, television display screen is 11, and the display frame corresponding to the video play in tv display screen is in 12, Fig. 3 a, and the video pictures of display screen not corresponding to played in full screen signal source input signal of television set, result of broadcast is not good.The video pictures that television set is corresponding to above-mentioned input signal carries out convergent-divergent, such as, television set is according to the difference of the screen resolution of video resolution corresponding to this matched signal source obtained in step S03 and television display screen: OD2x=|1920 – 1280|=640; Then the video that inputs signal source of television set is all over the screen needs when playing the ratio of amplifying to be: ScalerX=1+640/1280=1+0.5; Similarly, ratio vertical direction needing amplification is also 1.5; Then television set is according to above-mentioned magnification ratio, carries out broadcasting all over the screen, as shown in Figure 3 b to the video of signal source input after amplifying; In Fig. 3 b, the video corresponding to television display screen played in full screen signal source input signal, and definition is high, result of broadcast is better.
The input signal that embodiment of the present invention television for play matched signal source is corresponding, and the video pictures corresponding to the above-mentioned input signal that resolution is incomplete same plays the video pictures after convergent-divergent after carrying out convergent-divergent again, there is the beneficial effect improving and play definition, further increase the intelligent of television set, also improve man-machine interaction simultaneously.
The embodiment of the present invention additionally provides coalignment first embodiment of a kind of video without video resolution information and screen resolution; As shown in Figure 4, the present invention comprises without the video of video resolution information and the coalignment of screen resolution: acquisition module 01 and matching module 02.
Acquisition module 01, for pixel count in the gamma form utilizing television display screen corresponding, calculates the screen resolution obtaining described television display screen; Receive the input signal that each signal source inputs to described television set, from each described input signal, extract corresponding frame of video respectively, obtain the video resolution that described frame of video is corresponding.
In the embodiment of the present invention, if be previously stored with the screen parameter corresponding to television display screen in television memory, acquisition module 01 directly can read the screen parameter corresponding to television display screen stored from television memory, thus obtains the screen resolution of this television display screen; But in most cases, television set does not prestore the screen parameter corresponding to television display screen in fact, therefore directly can not obtain screen resolution.In the present embodiment, the pixel count in the gamma form that acquisition module 01 utilizes television display screen corresponding, calculates the screen resolution of described television display screen.
Pixel count in the gamma form that acquisition module 01 utilizes television display screen corresponding, calculates the screen resolution of television display screen and comprises: acquisition module 01 obtains the total pixel number on total pixel number in current display screen horizontal direction in corresponding gamma form and vertical direction in corresponding gamma form; Total pixel number in gamma form in horizontal direction is obtained this display screen screen resolution in the horizontal direction divided by 3 by acquisition module 01; Similarly, the total pixel number in gamma form on vertical direction is obtained the screen resolution of this display screen in the vertical direction by acquisition module 01 divided by 3.After getting the screen resolution of above-mentioned television display screen, acquisition module 01 stores the screen resolution of this television display screen obtained.Such as, acquisition module 01 creates memory block 1, is recorded by the screen resolution of TV machine display screen.
Such as, it is 5760 that acquisition module 01 gets trichromatic numerical value in the gamma form of display screen in horizontal direction, namely television display screen three primary colors number is in the horizontal direction 5760, then pixel count i.e. this television display screen screen resolution OFxga in the horizontal direction of this television display screen every a line is in the horizontal direction: OFxga=5760/3=1920.Similarly, acquisition module 01 get vertical direction come on TV machine display screen gamma form in trichromatic numerical value 3280, namely the three primary colors number of television display screen in the vertical direction is 3280, then the pixel count of the every a line of the television display screen in the vertical direction i.e. screen resolution OFyga of this television display screen in the vertical direction is: OFyga=3280/3=1080.Now, the screen resolution of this television display screen of acquisition module 01 acquisition is: 1920*1080.
Acquisition module 01 captures a frame of video picture from the input signal of signal source 1 as random image information, and obtain the three primary colors number of above-mentioned frame of video picture every a line in the horizontal direction, the three primary colors number of a line every in above-mentioned horizontal direction is obtained the video resolution in the pixel number of this frame of video picture every a line in the horizontal direction and horizontal direction divided by 3.Acquisition module 01 obtains the three primary colors number of the every a line of this frame of video picture in the vertical direction, the three primary colors number of a line every on above-mentioned vertical direction is obtained the pixel count i.e. video resolution of this frame of video picture in the vertical direction of the every a line of this frame of video picture in the vertical direction divided by 3.After getting the video resolution of above-mentioned signal source 1, acquisition module 01 stores the video resolution of this signal source 1 obtained.Such as, acquisition module 01 creates memory block 2, the video resolution of signal source 1 is recorded.
Such as, the three primary colors number of the frame of video picture that acquisition module 01 obtains signal source 1 every a line is in the horizontal direction 1920, by the three primary colors number in this horizontal direction divided by 3, obtain the pixel count of signal source 1 every a line in the horizontal direction, namely obtaining above-mentioned signal source 1 video resolution I1Fxga is in the horizontal direction: I1Fxga=640.Similarly, the three primary colors number that acquisition module 01 obtains every a line of frame of video picture in the vertical direction of signal source 1 is 1440, by the three primary colors number of a line every on this vertical direction divided by 3, obtain the pixel count of the every a line of signal source 1 in the vertical direction, the video resolution I1Fyga namely obtaining above-mentioned signal source 1 in the vertical direction is: I1Fyga=480.The video resolution that acquisition module 01 stores signal source 1 correspondence obtained is 640*480.
In the manner described above, acquisition module 01 obtain respectively the signal source of all input signals distinguish corresponding video resolution.
In the present embodiment, the sequencing that acquisition module 01 obtains the screen resolution of television display screen and each signal source video resolution that input signal is corresponding respectively does not respectively limit.
Matching module 02 for: according to described screen resolution and video resolution, obtain the diversity factor between each described video resolution and screen resolution, using signal source corresponding for described video resolution minimum for diversity factor as the matched signal source of mating with described television display screen.
According to acquisition module 01 obtain television screen screen resolution and input television set signal source institute distinguish correspondence video resolution, matching module 02, for finding optimum Match signal source, calculates the diversity factor between each video resolution and the screen resolution of television set.According to the above-mentioned diversity factor obtained, the video resolution that matching module 02 Recognition Different degree is minimum.Wherein, diversity factor is determined by the difference of resolution, and the difference on same direction (be such as horizontal direction or be vertical direction) of video resolution and screen resolution is less, then the diversity factor of video resolution and screen resolution is lower; On the contrary, if the difference in the same direction of video resolution and screen resolution is larger, then the diversity factor of video resolution and screen resolution is higher.When matching module 02 identifies diversity factor minimum video resolution, using the signal source corresponding to video resolution minimum for diversity factor as the optimum signal source the highest with television display screen matching degree, namely described matched signal source.Difference described in the embodiment of the present invention all refers to absolute value, and that namely compares is only numerical value, does not mind the positive and negative of difference.
In the embodiment of the present invention, when matching module 02 obtains the diversity factor between each described video resolution and screen resolution, matching module 02 calculates described screen resolution and distinguishes corresponding resolution difference with video resolution described in each at vertical direction and/or horizontal direction.Due in current screen resolution or video resolution, numerical value in the horizontal direction becomes corresponding proportionate relationship with the numerical value of vertical direction, therefore, when the video resolution of the more multiple signal source of matching module 02, can diversity factor only only on the same direction of comparison, diversity factor such as only on comparison vertical direction, or the diversity factor in only comparison horizontal direction.
The implementation that profile matching module 02 obtains the diversity factor between the screen resolution video resolution corresponding with unlike signal source is carried out below for three signal sources.
Matching module 02 adopts the method for the video resolution obtaining signal source 1, and the video resolution of the signal source 2 got respectively is: 1280*720, i.e. I2Fxga=1280, I2Fyga=720; The video resolution of signal source 3 is: 1920*1080, i.e. I3Fxga=1920, I3Fyga=1080.Matching module 02, according to above-mentioned different signal source, calls display screen difference resolution algorithm respectively, calculates the difference of the screen resolution of television display screen video resolution corresponding with above-mentioned each signal source respectively.For the difference of the video resolution corresponding with above-mentioned signal source of screen resolution on calculated level direction, matching module 02 obtain the video resolution of above-mentioned screen resolution and signal source 1 difference OD1x, with the difference OD2x of the video resolution of signal source 2 and be respectively with the difference OD3x of the video resolution of signal source 3:
The video resolution that the concrete numerical value 1920 of screen resolution in horizontal direction and above-mentioned 3 signal sources are corresponding is respectively substituted into above-mentioned Arithmetic Expressions Using by matching module 02, show that difference OD1x is: OD1x=|1920 – 640|=1280; OD2x is: OD2x=|1920 – 1280|=640; OD3x is: OD3x=|1920 – 1920|=0.Matching module 02 sorts according to the size of above-mentioned difference, obtains the signal source corresponding to video resolution OD3x that difference is minimum, as the signal source 3 in the present embodiment; Then matching module 02 using above-mentioned signal source 3 as the matched signal source with described television display screen matching degree the best.
Pixel count in the gamma form that embodiment of the present invention television set utilizes television display screen corresponding, calculates the screen resolution obtaining described television display screen; Receive the input signal that each signal source inputs to described television set, from each described input signal, extract corresponding frame of video respectively, obtain the video resolution that described frame of video is corresponding; According to described screen resolution and video resolution, obtain the diversity factor between each described video resolution and screen resolution, using signal source corresponding for described video resolution minimum for diversity factor as the matched signal source of mating with described television display screen; There is the beneficial effect automatically identified with the source device of this television screen resolution match degree the best, improve the intelligent of recognition efficiency and television set.
The coalignment second that the embodiment of the present invention additionally provides a kind of video without video resolution information and screen resolution is implemented; The difference of embodiment described in the present embodiment and Fig. 4 is, the input signal of television for play matched signal source input, and the concrete video resolution corresponding according to input signal are play after processing needing video to be processed again.
Based on the description of embodiment described in Fig. 4, as shown in Figure 5, the present invention also comprises playing module 03 without the video of video resolution information and the coalignment of screen resolution; Wherein, described playing module 03 for, play the input signal that described matched signal source is corresponding, show video corresponding to described input signal by described television display screen.
In the present embodiment, matching module 02 identify with the matched signal source of television display screen matching degree the best after, playing module 03 play this matched signal source input the video corresponding to input signal.Wherein, when the video resolution in described matched signal source is identical with the screen resolution of television screen, namely when the diversity factor of the two is 0, because the screen resolution of television set is identical with the video resolution in matched signal source, therefore the video of playing module 03 direct played in full screen matched signal source input, carries out any convergent-divergent without the need to the broadcasting pictures corresponding to displaying video.When the video resolution in described matched signal source is different from the screen resolution of television screen, the diversity factor of the two is not 0, for ensureing the definition of displaying video, playing module 03 is according to the diversity factor of screen resolution and video resolution corresponding to signal source input signal, the video resolution corresponding to input signal carries out convergent-divergent, when the ratio that when such as setting is play, video pictures accounts for television display screen is less than preset range value, the video pictures play is stretched; Or when the difference of the screen resolution of the video resolution that signal source input signal is corresponding and television display screen is beyond preset ratio, the video pictures corresponding to signal source input signal stretches etc.; Namely playing module 03 is according to described resolution difference n corresponding to described diversity factor, and the described video resolution m on same direction corresponding to described resolution difference, when described screen resolution is higher than described video resolution, calculating the ratio a that video resolution m corresponding to described input signal need carry out amplifying is: a=1+n/m; When described screen resolution is lower than described video resolution, calculating the ratio b that video resolution m corresponding to described input signal need carry out reducing is: b=1-n/m; Wherein, the value of a, b, m and n is all greater than 0.Playing module 03 is displayed in full screen video corresponding to described input signal according to the video resolution after convergent-divergent.
Such as, playing module 03 identifies in multiple signal sources of input television set, the video resolution corresponding with the matched signal source of screen resolution matching degree the best of television display screen is 1280*720, and the screen resolution of television display screen is 1920*1280, then when playing module 03 plays the video of above-mentioned signal source input, if do not carry out convergent-divergent to it, then the display frame played out as shown in Figure 3 a; In Fig. 3 a, television display screen is 11, and the display frame corresponding to the video play in tv display screen is in 12, Fig. 3 a, and the video pictures of display screen not corresponding to played in full screen signal source input signal of television set, result of broadcast is not good.The video pictures that playing module 03 is corresponding to above-mentioned input signal carries out convergent-divergent, such as, the difference of the video resolution that this matched signal source of obtaining according to matching module 02 of playing module 03 is corresponding and the screen resolution of television display screen: OD2x=|1920 – 1280|=640; Then the video of playing module 03 pair of signal source input is all over the screen needs when playing the ratio of amplifying to be: ScalerX=1+640/1280=1+0.5; Similarly, ratio vertical direction needing amplification is also 1.5; Then playing module 03 is according to above-mentioned magnification ratio, carries out broadcasting all over the screen, as shown in Figure 3 b to the video of signal source input after amplifying; In Fig. 3 b, the video corresponding to television display screen played in full screen signal source input signal, and definition is high, result of broadcast is better.
The input signal that embodiment of the present invention television for play matched signal source is corresponding, and the video pictures corresponding to the above-mentioned input signal that resolution is incomplete same plays the video pictures after convergent-divergent after carrying out convergent-divergent again, there is the beneficial effect improving and play definition, further increase the intelligent of television set, also improve man-machine interaction simultaneously.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this 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.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, television set, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
The foregoing is only the preferred embodiments of the present invention; not thereby its scope of the claims is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; directly or indirectly be used in the technical field that other are relevant, be all in like manner included in scope of patent protection of the present invention.
Claims (10)
1., without the video of video resolution information and a matching process for screen resolution, it is characterized in that, comprise the following steps:
Pixel count in the gamma form utilizing television display screen corresponding, calculates the screen resolution obtaining described television display screen;
Receive the input signal that each signal source inputs to described television set, from each described input signal, extract corresponding frame of video respectively, obtain the video resolution that described frame of video is corresponding;
According to described screen resolution and video resolution, obtain the diversity factor between each described video resolution and screen resolution, using signal source corresponding for described video resolution minimum for diversity factor as the matched signal source of mating with described television display screen.
2. the method for claim 1, is characterized in that, the diversity factor between each described video resolution of described acquisition and screen resolution comprises:
Calculate described screen resolution and distinguish corresponding resolution difference, using described resolution difference as the diversity factor between described video resolution and screen resolution with video resolution described in each at vertical direction and/or horizontal direction; Wherein, described resolution difference is maximum, then corresponding described diversity factor is the highest.
3. method as claimed in claim 1 or 2, it is characterized in that, described according to described screen resolution and video resolution, obtain the diversity factor between each described video resolution and screen resolution, using signal source corresponding for described video resolution minimum for diversity factor as the matched signal source of mating with described television display screen step after, also comprise:
Play the input signal that described matched signal source is corresponding, show video corresponding to described input signal by described television display screen.
4. method as claimed in claim 3, it is characterized in that, the described video showing described input signal corresponding by described television display screen comprises:
When the described diversity factor obtained is 0, be displayed in full screen video corresponding to described input signal according to described screen resolution;
When the described diversity factor obtained is not 0, according to described diversity factor, the video resolution corresponding to described input signal carries out convergent-divergent, and is displayed in full screen video corresponding to described input signal according to the video resolution after convergent-divergent.
5. method as claimed in claim 4, it is characterized in that, when the described diversity factor of described acquisition is not 0, according to described diversity factor, the step that the video resolution corresponding to described input signal carries out convergent-divergent comprises:
According to the described resolution difference n that described diversity factor is corresponding, and the described video resolution m on same direction corresponding to described resolution difference, when described screen resolution is higher than described video resolution, calculating the ratio a that video resolution m corresponding to described input signal need carry out amplifying is:
a=1+n/m;
When described screen resolution is lower than described video resolution, calculating the ratio b that video resolution m corresponding to described input signal need carry out reducing is:
b=1-n/m;
Wherein, the value of a, b, m and n is all greater than 0.
6., without the video of video resolution information and a coalignment for screen resolution, it is characterized in that, comprising:
Acquisition module, for utilize television display screen corresponding gamma form in pixel count, calculate and obtain the screen resolution of described television display screen; Receive the input signal that each signal source inputs to described television set, from each described input signal, extract corresponding frame of video respectively, obtain the video resolution that described frame of video is corresponding;
Matching module, for according to described screen resolution and video resolution, obtain the diversity factor between each described video resolution and screen resolution, using signal source corresponding for described video resolution minimum for diversity factor as the matched signal source of mating with described television display screen.
7. device as claimed in claim 6, is characterized in that, described matching module also for:
Calculate described screen resolution and distinguish corresponding resolution difference, using described resolution difference as the diversity factor between described video resolution and screen resolution with video resolution described in each at vertical direction and/or horizontal direction; Wherein, described resolution difference is maximum, then corresponding described diversity factor is the highest.
8. device as claimed in claims 6 or 7, it is characterized in that, described device also comprises:
Playing module, for playing input signal corresponding to described matched signal source, shows video corresponding to described input signal by described television display screen.
9. device as claimed in claim 8, is characterized in that, described playing module also for:
When the described diversity factor obtained is 0, be displayed in full screen video corresponding to described input signal according to described screen resolution;
When the described diversity factor obtained is not 0, according to described diversity factor, the video resolution corresponding to described input signal carries out convergent-divergent, and is displayed in full screen video corresponding to described input signal according to the video resolution after convergent-divergent.
10. device as claimed in claim 9, is characterized in that, described playing module also for:
According to the described resolution difference n that described diversity factor is corresponding, and the described video resolution m on same direction corresponding to described resolution difference, when described screen resolution is higher than described video resolution, calculating the ratio a that video resolution m corresponding to described input signal need carry out amplifying is:
a=1+n/m;
When described screen resolution is lower than described video resolution, calculating the ratio b that video resolution m corresponding to described input signal need carry out reducing is:
b=1-n/m;
Wherein, the value of a, b, m and n is all greater than 0.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410190673.8A CN105100895B (en) | 2014-05-07 | 2014-05-07 | The matching process and device of video and screen resolution without video resolution information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410190673.8A CN105100895B (en) | 2014-05-07 | 2014-05-07 | The matching process and device of video and screen resolution without video resolution information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105100895A true CN105100895A (en) | 2015-11-25 |
CN105100895B CN105100895B (en) | 2018-09-04 |
Family
ID=54580283
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410190673.8A Expired - Fee Related CN105100895B (en) | 2014-05-07 | 2014-05-07 | The matching process and device of video and screen resolution without video resolution information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105100895B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105554549A (en) * | 2015-12-03 | 2016-05-04 | 青岛海信移动通信技术股份有限公司 | VoLTE network video display method and device |
WO2017202175A1 (en) * | 2016-05-27 | 2017-11-30 | 北京金山安全软件有限公司 | Method and device for video compression and electronic device |
CN109063378A (en) * | 2018-09-11 | 2018-12-21 | 苏州云屏网络科技有限公司 | A method of target screen is matched applied to drawing boards more in LED program |
CN109922366A (en) * | 2019-03-28 | 2019-06-21 | 深圳创维数字技术有限公司 | A kind of device parameter method of adjustment, device, equipment and medium |
US10440316B2 (en) | 2015-12-03 | 2019-10-08 | Hisense USA Corporation | Device and method for displaying a video over a network |
CN112492250A (en) * | 2020-11-27 | 2021-03-12 | 西安万像电子科技有限公司 | Method and device for adapting resolution of transmitting end and receiving end of image transmission system |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6152632A (en) * | 1998-12-28 | 2000-11-28 | Tombow Pencil Co., Ltd | Dispenser for rod-like glue |
CN1917025A (en) * | 2005-08-03 | 2007-02-21 | 三菱电机株式会社 | Image display device and timing controller |
CN101105916A (en) * | 2007-08-10 | 2008-01-16 | 东莞黄江达裕科技电子厂 | GAMMA curve regulation method and device |
CN101692326A (en) * | 2009-09-01 | 2010-04-07 | 惠州市德赛智能科技有限公司 | System and method for on-site point-by-point calibration of brightness and chrominance of the whole screen of LED display screen |
CN101800041A (en) * | 2010-03-26 | 2010-08-11 | 青岛海信电器股份有限公司 | Method and device for generating Gamma files |
CN101860764A (en) * | 2009-04-08 | 2010-10-13 | 鸿富锦精密工业(深圳)有限公司 | White balance adjustment method |
CN102098421A (en) * | 2010-12-08 | 2011-06-15 | 四川长虹电器股份有限公司 | Automatic smoothing method of GAMMA data of liquid crystal display television (LCDTV) |
CN102984494A (en) * | 2012-12-06 | 2013-03-20 | 北京小米科技有限责任公司 | Video communication method and device |
CN103618943A (en) * | 2013-11-27 | 2014-03-05 | 深圳创维-Rgb电子有限公司 | Video data display method of display terminal and display terminal |
-
2014
- 2014-05-07 CN CN201410190673.8A patent/CN105100895B/en not_active Expired - Fee Related
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6152632A (en) * | 1998-12-28 | 2000-11-28 | Tombow Pencil Co., Ltd | Dispenser for rod-like glue |
CN1917025A (en) * | 2005-08-03 | 2007-02-21 | 三菱电机株式会社 | Image display device and timing controller |
CN101105916A (en) * | 2007-08-10 | 2008-01-16 | 东莞黄江达裕科技电子厂 | GAMMA curve regulation method and device |
CN101860764A (en) * | 2009-04-08 | 2010-10-13 | 鸿富锦精密工业(深圳)有限公司 | White balance adjustment method |
CN101692326A (en) * | 2009-09-01 | 2010-04-07 | 惠州市德赛智能科技有限公司 | System and method for on-site point-by-point calibration of brightness and chrominance of the whole screen of LED display screen |
CN101800041A (en) * | 2010-03-26 | 2010-08-11 | 青岛海信电器股份有限公司 | Method and device for generating Gamma files |
CN102098421A (en) * | 2010-12-08 | 2011-06-15 | 四川长虹电器股份有限公司 | Automatic smoothing method of GAMMA data of liquid crystal display television (LCDTV) |
CN102984494A (en) * | 2012-12-06 | 2013-03-20 | 北京小米科技有限责任公司 | Video communication method and device |
CN103618943A (en) * | 2013-11-27 | 2014-03-05 | 深圳创维-Rgb电子有限公司 | Video data display method of display terminal and display terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105554549A (en) * | 2015-12-03 | 2016-05-04 | 青岛海信移动通信技术股份有限公司 | VoLTE network video display method and device |
US10440316B2 (en) | 2015-12-03 | 2019-10-08 | Hisense USA Corporation | Device and method for displaying a video over a network |
WO2017202175A1 (en) * | 2016-05-27 | 2017-11-30 | 北京金山安全软件有限公司 | Method and device for video compression and electronic device |
CN109063378A (en) * | 2018-09-11 | 2018-12-21 | 苏州云屏网络科技有限公司 | A method of target screen is matched applied to drawing boards more in LED program |
CN109063378B (en) * | 2018-09-11 | 2023-04-07 | 苏州云屏传媒科技有限公司 | Method for matching multiple drawing boards with target screen in LED program |
CN109922366A (en) * | 2019-03-28 | 2019-06-21 | 深圳创维数字技术有限公司 | A kind of device parameter method of adjustment, device, equipment and medium |
CN109922366B (en) * | 2019-03-28 | 2021-10-29 | 北京创维海通数字技术有限公司 | Equipment parameter adjusting method, device, equipment and medium |
CN112492250A (en) * | 2020-11-27 | 2021-03-12 | 西安万像电子科技有限公司 | Method and device for adapting resolution of transmitting end and receiving end of image transmission system |
Also Published As
Publication number | Publication date |
---|---|
CN105100895B (en) | 2018-09-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105100895A (en) | Video and screen resolution matching method and device with no video resolution information | |
CN101809590B (en) | Content based adjustment of an image | |
CN103226810A (en) | Image processing apparatus and image processing method | |
CN109168026A (en) | Instant video display methods, device, terminal device and storage medium | |
CN102292726A (en) | video identifier extracting device | |
CN101998083B (en) | Video processing device | |
JP5080302B2 (en) | Image processing method | |
CN102209180A (en) | Image processing apparatus and image processing method | |
CN105100646A (en) | Video processing method and device | |
CN105227864A (en) | A kind of picture generates animation and splices with video segment the video editing method synthesized | |
CN104703020A (en) | Processing method and device of quick response codes, video playing apparatus | |
CN108806638B (en) | Image display method and device | |
US20180020069A1 (en) | Information pushing method and system | |
CN105959727B (en) | Video processing method and device | |
CN101420627A (en) | Method and apparatus for simulating film-grain noise | |
US20090024666A1 (en) | Method and apparatus for generating metadata | |
CN101513051A (en) | Video processing device and video processing method | |
JP4311395B2 (en) | Image display device and image display method | |
CN105472255A (en) | Video play control method and device | |
CN104811622A (en) | Method and device for migrating image colors | |
CN105389095A (en) | Picture displaying method and apparatus | |
CN103778197A (en) | Software classification method and electronic device with software classification function | |
CN104243874A (en) | Sub-picture displaying method for displayer | |
US7492380B2 (en) | Apparatus and method for processing video signal | |
US9967546B2 (en) | Method and apparatus for converting 2D-images and videos to 3D for consumer, commercial and professional applications |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180904 |
|
CF01 | Termination of patent right due to non-payment of annual fee |