CN103399721B - The method of display widescreen data and terminal - Google Patents
The method of display widescreen data and terminal Download PDFInfo
- Publication number
- CN103399721B CN103399721B CN201310319602.9A CN201310319602A CN103399721B CN 103399721 B CN103399721 B CN 103399721B CN 201310319602 A CN201310319602 A CN 201310319602A CN 103399721 B CN103399721 B CN 103399721B
- Authority
- CN
- China
- Prior art keywords
- region
- image zooming
- focus area
- widescreen
- preset window
- 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
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a kind of method and the terminal that show widescreen data, belong to multimedia technology field.Method comprises: the picture that widescreen data are formed is carried out equal proportion convergent-divergent, until the height of the picture of widescreen data formation equals height and the preset height sum of preset window, obtains image zooming; Detect the focus area in image zooming, focus area is the appointed area in image zooming; Determine in image zooming with the in the same size of preset window and comprise the viewing area of focus area, and the widescreen data that viewing area is corresponding in preset window.The present invention carries out equal proportion convergent-divergent by picture widescreen data formed, and can ensure that the display of widescreen data distortion can not occur; In addition, to determine in image zooming with the in the same size of preset window and after comprising the viewing area of focus area, in preset window, show the widescreen data that this viewing area is corresponding, can realize by the display of widescreen data integrity on the display device, can Consumer's Experience being promoted.
Description
Technical field
The present invention relates to multimedia technology field, particularly a kind of method and terminal showing widescreen data.
Background technology
What require multi-medium data sharpness along with user improves constantly, and the widescreen data of increasing high definition or ultra high-definition all adopt the widescreen picture of such as 16:9 display specification to show.But the display such as the TV at present in such as computer monitor and home environment product still adopts the normal pictures display specification of such as 4:3, and do not possess the condition of widescreen picture display specification, thus can completely does not show widescreen data.Therefore, how realizing widescreen data to show according to normal pictures display specification, is the key making the complete display on common display product of widescreen data.
At present, there are two kinds of methods showing widescreen data, the first display packing: utilize some aids, according to the display size of the picture that widescreen data are formed, the picture that widescreen data are formed extrudes by employing experience aspect ratio, realizes according to common display specification display widescreen data.Such as, the picture that widescreen data are formed show dimensions as 720*576, can according to common display specification display widescreen data after adopting the aspect ratio extruding of 1.067:1.The second display packing: when ensureing that the width of the picture that widescreen data are formed equals common display specification requirement, by the picture that the proportional zoom widescreen data of 1:1 are formed, the display of the picture after convergent-divergent is made highly to be less than or equal to the requirement of common display specification, or when ensureing highly to equal the requirement of common display specification, by the picture that the proportional zoom widescreen data of 1:1 are formed, the display width of the picture after convergent-divergent is made to be less than or equal to the requirement of common display specification, and be partially filled black to what be less than common display specification requirement, thus widescreen data are shown according to common display specification.
For the first conversion method, the picture that widescreen data are formed extrudes according to the ratio of 1.067:1, but not the ratio of 1:1, thus cause the extruding degree of display width different from the extruding degree of display height, the display width of the picture therefore after extruding is different from the display specification of the picture that widescreen data are formed with the ratio of display height, causes display distortion.For the second conversion method, be partially filled as black due to what be less than common display specification requirement, then can cause the situation that there is left and right black surround or black surround up and down when showing, cause data display effect not good, reduce user's viewing experience.
Summary of the invention
In order to solve the problem of background technology, embodiments provide a kind of method and the terminal that show widescreen data.
On the one hand, provide a kind of method showing widescreen data, described method comprises:
The picture that widescreen data are formed is carried out equal proportion convergent-divergent, until the height of the picture of described widescreen data formation equals height and the preset height sum of preset window, obtains image zooming;
Detect the focus area in described image zooming, described focus area is the appointed area in described image zooming;
Determine in described image zooming with the in the same size of described preset window and comprise the viewing area of described focus area, and in described preset window, showing widescreen data corresponding to described viewing area.
Preferably, describedly determine in described image zooming with the in the same size of described preset window and comprise the viewing area of described focus area, comprising:
Determine the same reference point that described preset window is corresponding with described image zooming, and with described reference point for initial point determines the region of the same size with described preset window in described image zooming, and using the region to be shown as described image zooming, the region determined;
Determine the position in the relatively described region to be shown of described focus area, determine the viewing area of described image zooming according to the position in the relatively described region to be shown of described focus area.
Preferably, the viewing area of described image zooming is determined in the described position according to the relatively described region to be shown of described focus area, comprising:
If determine the position in the relatively described region to be shown of described focus area be described focus area all in described regional extent to be shown, then described region to be shown is defined as the viewing area of described image zooming.
Preferably, the viewing area of described image zooming is determined in the described position according to the relatively described region to be shown of described focus area, comprising:
If determine the position in the relatively described region to be shown of described focus area to be described focus area in described regional extent to be shown outer or described focus area and described region to be shown overlap, then in described image zooming, redefine the region of the same size to be shown with described preset window;
Determine the position in the region to be shown that described focus area redefines relatively, according to described focus area relatively described in the position in region to be shown that redefines determine the viewing area of described image zooming.
Preferably, describedly in described image zooming, redefine the region of the same size to be shown with described preset window, comprising:
Redefine reference point according to predetermined threshold value, in described image zooming, redefine the region of the same size to be shown with described preset window with the reference point redefined for initial point, obtain the region to be shown redefined.
On the other hand, provide a kind of terminal, described terminal comprises:
Zoom module, carries out equal proportion convergent-divergent for picture widescreen data formed, until the height of the picture of described widescreen data formation equals height and the preset height sum of preset window, obtains image zooming;
Detection module, for detecting the focus area in described image zooming, described focus area is the appointed area in described image zooming;
Determination module, for determining with the in the same size of described preset window and comprising the viewing area of described focus area in described image zooming;
Display module, for showing widescreen data corresponding to described viewing area in described preset window.
Preferably, described determination module, comprising:
First determining unit, for determining the same reference point that described preset window is corresponding with described image zooming;
Second determining unit, for the reference point determined with described first determining unit for initial point determines the region of the same size with described preset window in described image zooming, and using the region to be shown as described image zooming, the region determined;
3rd determining unit, for determining the position in the region to be shown that relatively described second determining unit of described focus area is determined, determines the viewing area of described image zooming according to the position in the relatively described region to be shown of described focus area.
Preferably, described 3rd determining unit, for when determine the position in the relatively described region to be shown of described focus area be described focus area all in described regional extent to be shown time, described region to be shown is defined as the viewing area of described image zooming.
Preferably, described 3rd determining unit, for when determining the position in the relatively described region to be shown of described focus area to be described focus area in described regional extent to be shown outer or described focus area and described region to be shown overlap, in described image zooming, redefine the region of the same size to be shown with described preset window;
4th determining unit, for determining the position in the region to be shown that described focus area redefines relatively, according to described focus area relatively described in the position in region to be shown that redefines determine the viewing area of described image zooming.
Preferably, described 3rd determining unit, for redefining reference point according to predetermined threshold value, in described image zooming, redefining the region of the same size to be shown with described preset window with the reference point redefined for initial point, obtaining the region to be shown redefined.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
Carry out equal proportion convergent-divergent by picture widescreen data formed, can ensure that the display of widescreen data distortion can not occur; In addition, height due to image zooming equals height and the preset height sum of preset window, and to determine in image zooming with the in the same size of preset window and after comprising the viewing area of focus area, the widescreen data that this viewing area is corresponding are shown in preset window, therefore, widescreen data integrity can be realized to show on the display device, improve the display effect of widescreen data, thus improve the viewing experience of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of method flow diagram showing widescreen data that the embodiment of the present invention one provides;
Fig. 2 is a kind of method flow diagram showing widescreen data that the embodiment of the present invention two provides;
Fig. 3 is the overall schematic of a kind of video pictures that the embodiment of the present invention two provides;
Fig. 4 is the overall schematic of the first video pictures that the embodiment of the present invention two provides;
Fig. 5 is the overall schematic of the second video pictures that the embodiment of the present invention two provides;
Fig. 6 is the overall schematic of the third video pictures that the embodiment of the present invention two provides;
Fig. 7 is the overall schematic of the 4th kind of video pictures that the embodiment of the present invention two provides;
Fig. 8 is the structural representation of a kind of terminal that the embodiment of the present invention three provides;
Fig. 9 is the inner structure schematic diagram of a kind of determination module that the embodiment of the present invention three provides;
Figure 10 is the inner structure schematic diagram of the another kind of determination module that the embodiment of the present invention three provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described in detail.
Embodiment one
Embodiments provide a kind of method showing widescreen data, see Fig. 1, the method flow that the present embodiment provides comprises:
101: the picture that widescreen data are formed is carried out equal proportion convergent-divergent, until the height of the picture of widescreen data formation equals height and the preset height sum of preset window, obtain image zooming;
102: detect the focus area in image zooming, focus area is the appointed area in image zooming;
103: determine in image zooming with the in the same size of preset window and comprise the viewing area of focus area, and in preset window, showing widescreen data corresponding to this viewing area.
Preferably, determine in image zooming with the in the same size of preset window and comprise the viewing area of focus area, including but not limited to:
Determine the same reference point that preset window is corresponding with image zooming, and be that initial point determines the region of the same size with preset window in image zooming with reference point, and using the region to be shown as image zooming, the region determined;
Determine the position in focus area region relatively to be shown, determine the viewing area of image zooming according to the position in focus area region relatively to be shown.
Preferably, determine the viewing area of image zooming according to the position in focus area region relatively to be shown, include but not limited to:
If determine the position in focus area region relatively to be shown be focus area all in regional extent to be shown, then region to be shown is defined as the viewing area of image zooming.
Preferably, determine the viewing area of image zooming according to the position in focus area region relatively to be shown, include but not limited to:
If determine the position in focus area region relatively to be shown to be focus area in regional extent to be shown outer or focus area and region to be shown overlap, then in image zooming, redefine the region of the same size to be shown with preset window;
Determine the position in the region to be shown that focus area redefines relatively, the viewing area of image zooming is determined in the position in the region to be shown relatively redefined according to focus area.
Preferably, in image zooming, redefine the region of the same size to be shown with preset window, include but not limited to:
Redefine reference point according to predetermined threshold value, in image zooming, redefine the region of the same size to be shown with preset window with the reference point redefined for initial point, obtain the region to be shown redefined.
The method that the present embodiment provides, carries out equal proportion convergent-divergent by picture widescreen data formed, and can ensure that the display of widescreen data distortion can not occur; In addition, height due to image zooming equals height and the preset height sum of preset window, and to determine in image zooming with the in the same size of preset window and after comprising the viewing area of focus area, the widescreen data that this viewing area is corresponding are shown in preset window, therefore, widescreen data integrity can be realized to show on the display device, improve the display effect of widescreen data, thus improve the viewing experience of user.
Embodiment two
Embodiments provide a kind of method showing widescreen data, now in conjunction with the content of above-described embodiment one, the picture that display specification is 4:3 is converted to picture widescreen data formed, to realize showing the picture that widescreen data are formed on the display device of common display specification, in detail explanation is explained to the mode of the display widescreen data that the present embodiment provides.See Fig. 2, the method flow that the present embodiment provides comprises:
201: the picture that widescreen data are formed is carried out equal proportion convergent-divergent, until the height of the picture of widescreen data formation equals height and the preset height sum of preset window, obtain image zooming;
For this step, the equipment of display video picture is when display video picture, interface is made up of three parts usually, as shown in Figure 3, be divided into (5% region outside picture edge, activity safety district, also known as safe frame), place of safety (10% region outside picture edge, comprises activity safety district) and viewing area (not comprising the remainder of activity safety district and place of safety in picture).Video pictures is made up of general data or widescreen data usually, and the ratio of width to height of the picture that widescreen data are formed is 1.442:1, and the ratio of width to height of the picture that general data is formed is 1.067:1; The picture be made up of general data can complete display on the display device with common display specification, and the picture be made up of widescreen data only could complete display on the display device with widescreen display specification.
In this step, why the picture that widescreen data are formed being carried out equal proportion convergent-divergent, is that the picture in order to enable these widescreen data form intactly shows on the equipment of the display video picture preset.Wherein, the implication of equal proportion convergent-divergent is the width convergent-divergent how many times of picture, the height also corresponding convergent-divergent how many times of picture.For the width convergent-divergent of picture 3 times, then in order to realize equal proportion convergent-divergent, the height of picture wants convergent-divergent 3 times too.
When picture widescreen data formed carries out equal proportion convergent-divergent, the height of the picture why widescreen data formed zooms to the height and preset height sum that equal preset window, is to ensure that the main information in the picture that widescreen data are formed all can show with inner region at safe frame.Wherein, the preset height in this step can for being more than or equal to longitudinal width in the activity safety district of normal pictures.
Wherein, the size of preset height specifically can be 5% of picture whole height, and the size of certain preset height, except 5% of picture whole height, can also be other numerical value.Such as, 2% of picture whole height or 3% of picture whole height etc., the size of the present embodiment to preset height does not specifically limit.
202: detect the focus area in image zooming, focus area is the appointed area in image zooming;
Wherein, focus area is the appointed area in image zooming, and this appointed area can be operand region in this image zooming, or main body region in this image zooming, or the geometric center region of this image zooming etc., the concrete form in the present embodiment focusing region does not limit.
When this appointed area is operand region in this image zooming, namely this appointed area refers to the pointer class operand regions such as the cursor of mouse;
When this appointed area is main body region in image zooming, namely this appointed area refers to personage or things region in this image zooming, and such as, the background in a width image zooming is blue sky and white cloud, under a blue sky and magnolia clouds having a child, then child is the main body in this image zooming;
When this appointed area is the geometric center region of image zooming, namely this appointed area refers to the geometric center initial point region in this image zooming.
No matter focus area is specially the region of which kind of type above-mentioned, when detecting the focus area in image zooming, all by image detecting technique, the characteristics of image in image zooming is detected, thus identify the feature of focus area, according to the focus area in the feature in-scope determination image zooming of focus area.Certainly, can also detect the focus area in image zooming by other means, the concrete detection mode in the embodiment of the present invention not focusing region limits.
203: determine in image zooming with the in the same size of preset window and comprise the viewing area of focus area, and in preset window, showing widescreen data corresponding to this viewing area.
For this step, determining with the in the same size of preset window and before comprising the viewing area of focus area, first should determine the size of the preset window showing widescreen data.About the specific implementation of size determining the preset window showing widescreen data, the present embodiment is not specifically limited.In the specific implementation, can after determining to show the equipment of frequency range data, the display screen of this equipment the size of display frame can be defined as the size of preset window.The display screen of the equipment of display widescreen data is different, and the display specification presented naturally also can be different, then the size of preset window also may be different.According to different pictures display specification, the size of the preset window determined is also different from the size of image zooming, as shown in table 1 below:
Table 1
Picture display specification | The size (taking the upper left corner as initial point) of preset window |
16:9 | 0 ~ 100% of image zooming |
5:4 | 0 ~ 85% of image zooming |
4:3 | 0 ~ 75% of image zooming |
It should be noted that, when performing the method that the present embodiment provides, without the need to all performing the above-mentioned step determining the size of preset window at every turn, and only performing once when the method that first time execution the present embodiment provides.When the size of follow-up preset window and the size of image zooming change, the size determining preset window can be repeated.
No matter adopt which kind of mode to determine the size of the preset window showing widescreen data, when determining in image zooming with the in the same size of preset window and comprise the viewing area of focus area, all can realize in the following way:
Determine the same reference point that preset window is corresponding with image zooming, and be that initial point determines the region of the same size with preset window in image zooming with reference point, and using the region to be shown as image zooming, the region determined;
Determine the position in focus area region relatively to be shown, determine the viewing area of image zooming according to the position in focus area region relatively to be shown.
For the ease of understanding, with the display specification of image zooming for 16:9, the display specification of preset window is 4:3, and preset window and the upper left corner of image zooming are defined as corresponding same reference point is example, then pass through as above table 1 and can know that the size of preset window and the size of image zooming are 0 ~ 75%, as shown in Figure 4.Because preset window and image zooming take same reference point, namely the left hand edge of preset window and the left hand edge of image zooming are as the criterion with the upper left corner and align; Therefore, the region of image zooming 0 ~ 75% is seated in preset window, thus can using the region of 0 ~ 75% of image zooming as region to be shown.
In addition, after the focus area in image zooming detected according to above-mentioned steps 202, just can determine the position in focus area region relatively to be shown, thus judge to show whether this focus area is seated in the region of in this image zooming 0 ~ 75%.Preferably, when determining the viewing area of image zooming according to the position in focus area region relatively to be shown, include but not limited to be divided into following several situation:
The first situation: if determine the position in focus area region relatively to be shown be focus area all in regional extent to be shown, then region to be shown is defined as the viewing area of image zooming.
For this kind of situation, as shown in Figure 5, because focus area is seated in the region of in this image zooming 0 ~ 75%, be also namely seated in preset window, illustrate that when showing region to be shown according to preset window, the content of display can comprise this image zooming main information to be expressed; Therefore, can directly by this image zooming 0 ~ 75% region to be shown be defined as the viewing area of this image zooming.
The second situation: if determine the position in focus area region relatively to be shown to be focus area in regional extent to be shown outer or focus area and region to be shown overlap, then redefine the region of the same size to be shown with preset window in image zooming; Determine the position in the region to be shown that focus area redefines relatively, the viewing area of image zooming is determined in the position in the region to be shown relatively redefined according to focus area.
For this kind of situation, as shown in FIG. 6 and 7, because focus area is seated in outside the region to be shown of in this image zooming 0 ~ 75%, or be seated in (a part of region being arranged in this image zooming 0 ~ 75% of focus area in the edges of regions to be shown of in this image zooming 0 ~ 75%, another part is arranged in outside the region of this image zooming 0 ~ 75%), then illustrate that when showing region to be shown according to preset window, the content of display can not comprise this image zooming main information to be expressed completely; Therefore, the region of the same size to be shown with preset window need be redefined in image zooming, and after determining the position in the region to be shown that focus area redefines relatively, the viewing area of image zooming is determined in the position in the region to be shown relatively redefined according to focus area.
Wherein, in image zooming, redefine the region of the same size to be shown with preset window, include but not limited to:
Redefine reference point according to predetermined threshold value, in image zooming, redefine the region of the same size to be shown with preset window with the reference point redefined for initial point, obtain the region to be shown redefined.
Wherein, the size of predetermined threshold value specifically can be 5% of picture overall width, certainly, the size of predetermined threshold value, except 5% of picture overall width, also can be other numerical value, such as, 2% of picture overall width or 3% etc., the size of the present embodiment to predetermined threshold value does not specifically limit.
For the ease of understanding, continue for Fig. 6, and be 5% of picture overall width with predetermined threshold value be example, because now focus area is positioned at 80% ~ 85% region of this image zooming, if region to be shown is defined as viewing area, the content then shown can not comprise whole main informations of image zooming, therefore, region to be shown need be redefined, and determine the position in the region to be shown that focus area redefines relatively, the viewing area of image zooming is determined with the position in the region to be shown relatively redefined according to focus area, realize 80% ~ 85% region of this image zooming can show in preset window.During concrete enforcement, first this image zooming entirety is moved to the left 5% of picture overall width, then after movement, reference point location place place is 5% region of this image zooming, by 5% ~ 80% region of image zooming as the region to be shown redefined, the displaying contents now in region to be shown is 5% ~ 80% region of this image zooming; Because now focus area is still seated in outside region to be shown, therefore, also need again this image zooming entirety to be moved to the left 5% of picture overall width, after again moving, reference point location place place is 10% region of this image zooming, displaying contents in the region to be shown now redefined is 10% ~ 85% region of this image zooming, because now focus area is seated in the region to be shown redefined, therefore, stop mobile, and current region to be shown the region of 10% ~ 85% (this image zooming) is defined as viewing area.
It should be noted that, region to be shown is redefined except above-mentioned, and determine the position in the region to be shown that focus area redefines relatively, according to focus area relatively described in the position in region to be shown that redefines determine outside the mode of the viewing area of image zooming, other also can be taked to redefine region to be shown, thus determine the mode of viewing area.Such as, this image zooming entirety is moved, until the region be positioned in this image zooming outside former region to be shown is all seated within the region to be shown that redefines, and using the current region to be shown redefined as viewing area, the present embodiment not to redefining region to be shown, thus determines that the mode of viewing area specifically limits.
It should be noted that, when showing widescreen data by above-mentioned steps 201 to step 203, both the picture that widescreen data are formed can be converted to display specification is the picture of 4:3, also the picture that widescreen data are formed can be converted to display specification is the picture of 5:4, and the present embodiment does not specifically limit this.
The method that the present embodiment provides, carries out equal proportion convergent-divergent by picture widescreen data formed, and can ensure that the display of widescreen data distortion can not occur; In addition, height due to image zooming equals height and the preset height sum of preset window, and to determine in image zooming with the in the same size of preset window and after comprising the viewing area of focus area, the widescreen data that this viewing area is corresponding are shown in preset window, therefore, widescreen data integrity can be realized to show on the display device, improve the display effect of widescreen data, thus improve the viewing experience of user.
Embodiment three
Embodiments provide a kind of terminal, for performing the method that above-described embodiment one or embodiment two provide, see Fig. 8, this terminal comprises:
Zoom module 81, carries out equal proportion convergent-divergent for picture widescreen data formed, until the height of the picture of described widescreen data formation equals height and the preset height sum of preset window, obtains image zooming;
Detection module 82, for detecting the focus area in described image zooming, described focus area is the appointed area in described image zooming;
Determination module 83, for determining with the in the same size of described preset window and comprising the viewing area of described focus area in described image zooming;
Display module 84, for showing widescreen data corresponding to described viewing area in described preset window.
Preferably, see Fig. 9, described determination module 83, comprising:
First determining unit 831, for determining the same reference point that described preset window is corresponding with described image zooming;
Second determining unit 832, for the reference point determined with described first determining unit 831 for initial point determines the region of the same size with described preset window in described image zooming, and using the region to be shown as described image zooming, the region determined;
3rd determining unit 833, for determining the position in the region to be shown that relatively described second determining unit 832 of described focus area is determined, determines the viewing area of described image zooming according to the position in the relatively described region to be shown of described focus area.
Preferably, described 3rd determining unit 833, for when determine the position in the relatively described region to be shown of described focus area be described focus area all in described regional extent to be shown time, described region to be shown is defined as the viewing area of described image zooming.
Preferably, described 3rd determining unit 833, for when determining the position in the relatively described region to be shown of described focus area to be described focus area in described regional extent to be shown outer or described focus area and described region to be shown overlap, in described image zooming, redefine the region of the same size to be shown with described preset window;
See Figure 10, the 4th determining unit 834, for determining the position in the region to be shown that described focus area redefines relatively, according to described focus area relatively described in the position in region to be shown that redefines determine the viewing area of described image zooming.
Preferably, described 3rd determining unit 833, for redefining reference point according to predetermined threshold value, in described image zooming, redefining the region of the same size to be shown with described preset window with the reference point redefined for initial point, obtaining the region to be shown redefined.
The terminal that the embodiment of the present invention provides, carries out equal proportion convergent-divergent by picture widescreen data formed, and can ensure that the display of widescreen data distortion can not occur; In addition, height due to image zooming equals height and the preset height sum of preset window, and to determine in image zooming with the in the same size of preset window and after comprising the viewing area of focus area, the widescreen data that this viewing area is corresponding are shown in preset window, therefore, widescreen data integrity can be realized to show on the display device, improve the display effect of widescreen data, thus improve the viewing experience of user.
Embodiment four
The embodiment of the present invention additionally provides a kind of equipment showing widescreen data, and the equipment of display widescreen data in the embodiment of the present invention can comprise one or more following ingredient: for performing computer program instructions to complete the processor of various flow process and method, for information and stored program instruction random access memory (RAM) and ROM (read-only memory) (ROM), for storing the storer of data and information, for storing the database of form, catalogue or other data structures, I/O equipment, interface, antenna etc.
In the embodiment of the present invention, computer program instructions to be stored in storer with the form of one or more module and to be configured to be performed by processor, and above-mentioned one or more module has following function:
The picture that widescreen data are formed is carried out equal proportion convergent-divergent, until the height of the picture of described widescreen data formation equals height and the preset height sum of preset window, obtains image zooming;
Detect the focus area in described image zooming, described focus area is the appointed area in described image zooming;
Determine in described image zooming with the in the same size of described preset window and comprise the viewing area of described focus area, and in described preset window, showing widescreen data corresponding to described viewing area.
The embodiment citing of above-mentioned functions is described in detail in embodiment of the method, repeats no more here.
In sum, the equipment that the embodiment of the present invention provides, carries out equal proportion convergent-divergent by picture widescreen data formed, and can ensure that the display of widescreen data distortion can not occur; In addition, height due to image zooming equals height and the preset height sum of preset window, and to determine in image zooming with the in the same size of preset window and after comprising the viewing area of focus area, the widescreen data that this viewing area is corresponding are shown in preset window, therefore, widescreen data integrity can be realized to show on the display device, improve the display effect of widescreen data, thus improve the viewing experience of user.
It should be noted that: the terminal that above-described embodiment provides is when showing widescreen data, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by terminal is divided into different functional modules, to complete all or part of function described above.In addition, the terminal that above-described embodiment provides belongs to same design with the embodiment of the method for display widescreen data, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1. show a method for widescreen data, it is characterized in that, described method comprises:
The picture that widescreen data are formed is carried out equal proportion convergent-divergent, until the height of the picture of described widescreen data formation equals height and the preset height sum of preset window, obtains image zooming;
Detect the focus area in described image zooming, described focus area is the appointed area in described image zooming;
Determine in described image zooming with the in the same size of described preset window and comprise the viewing area of described focus area, and in described preset window, showing widescreen data corresponding to described viewing area;
Wherein, describedly determine in described image zooming with the in the same size of described preset window and comprise the viewing area of described focus area, comprising:
Determine the same reference point that described preset window is corresponding with described image zooming, and with described reference point for initial point determines the region of the same size with described preset window in described image zooming, and using the region to be shown as described image zooming, the region determined;
Determine the position in the relatively described region to be shown of described focus area, determine the viewing area of described image zooming according to the position in the relatively described region to be shown of described focus area.
2. method according to claim 1, is characterized in that, the viewing area of described image zooming is determined in the described position according to the relatively described region to be shown of described focus area, comprising:
If determine the position in the relatively described region to be shown of described focus area be described focus area all in described regional extent to be shown, then described region to be shown is defined as the viewing area of described image zooming.
3. method according to claim 1, is characterized in that, the viewing area of described image zooming is determined in the described position according to the relatively described region to be shown of described focus area, comprising:
If determine the position in the relatively described region to be shown of described focus area to be described focus area in described regional extent to be shown outer or described focus area and described region to be shown overlap, then in described image zooming, redefine the region of the same size to be shown with described preset window;
Determine the position in the region to be shown that described focus area redefines relatively, according to described focus area relatively described in the position in region to be shown that redefines determine the viewing area of described image zooming.
4. method according to claim 3, is characterized in that, describedly in described image zooming, redefines the region of the same size to be shown with described preset window, comprising:
Redefine reference point according to predetermined threshold value, in described image zooming, redefine the region of the same size to be shown with described preset window with the reference point redefined for initial point, obtain the region to be shown redefined.
5. show a terminal for widescreen data, it is characterized in that, described terminal comprises:
Zoom module, carries out equal proportion convergent-divergent for picture widescreen data formed, until the height of the picture of described widescreen data formation equals height and the preset height sum of preset window, obtains image zooming;
Detection module, for detecting the focus area in described image zooming, described focus area is the appointed area in described image zooming;
Determination module, for determining with the in the same size of described preset window and comprising the viewing area of described focus area in described image zooming;
Display module, for showing widescreen data corresponding to described viewing area in described preset window;
Wherein, described determination module, comprising:
First determining unit, for determining the same reference point that described preset window is corresponding with described image zooming;
Second determining unit, for the reference point determined with described first determining unit for initial point determines the region of the same size with described preset window in described image zooming, and using the region to be shown as described image zooming, the region determined;
3rd determining unit, for determining the position in the region to be shown that relatively described second determining unit of described focus area is determined, determines the viewing area of described image zooming according to the position in the relatively described region to be shown of described focus area.
6. terminal according to claim 5, it is characterized in that, described 3rd determining unit, for when determine the position in the relatively described region to be shown of described focus area be described focus area all in described regional extent to be shown time, described region to be shown is defined as the viewing area of described image zooming.
7. terminal according to claim 5, it is characterized in that, described 3rd determining unit, for when determining the position in the relatively described region to be shown of described focus area to be described focus area in described regional extent to be shown outer or described focus area and described region to be shown overlap, in described image zooming, redefine the region of the same size to be shown with described preset window;
4th determining unit, for determining the position in the region to be shown that described focus area redefines relatively, according to described focus area relatively described in the position in region to be shown that redefines determine the viewing area of described image zooming.
8. terminal according to claim 7, it is characterized in that, described 3rd determining unit, for redefining reference point according to predetermined threshold value, in described image zooming, redefine the region of the same size to be shown with described preset window with the reference point redefined for initial point, obtain the region to be shown redefined.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310319602.9A CN103399721B (en) | 2013-07-26 | 2013-07-26 | The method of display widescreen data and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310319602.9A CN103399721B (en) | 2013-07-26 | 2013-07-26 | The method of display widescreen data and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103399721A CN103399721A (en) | 2013-11-20 |
CN103399721B true CN103399721B (en) | 2016-01-13 |
Family
ID=49563356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310319602.9A Active CN103399721B (en) | 2013-07-26 | 2013-07-26 | The method of display widescreen data and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103399721B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107371062B (en) * | 2017-08-25 | 2020-06-02 | 四川长虹电器股份有限公司 | Method for automatically zooming video picture |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1499827A (en) * | 2002-10-30 | 2004-05-26 | 三星电子株式会社 | Appts. and method for controlling image proportion, and remote controller thereof |
CN1909607A (en) * | 2005-08-03 | 2007-02-07 | 上海乐金广电电子有限公司 | DVD image scale adjusting method in wide-screen display |
CN103197909A (en) * | 2013-04-17 | 2013-07-10 | 北京小米科技有限责任公司 | Display method and display device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7113200B2 (en) * | 2004-05-21 | 2006-09-26 | Polycom, Inc. | Method and system for preparing video communication image for wide screen display |
-
2013
- 2013-07-26 CN CN201310319602.9A patent/CN103399721B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1499827A (en) * | 2002-10-30 | 2004-05-26 | 三星电子株式会社 | Appts. and method for controlling image proportion, and remote controller thereof |
CN1909607A (en) * | 2005-08-03 | 2007-02-07 | 上海乐金广电电子有限公司 | DVD image scale adjusting method in wide-screen display |
CN103197909A (en) * | 2013-04-17 | 2013-07-10 | 北京小米科技有限责任公司 | Display method and display device |
Also Published As
Publication number | Publication date |
---|---|
CN103399721A (en) | 2013-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108874292B (en) | Comment display method and device and intelligent interactive panel | |
CN104994283A (en) | Correction method for local distortion and mobile terminal | |
CN103002240B (en) | A kind of method and apparatus setting avoiding obstacles projection | |
CN104035684A (en) | Dynamic screen capture method and system applicable to mobile terminal | |
CN109508213A (en) | A kind of view rendering method, apparatus, medium and intelligent terminal | |
CN106897321B (en) | Method and device for displaying map data | |
CN103713821A (en) | Mobile terminal screen display method and mobile terminal | |
CN105007422A (en) | Phase focusing method and user terminal | |
CN110716780A (en) | Interface display method and device | |
CN105407323A (en) | Screen splitting method and device of monitor video | |
US20150170338A1 (en) | Image processing method and apparatus | |
CN104735339A (en) | Automatic adjusting method and electronic equipment | |
CN112383820A (en) | Method for identifying horizontal and vertical screens of screen projection equipment, storage medium and terminal equipment | |
JP2022039921A (en) | Target detection method and device, computer system, and readable storage medium | |
CN104714716A (en) | Display method and device for downloading information | |
CN105160632A (en) | Distortion correction method and mobile terminal | |
WO2017088228A1 (en) | Picture zooming method and apparatus | |
CN111986601A (en) | Screen display method and device, terminal equipment and storage medium | |
CN103399721B (en) | The method of display widescreen data and terminal | |
CN103327262B (en) | A kind of method and system of Video segmentation | |
CN106131628B (en) | A kind of method of video image processing and device | |
CN104238983A (en) | Control method and electronic equipment | |
CN104602096A (en) | Detecting method and device for video subtitle area | |
CN112702561B (en) | Video picture moving method and device and electronic equipment | |
CN109104627B (en) | Focus background generation method, storage medium, device and system of android television |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C53 | Correction of patent for invention or patent application | ||
CB02 | Change of applicant information |
Address after: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12 Applicant after: Xiaomi Technology Co., Ltd. Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12 Applicant before: Beijing Xiaomi Technology Co., Ltd. |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |