CN101582254B - Method and device for presenting image - Google Patents

Method and device for presenting image Download PDF

Info

Publication number
CN101582254B
CN101582254B CN2008100981238A CN200810098123A CN101582254B CN 101582254 B CN101582254 B CN 101582254B CN 2008100981238 A CN2008100981238 A CN 2008100981238A CN 200810098123 A CN200810098123 A CN 200810098123A CN 101582254 B CN101582254 B CN 101582254B
Authority
CN
China
Prior art keywords
source images
target background
parameter
image
images
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.)
Expired - Fee Related
Application number
CN2008100981238A
Other languages
Chinese (zh)
Other versions
CN101582254A (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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN2008100981238A priority Critical patent/CN101582254B/en
Priority to PCT/CN2009/071655 priority patent/WO2009138015A1/en
Publication of CN101582254A publication Critical patent/CN101582254A/en
Application granted granted Critical
Publication of CN101582254B publication Critical patent/CN101582254B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/14Display of multiple viewports
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0407Resolution change, inclusive of the use of different resolutions for different screen areas
    • G09G2340/0414Vertical resolution change
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0407Resolution change, inclusive of the use of different resolutions for different screen areas
    • G09G2340/0421Horizontal resolution change
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0464Positioning
    • G09G2340/0471Vertical positioning
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0464Positioning
    • G09G2340/0478Horizontal positioning
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/12Overlay of images, i.e. displayed pixel being the result of switching between the corresponding input pixels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2370/00Aspects of data communication
    • G09G2370/04Exchange of auxiliary data, i.e. other than image data, between monitor and graphics controller
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2370/00Aspects of data communication
    • G09G2370/04Exchange of auxiliary data, i.e. other than image data, between monitor and graphics controller
    • G09G2370/042Exchange of auxiliary data, i.e. other than image data, between monitor and graphics controller for monitor identification

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Studio Circuits (AREA)

Abstract

The invention discloses an image presenting method which comprises the following steps: receiving a source image parameter and a target background parameter used for presenting a source image, and according to the source image parameter and the target background parameter, calculating a geometric scaling parameter and a corresponding position in a target background of the source image; scaling thesource image according to the geometric scaling parameter; and according to the corresponding position of the source image in the target background, combining the scaled source image into an image an d outputting the combined image. The invention also discloses an image presenting device. When the invention is used for presenting the image, because the geometric scaling parameter and an optimal layout position of the source image in the target background can be correspondingly obtained according to the parameters of the source image and the target background, a picture does not need to be cut or deformed so as to ensure that the image cannot be distorted and guarantee that the source images of different proportions can be maximally combined and displayed by utilizing a target background space without distortion.

Description

A kind of image presentation method and device
Technical field
The present invention relates to the image communication technology field, particularly a kind of image presentation method and device.
Background technology
Present video conferencing provides the function of combined picture, and combined picture refers to show at least one sprite that in a background terminal source of these sprites is the different video image of wide high proportion.Combined picture comprises PIP (Picture in Picture, picture-in-picture) and POP (Picture outPicture, split screen) two kinds of patterns, the PIP pattern generally includes two sprites, the maximization of one of them sprite is presented in the background terminal, and another sprite is presented at the upper left corner, the lower left corner, the upper right corner of background terminal, one of them position in the lower right corner with the form of little picture simultaneously; The POP pattern is to show at least one sprite in a background terminal, and is not overlapping between each sprite.For the POP pattern, because the wide high proportion difference of the source video image of each sprite correspondence, therefore the combination of sprite on the background terminal shows complicated, usually adopt the mode of equal proportion convergent-divergent sprite in the prior art, or adopt the mode of cutting distortion that each sprite is fitted to the background terminal.
When adopting the uniform zoom mode on the background terminal, to show sprite, spatial context is divided into the sub-spatial context consistent with sprite quantity according to the span mode of sprite, and the source video image with each sprite correspondence is fitted in the corresponding sub-spatial context then.When the video image wide high proportion corresponding in the source of certain sprite with the sub-spatial context of distribution not simultaneously, need in unnecessary sub-spatial context, fill background color or background patterns.Therefore adopt the uniform zoom mode can't make full use of spatial context, and, influenced the visual effect of watching the background terminal owing in the unnecessary spatial context around the video image, filled color or pattern.
When adopting the cutting mode of texturing on the background terminal, to show sprite, earlier spatial context is divided into the sub-spatial context consistent with sprite quantity according to the frequency division pattern of sprite, source video image with each sprite correspondence cuts deformation process then, the wide high proportion that makes the processed video image is with consistent with the wide high proportion of the corresponding spatial context of this video image, and this video image of uniform zoom shows in corresponding spatial context then.Therefore adopt the mode of cutting distortion to make video image lose and be out of shape easily, thereby make processed video image and source video image inconsistent, cause being presented at the video image distortion in the background terminal.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of image presentation method and device, so that each sprite that is presented on the target background can make full use of spatial context, avoid adopting the uniform zoom mode to cause making full use of spatial context, and the video image distortion of adopting the cutting mode of texturing to cause.
For realizing the purpose of the embodiment of the invention, the embodiment of the invention provides following technical scheme:
A kind of image presentation method comprises:
Reception sources image parameter and the target background parameter that is used to present described source images, and calculating the uniform zoom parameter of described source images and the correspondence position in described target background according to described source images parameter and target background parameter, described source images is at least two;
According to the described source images of described uniform zoom parameter convergent-divergent;
According to the correspondence position of described source images in described target background, export after the described source images behind the convergent-divergent is combined into piece image.
A kind of picture production device comprises: receiving element, and the computing unit that links to each other with described receiving element, the unit for scaling that links to each other with described computing unit, with the output unit that links to each other with described unit for scaling,
Described receiving element is used for reception sources image parameter and the target background parameter that is used to present described source images;
Described computing unit is used for calculating the uniform zoom parameter of described source images and at the correspondence position of described target background, described source images is at least two according to described source images parameter and target background parameter;
Described unit for scaling is used for according to the described source images of described uniform zoom parameter convergent-divergent;
Described output unit is used for according to the correspondence position of described source images in described target background, exports after the described source images behind the convergent-divergent is combined into piece image.
The technical scheme that is provided by the above embodiment of the invention as seen, embodiment of the invention reception sources image parameter and the target background parameter that is used to present described source images, and calculate the uniform zoom parameter of described source images and the correspondence position in described target background according to described source images parameter and target background parameter, according to the described source images of described uniform zoom parameter convergent-divergent, according to the correspondence position of described source images in described target background, export after the described source images behind the convergent-divergent is combined into piece image.The application embodiment of the invention is carried out image and is current, because can uniform zoom parameter and the optimized placement position of corresponding acquisition source images in target background according to the parameter of source images and target background, therefore need not picture is cut or is out of shape, make that image can distortion, guaranteed that the source images of different proportion can maximize and utilize without distortion the target background space to make up demonstration.
Description of drawings
Fig. 1 is the first embodiment process flow diagram of image presentation method of the present invention;
Fig. 2 is the second embodiment process flow diagram of image presentation method of the present invention;
Fig. 3 presents synoptic diagram for the present invention adopts the image of single image pattern;
Fig. 4 presents synoptic diagram for the present invention adopts the image of 2 panes pattern;
Fig. 5 presents synoptic diagram for the present invention adopts a kind of image of 3 panes pattern;
Fig. 6 presents synoptic diagram for the present invention adopts the another kind of image of 3 panes pattern;
Fig. 7 presents synoptic diagram for the present invention adopts an a kind of image that adds the 3 panes pattern;
Fig. 8 presents synoptic diagram for the present invention adopts an another kind of image that adds the 3 panes pattern;
Fig. 9 A presents synoptic diagram for the present invention adopts a kind of image of four span mode;
Fig. 9 B presents synoptic diagram for the present invention adopts the another kind of image of four span mode;
Figure 10 is the application structure synoptic diagram of image presentation method embodiment of the present invention;
Figure 11 is the first embodiment block diagram of picture production device of the present invention;
Figure 12 is the second embodiment block diagram of picture production device of the present invention.
Embodiment
The embodiment of the invention provides image presentation method and device, reception sources image parameter and the target background parameter that is used to present described source images, and calculate the uniform zoom parameter of described source images and the correspondence position in described target background according to described source images parameter and target background parameter, according to the described source images of described uniform zoom parameter convergent-divergent, according to the correspondence position of described source images in described target background, export after the described source images behind the convergent-divergent is combined into piece image.
In order to make those skilled in the art person understand the technical scheme that the embodiment of the invention provides better, the technical scheme that the embodiment of the invention provides is described in further detail below in conjunction with the drawings and specific embodiments.
The first embodiment flow process of image presentation method of the present invention is as shown in Figure 1:
Step 101: reception sources image parameter and the target background parameter that is used to present source images.
Wherein, the source images parameter comprises wide, the height of source images, the integrated mode of source images in described target background of source images at least; Target background parameter comprises at least: wide, the height of target background of target background, the position of target background.
Wherein, integrated mode comprises the single image pattern that only comprises a source images; Comprise image of upside of two source images, the 2 panes pattern of an image of downside, or the 2 panes pattern of the image in left side, the image in right side;
Comprise image in left side of three source images, the 3 panes pattern of two images in right side, or the 3 panes pattern of two images in left side, the image in right side, or the 3 panes pattern of image of upside, two images of downside, or the 3 panes pattern of two images of upside, an image of downside; Comprise four source images the image in left side, three images in right side one add the 3 panes pattern, or three images in left side, the image in right side one add the 3 panes pattern, or three images of upside, an image of downside one add the 3 panes pattern, or image of upside, three images of downside one add the 3 panes pattern; Comprise two images of upside of four source images, four span mode of two images of downside, or four span mode of two images in left side, two images in right side.
Step 102: calculate the uniform zoom parameter of source images and the correspondence position in target background according to source images parameter and target background parameter.
Concrete, analyze the ratio of width to height of described source images and the ratio of width to height of target background, integrated mode in described target background is determined the relation between source images parameter and the target background parameter according to analysis result and source images, according to the uniform zoom parameter of the acquisition of the relation between the parameter of determining source images, and according to integrated mode acquisition source images the correspondence position in target background of source images in described target background.
Step 103: according to uniform zoom parameter convergent-divergent source images.
Step 104: export after being combined into piece image according to the source images of the correspondence position of source images in target background after with convergent-divergent.
Application the foregoing description carries out image and is current, owing to can guarantee that image can distortion according to the optimal location position of parameter acquiring source images in target background of source images and target background.
The second embodiment flow process of image presentation method of the present invention as shown in Figure 2, this embodiment shows according to the source images parameter of input and target background parameter and calculates the uniform zoom parameter of source images and the detailed process of position:
Step 201: set in advance the ratio of width to height scope of source images, the ratio of width to height scope and the integrated mode of source images in target background of target background.
The ratio of width to height scope that source images is set usually is 1 to 2.5, and the ratio of width to height scope of target background is 4/3 to 2, and integrated mode comprises that single image pattern, 2 panes pattern, 3 panes pattern, add 3 panes pattern and four span mode.
Step 202: wide, the height of target background of integrated mode in target background of the height of wide, the source images of input source image, source images, target background and the position of target background.
Step 203: whether the ratio of width to height of judging the ratio of width to height of source images and target background is in preset range, if then execution in step 204; Otherwise, execution in step 210.
Step 204: whether the integrated mode of judging source images belongs to default integrated mode, if then execution in step 205; Otherwise, execution in step 210.
Step 205: analyze the ratio of width to height of source images and the ratio of width to height of target background.
Step 206: the integrated mode in target background is determined the relation between source images parameter and the target background parameter according to analysis result and source images.
Step 207: calculate the uniform zoom parameter of source images according to the relation between the parameter, and calculate the correspondence position of each source images in target background according to the integrated mode of source images in target background.
Step 208: each source images is zoomed to correspondence position in the target background according to the uniform zoom parameter.
Step 209: export after the source images behind the convergent-divergent is combined into piece image, finish current flow process.
Step 210: return error message, finish current flow process.
Application the foregoing description carries out image and is current, since can be according to the parameter of source images and target background uniform zoom parameter and the optimized placement position of corresponding acquisition source images in target background, therefore guaranteed that the source images of different proportion can maximize and utilize without distortion the target background space to make up demonstration.
In conjunction with the embodiment of the invention described above image presentation method, the image of describing respectively below under several different source images integrated modes presents process.
Integrated mode among the image presentation method embodiment of the present invention is when only comprising the single image pattern of a source images, adaptive synoptic diagram as shown in Figure 3 between source images and the target background: the wide and height of source images 1 is respectively W1 and H1, wide and the height of target background is respectively BackW and BackH, SubW and SubH are wide and high in target background of source images 1 after the uniform zoom, wherein the ratio of W1 and H1 and BackW and BackH are the parameter of input, the ratio of width to height (W1/H1) of source images 1 shown in this figure is greater than the ratio of width to height (BackW/BackH) of target background, therefore wide wide (SubW=BackW) as the source images after the uniform zoom 1 of target background, calculate the high Sub H of the source images 1 after the uniform zoom according to the relation between the above-mentioned parameter, according to the SubW that calculates and SubH with source images 1 uniform zoom in target background, as shown in Figure 3.
If the ratio of width to height (W1/H1) of source images 1 is less than the ratio of width to height (BackW/BackH) of target background, then corresponding to the height (SubH=BackH) of the source images 1 of the height of target background after as uniform zoom, still calculate the wide SubW of the source images 1 after the uniform zoom according to the relation between the above-mentioned parameter, according to the SubW that calculates and SubH with source images 1 uniform zoom in target background.
Integrated mode among the image presentation method embodiment of the present invention is when comprising the 2 panes image model of two source images, adaptive synoptic diagram as shown in Figure 4 between source images and the target background: the wide and height of source images 1 is respectively W1 and H1, wide and the height of source images 2 is respectively W2 and H2, wide and the height of target background is respectively BackW and BackH, SubW1 and SubH1 are wide and high in target background of source images 1 after the uniform zoom, SubW2 and SubH2 are wide and high in target background of source images 2 after the uniform zoom, wherein BackW, BackH, the ratio of W1 and H1, W2 is the parameter of input with the ratio of H2.The integrated mode of the source images shown in this figure is the 2 panes pattern of the image in left side, the image in right side, therefore determine that the pass between source images parameter and the target background parameter is that the height that source images 1 and source images 2 equal proportions zoom in the target background equates (SubH1=SubH2), width and the width (SubW1+SubW2=BackW) that equals target background, according to the SubW1 that calculates, SubH1, SubW2 and SubH2 with source images 1 and source images 2 uniform zoom in target background, as shown in Figure 4.
Need to prove, when the integrated mode of source images is the 2 panes pattern of image of upside, an image of downside, then the relation between source images parameter and the target background parameter is adjusted into the width that source images 1 and source images 2 equal proportions zoom in the target background and equates, height and the height that equals target background, according to the wide and high of source images 1 that calculates and source images 2 its uniform zoom is got final product in target background, the synoptic diagram behind its convergent-divergent no longer illustrates.
Integrated mode among the image presentation method embodiment of the present invention is when comprising the 3 panes image model of three source images, adaptive synoptic diagram as shown in Figure 5 between source images and the target background: the wide and height of source images 1 is respectively W1 and H1, wide and the height of source images 2 is respectively W2 and H2, wide and the height of source images 3 is respectively W3 and H3, wide and the height of target background is respectively BackW and BackH, SubW1 and SubH1 are wide and high in target background of source images 1 after the uniform zoom, SubW2 and SubH2 are wide and high in target background of source images 2 after the uniform zoom, and SubW3 and SubH3 are wide and high in target background of source images 3 after the uniform zoom; Wherein BackW, BackH, W1 are the parameter of input with ratio, the W3 of H2 with the ratio of H3 with ratio, the W2 of H1.The integrated mode of the source images shown in this figure is the image in left side, the 3 panes pattern of two images in right side, therefore determine that the pass between source images parameter and the target background parameter is that the width that source images 2 and source images 3 equal proportions zoom in the target background equates (SubW2=SubW3), high and equal the height (SubH2+SubH3=BackH) of target background, wide (SubW1+SubW3=BackW) wide and that equal target background of the wide and source images 3 of source images 1, according to the SubW1 that calculates, SubH1, SubW2, SubH2, SubW3 and SubH3 are with source images 1, source images 2 and source images 3 uniform zoom are in target background, as shown in Figure 5.
When the integrated mode of source images was the 3 panes pattern of two images in left side, the image in right side, its image presents process and synoptic diagram shown in Figure 5 is similar, does not repeat them here.
Integrated mode among the image presentation method embodiment of the present invention is when comprising the 3 panes image model of three source images, and adaptive another synoptic diagram is as shown in Figure 6 between source images and the target background:
Wide and the height of source images 1 is respectively W1 and H1, wide and the height of source images 2 is respectively W2 and H2, wide and the height of source images 3 is respectively W3 and H3, wide and the height of target background is respectively BackW and BackH, SubW1 and SubH1 are wide and high in target background of source images 1 after the uniform zoom, SubW2 and SubH2 are wide and high in target background of source images 2 after the uniform zoom, and SubW3 and SubH3 are wide and high in target background of source images 3 after the uniform zoom; Wherein BackW, BackH, W1 are the parameter of input with ratio, the W3 of H2 with the ratio of H3 with ratio, the W2 of H1.The integrated mode of the source images shown in this figure is two images of upside, the 3 panes pattern of an image of downside, therefore determine that the pass between source images parameter and the target background parameter is that the height that source images 1 and source images 2 equal proportions zoom in the target background equates (SubH1=SubH2), wide and equal wide (SubW1+SubW2=BackW) of target background, the height (SubH1+SubH3=BackH) high and that equal target background of the height of source images 1 and source images 3, according to the SubW1 that calculates, SubH1, SubW2, SubH2, SubW3 and SubH3 are with source images 1, source images 2 and source images 3 uniform zoom are in target background, as shown in Figure 6.
When the integrated mode of source images was the 3 panes pattern of image of upside, two images of downside, its image presents process and synoptic diagram shown in Figure 6 is similar, does not repeat them here.
Integrated mode among the image presentation method embodiment of the present invention is when comprising one of four source images and adding the 3 panes image model, and an adaptive synoptic diagram is as shown in Figure 7 between source images and the target background:
Wide and the height of source images 1 is respectively W1 and H1, wide and the height of source images 2 is respectively W2 and H2, wide and the height of source images 3 is respectively W3 and H3, wide and the height of source images 4 is respectively W4 and H4, wide and the height of target background is respectively BackW and BackH, SubW1 and SubH1 are wide and high in target background of source images 1 after the uniform zoom, SubW2 and SubH2 are wide and high in target background of source images 2 after the uniform zoom, SubW3 and SubH3 are wide and high in target background of source images 3 after the uniform zoom, and SubW4 and SubH4 are wide and high in target background of source images 4 after the uniform zoom; Wherein the ratio of ratio, W3 and H3, the W4 of the ratio of BackW, BackH, W1 and H1, W2 and H2 and H4 is the parameter of input.The integrated mode of the source images shown in this figure is the image in left side, one of three images in right side add the 3 panes pattern, therefore determine that the pass between source images parameter and the target background parameter is a source images 2, the width that source images 3 and source images 4 equal proportions zoom in the target background equates (SubW2=SubW3=SubW4), high and equal the height (SubH2+SubH3+SubH4=BackH) of target background, wide (SubW1+SubW2=BackW) wide and that equal target background of the wide and source images 2 of source images 1, according to the SubW1 that calculates, SubH1, SubW2, SubH2, SubW3, SubH3, SubW4 and SubH4 are with source images 1, source images 2, source images 3 and source images 4 uniform zoom are in target background, as shown in Figure 7.
When the integrated mode of source images is one of three images in left side, the image in right side when adding the 3 panes pattern, its image presents process and synoptic diagram shown in Figure 7 is similar, does not repeat them here.
Integrated mode among the image presentation method embodiment of the present invention is when comprising one of four source images and adding the 3 panes image model, and adaptive another synoptic diagram is as shown in Figure 8 between source images and the target background:
Wide and the height of source images 1 is respectively W1 and H1, wide and the height of source images 2 is respectively W2 and H2, wide and the height of source images 3 is respectively W3 and H3, wide and the height of source images 4 is respectively W4 and H4, wide and the height of target background is respectively BackW and BackH, SubW1 and SubH1 are wide and high in target background of source images 1 after the uniform zoom, SubW2 and SubH2 are wide and high in target background of source images 2 after the uniform zoom, SubW3 and SubH3 are wide and high in target background of source images 3 after the uniform zoom, and SubW4 and SubH4 are wide and high in target background of source images 4 after the uniform zoom; Wherein the ratio of ratio, W3 and H3, the W4 of the ratio of BackW, BackH, W1 and H1, W2 and H2 and H4 is the parameter of input.The integrated mode of the source images shown in this figure is image of upside, one of three images of downside add the 3 panes pattern, therefore determine that the pass between source images parameter and the target background parameter is a source images 2, the height that source images 3 and source images 4 equal proportions zoom in the target background equates (SubH2=SubH3=SubH4), wide and equal wide (SubW2+SubW3+SubW4=BackW) of target background, the height (SubH1+SubH2=BackH) high and that equal target background of the height of source images 1 and source images 2, according to the SubW1 that calculates, SubH1, SubW2, SubH2, SubW3, SubH3, SubW4 and SubH4 are with source images 1, source images 2, source images 3 and source images 4 uniform zoom are in target background, as shown in Figure 8.
When the integrated mode of source images is one of three images of upside, an image of downside when adding the 3 panes pattern, its image presents process and synoptic diagram shown in Figure 8 is similar, does not repeat them here.
Integrated mode among the image presentation method embodiment of the present invention is when comprising four split screen image models of four source images, synoptic diagram adaptive between source images and the target background is shown in Fig. 9 A and 9B: in Fig. 9 A and Fig. 9 B, wide and the height of source images 1 is respectively W1 and H 1, wide and the height of source images 2 is respectively W2 and H2, wide and the height of source images 3 is respectively W3 and H3, wide and the height of source images 4 is respectively W4 and H4, wide and the height of target background is respectively BackW and BackH, SubW1 and SubH1 are wide and high in target background of source images 1 after the uniform zoom, SubW2 and SubH2 are wide and high in target background of source images 2 after the uniform zoom, and SubW3 and SubH3 are wide and high in target background of source images 3 after the uniform zoom; SubW4 and SubH4 are wide and high in target background of source images 4 after the uniform zoom, and wherein the ratio of the ratio of the ratio of the ratio of BackW, BackH, W1 and H1, W2 and H2, W3 and H3, W4 and H4 is the parameter of input.
Wherein, wide equate (SubW1=SubW4) that pass between source images parameter shown in Fig. 9 A and the target background parameter is source images 1 and source images 4 uniform zoom in the target background, source images 2 and source images 3 uniform zoom wide equate (SubW2=SubW3) in the target background, wide after source images 1 and source images 2 uniform zoom and equal source images 3 and source images 4 uniform zoom after wide and (SubW1+SubW2=SubW3+SubW4), high after the uniform zoom high and that equal source images 2 and source images 3 after the uniform zoom of source images 1 and source images 4 and (SubH1+SubH4=SubH2+SubH3).Because the ratio of width to height of the picture that the image 1 after the uniform zoom, image 2, image 3, image 4 are synthetic is less than the ratio of width to height of target background, source images parameter that obtains thus and the pass between the target background parameter are the height (SubH1+Sub H4=BackH and SubH2+SubH3=BackH) that the high of source images 1 after the uniform zoom and source images 4 and (be the high of source images 2 after the uniform zoom and source images 3 and) equal target background.According to the SubW1 that calculates, SubH1, SubW2, SubH2, SubW3, SubH3, SubW4, SubH4 with source images 1, source images 2, source images 3, source images 4 uniform zoom in target background, shown in Fig. 9 A.
Wherein, pass between source images parameter shown in Fig. 9 B and the target background parameter is that source images 1 and source images 2 uniform zoom equate (SubH1=SubH2) to the height in the target background, source images 3 and source images 4 uniform zoom equate (SubH3=SubW4) to the height in the target background, high in the target background of wide in the target background of source images 1 and source images 2 uniform zoom and equal source images 3 and source images 4 uniform zoom wide in the target background and (SubW1+SubW2=SubW3+SubW4), source images 1 and source images 4 uniform zoom and equal source images 2 and source images 3 uniform zoom high in the target background and (SubH1+SubH4=SubH2+SubH3).Because the ratio of width to height of the picture that the image 1 after the uniform zoom, image 2, image 3, image 4 are synthetic is greater than the ratio of width to height of target background, source images parameter that obtains thus and the pass between the target background parameter are wide (SubW1+SubW2=BackW and the SubW3+SubW4=BackW) that the wide of source images 1 after the uniform zoom and source images 2 and (be the wide of source images 3 after the uniform zoom and source images 4 and) equal target background.According to the SubW1 that calculates, SubH1, SubW2, SubH2, SubW3, SubH3, SubW4, SubH4 with source images 1, source images 2, source images 3, source images 4 uniform zoom in target background, shown in Fig. 9 B.
The area of four source images after the uniform zoom that at last can be more respectively calculates according to Fig. 9 A and Fig. 9 B and, select the bigger combination image of area to export.
With four split screen image models be example image presentation method embodiment of the present invention the application structure synoptic diagram as shown in figure 10:
Source images optimal combination configurator reception sources image 1, source images 2, the ratio of width to height of source images 3 and source images 4, integrated mode four split screens of source images, and target background is wide, height and position (being the X coordinate and the Y coordinate in the target background upper left corner), can be the computing chip that has write in advance at the computing method of each integrated mode in the source images optimal combination configurator, call corresponding computing method according to integrated mode, calculate the uniform zoom parameter of each source images and the correspondence position in target background, source images optimal combination configurator is input to the uniform zoom parameter that calculates in the zooming engine of each source images correspondence, according to zooming parameter source images is zoomed to correspondence position in the target background by zooming engine, be combined into piece image by the source images of image sets compound module after then and export in the background terminal and show, realize presenting of combination image thus uniform zoom.
The image that the application said structure is finished in the embodiment of the invention is current, because can uniform zoom parameter and the optimized placement position of corresponding acquisition source images in target background according to the parameter of source images and target background, therefore need not picture is cut or is out of shape, guaranteed that the source images of different proportion can maximize and utilize without distortion the target background space to make up demonstration.
Corresponding with the embodiment of image presentation method of the present invention, the present invention also provides the embodiment of picture production device.
The first embodiment block diagram of picture production device of the present invention as shown in figure 11, this device comprises: receiving element 810, the computing unit 820 that links to each other with receiving element 810, unit for scaling 830 that links to each other with computing unit 820 and the output unit 840 that links to each other with unit for scaling 830.
Wherein, receiving element 810 is used for reception sources image parameter and the target background parameter that is used to present described source images; Computing unit 820 is used for calculating the uniform zoom parameter of described source images and at the correspondence position of described target background according to described source images parameter and target background parameter; Unit for scaling 830 is used for according to the described source images of described uniform zoom parameter convergent-divergent; Output unit 840 is used for according to the correspondence position of described source images in described target background, exports after the described source images behind the convergent-divergent is combined into piece image.
Application the foregoing description carries out image and is current, owing to can guarantee that image can distortion according to the optimal location position of parameter acquiring source images in target background of source images and target background.
The second embodiment block diagram of picture production device of the present invention as shown in figure 12, this device comprises: unit 910, receiving element 920, judging unit 930, computing unit 940, unit for scaling 950 and output unit 960 are set.
Wherein, unit 910 is set and is used for setting in advance the ratio of width to height scope of the ratio of width to height scope of described source images, described target background and described source images integrated mode in described target background; With wide, the height of target background that integrated mode in described target background of height that receiving element 920 that unit 910 links to each other is used for wide, the source images of reception sources image, source images, target background are set and the position of target background; Whether the ratio of width to height that the judging unit 930 that links to each other with receiving element 920 is used to judge the ratio of width to height of described source images and described target background is in described scope, and whether the integrated mode of described source images in described target background belongs to described integrated mode type; The computing unit 940 that links to each other with judging unit 930 is used for the ratio of width to height when the ratio of width to height of the described source images of described judgment unit judges and described target background in described scope, and the integrated mode of described image in target background calculated the uniform zoom parameter of described source images and the correspondence position in described target background according to described source images parameter and target background parameter when belonging to described integrated mode type; The unit for scaling 950 that links to each other with computing unit 940 is used for according to the described source images of described uniform zoom parameter convergent-divergent; The output unit 960 that links to each other with unit for scaling 950 is used for according to the correspondence position of described source images in described target background, exports after the described source images behind the convergent-divergent is combined into piece image.
Wherein, computing unit 940 further comprises the analytic unit 941 that links to each other with receiving element 930, is used to analyze the ratio of width to height of described source images and the ratio of width to height of described target background; The order unit 942 really that links to each other with analytic unit 941 is used for determining relation between described source images parameter and the described target background parameter according to described analysis result and described source images in the integrated mode of described target background; The acquisition unit 943 that links to each other with determining unit 942, be used for obtaining the uniform zoom parameter of described source images, and obtain the correspondence position of described source images in described target background according to the integrated mode of described source images in described target background according to the relation between the described definite parameter.
Description by the embodiment of the invention as can be known, the application embodiment of the invention is carried out image and is current, because can uniform zoom parameter and the optimized placement position of corresponding acquisition source images in target background according to the parameter of source images and target background, therefore need not picture is cut or is out of shape, make that image can distortion, guaranteed that the source images of different proportion can maximize and utilize without distortion the target background space to make up demonstration.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, this program is when carrying out, comprise the steps: reception sources image parameter and the target background parameter that is used to present described source images, and calculate the uniform zoom parameter of described source images and the correspondence position in described target background according to described source images parameter and target background parameter; According to the described source images of described uniform zoom parameter convergent-divergent; According to the correspondence position of described source images in described target background, export after the described source images behind the convergent-divergent is combined into piece image.Described storage medium, as: ROM/RAM, magnetic disc, CD etc.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, wish that appended claim comprises these distortion and variation and do not break away from spirit of the present invention.

Claims (10)

1. an image presentation method is characterized in that, comprising:
Reception sources image parameter and the target background parameter that is used to present described source images, and calculating the uniform zoom parameter of described source images and the correspondence position in described target background according to described source images parameter and target background parameter, described source images is at least two;
According to the described source images of described uniform zoom parameter convergent-divergent;
According to the correspondence position of described source images in described target background, export after the described source images behind the convergent-divergent is combined into piece image.
2. method according to claim 1 is characterized in that, described source images parameter comprises at least: wide, the height of source images of source images, the integrated mode of source images in described target background;
Described target background parameter comprises at least: wide, the height of target background of target background, the position of target background.
3. method according to claim 2 is characterized in that, described method comprises: set in advance the ratio of width to height scope of source images, the ratio of width to height scope and the integrated mode of described source images in described target background of target background.
4. according to claim 2 or 3 described methods, it is characterized in that described integrated mode type comprises:
Comprise image of upside of two source images, the 2 panes pattern of an image of downside, or the 2 panes pattern of the image in left side, the image in right side;
Comprise image in left side of three source images, the 3 panes pattern of two images in right side, or the 3 panes pattern of two images in left side, the image in right side, or the 3 panes pattern of image of upside, two images of downside, or the 3 panes pattern of two images of upside, an image of downside;
Comprise four source images the image in left side, three images in right side one add the 3 panes pattern, or three images in left side, the image in right side one add the 3 panes pattern, or three images of upside, an image of downside one add the 3 panes pattern, or image of upside, three images of downside one add the 3 panes pattern;
Comprise two images of upside of four source images, four span mode of two images of downside, or four span mode of two images in left side, two images in right side.
5. method according to claim 4 is characterized in that, describedly also comprises before calculating the uniform zoom parameter of described source images and the correspondence position in described target background according to source images parameter and target background parameter:
Whether the ratio of width to height of judging the ratio of width to height of described source images and described target background is in described scope, reach the integrated mode of described source images in described target background and whether belong to described integrated mode type, if then carry out described calculation procedure, otherwise, return error message.
6. method according to claim 4 is characterized in that, the described correspondence position that reaches in target background according to the uniform zoom parameter of source images parameter and target background parameter calculating source images comprises:
Analyze the ratio of width to height of described source images and the ratio of width to height of described target background;
Integrated mode in described target background is determined the relation between described source images parameter and the described target background parameter according to described analysis result and described source images;
Obtain the uniform zoom parameter of described source images according to the relation between the parameter of determining, and obtain the correspondence position of described source images in described target background according to the integrated mode of described source images in described target background.
7. a picture production device is characterized in that, comprising: receiving element, and the computing unit that links to each other with described receiving element, the unit for scaling that links to each other with described computing unit, with the output unit that links to each other with described unit for scaling,
Described receiving element is used for reception sources image parameter and the target background parameter that is used to present described source images, and described source images is at least two;
Described computing unit is used for calculating the uniform zoom parameter of described source images and at the correspondence position of described target background according to described source images parameter and target background parameter;
Described unit for scaling is used for according to the described source images of described uniform zoom parameter convergent-divergent;
Described output unit is used for according to the correspondence position of described source images in described target background, exports after the described source images behind the convergent-divergent is combined into piece image.
8. device according to claim 7 is characterized in that, also comprises: what link to each other with described receiving element is provided with the unit,
The described unit that is provided with is used for setting in advance the ratio of width to height scope of the ratio of width to height scope of described source images, described target background and the described source images integrated mode in described target background;
Described receiving element specifically is used for the height, source images of wide, the source images of reception sources image in wide, the height of target background of the integrated mode of described target background, target background and the position of target background.
9. device according to claim 8 is characterized in that, also comprises: the judging unit that links to each other with described receiving element,
Whether described judging unit, the ratio of width to height that is used to judge the ratio of width to height of described source images and described target background be in described scope, and whether the integrated mode of described source images in described target background belongs to described integrated mode type;
Described computing unit specifically is used for the ratio of width to height when the ratio of width to height of the described source images of described judgment unit judges and described target background in described scope, and the integrated mode of described image in target background calculated the uniform zoom parameter of described source images and the correspondence position in described target background according to described source images parameter and target background parameter when belonging to described integrated mode type.
10. device according to claim 8 is characterized in that, described computing unit comprises: the analytic unit that links to each other with described receiving element, and the order unit really that links to each other with described analytic unit, with the acquiring unit that links to each other with described determining unit,
Described analytic unit is used to analyze the ratio of width to height of described source images and the ratio of width to height of described target background;
Described determining unit is used for determining relation between described source images parameter and the described target background parameter according to described analysis result and described source images in the integrated mode of described target background;
Described acquisition unit is used for obtaining according to the relation between the described definite parameter uniform zoom parameter of described source images, and obtains the correspondence position of described source images in described target background according to the integrated mode of described source images in described target background.
CN2008100981238A 2008-05-13 2008-05-13 Method and device for presenting image Expired - Fee Related CN101582254B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2008100981238A CN101582254B (en) 2008-05-13 2008-05-13 Method and device for presenting image
PCT/CN2009/071655 WO2009138015A1 (en) 2008-05-13 2009-05-06 Image displaying method and its device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100981238A CN101582254B (en) 2008-05-13 2008-05-13 Method and device for presenting image

Publications (2)

Publication Number Publication Date
CN101582254A CN101582254A (en) 2009-11-18
CN101582254B true CN101582254B (en) 2011-06-15

Family

ID=41318358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100981238A Expired - Fee Related CN101582254B (en) 2008-05-13 2008-05-13 Method and device for presenting image

Country Status (2)

Country Link
CN (1) CN101582254B (en)
WO (1) WO2009138015A1 (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819994B (en) * 2011-06-10 2015-06-10 晨星软件研发(深圳)有限公司 Display control device and method capable of reducing image zooming time
US9122442B2 (en) 2011-11-11 2015-09-01 Rockwell Automation Technologies, Inc. Systems and methods for scaling visualizations
CN103514614A (en) * 2012-06-29 2014-01-15 联想(北京)有限公司 Method for generating image and electronic equipment
CN103686064B (en) * 2012-08-31 2017-05-03 杭州海康威视数字技术股份有限公司 Picture segment display method and client-side
CN103297729A (en) * 2013-06-17 2013-09-11 华为终端有限公司 Video processing method and device
CN103561312A (en) * 2013-10-30 2014-02-05 乐视致新电子科技(天津)有限公司 Method and device for adjusting video playing interface
CN106210599B (en) * 2015-04-30 2021-02-12 中兴通讯股份有限公司 Multi-picture adjusting method and device and multi-point control unit
CN107526489B (en) * 2016-06-21 2020-10-16 阿里巴巴集团控股有限公司 Picture adjusting method and device
CN109886863B (en) * 2017-12-06 2024-01-12 英业达科技有限公司 Image adjustment system and method based on face features
CN111385600B (en) * 2018-12-29 2022-06-17 西安诺瓦星云科技股份有限公司 Video processing method, device and system, video processor and storage medium
CN110796997B (en) * 2019-11-14 2021-12-21 京东方科技集团股份有限公司 Method and device for realizing non-uniform resolution display
CN111083507B (en) * 2019-12-09 2021-11-23 广州酷狗计算机科技有限公司 Method and system for connecting to wheat, first main broadcasting terminal, audience terminal and computer storage medium
CN113973173B (en) * 2020-07-24 2023-04-21 华为技术有限公司 Image synthesis method and electronic equipment
CN112734231B (en) * 2021-01-09 2021-08-24 深圳市瑞驰文体发展有限公司 Billiard event management platform

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1652621A (en) * 2004-02-02 2005-08-10 英华达股份有限公司 Mobile phone communication apparatus with automatic picture regulating function and automatic picture regulating method
CN1858843A (en) * 2005-08-12 2006-11-08 深圳华为移动通信技术有限公司 Self adaptive pantographic system and its method for image in mobile terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06143730A (en) * 1992-10-30 1994-05-24 Casio Comput Co Ltd Image magnifying device
WO2001059974A2 (en) * 2000-02-09 2001-08-16 Sell It 3D Method for displaying rich content
US20020056083A1 (en) * 2000-03-29 2002-05-09 Istvan Anthony F. System and method for picture-in-browser scaling
US20070258012A1 (en) * 2006-05-04 2007-11-08 Syntax Brillian Corp. Method for scaling and cropping images for television display
KR100720871B1 (en) * 2006-06-20 2007-05-23 삼성전자주식회사 Apparatus and method for low distortion display in portable communication terminal
CN1878260B (en) * 2006-07-14 2010-05-12 杭州国芯科技股份有限公司 Multi-menu co-screen playing method
JP5263565B2 (en) * 2006-10-12 2013-08-14 ソニー株式会社 Image processing apparatus, image processing method, and program
CN101118734A (en) * 2007-07-10 2008-02-06 南京Lg新港显示有限公司 Method and apparatus for regulating proportion of display image in display apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1652621A (en) * 2004-02-02 2005-08-10 英华达股份有限公司 Mobile phone communication apparatus with automatic picture regulating function and automatic picture regulating method
CN1858843A (en) * 2005-08-12 2006-11-08 深圳华为移动通信技术有限公司 Self adaptive pantographic system and its method for image in mobile terminal

Also Published As

Publication number Publication date
CN101582254A (en) 2009-11-18
WO2009138015A1 (en) 2009-11-19

Similar Documents

Publication Publication Date Title
CN101582254B (en) Method and device for presenting image
Chen et al. Efficient depth image based rendering with edge dependent depth filter and interpolation
CN102474639B (en) Transforming video data in accordance with human visual system feedback metrics
CN101009077B (en) Display device capable of reducing afterimage and afterimage reduction method thereof
KR101674284B1 (en) Method, device, program and recording medium for image processing
US20080246757A1 (en) 3D Image Generation and Display System
CN103763479A (en) Splicing device for real-time high speed high definition panoramic video and method thereof
CN101848346A (en) Television and image display method thereof
CN109658427B (en) Image processing method and device
CN106649541A (en) Cartoon playing and generating method and device
CN108235055B (en) Method and device for realizing transparent video in AR scene
US9685006B2 (en) Method and device for inserting a 3D graphics animation in a 3D stereo content
CN102065314A (en) Information processing apparatus, display control apparatus and method
US20110012912A1 (en) Image processing device and image processing method
CN103702054A (en) Visualization method and visualization device for multi-channel signal source and television
CN103327262B (en) A kind of method and system of Video segmentation
CN111787240B (en) Video generation method, apparatus and computer readable storage medium
CN101742341A (en) Method and device for image processing
CN103065349A (en) Data render method and device
CN104093069A (en) Video playing method and player device
CN102724528B (en) Depth map generation device
CN104469338A (en) Control method and device
CN103870111A (en) Information processing method and electronic equipment
CN103501433B (en) A kind of 3D painting and calligraphy display packing and device
CN103716676B (en) The video program play method and device of intelligent 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
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171027

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: Huawei terminal (Dongguan) Co.,Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: HUAWEI DEVICE Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171204

Address after: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee after: HUAWEI DEVICE Co.,Ltd.

Address before: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee before: Huawei terminal (Dongguan) Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110615