CN104469178B - A kind of image display method and electronic equipment - Google Patents

A kind of image display method and electronic equipment Download PDF

Info

Publication number
CN104469178B
CN104469178B CN201310452291.3A CN201310452291A CN104469178B CN 104469178 B CN104469178 B CN 104469178B CN 201310452291 A CN201310452291 A CN 201310452291A CN 104469178 B CN104469178 B CN 104469178B
Authority
CN
China
Prior art keywords
image
vision signal
display
image data
ratio
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.)
Active
Application number
CN201310452291.3A
Other languages
Chinese (zh)
Other versions
CN104469178A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310452291.3A priority Critical patent/CN104469178B/en
Publication of CN104469178A publication Critical patent/CN104469178A/en
Application granted granted Critical
Publication of CN104469178B publication Critical patent/CN104469178B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Transforming Electric Information Into Light Information (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention discloses a kind of image display method and electronic equipment.The method is applied to electronic equipment, and the electronic equipment includes at least display unit and communication unit.The described method includes: receiving the first vision signal by the communication unit;First vision signal is parsed, the first image scaled is obtained;Determining the first display pattern to match with the first image ratio;It controls the display unit and first vision signal is shown with first display pattern.Using method or electronic equipment of the invention, when the aspect ratio of vision signal changes, it is capable of the display aspect ratio of adjust automatically electronic equipment, the display area of electronic equipment is made full use of to be shown, avoids the waste of the display area for electronic equipment.

Description

A kind of image display method and electronic equipment
Technical field
The present invention relates to field of image processings, more particularly to a kind of image display method and electronic equipment.
Background technique
At present the electronic equipment with video playback capability is many kinds of.The screen size of different electronic equipments also not phase Together.
By taking television set as an example, the vision signal of television for play can be divided into two major classes according to aspect ratio.One kind view The aspect ratio of frequency signal is 4:3;The aspect ratio of another kind of vision signal is 16:9.Image display method in the prior art It is, it is assumed that the display aspect ratio of television set is arranged to 16:9, and the aspect ratio of the actual video signal played is 4:3, Then two black regions can be shown in the left and right sides of screen.The two black regions are the picture ratios due to actual video signal Caused by example is different from the display aspect ratio of television set setting.Due to actual video signal black region do not have it is corresponding Signal, so being shown as black.At this point, the active area ratio when actual video signal changes, it is assumed that become 16:9 When, television set can in the region of original picture for playing 4:3 it is subdivided go out after region is used to play and changes Signal.The result is that screen increases by two black regions at two up and down caused by this, the size of the picture of actual displayed is further It reduces.
Fig. 1 is the schematic diagram for the vision signal for using ratio to be 4:3 for the screen broadcasting pictures ratio of 16:9.Such as Fig. 1 institute Show, in screen 10, each side there is a black region 30 in the actual displayed region 20 of vision signal.Fig. 2 is using ratio When the vision signal that the screen broadcasting pictures ratio for 16:9 is 4:3, the aspect ratio of vision signal becomes signal when 16:9 Figure.As shown in Fig. 2, 20 periphery of actual displayed region of vision signal is black region 30 in screen 10.
Have some prior arts, in order to remove display screen on without display black portions, can using stretch or amplification Entire screen is filled up display by the mode for intercepting parts of images afterwards, it will be evident that use stretching or gradually stretching Mode can make all or part of display picture level vertical direction in image out of proportion, and directly adopt amplification and screenshot Mode can lose the information of many picture images because of the reason of screenshot, such as the subtitle being generally placed upon on side or sport ratio The score information etc. of match.
As it can be seen that in the prior art, when the aspect ratio of vision signal changes, will cause the viewing area of electronic equipment The waste in domain.
Summary of the invention
The object of the present invention is to provide a kind of image display method and electronic equipments, when the aspect ratio of vision signal occurs When change, it is capable of the display aspect ratio of adjust automatically electronic equipment, the display area of electronic equipment is made full use of to be shown, Avoid the waste of the display area for electronic equipment.
To achieve the above object, the present invention provides following schemes:
A kind of image display method, is applied to electronic equipment, and the electronic equipment includes at least display unit and communication unit Member, which comprises
The first vision signal is received by the communication unit;
First vision signal is parsed, the first image scaled is obtained;
Determining the first display pattern to match with the first image ratio;
It controls the display unit and first vision signal is shown with first display pattern.
Optionally, the first image scaled of the acquisition, comprising:
Extract the first image data in first vision signal;
The image boundary of the first image data is detected, the first boundary information of the first image data is obtained;
According to first boundary information, the first image ratio is obtained.
Optionally, after first image data extracted in first vision signal, further includes:
The image boundary for detecting the first image data judges that described image near border whether there is black region, Obtain the first judging result;
When first judging result indicates that described image near border there are when black region, removes the black border Region obtains the second image data;
The first image scaled of the acquisition, specifically includes:
The image boundary of second image data is detected, the second boundary information of second image data is obtained; According to the second boundary information, the first image ratio is obtained.
Optionally, the electronic equipment also has processing module, and the processing module is used for the video signal sampling, Then first image data extracted in first vision signal, specifically:
First vision signal is sampled according to default resolution ratio by the processing module, obtains the second video Signal;The default resolution ratio is less than the true resolution of first vision signal, second vision signal and described the The image scaled of one vision signal is identical;
Extract the first image data in second vision signal.
Optionally, the first display pattern that the determination and the first image ratio match, comprising:
Obtain the preset display mode of the electronic equipment;
Judge whether there is display pattern identical with the first image ratio in the preset display mode, obtains second Judging result;
When second judging result, which is, is, the display pattern identical with the first image ratio is determined as First display pattern;
When first judging result is no, determination makes display of first vision signal on the display unit Maximum second display pattern of the area of picture;
The ratio and the first image ratio phase of display picture of first vision signal on the display unit Together.
Optionally, the determination keeps the area of display picture of first vision signal on the display unit maximum The second display pattern, comprising:
Calculate the absolute value of the difference of the preset display mode corresponding preset display scale and the first image ratio;
By the corresponding preset display mode of the smallest absolute value, it is determined as second display pattern.
Optionally, when the near image boundaries of the first image data are there are when black region, the control is described aobvious Show that unit shows first vision signal with first display pattern, comprising:
It controls the display unit and the second display picture is shown with first display pattern;
The second display picture corresponds to second image data.
Optionally, first image data extracted in first vision signal, further includes:
First vision signal is parsed, identifies that the first icon, first icon are present in first vision signal Each frame image frame in;
Extract the first raw image data in first vision signal;
First raw image data is handled, the first model near first icon and first icon area is made Picture material in enclosing is identical, obtains the first image data.
A kind of electronic equipment, the electronic equipment include at least display unit and communication unit, and the electronic equipment includes:
First video reception unit, for receiving the first vision signal by the communication unit;
First image scaled acquiring unit obtains the first image scaled for parsing first vision signal;
First display pattern determination unit, for determining the first display pattern to match with the first image ratio;
First video signal display unit shows described for controlling the display unit with first display pattern One vision signal.
Optionally, the first image ratio acquisition unit, comprising:
First image data extraction subelement, for extracting the first image data in first vision signal;
Image boundary detection sub-unit obtains first figure for detecting the image boundary of the first image data As the first boundary information of data;
First image scaled obtains subelement, for obtaining the first image ratio according to first boundary information.
Optionally, further includes:
First judgment sub-unit is extracted in first vision signal for extracting subelement in the first image data The first image data after, detect the first image data image boundary, judge whether described image near border deposits In black region, the first judging result is obtained;
Second image data generates subelement, for indicating that described image near border exists when first judging result When black region, the black border region is removed, obtains the second image data;
The first image ratio obtains subelement, specifically includes:
First image scaled obtains the first subelement, for detecting the image boundary of second image data, obtains institute State the second boundary information of the second image data;According to the second boundary information, the first image ratio is obtained.
Optionally, the electronic equipment also has processing module, and the processing module is used for the video signal sampling, Then the first image data extract subelement, specifically include:
Subelement is sampled, for adopting according to default resolution ratio to first vision signal by the processing module Sample obtains the second vision signal;The default resolution ratio is less than the true resolution of first vision signal, second view Frequency signal is identical as the image scaled of first vision signal;
First image scaled obtains the second subelement, for extracting the first image data in second vision signal.
Optionally, the first display pattern determination unit, comprising:
Preset display mode obtains subelement, for obtaining the preset display mode of the electronic equipment;
Whether the second judgment sub-unit is identical as the first image ratio for judging to have in the preset display mode Display pattern, obtain the second judging result;
First display pattern determines subelement, will be described with described first for when second judging result, which is, is The identical display pattern of image scaled is determined as first display pattern;
Second display pattern determines subelement, makes first view for determining when first judging result is no Maximum second display pattern of area of display picture of the frequency signal on the display unit;
The ratio and the first image ratio phase of display picture of first vision signal on the display unit Together.
Optionally, second display pattern determines subelement, comprising:
Absolute value computation subunit, for calculating the corresponding preset display scale of the preset display mode and described first The absolute value of the difference of image scaled;
Second display pattern first determines subelement, for by the corresponding preset display mould of the smallest absolute value Formula is determined as second display pattern.
Optionally, first video signal display unit, comprising:
Second display picture controls subelement, and there are black regions for the near image boundaries for working as the first image data When domain, the display unit is controlled with first display pattern and shows the second display picture;
The second display picture corresponds to second image data.
Optionally, the first image data extract subelement, further includes:
First icon-based programming subelement identifies the first icon, first icon for parsing first vision signal It is present in each frame image frame of first vision signal;
First raw image data extracts subelement, for extracting the first original image number in first vision signal According to;
First raw image data, which handles subelement, makes first figure for handling first raw image data Mark is identical as the picture material in the first range near first icon area, obtains the first image data.
The specific embodiment provided according to the present invention, the invention discloses following technical effects:
Image display method and electronic equipment of the invention obtains the first image by parsing first vision signal Ratio;Determining the first display pattern to match with the first image ratio;It is aobvious with described first to control the display unit Show that mode shows first vision signal;When the aspect ratio of vision signal changes, after can analyze out change Aspect ratio, and be capable of the display aspect ratio of adjust automatically electronic equipment, make full use of the display area of electronic equipment into Row display, avoids the waste of the display area for electronic equipment.
Detailed description of the invention
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will be to institute in embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is the schematic diagram for the vision signal for using ratio to be 4:3 for the screen broadcasting pictures ratio of 16:9;
When Fig. 2 is the vision signal for using ratio to be 4:3 for the screen broadcasting pictures ratio of 16:9, the picture of vision signal Ratio becomes schematic diagram when 16:9;
Fig. 3 is the flow chart of image display method embodiment 1 of the invention;
Fig. 4 is the flow chart of image display method embodiment 2 of the invention;
Fig. 5 is the flow chart of image display method embodiment 3 of the invention;
Fig. 6 is the flow chart of image display method embodiment 4 of the invention;
Fig. 7 is the structure chart of electronic equipment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
Image display method of the invention, is applied to electronic equipment, and the electronic equipment includes at least display unit and leads to Believe unit.The display unit can show video pictures according to the vision signal received.The communication unit can be used for Receive vision signal.The electronic equipment can be television set, mobile phone, tablet computer, desktop personal computer, laptop, Projector, large photoelectric diode (OLED) display screen, smartwatch, head-mounted display etc. can also be that multiple display devices are spelled Large-scale display device made of connecing, such as video wall etc..
Fig. 3 is the flow chart of image display method embodiment 1 of the invention.As shown in figure 3, this method may include:
Step 301: the first vision signal is received by the communication unit;
First vision signal, can be cable TV signal, be also possible to Web TV signal.First video The aspect ratio of signal can there are many, for example, it may be 4:3, is also possible to 16:9's.
Step 302: parsing first vision signal obtains the first image scaled;
When first vision signal is digital signal, may believe comprising image scaled in first vision signal Breath.Described image percent information directly identifies the image scaled of first vision signal.Therefore, when first video is believed When in number including image scaled information, the first image scaled can be obtained directly according to described image percent information.
It, can be according to the first picture number in first vision signal when first vision signal is analog signal According to the first image scaled of acquisition.When first vision signal is digital signal, but does not wherein include image scaled information, The first image scaled can also be obtained according to the first image data in first vision signal.Specifically, can direct root According to the first image data in first vision signal, the image boundary of the first image data is detected, obtains described the First boundary information of one image data calculates the first image scaled according to first boundary information and then obtains described first Image scaled;The can also be calculated first to first video signal sampling, according to the picture that the vision signal after sampling generates One image scaled;When there are when black region, can also detect described for the near border of the corresponding image of the vision signal The image boundary of one image data judges that described image near border with the presence or absence of black region, obtains the first judging result;When First judging result indicates that described image near border there are when black region, removes the black border region, obtains Second image data;The image boundary of second image data is detected, the second boundary of second image data is obtained Information;According to the second boundary information, the first image ratio is obtained.
When wherein, to the first video signal sampling, need to keep the image scaled of the first vision signal generation after sampling Image scaled corresponding with the first vision signal before sampling is identical.After to the first video signal sampling, with sampling Before compare, the number of pixels of obtained vision signal is reduced, therefore is generated video in the subsequent vision signal according to after sampling and drawn Face, the technology complexity for obtaining the process of the first image scaled are also minimized, and the speed for determining the first image scaled can be improved Degree.
Step 303: determining the first display pattern to match with the first image ratio;
The first display pattern to match with the first image ratio, can refer to and the ratio of the first image ratio The identical display pattern of example.Under first display pattern, the display unit is shown according to first vision signal Video pictures, the ratio with the original video frame of first vision signal is identical.
It should be noted that under normal conditions, when the ratio and the first image of the display pattern that electronic equipment uses When ratio is identical, display picture that first vision signal is formed on the screen of the electronic equipment after proper proportion is amplified The area in face is the largest.Also, since first display pattern and the first image ratio match, so will not Occur in the prior art, when the aspect ratio of vision signal changes, using different from the aspect ratio of vision signal The waste of the display area of electronic equipment caused by when display pattern plays out.
Step 304: controlling the display unit with first display pattern and show first vision signal.
In conclusion, by parsing first vision signal, obtaining the first image scaled in the present embodiment;Determine with The first display pattern that the first image ratio matches;It controls the display unit and institute is shown with first display pattern State the first vision signal;When the aspect ratio of vision signal changes, the aspect ratio after changing can analyze out, and It is capable of the display aspect ratio of adjust automatically electronic equipment, and the picture of amplification display in accordance with the appropriate ratio, makes full use of electronics The display area of equipment is shown, the waste of the display area for electronic equipment is avoided.
Fig. 4 is the flow chart of image display method embodiment 2 of the invention.As shown in figure 4, this method may include:
Step 401: the first vision signal is received by the communication unit;
Step 402: extracting the first image data in first vision signal;
Step 403: the image boundary of detection the first image data judges described image near border with the presence or absence of black Color region obtains the first judging result;If so, executing step 404;Otherwise, step 406 is executed.
There are black regions for the image boundary of the image data of some types.For example, the video of film types, in screen Upper and lower both sides will appear black banner.
Step 404: when first judging result, which is, is, removing the black border region, obtain the second picture number According to;
Because in black region, exist without any pixel with practical significance, i.e. black region and vision signal The content of image data is unrelated.No matter how the content of vision signal changes, and black region is black always.It therefore, can be with The black border region is removed, after removing the black region, has no effect on the significant image data in vision signal. In other words, after removing black region, what user watched has the image content of actual displayed meaning not reduce.
Step 405: the image boundary of detection second image data obtains the second side of second image data Boundary's information;According to the second boundary information, the first image ratio is obtained;
After removing black region, the boundary information of image data can change.Specifically, removing before black region The boundary information of one image data may include the length information and width information of the first image data.According to the first picture number According to length information and width information, the length-width ratio of available first image data, the i.e. image scaled of the first image data. The boundary information of the second image data after removing black region may include the length information and width letter of the second image data Breath.According to the length information and width information of the second image data, the length-width ratio of available second image data, i.e. the second figure As the image scaled of data.
Step 406: when first judging result is no, detecting the image boundary of the first image data, obtain First boundary information of the first image data;
Step 407: according to first boundary information, obtaining the first image ratio.
Step 408: determining the first display pattern to match with the first image ratio;
Step 409: controlling the display unit with first display pattern and show first vision signal.
It should be noted that when the near image boundaries of the first image data are there are when black region, described in control Display unit shows first vision signal with first display pattern, comprising:
It controls the display unit and shows that second in first vision signal shows picture with first display pattern Face;The second display picture is according to the second image data after the removal black border region, obtained.
In the present embodiment, by removing the black region of image boundary, can be directed in vision signal has practical significance Display content, determine corresponding display pattern, user made to watch the display area after getting rid of black region biggish aobvious Show picture.
Fig. 5 is the flow chart of image display method embodiment 3 of the invention.In the present embodiment, the electronic equipment also has There is processing module, the processing module is used for the video signal sampling.Specifically, the processing module can be a list Only video memory, compared with the video memory of common television set, sample rate and resolution ratio can be lower.As shown in figure 5, this method can be with Include:
Step 501: the first vision signal is received by the communication unit;
Step 502: first vision signal being sampled according to default resolution ratio by the processing module, is obtained Second vision signal;The default resolution ratio is less than the true resolution of first vision signal, second vision signal It is identical as the image scaled of first vision signal;
After to the first video signal sampling, compared with before sampling, the number of pixels of obtained vision signal is reduced, because This generates video pictures in the subsequent vision signal according to after sampling, obtains the technology complexity of the process of the first image scaled It is minimized, the speed for determining the first image scaled can be improved.
Step 503: extracting the first image data in second vision signal.
Step 504: the image boundary of detection the first image data obtains the first boundary of the first image data Information;
Step 505: according to first boundary information, obtaining the first image ratio.
Step 506: obtaining the preset display mode of the electronic equipment;
Step 507: judge whether there is display pattern identical with the first image ratio in the preset display mode, Obtain the second judging result;If so, executing step 508, otherwise, step 510 is executed.
The preset display mode includes at least two kinds of display patterns of 4:3 and 16:9.When the first image ratio is 4:3 When, the display pattern of 4:3 can be used;When the first image ratio is 16:9, the display pattern of 16:9 can be used.
Step 508:, will the display mould identical with the first image ratio when second judging result, which is, is Formula is determined as first display pattern;
Step 509: controlling the display unit with first display pattern and show first vision signal.
Step 510: when first judging result is no, determination makes first vision signal in the display unit On display picture maximum second display pattern of area;
When display pattern identical with the first image ratio is not present in the preset display mode, can calculate The absolute value of the difference of the preset display mode corresponding preset display scale and the first image ratio;
By the corresponding preset display mode of the smallest absolute value, it is determined as second display pattern.
Assuming that the preset display mode only has two kinds of display patterns of 4:3 and 16:9.And the first image ratio is 2: 1.Difference between 4:3 and 2:1 is a quarter, and the difference between 16:9 and 2:1 is 1/16th.It is the smallest described absolute Value is 1/16th, and the corresponding preset display mode is 16:9.The display pattern of 16:9 can be then determined as described Second display pattern.
It should be noted that when showing first vision signal with the second display pattern, can't change in the present embodiment Become the image scaled of first vision signal, the ratio of display picture of first vision signal on the display unit It is identical as the first image ratio.
Specifically, by taking the above-mentioned display pattern using 16:9 shows the image of 2:1 as an example, it is assumed that a length of 48 lis of image Rice, width are 24 centimetres, and a length of 48 centimetres of display screen, width is 27 centimetres, then described image can be shown as to 48 centimetres long, wide 24 centimetres.
Step 511: controlling the display unit with second display pattern and show first vision signal.
It in the present embodiment, is sampled by processing module, the speed for determining the first image scaled can be improved;By judging Whether have with the first image ratio identical display pattern, when the judgment result is no, determine if stating in preset display mode Maximum second display pattern of area for making display picture of first vision signal on the display unit, can make The display area of first vision signal on the display unit is as big as possible.
Fig. 6 is the flow chart of image display method embodiment 4 of the invention.As shown in fig. 6, this method may include:
Step 601: the first vision signal is received by the communication unit;
Step 602: parsing first vision signal identifies that the first icon, first icon are present in described first In each frame image frame of vision signal;
First icon can be the logo of TV station.First icon can be located at existing near image boundaries Black region.
Step 603: extracting the first raw image data in first vision signal;
First raw image data is the image data for including first icon.
Step 604: processing first raw image data makes near first icon and first icon area The first range in picture material it is identical, obtain the first image data.
It can be by the color treatments of first icon at identical as the black of black region existing near image boundaries Black.
Step 605: existing for the near image boundaries of removal the first image data after black region, detecting described the The image boundary of one image data obtains the first boundary information of the first image data;
In the present embodiment, there are black regions for the near image boundaries of the first image data.
Step 606: according to first boundary information, obtaining the first image ratio.
Step 607: determining the first display pattern to match with the first image ratio;
Step 608: controlling the display unit with first display pattern and show first vision signal.
In the present embodiment, first raw image data is handled, first icon and first icon area are made Picture material in the first neighbouring range is identical, can remove black region near image boundaries there are when black region Then the first interior icon removes black region again, improve accuracy when determining the first image scaled.
The invention also discloses a kind of electronic equipment.The electronic equipment includes at least display unit and communication unit.Fig. 7 For the structure chart of electronic equipment of the invention.As shown in fig. 7, the electronic equipment may include:
First video reception unit 701, for receiving the first vision signal by the communication unit;
First image scaled acquiring unit 702 obtains the first image scaled for parsing first vision signal;
First display pattern determination unit 703, for determining the first display mould to match with the first image ratio Formula;
First video signal display unit 704 shows institute for controlling the display unit with first display pattern State the first vision signal.
In practical application, the first image ratio acquisition unit 702 may include:
First image data extraction subelement, for extracting the first image data in first vision signal;
Image boundary detection sub-unit obtains first figure for detecting the image boundary of the first image data As the first boundary information of data;
First image scaled obtains subelement, for obtaining the first image ratio according to first boundary information.
The electronic equipment can also include:
First judgment sub-unit is extracted in first vision signal for extracting subelement in the first image data The first image data after, detect the first image data image boundary, judge whether described image near border deposits In black region, the first judging result is obtained;
Second image data generates subelement, for indicating that described image near border exists when first judging result When black region, the black border region is removed, obtains the second image data;
The first image ratio obtains subelement, specifically includes:
First image scaled obtains the first subelement, for detecting the image boundary of second image data, obtains institute State the second boundary information of the second image data;According to the second boundary information, the first image ratio is obtained.
In practical application, the electronic equipment also has processing module, and the processing module is used for the vision signal Sampling, then the first image data extract subelement, can specifically include:
Subelement is sampled, for adopting according to default resolution ratio to first vision signal by the processing module Sample obtains the second vision signal;The default resolution ratio is less than the true resolution of first vision signal, second view Frequency signal is identical as the image scaled of first vision signal;
First image scaled obtains the second subelement, for extracting the first image data in second vision signal.
The first display pattern determination unit 703 may include:
Preset display mode obtains subelement, for obtaining the preset display mode of the electronic equipment;
Whether the second judgment sub-unit is identical as the first image ratio for judging to have in the preset display mode Display pattern, obtain the second judging result;
First display pattern determines subelement, will be described with described first for when second judging result, which is, is The identical display pattern of image scaled is determined as first display pattern;
Second display pattern determines subelement, makes first view for determining when first judging result is no Maximum second display pattern of area of display picture of the frequency signal on the display unit;
The ratio and the first image ratio phase of display picture of first vision signal on the display unit Together.
Wherein, second display pattern determines subelement, may include:
Absolute value computation subunit, for calculating the corresponding preset display scale of the preset display mode and described first The absolute value of the difference of image scaled;
Second display pattern first determines subelement, for by the corresponding preset display mould of the smallest absolute value Formula is determined as second display pattern.
In practical application, first video signal display unit 704 may include:
Second display picture controls subelement, and there are black regions for the near image boundaries for working as the first image data When domain, the display unit is controlled with first display pattern and shows that second in first vision signal shows picture;
The second display picture is according to after the removal black border region, and the second obtained image data generates 's.
In practical application, the first image data extract subelement, can also include:
First icon-based programming subelement identifies the first icon, first icon for parsing first vision signal It is present in each frame image frame of first vision signal;
First raw image data extracts subelement, for extracting the first original image number in first vision signal According to;
First raw image data, which handles subelement, makes first figure for handling first raw image data Mark is identical as the picture material in the first range near first icon area, obtains the first image data.
In practical application, the electronic equipment further includes that the second display picture is carried out appropriate equal proportion up and down to amplify Picture, so that being shown over the display with maximum area.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required hardware platform to realize, naturally it is also possible to all implemented by hardware, but in many cases before Person is more preferably embodiment.Based on this understanding, technical solution of the present invention contributes to background technique whole or Person part can be embodied in the form of software products, which can store in storage medium, such as ROM/RAM, magnetic disk, CD etc., including some instructions are used so that a computer equipment (can be personal computer, service Device or the network equipment etc.) execute method described in certain parts of each embodiment of the present invention or embodiment.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For electronics disclosed in embodiment For equipment, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method portion It defends oneself bright.
Used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said It is bright to be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, foundation Thought of the invention, there will be changes in the specific implementation manner and application range.In conclusion the content of the present specification is not It is interpreted as limitation of the present invention.

Claims (10)

1. a kind of image display method is applied to electronic equipment, the electronic equipment includes at least display unit and communication unit, It is characterized in that, which comprises
The first vision signal is received by the communication unit;
First vision signal is parsed, the first image scaled is obtained;
Determining the first display pattern to match with the first image ratio;
It controls the display unit and first vision signal is shown with first display pattern;
Wherein, the first image scaled of the acquisition, comprising:
Extract the first image data in first vision signal;
The image boundary for detecting the first image data judges that described image near border with the presence or absence of black region, obtains First judging result;
When first judging result indicates that described image near border there are when black region, removes the black region, obtains To the second image data;
Obtain the first boundary information of the first image data;
According to first boundary information, the image boundary of second image data is detected, obtains second image data The second boundary information;According to the second boundary information, the first image ratio is obtained;
Wherein it is determined that the first display pattern to match with the first image ratio, comprising:
Obtain the preset display mode of the electronic equipment;
Judge whether there is display pattern identical with the first image ratio in the preset display mode, obtains the second judgement As a result;
When second judging result, which is, is, the display pattern identical with the first image ratio is determined as described First display pattern;
When second judging result is no, determination makes display picture of first vision signal on the display unit Maximum second display pattern of area;
The ratio and the first image ratio of display picture of first vision signal on the display unit are identical.
2. the method according to claim 1, wherein the electronic equipment also has processing module, the processing Module is used for the video signal sampling, then first image data extracted in first vision signal, specifically:
First vision signal is sampled according to default resolution ratio by the processing module, obtains the second video letter Number;The default resolution ratio is less than the true resolution of first vision signal, second vision signal and described first The image scaled of vision signal is identical;
Extract the first image data in second vision signal.
3. the method according to claim 1, wherein the determination makes first vision signal in the display Maximum second display pattern of area of display picture on unit, comprising:
Calculate the absolute value of the difference of the preset display mode corresponding preset display scale and the first image ratio;
By the corresponding preset display mode of the smallest absolute value, it is determined as second display pattern.
4. the method according to claim 1, wherein the near image boundaries when the first image data exist When black region, the control display unit shows first vision signal with first display pattern, comprising:
It controls the display unit and the second display picture is shown with first display pattern;
The second display picture corresponds to second image data.
5. the method according to claim 1, wherein first image extracted in first vision signal Data, further includes:
First vision signal is parsed, identifies that the first icon, first icon are present in the every of first vision signal In one frame image frame;
Extract the first raw image data in first vision signal;
First raw image data is handled, is made in the first range near first icon and first icon area Picture material it is identical, obtain the first image data.
6. a kind of electronic equipment, the electronic equipment includes at least display unit and communication unit, which is characterized in that the electronics Equipment includes:
First video reception unit, for receiving the first vision signal by the communication unit;
First image scaled acquiring unit obtains the first image scaled for parsing first vision signal;
First display pattern determination unit, for determining the first display pattern to match with the first image ratio;
First video signal display unit shows first view for controlling the display unit with first display pattern Frequency signal;
Wherein, the first image ratio acquisition unit, comprising:
First image data extraction subelement, for extracting the first image data in first vision signal;
Image boundary detection sub-unit obtains the first image number for detecting the image boundary of the first image data According to the first boundary information;
First judgment sub-unit, for the first image data extract subelement extract in first vision signal the After one image data, the image boundary of the first image data is detected, judges described image near border with the presence or absence of black Color region obtains the first judging result;
Second image data generates subelement, for when first judging result indicates described image near border, there are black When region, the black region is removed, obtains the second image data;
First image scaled obtains subelement, for obtaining the first image ratio according to first boundary information;Specifically Include: that the first image scaled obtains the first subelement, for detecting the image boundary of second image data, obtains described the The second boundary information of two image datas;According to the second boundary information, the first image ratio is obtained;
The first display pattern determination unit, comprising:
Preset display mode obtains subelement, for obtaining the preset display mode of the electronic equipment;
Second judgment sub-unit, it is identical with the first image ratio aobvious for judging whether to have in the preset display mode Show mode, obtains the second judging result;
First display pattern determines subelement, for inciting somebody to action described and the first image when second judging result, which is, is The identical display pattern of ratio is determined as first display pattern;
Second display pattern determines subelement, for when second judging result is no, determining to believe first video Maximum second display pattern of area of display picture number on the display unit;
The ratio and the first image ratio of display picture of first vision signal on the display unit are identical.
7. electronic equipment according to claim 6, which is characterized in that the electronic equipment also has processing module, described Processing module is used for the video signal sampling, then the first image data extract subelement, is specifically included:
Subelement is sampled, for being sampled according to default resolution ratio to first vision signal by the processing module, Obtain the second vision signal;The default resolution ratio is less than the true resolution of first vision signal, second video Signal is identical as the image scaled of first vision signal;
First image scaled obtains the second subelement, for extracting the first image data in second vision signal.
8. electronic equipment according to claim 6, which is characterized in that second display pattern determines subelement, comprising:
Absolute value computation subunit, for calculating the corresponding preset display scale of the preset display mode and the first image The absolute value of the difference of ratio;
Second display pattern first determines subelement, for by the corresponding preset display mode of the smallest absolute value, It is determined as second display pattern.
9. electronic equipment according to claim 7, which is characterized in that first video signal display unit, comprising:
Second display picture controls subelement, and there are black regions for the near image boundaries for working as the first image data When, the display unit, which is controlled, with first display pattern shows the second display picture;
The second display picture corresponds to second image data.
10. electronic equipment according to claim 6, which is characterized in that the first image data extract subelement, also wrap It includes:
First icon-based programming subelement identifies that the first icon, first icon exist for parsing first vision signal In each frame image frame of first vision signal;
First raw image data extracts subelement, for extracting the first raw image data in first vision signal;
First raw image data handles subelement, for handling first raw image data, make first icon with The picture material in the first range near first icon area is identical, obtains the first image data.
CN201310452291.3A 2013-09-25 2013-09-25 A kind of image display method and electronic equipment Active CN104469178B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310452291.3A CN104469178B (en) 2013-09-25 2013-09-25 A kind of image display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310452291.3A CN104469178B (en) 2013-09-25 2013-09-25 A kind of image display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104469178A CN104469178A (en) 2015-03-25
CN104469178B true CN104469178B (en) 2019-07-26

Family

ID=52914473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310452291.3A Active CN104469178B (en) 2013-09-25 2013-09-25 A kind of image display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104469178B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423007B (en) * 2016-05-23 2020-08-28 南宁富桂精密工业有限公司 Screen display proportion adjusting device and method
CN108696710B (en) * 2017-04-11 2020-09-04 杭州海康威视数字技术股份有限公司 Image display method and device
CN108024155A (en) * 2017-12-15 2018-05-11 北京小度互娱科技有限公司 The video broadcasting method and device of adaptive video the ratio of width to height
CN109410864A (en) 2018-12-04 2019-03-01 惠科股份有限公司 Driving method and driving module of display panel and display device
CN111736790B (en) * 2020-07-31 2020-12-18 开立生物医疗科技(武汉)有限公司 Multi-screen display method, device and system and host equipment
CN112788426A (en) * 2020-12-30 2021-05-11 北京安博盛赢教育科技有限责任公司 Display method, device, medium and electronic equipment of function display area
CN114845059B (en) 2022-07-06 2022-11-18 荣耀终端有限公司 Shooting method and related equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642226A (en) * 2004-01-14 2005-07-20 松下电器产业株式会社 Video signal display unit
CN101626465A (en) * 2009-08-03 2010-01-13 深圳创维-Rgb电子有限公司 Image display method of flat television
CN101931736A (en) * 2009-06-18 2010-12-29 言炬 Processing method and system of video picture black borders
CN102377960A (en) * 2010-08-24 2012-03-14 腾讯科技(深圳)有限公司 Video picture displaying method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3081583B2 (en) * 1998-03-24 2000-08-28 三洋電機株式会社 Digital camera
US7911536B2 (en) * 2004-09-23 2011-03-22 Intel Corporation Screen filled display of digital video content
CN102111601B (en) * 2009-12-23 2012-11-28 大猩猩科技股份有限公司 Content Adaptable Multimedia Processing System and Processing Method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642226A (en) * 2004-01-14 2005-07-20 松下电器产业株式会社 Video signal display unit
CN101931736A (en) * 2009-06-18 2010-12-29 言炬 Processing method and system of video picture black borders
CN101626465A (en) * 2009-08-03 2010-01-13 深圳创维-Rgb电子有限公司 Image display method of flat television
CN102377960A (en) * 2010-08-24 2012-03-14 腾讯科技(深圳)有限公司 Video picture displaying method and device

Also Published As

Publication number Publication date
CN104469178A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN104469178B (en) A kind of image display method and electronic equipment
US11335297B2 (en) Method for displaying projection picture and method for rotating projection picture
US10368123B2 (en) Information pushing method, terminal and server
CN103369205B (en) Mobile terminal and video image processing method
WO2017211250A1 (en) Image overlay display method and system
CN113727166B (en) Advertisement display method and device
CN110971847B (en) Screen display content superposition method and device, electronic equipment and storage medium
JP7331146B2 (en) Subtitle cross-border processing method, device and electronic device
JP5460793B2 (en) Display device, display method, television receiver, and display control device
CN106604106A (en) Player control display control method and apparatus thereof
CN118488329A (en) Pixel dead pixel correction method and device, electronic equipment and storage medium
CN112565909B (en) Video playing method and device, electronic equipment and readable storage medium
CN103713832A (en) Display processing method and electronic devices
KR20140075802A (en) Method and apparatus for dynamic placement of a graphics display window within an image
EP2731099A1 (en) Image output device, image output method, and program
KR20150057026A (en) Method for Detecting a Logo in Moving Image In Real Time basis
CN104575549B (en) A kind of method and device of positioning playing picture
US20260038075A1 (en) Systems and methods for extending selectable object capability to a captured image
CN103543916A (en) Information processing method and electronic equipment
WO2017096800A1 (en) Method and device for regulating captions of video
CN114302209B (en) Video processing method, device, electronic equipment and medium
Wang et al. Salient edge and region aware image retargeting
CN108093246A (en) A kind of recognition methods of top box of digital machine video playback area and device
CN105245933A (en) Screen display method and device
CN111401165A (en) Method for extracting station logo, display device and computer-readable storage medium

Legal Events

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