WO2018006669A1 - Parallax fusion method and apparatus - Google Patents

Parallax fusion method and apparatus Download PDF

Info

Publication number
WO2018006669A1
WO2018006669A1 PCT/CN2017/086950 CN2017086950W WO2018006669A1 WO 2018006669 A1 WO2018006669 A1 WO 2018006669A1 CN 2017086950 W CN2017086950 W CN 2017086950W WO 2018006669 A1 WO2018006669 A1 WO 2018006669A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
flow field
field motion
motion relationship
relationship
Prior art date
Application number
PCT/CN2017/086950
Other languages
French (fr)
Chinese (zh)
Inventor
袁梓瑾
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2018006669A1 publication Critical patent/WO2018006669A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/275Image signal generators from 3D object models, e.g. computer-generated stereoscopic image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/293Generating mixed stereoscopic images; Generating mixed monoscopic and stereoscopic images, e.g. a stereoscopic image overlay window on a monoscopic image background
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/30Image reproducers
    • H04N13/361Reproducing mixed stereoscopic images; Reproducing mixed monoscopic and stereoscopic images, e.g. a stereoscopic image overlay window on a monoscopic image background
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N2013/0074Stereoscopic image analysis
    • H04N2013/0088Synthesising a monoscopic image signal from stereoscopic images, e.g. synthesising a panoramic or high resolution monoscopic image

Definitions

  • the present application relates to the field of image processing, and in particular to a parallax fusion method and apparatus.
  • the 360-degree panoramic video has gradually become one of the main contents of the virtual reality field because it can provide users with a more realistic and immersive viewing experience that is different from the traditional limited-view video. Since the single-lens system that currently collects panoramic video is rare, it is generally composed of video captured by multiple cameras or multiple lens systems.
  • the present application proposes a parallax fusion method and apparatus, which can reduce or eliminate ghosting, ghosting virtual edges, continuous line misalignment fractures and the like due to parallax.
  • a parallax fusion method comprising:
  • An overlap region and a second image of the first image transformed by forward and backward deformation The overlapping regions are fused to obtain a final image of the first image and the second image overlap region.
  • the application also provides a parallax fusion device, the device comprising:
  • One or more memories are One or more memories
  • One or more processors among them,
  • the one or more memories storing one or more instruction modules configured to be executed by the one or more processors;
  • the one or more instruction modules include:
  • a motion relationship acquiring module configured to acquire a first direction flow field motion relationship and a second direction flow field motion relationship of the first image and the second image overlap region
  • a deformation module configured to perform forward and backward deformation transformation on the overlapping area of the first image and the overlapping area of the second image by using the first direction flow field motion relationship and the second direction flow field motion relationship, respectively;
  • a fusion module configured to fuse the overlap region of the first image transformed by the forward and backward deformations and the overlap region of the second image to obtain a final image of the first image and the second image overlap region.
  • the present application also proposes a non-transitory computer readable storage medium storing computer readable instructions that cause at least one processor to:
  • the overlapping area of the area and the second image is transformed by forward and backward deformation; the overlapping area of the first image transformed by the forward and backward deformation is merged with the overlapping area of the second image to obtain the first image and the second image
  • the final image of the image overlap area is
  • FIG. 1 is a schematic diagram showing the internal structure of an electronic device in an example
  • FIG. 2 is a flow chart of a parallax fusion method in an example
  • FIG. 3 is a structural block diagram of a parallax fusion device in an example
  • FIG. 4 is a block diagram showing the internal structure of a correction module in an example
  • Figure 5 is a block diagram showing the internal structure of a deformation module in an example
  • Figure 6 is a block diagram showing the internal structure of a fusion module in an example.
  • the inventors have found that for a panoramic video stitched by a plurality of cameras or a plurality of lens systems, two non-co-optical cameras are obtained from the optical optical perspective principle of the lens.
  • the content imaged by the two-dimensional imaging sensor always has a certain parallax in their common field of view. At different depths, the degree of parallax is different, which ultimately causes the stitched video content to appear visually in the region where parallax exists.
  • Unacceptable defects such as ghosting, ghosting, broken lines of continuous lines, etc.
  • first may be referred to as a second client
  • second client may be referred to as a first client, without departing from the scope of the present application.
  • Both the first client and the second client are clients, but they are not the same client.
  • FIG. 1 is a schematic diagram showing the internal structure of an electronic device in an example.
  • the electronic device includes a processor connected via a system bus, a non-volatile storage medium, an internal memory, a network interface, a display screen, and an input device.
  • the non-volatile storage medium of the electronic device stores an operating system, and further includes a parallax fusion device, and the parallax fusion device is used to implement a parallax fusion method.
  • the processor is used to provide computing and control capabilities to support the operation of the entire terminal.
  • An internal memory in an electronic device provides an environment for operation of a parallax fusion device in a non-volatile storage medium, the internal memory being storable with computer readable instructions that, when executed by the processor, can cause The processor performs a parallax fusion method.
  • the network interface is used to communicate with other devices, and the like.
  • the display screen of the electronic device may be a liquid crystal display or an electronic ink display screen, and the input device may be a touch layer covered on the display screen, or may be a button, a trackball or a touchpad provided on the outer casing of the electronic device, or may be An external keyboard, trackpad, or mouse.
  • the electronic device can be a cell phone, a personal computer, a tablet, a personal digital assistant, a wearable device, or a server.
  • FIG. 1 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied.
  • the specific electronic device may be It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
  • FIG. 2 is a flow chart of a parallax fusion method in an example. As shown in FIG. 2, a parallax fusion method is implemented on an electronic device, including:
  • Step 202 Acquire a first direction flow field motion relationship and a second direction flow field motion relationship of the first image and the second image overlap region.
  • the captured panoramic video image is generally captured by multiple cameras or multiple lens systems.
  • the video stitching is to stitch the first image and the second image.
  • a portion of the overlapping area of the first image and the second image belonging to the first image is referred to as an overlapping area of the first image, and a portion of the overlapping area of the first image and the second image belonging to the second image is referred to as an overlap of the second image Area.
  • Each pixel point coordinate of the overlapping area of the first image and the second image, each pixel point coordinate of the overlapping area of the first image, and each pixel point coordinate of the overlapping area of the second image are the same.
  • the first direction flow field motion relationship of the first image and the second image overlap region is a flow field motion relationship from the first image to the second image direction.
  • the second direction flow field motion relationship of the first image and the second image overlap region is a flow field motion relationship from the second image to the first image direction.
  • the flow field motion relationship from left to right is Flow l2r
  • the flow motion relationship from right to left is Flow r2l .
  • L2r is the abbreviation of left2right
  • the mark is from left to right
  • r2l is the abbreviation of right2left
  • the mark is from right to left.
  • the pixel-by-pixel dense matching relationship of the overlapping area of the first image and the overlapping area of the second image may be calculated according to the classical flow field algorithm, that is, the first direction flow field motion relationship and the second direction flow field motion relationship.
  • Step 204 correcting the motion relationship of the first direction flow field to obtain a corrected motion relationship of the first direction flow field, and correcting the motion relationship of the flow field in the second direction to obtain a corrected motion relationship of the second direction flow field.
  • the motion relationship of the first direction flow field is corrected to obtain a modified first direction flow field motion relationship, including: performing a transition to the non-overlapping region of the first image in the first direction flow field motion relationship
  • the convergence correction obtains the corrected first-direction flow field motion relationship.
  • the non-overlapping area of the first image means that the first image does not overlap with the second image. Area.
  • the transitional joint correction is to smooth the transition between the overlap region and the non-overlapping region image after deformation.
  • Correcting the motion relationship of the flow field in the second direction to obtain the corrected motion relationship of the motion field in the second direction comprising: performing a transitional connection correction on the motion relationship of the flow field in the second direction with the non-overlapping region of the second image, The corrected second-direction motion flow field motion relationship.
  • the non-overlapping area of the second image refers to an area in the second image that does not overlap with the first image.
  • Step 206 Perform a forward and backward deformation transformation on the overlapping area of the first image and the overlapping area of the second image by using the corrected first direction flow field motion relationship and the second direction flow field motion relationship, respectively.
  • the corrected first direction flow field motion relationship and the second direction flow field motion relationship are respectively used to perform forward and backward deformation transformation on the overlap region of the first image and the overlap region of the second image to obtain the first image.
  • a forward-transformed transformed image of the overlapping region a forward-transformed transformed image of the overlapping region of the first image, a forward-transformed transformed image of the overlapping region of the second image, and a backward-transformed transformed image of the overlapping region of the second image
  • the first image is a reference image and the second image is a target image.
  • the second image is a reference image
  • the first image is a target image
  • the forward deformation changes to transform the image from the reference image to the target image according to the input flow field data
  • the backward deformation changes into a deformation transformation from the target image to the reference image
  • the purpose of correcting the first direction flow field motion relationship and the second direction flow field motion relationship in the above step 204 is to obtain a better connection effect between the non-overlapping area and the overlap area, in practice step 204 It doesn't have to be done, it can't be done.
  • the first direction flow field motion relationship and the second direction flow field motion relationship obtained in step 202 are corrected, so that in step 206, the first direction flow field motion relationship and the second direction flow field obtained in step 202 can be directly adopted.
  • the motion relationship may be performed by performing forward and backward deformation transformation on the overlapping area of the first image and the overlapping area of the second image.
  • Step 208 merging the overlap region of the first image after the forward and backward deformation transformation and the overlap region of the second image to obtain a final image of the first image and the second image overlap region.
  • the four transformed transformed images are fused to obtain a final image of the first image and the second image overlap region.
  • the first direction flow field motion relationship and the second direction flow field motion relationship are used.
  • the overlapping area of the first image and the second image overlapping area perform forward and backward deformation transformation, and the overlapping area of the first image transformed by the forward and backward deformation and the overlapping area of the second image are merged to obtain a first image.
  • the final image of the overlapping area of the second image is transformed and re-fused by using the occlusion area of the flow field data including the transition of the different depth planes to obtain the final image.
  • the images of the overlapping regions obtained by the deformation transformation have different ⁇ , and the ⁇ regions obtained by the forward and backward transformations are just complementary, so the final image obtained after the fusion reduces or avoids the continuation due to the parallax. Breaking of lines, ghosting of virtual edges, ghosting, etc.
  • the motion relationship of the first direction flow field is modified to be connected with the non-overlapping region of the first image, and the corrected first direction flow field is obtained.
  • the motion relationship includes: multiplying the horizontal direction component of the first direction flow field motion relationship by the first coefficient factor including the horizontal pixel width coordinate of the overlapping area and the horizontal pixel width relationship of the overlapping area to obtain the corrected first direction flow field.
  • the horizontal direction component of the motion relationship and the vertical direction component of the motion relationship of the first direction flow field are used as the vertical direction component of the corrected first direction flow field motion relationship.
  • the first coefficient factor including the pixel point horizontal coordinate of the overlap region and the horizontal pixel width relationship of the overlap region may be a ratio between a pixel point horizontal coordinate of the overlap region and a horizontal pixel width of the overlap region, or an overlap region.
  • the first coefficient factor is the ratio between the horizontal coordinate of the pixel point of the overlap region and the horizontal pixel width of the overlap region minus one. When calculated by the formula (1).
  • a horizontal component representing the corrected first-order flow field motion relationship a vertical component representing the motion relationship of the corrected first direction flow field
  • the horizontal direction component representing the motion relationship of the flow direction in the first direction before correction
  • a vertical direction component representing a motion relationship of the first direction flow field before correction
  • N is a horizontal pixel width of the first image and the second image overlap region
  • x is a horizontal coordinate of the image pixel point
  • y is a vertical coordinate of the image pixel point
  • the superscript h represents the horizontal direction component
  • the superscript v represents the vertical direction component
  • l2r is the abbreviation of left2right, marking the direction from the first image to the second image (ie, left to right direction).
  • the first coefficient factor is the ratio between the horizontal coordinate of the pixel of the overlap region and the horizontal pixel width of the overlap region.
  • the motion relationship of the flow field in the second direction is modified to be in transition with the non-overlapping region of the second image, and the corrected second direction motion flow is obtained.
  • the field motion relationship includes: multiplying a horizontal direction component of the second direction flow field motion relationship by a second coefficient factor including a horizontal pixel width coordinate of the overlapping area and a horizontal pixel width relationship of the overlapping area to obtain a corrected second direction flow.
  • the horizontal direction component of the field motion relationship and the vertical direction of the motion relationship of the second direction flow field The quantity is used as the vertical direction component of the corrected flow direction relationship in the second direction.
  • the second coefficient factor including the pixel point horizontal coordinate of the overlap region and the horizontal pixel width relationship of the overlap region may be a difference between a predetermined constant and a ratio between a pixel point horizontal coordinate of the overlap region and a horizontal pixel width of the overlap region.
  • the value relationship is either a difference relationship between a predetermined constant and a ratio between a pixel point horizontal coordinate of the overlap region and a horizontal pixel width of the overlap region minus one.
  • the second coefficient factor is a difference relationship between a predetermined constant and a ratio between a pixel point horizontal coordinate of the overlap region and a horizontal pixel width of the overlap region minus one.
  • a horizontal component representing a corrected motion relationship of the flow field in the second direction a vertical component representing a corrected motion relationship of the flow field in the second direction
  • the horizontal direction component representing the motion relationship of the flow direction in the first direction before correction
  • the vertical direction component representing the motion relationship of the flow direction in the second direction before correction
  • N is the horizontal pixel width of the overlap region of the first image and the second image
  • x is the horizontal coordinate of the pixel of the image
  • y is the vertical coordinate of the pixel of the image.
  • the superscript h represents the horizontal direction component
  • the superscript v represents the vertical direction component
  • r2l is the abbreviation of right2left, marking the direction from the second image to the first image (ie, right to left direction).
  • the predetermined constant is 1, and of course, the predetermined constant is not limited to 1.
  • the second coefficient factor is a difference relationship between a predetermined constant and a ratio between a pixel point horizontal coordinate of the overlap region and a horizontal pixel width of the overlap region, that is, Calculated using equation (4).
  • the first coefficient factor is The second coefficient factor is Or, the first coefficient factor can be The second coefficient factor is Not limited to this.
  • the transition relationship between the first direction flow field motion relationship and the non-overlapping region of the first image is corrected, and the corrected first direction flow is obtained.
  • the field motion relationship includes: multiplying a vertical direction component of the first direction flow field motion relationship by a third coefficient factor including a vertical coordinate of a pixel point of the overlap region and a vertical pixel height relationship of the overlap region to obtain a corrected first direction
  • the vertical direction component of the flow field motion relationship and the horizontal direction component of the first direction flow field motion relationship are used as the horizontal direction component of the corrected first direction flow field motion relationship.
  • the predetermined constant is 1, and of course the predetermined constant is not limited to 1.
  • the third coefficient factor may be a ratio relationship between the vertical coordinates of the pixel points of the overlap region and the vertical pixel height of the overlap region, or between the vertical coordinates of the pixel points of the overlap region and the vertical pixel height of the overlap region minus one. Ratio relationship.
  • the third coefficient factor may be a ratio relationship between the vertical coordinate of the pixel of the overlap region and the vertical pixel height of the overlap region minus one. Calculated using equation (5).
  • a horizontal component representing the corrected first-order flow field motion relationship a vertical component representing the motion relationship of the corrected first direction flow field
  • the horizontal direction component representing the motion relationship of the flow direction in the first direction before correction
  • a vertical direction component representing a motion relationship of the first direction flow field before correction
  • M is a vertical pixel height of the first image and the second image overlap region
  • x is a horizontal coordinate of the image pixel point
  • y is a vertical coordinate of the image pixel point
  • the superscript h represents the horizontal direction component
  • the superscript v represents the vertical direction component
  • u2d is an abbreviation of up2down, marking the direction from the first image to the second image (ie, the top to bottom direction).
  • the third coefficient factor may be a ratio relationship between the vertical coordinates of the pixel points of the overlap region and the vertical pixel height of the overlap region. Calculated using equation (6).
  • the motion relationship of the second direction flow field is modified to be connected with the non-overlapping region of the second image, and the corrected second direction motion is obtained.
  • the flow field motion relationship includes: multiplying a vertical direction component of the second direction flow field motion relationship by a fourth coefficient factor of a vertical relationship between a pixel point vertical coordinate of the overlap region and a vertical pixel height of the overlap region, and a second corrected coefficient
  • the vertical direction component of the directional flow field motion relationship and the horizontal direction component of the second direction flow field motion relationship are used as the horizontal direction component of the corrected second direction flow field motion relationship.
  • the fourth coefficient factor may be a difference relationship between a predetermined constant and a ratio of a vertical coordinate of a pixel of the overlap region to a vertical pixel height of the overlap region, or may be a predetermined constant and a vertical coordinate of the pixel of the overlap region and overlap The difference between the vertical pixel height of the region minus the ratio between the values.
  • the fourth coefficient factor is a difference relationship between a predetermined constant and a ratio between a vertical coordinate of a pixel of the overlap region and a vertical pixel height of the overlap region minus one. Calculated using equation (7).
  • a horizontal component representing the corrected first-order flow field motion relationship a vertical component representing the motion relationship of the corrected first direction flow field
  • the horizontal direction component representing the motion relationship of the flow direction in the first direction before correction
  • a vertical direction component representing a motion relationship of the first direction flow field before correction
  • M is a vertical pixel height of the first image and the second image overlap region
  • x is a horizontal coordinate of the image pixel point
  • y is a vertical coordinate of the image pixel point
  • the superscript h represents the horizontal direction component
  • the superscript v represents the vertical direction component
  • d2u is the abbreviation of down2up, marking the direction from the second image to the first image (ie, the bottom-up direction).
  • the predetermined constant is 1, and of course the predetermined constant is not limited to 1.
  • the fourth coefficient factor is a difference relationship between a predetermined constant and a ratio between a vertical coordinate of a pixel point of the overlap region and a vertical pixel height of the overlap region.
  • the third coefficient factor can be The fourth coefficient factor can be Alternatively, the third coefficient factor can be The fourth coefficient factor can be Not limited to this.
  • the predetermined constant is 1, and of course, the predetermined constant is not limited to 1.
  • the modified first direction flow field motion relationship and the second direction flow field motion relationship are respectively used to perform forward and backward deformation transformations on the overlap region of the first image and the overlap region of the second image, including:
  • the first image is a reference image and the second image is a target image; if the modified second-direction flow field motion relationship is used for deformation transformation
  • the second image is a reference image, and the first image is a target image.
  • the forward deformation is transformed into a deformation transformation from the reference image to the target image, and the backward deformation is changed. Change to the deformation transformation from the target image to the reference image.
  • the overlapping area of the first image is labeled I L
  • the overlapping area of the second image is labeled I R
  • the modified first direction flow field motion relationship rFlow ( x, y) l2r and the modified second-direction flow field motion relationship rFlow(x, y) r2l transforms I L and I R to obtain the following data:
  • R' is a forward-transformed transformed image of the overlapping region I L of the first image
  • R" is a backward-transformed transformed image of the overlapping region I L of the first image
  • L' is an overlapping region I R of the second image
  • L" is the backward deformation transformed image of the overlapping region I R of the second image
  • Forwardwarp represents the forward deformation transformation
  • Backwardwarp represents the backward deformation transformation.
  • Forwardwarp refers to the forward deformation transformation of the image I from the reference image to the target image according to the input flow field data flow. Because the flow field data flow includes occlusion areas due to different depth plane transitions, R' and L' obtained by Forwardwarp transformation will have a first type of ⁇ area such as a void area and an overlap area, and the first type of ⁇ area will be Marked as region hole .
  • Backwardwarp refers to the backward deformation transformation of the image I from the target image to the reference image according to the input flow field data flow. Since the flow field data flow includes occlusion areas due to transitions of different depth planes, the R" and L" obtained by the Backwardwarp transformation no longer have holes, but a ghosting phenomenon occurs.
  • the four overlapping area images obtained by the deformation transformation have R', L', R" and L", each with a void area, an overlapping area, an overlapping area, etc., and the ⁇ area obtained by the Backwardwarp transformation and the Forwardwarp transformation happens to have Complementarity, so they are sourced to obtain the final image of the overlapping region.
  • the overlapping regions of the first image and the overlapping regions of the second image after the forward and backward deformation are merged to obtain a final image of the first image and the second image overlapping region, including:
  • the forward-transformed transformed image and the backward-transformed transformed image of the overlapping region of the second image are fused to obtain a second fused image.
  • Fusion(x,y) is a fusion function.
  • the final image of the first image and the second image overlapping area is the first fused image
  • the final image of the first image and the second image overlapping area is the second fused image.
  • the calculation formula is as shown in the formula (10).
  • I overlap represents the final image.
  • Mid indicates the intermediate separation position of the overlap region (the horizontal coordinate value of the intermediate pixel of the overlap region), which can be obtained by taking the center line and obtaining other methods.
  • the forward transformed transformed image and the backward transformed transformed image of the overlapping region of the first image are merged to obtain a first fused image, including:
  • the first fused image is a forward morphing transformed image of the overlapping region of the first image
  • the first fused image is a backward morphing transformed image of the overlapping region of the first image.
  • an implementation of the fusion(x,y) function can be as follows (11):
  • R'(x, y) is R'
  • R"(x, y) is R".
  • the forward-transformed transformed image and the backward-transformed transformed image of the overlapping region of the second image are merged to obtain a second fused image, including:
  • the second fused image is a forward morphing transformed image of the overlapping region of the second image
  • the second fused image is a backward morphing transformed image of the overlapping region of the second image.
  • L'(x, y) is L'
  • L"(x, y) is L".
  • the first type of ⁇ region and the non-first ⁇ region are distinguished from the pixel points, and the pixels belonging to the first ⁇ region are replaced by the backward deformation transformation image, and the backward deformation transformation image has no first ⁇ region, which can be eliminated.
  • the process of overlapping the first image and the second image in the horizontal direction is used, and the first image and the second image may be overlapped and merged in the vertical direction, and the fusion process is the same.
  • FIG. 3 is a structural block diagram of a parallax fusion device in an example.
  • a disparity fusion device is a device configured to implement a parallax fusion method, and the device includes:
  • One or more memories are One or more memories
  • One or more processors among them,
  • the one or more memories storing one or more instruction modules configured to be executed by the one or more processors;
  • the one or more instruction modules include: a motion relationship acquisition module 310, a correction module 320, a deformation module 330, and a fusion module 340. among them:
  • the motion relationship acquiring module 310 is configured to acquire a first direction flow field motion relationship and a second direction flow field motion relationship of the first image and the second image overlap region.
  • the correction module 320 is configured to correct the first direction flow field motion relationship to obtain a corrected first direction flow field motion relationship, and modify the second direction flow field motion relationship to obtain a corrected second direction flow. Field sports relationship.
  • the deformation module 330 is configured to perform forward and backward deformation transformation on the overlapping area of the first image and the overlapping area of the second image by using the corrected first direction flow field motion relationship and the second direction flow field motion relationship, respectively.
  • the fusion module 340 is configured to fuse the overlap region of the first image transformed by the forward and backward deformations and the overlap region of the second image to obtain a final image of the first image and the second image overlap region.
  • the function of the above-mentioned correction module 320 is to obtain a better connection effect between the non-overlapping area and the overlapping area.
  • the correction module 320 is not an essential instruction module, so that the deformation module 330 directly acquires the motion relationship module.
  • the first direction flow field motion relationship and the second direction flow field motion relationship acquired by 310 may be forward and backward deformation transformation of the overlap region of the first image and the overlap region of the second image.
  • Figure 4 is a block diagram showing the internal structure of the correction module in one example.
  • the correction Module 320 includes a first modification unit 3202 and a second modification unit 3204. among them:
  • the first correcting unit 3202 is configured to perform a transition joint correction with the non-overlapping region of the first image in the first direction flow field motion relationship, to obtain a corrected first direction flow field motion relationship;
  • the second correcting unit 3204 is configured to perform a transitional connection correction with the non-overlapping region of the second image in the second direction flow field motion relationship, and obtain a corrected second direction motion flow field motion relationship.
  • the first correcting unit 3202 is further configured to multiply the horizontal direction component of the first direction flow field motion relationship by the pixel point horizontal coordinate including the overlapping area. a first coefficient factor in relation to a horizontal pixel width of the overlap region obtains a corrected horizontal direction component of the first direction flow field motion relationship, and a vertical direction component of the first direction flow field motion relationship as the corrected first The vertical component of the directional flow field motion relationship;
  • the second correcting unit 3204 is further configured to multiply the horizontal direction component of the second direction flow field motion relationship by a second coefficient factor including a pixel point horizontal coordinate of the overlapping area and a horizontal pixel width relationship of the overlapping area.
  • the horizontal direction component of the two-direction flow field motion relationship and the vertical direction component of the second direction flow field motion relationship are used as the vertical direction component of the corrected second-direction flow field motion relationship.
  • the first correcting unit 3202 is further configured to multiply the vertical direction component of the first direction flow field motion relationship by the pixel point vertical coordinate including the overlap region.
  • a third coefficient factor relating to a vertical pixel height relationship of the overlap region obtains a corrected vertical direction component of the first direction flow field motion relationship, and a horizontal direction component of the first direction flow field motion relationship as the corrected first The horizontal component of the directional flow field motion relationship;
  • the second correcting unit 3204 is further configured to multiply the vertical direction component of the second direction flow field motion relationship by the pixel vertical coordinate of the overlapping area and the vertical pixel of the overlapping area.
  • the fourth coefficient factor of the degree relationship obtains the corrected vertical direction component of the second direction flow field motion relationship, and the horizontal direction component of the second direction flow field motion relationship is used as the corrected second direction flow field motion relationship.
  • Horizontal component
  • FIG. 5 is a block diagram showing the internal structure of the deformation module in one example.
  • the deformation module 330 includes a first deformation unit 3302, a second deformation unit 3304, a third deformation unit 3306, and a fourth deformation unit 3308. among them:
  • the first deformation unit 3302 is configured to perform forward deformation transformation on the overlapping region of the first image by using the corrected first direction flow field motion relationship to obtain a forward deformation transformation image of the overlapping region of the first image;
  • the second deformation unit 3304 is configured to perform backward deformation transformation on the overlapping region of the first image by using the corrected second-direction flow field motion relationship to obtain a backward deformation transformation image of the overlapping region of the first image;
  • the third deforming unit 3306 is configured to perform forward deformation transformation on the overlapping region of the second image by using the corrected second-direction flow field motion relationship to obtain a forward-transformed transformed image of the overlapping region of the second image;
  • the fourth deforming unit 3308 is configured to perform backward deformation transformation on the overlapping region of the second image by using the corrected first direction flow field motion relationship to obtain a backward deformation transformed image of the overlapping region of the second image.
  • FIG. 6 is a block diagram showing the internal structure of a fusion module in an example.
  • the fusion module 340 includes a first fusion unit 3402 and a second fusion unit 3404. among them:
  • the first merging unit 3402 is configured to fuse the forward-transformed transformed image and the backward-transformed transformed image of the overlapping region of the first image to obtain a first fused image;
  • the second merging unit 3404 is configured to fuse the forward-transformed transformed image and the backward-transformed transformed image of the overlapping region of the second image to obtain a second fused image;
  • the final image of the first image and the second image overlapping area is the First fused image
  • the final image of the first image and the second image overlapping area is the second fused image.
  • the first fused image is a forward morphing transformed image of the overlap region of the first image, and if the overlap The pixel of the region belongs to the first type of ⁇ region, and the first fused image is a backward deformation transformed image of the overlapping region of the first image;
  • the second fused image is a forward-transformed transformed image of the overlapping area of the second image, and if the pixel of the overlapping area belongs to In the first type of ⁇ region, the second fused image is a backward morphing transformed image of the overlapping region of the second image.
  • the program when executed, may include a flow of an instance of each of the methods described above.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or the like.
  • An example of the present application provides a non-transitory computer readable storage medium storing computer readable instructions, which may cause at least one processor to perform the parallax fusion method proposed in the above example, for example, acquiring a first image and a second image.
  • the first direction flow field motion relationship and the second direction flow field motion relationship in the overlap region; the first direction flow field motion relationship and the second direction flow field motion relationship respectively are used to overlap the first image overlap region and the second image overlap region respectively Forward and backward deformation transformation is performed; the overlapping region of the first image transformed by the forward and backward deformation and the overlapping region of the second image are merged to obtain a final image of the first image and the second image overlapping region.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)

Abstract

The present application relates to a parallax fusion method and apparatus. The method comprises: acquiring a first direction flow field movement relationship and a second direction flow field movement relationship of an overlapping area between a first image and a second image; correcting the first direction flow field movement relationship so as to obtain a corrected first direction flow field movement relationship, and correcting the second direction flow field movement relationship so as to obtain a corrected second direction flow field movement relationship; respectively performing forward and backward transformation conversions on an overlapping area of the first image and an overlapping area of the second image by using the corrected first direction flow field movement relationship and second direction flow field movement relationship; and fusing the overlapping area of the first image and the overlapping area of the second image, which have been subjected to the forward and backward transformation conversions, to obtain a final image of the overlapping area between the first image and the second image.

Description

视差融合方法和装置Parallax fusion method and device
本申请要求于2016年07月04日提交中国专利局、申请号为201610522270.8、申请名称为“视差融合方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese Patent Application, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本申请涉及图像处理领域,特别是涉及一种视差融合方法和装置。The present application relates to the field of image processing, and in particular to a parallax fusion method and apparatus.
背景background
360度全景视频由于能提供给用户区别于传统有限视野视频更为逼真的沉浸观看体验,逐渐成为虚拟现实领域主要的内容之一。由于目前采集全景视频的单镜头系统少见,一般是有多个相机或多个镜头系统采集的视频拼接而成。The 360-degree panoramic video has gradually become one of the main contents of the virtual reality field because it can provide users with a more realistic and immersive viewing experience that is different from the traditional limited-view video. Since the single-lens system that currently collects panoramic video is rare, it is generally composed of video captured by multiple cameras or multiple lens systems.
技术内容Technical content
本申请实例的技术方案是这样实现的:The technical solution of the example of the present application is implemented as follows:
本申请提出一种视差融合方法和装置,能减少或消除因视差导致的图像重叠区域的鬼影、重影虚边、连续线条错位断裂等拼接瑕疵。The present application proposes a parallax fusion method and apparatus, which can reduce or eliminate ghosting, ghosting virtual edges, continuous line misalignment fractures and the like due to parallax.
一种视差融合方法,包括:A parallax fusion method comprising:
获取第一图像和第二图像重叠区的第一方向流场运动关系和第二方向流场运动关系;Obtaining a first direction flow field motion relationship and a second direction flow field motion relationship of the first image and the second image overlap region;
采用第一方向流场运动关系和第二方向流场运动关系分别对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换;Performing forward and backward deformation transformation on the overlapping area of the first image and the overlapping area of the second image by using the first direction flow field motion relationship and the second direction flow field motion relationship, respectively;
将经过前向和后向变形变换后的第一图像的重叠区和第二图像 的重叠区进行融合得到第一图像和第二图像重叠区的最终图像。An overlap region and a second image of the first image transformed by forward and backward deformation The overlapping regions are fused to obtain a final image of the first image and the second image overlap region.
本申请还提出一种视差融合装置,该装置包括:The application also provides a parallax fusion device, the device comprising:
一个或一个以上存储器;One or more memories;
一个或一个以上处理器;其中,One or more processors; among them,
所述一个或一个以上存储器存储有一个或者一个以上指令模块,经配置由所述一个或者一个以上处理器执行;其中,The one or more memories storing one or more instruction modules configured to be executed by the one or more processors; wherein
所述一个或者一个以上指令模块包括:The one or more instruction modules include:
运动关系获取模块,用于获取第一图像和第二图像重叠区的第一方向流场运动关系和第二方向流场运动关系;a motion relationship acquiring module, configured to acquire a first direction flow field motion relationship and a second direction flow field motion relationship of the first image and the second image overlap region;
变形模块,用于采用第一方向流场运动关系和第二方向流场运动关系分别对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换;a deformation module, configured to perform forward and backward deformation transformation on the overlapping area of the first image and the overlapping area of the second image by using the first direction flow field motion relationship and the second direction flow field motion relationship, respectively;
融合模块,用于将经过前向和后向变形变换后的第一图像的重叠区和第二图像的重叠区进行融合得到第一图像和第二图像重叠区的最终图像。And a fusion module, configured to fuse the overlap region of the first image transformed by the forward and backward deformations and the overlap region of the second image to obtain a final image of the first image and the second image overlap region.
本申请还提出了一种非易失性计算机可读存储介质,存储有计算机可读指令,可以使至少一个处理器执行以下操作:The present application also proposes a non-transitory computer readable storage medium storing computer readable instructions that cause at least one processor to:
获取第一图像和第二图像重叠区的第一方向流场运动关系和第二方向流场运动关系;采用第一方向流场运动关系和第二方向流场运动关系分别对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换;将经过前向和后向变形变换后的第一图像的重叠区和第二图像的重叠区进行融合得到第一图像和第二图像重叠区的最终图像。Obtaining a first direction flow field motion relationship and a second direction flow field motion relationship of the first image and the second image overlap region; respectively, using the first direction flow field motion relationship and the second direction flow field motion relationship respectively to overlap the first image The overlapping area of the area and the second image is transformed by forward and backward deformation; the overlapping area of the first image transformed by the forward and backward deformation is merged with the overlapping area of the second image to obtain the first image and the second image The final image of the image overlap area.
附图简要说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚的说明本申请实例中的技术方案,下面将对实例描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图 仅仅是本申请的一些实例,对于本领域普通技术人员来说,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。其中,In order to more clearly illustrate the technical solutions in the examples of the present application, the drawings used in the description of the examples will be briefly described below. Obviously, the drawings in the following description For some examples of the present application, other drawings may be obtained from those of ordinary skill in the art without departing from the drawings. among them,
图1为一个实例中电子设备的内部结构示意图;1 is a schematic diagram showing the internal structure of an electronic device in an example;
图2为一个实例中视差融合方法的流程图;2 is a flow chart of a parallax fusion method in an example;
图3为一个实例中视差融合装置的结构框图;3 is a structural block diagram of a parallax fusion device in an example;
图4为一个实例中修正模块的内部结构框图;4 is a block diagram showing the internal structure of a correction module in an example;
图5为一个实例中变形模块的内部结构框图;Figure 5 is a block diagram showing the internal structure of a deformation module in an example;
图6为一个实例中融合模块的内部结构框图。Figure 6 is a block diagram showing the internal structure of a fusion module in an example.
实施方式Implementation
在实现本发明实例的过程中,发明人发现:针对由多个相机或多个镜头系统采集的视频拼接而成的全景视频,从镜头光学透视几何原理来说,两个不共光心的相机系统在二维成像传感器所成像的内容,在它们公共视野部分,总会存在一定的视差,在不同深度面上,视差程度不一样,最终导致所拼接的视频内容在存在视差的区域出现视觉上难以接受的瑕疵,例如重影、鬼影、连续线条错位断裂等。即便采用“在拼接左右图像的重叠区内,提取显著的特征点,并且进行左右匹配,随后求解一个变形函数,使得左右图像匹配的特征点重合,同时图像变形代价最小”的方式,虽然可以使得重叠区内主要物体大致重合,但不能完全解决视差瑕疵,仍然会出现重影虚边,连续线条错位断裂等问题。In the process of implementing the examples of the present invention, the inventors have found that for a panoramic video stitched by a plurality of cameras or a plurality of lens systems, two non-co-optical cameras are obtained from the optical optical perspective principle of the lens. The content imaged by the two-dimensional imaging sensor always has a certain parallax in their common field of view. At different depths, the degree of parallax is different, which ultimately causes the stitched video content to appear visually in the region where parallax exists. Unacceptable defects, such as ghosting, ghosting, broken lines of continuous lines, etc. Even in the manner of "splicing significant feature points in the overlapping regions of the left and right images, and performing left and right matching, and then solving a deformation function, so that the feature points of the left and right image matching coincide, and the image deformation cost is minimal", although it can be made The main objects in the overlap area are roughly coincident, but the parallax can not be completely solved, and there are still problems such as ghosting virtual edges and continuous lines being broken.
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实例仅仅用以解释本申请,并不用于限定本申请。In order to make the objects, technical solutions and advantages of the present application more clear, the present application will be further described in detail below with reference to the accompanying drawings and examples. It is understood that the specific examples described herein are merely illustrative of the application and are not intended to be limiting.
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于 将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一客户端称为第二客户端,且类似地,可将第二客户端称为第一客户端。第一客户端和第二客户端两者都是客户端,但其不是同一客户端。It will be understood that the terms "first", "second" and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms. These terms are only used for Distinguish the first component from another component. For example, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client, without departing from the scope of the present application. Both the first client and the second client are clients, but they are not the same client.
图1为一个实例中电子设备的内部结构示意图。如图1所示,该电子设备包括通过系统总线连接的处理器、非易失性存储介质、内存储器、网络接口、显示屏和输入装置。其中,电子设备的非易失性存储介质存储有操作系统,还包括一种视差融合装置,该视差融合装置用于实现一种视差融合方法。该处理器用于提供计算和控制能力,支撑整个终端的运行。电子设备中的内存储器为非易失性存储介质中的视差融合装置的运行提供环境,该内存储器中可储存有计算机可读指令,该计算机可读指令被所述处理器执行时,可使得所述处理器执行一种视差融合方法。网络接口用于与其他设备进行通信等。电子设备的显示屏可以是液晶显示屏或者电子墨水显示屏等,输入装置可以是显示屏上覆盖的触摸层,也可以是电子设备外壳上设置的按键、轨迹球或触控板,也可以是外接的键盘、触控板或鼠标等。该电子设备可以是手机、个人计算机、平板电脑、个人数字助理、穿戴式设备或服务器等。本领域技术人员可以理解,图1中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的电子设备的限定,具体的电子设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。FIG. 1 is a schematic diagram showing the internal structure of an electronic device in an example. As shown in FIG. 1, the electronic device includes a processor connected via a system bus, a non-volatile storage medium, an internal memory, a network interface, a display screen, and an input device. The non-volatile storage medium of the electronic device stores an operating system, and further includes a parallax fusion device, and the parallax fusion device is used to implement a parallax fusion method. The processor is used to provide computing and control capabilities to support the operation of the entire terminal. An internal memory in an electronic device provides an environment for operation of a parallax fusion device in a non-volatile storage medium, the internal memory being storable with computer readable instructions that, when executed by the processor, can cause The processor performs a parallax fusion method. The network interface is used to communicate with other devices, and the like. The display screen of the electronic device may be a liquid crystal display or an electronic ink display screen, and the input device may be a touch layer covered on the display screen, or may be a button, a trackball or a touchpad provided on the outer casing of the electronic device, or may be An external keyboard, trackpad, or mouse. The electronic device can be a cell phone, a personal computer, a tablet, a personal digital assistant, a wearable device, or a server. A person skilled in the art can understand that the structure shown in FIG. 1 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied. The specific electronic device may be It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
图2为一个实例中视差融合方法的流程图。如图2所示,一种视差融合方法,运行于电子设备上,包括:2 is a flow chart of a parallax fusion method in an example. As shown in FIG. 2, a parallax fusion method is implemented on an electronic device, including:
步骤202,获取第一图像和第二图像重叠区的第一方向流场运动关系和第二方向流场运动关系。Step 202: Acquire a first direction flow field motion relationship and a second direction flow field motion relationship of the first image and the second image overlap region.
采集的全景视频的图像一般采用多个相机或多个镜头系统采集 的视频拼接,即将第一图像和第二图像进行拼接。第一图像和第二图像拼接时会存在一部分重叠,即为第一图像和第二图像的重叠区。第一图像和第二图像的重叠区中属于第一图像的部分称为第一图像的重叠区,第一图像和第二图像的重叠区中属于第二图像的部分称为第二图像的重叠区。第一图像和第二图像的重叠区的各像素点坐标、第一图像的重叠区的各像素点坐标以及第二图像的重叠区的各像素点坐标相同。The captured panoramic video image is generally captured by multiple cameras or multiple lens systems. The video stitching is to stitch the first image and the second image. There is a partial overlap when the first image and the second image are spliced, that is, an overlapping area of the first image and the second image. A portion of the overlapping area of the first image and the second image belonging to the first image is referred to as an overlapping area of the first image, and a portion of the overlapping area of the first image and the second image belonging to the second image is referred to as an overlap of the second image Area. Each pixel point coordinate of the overlapping area of the first image and the second image, each pixel point coordinate of the overlapping area of the first image, and each pixel point coordinate of the overlapping area of the second image are the same.
第一图像和第二图像重叠区的第一方向流场运动关系为从第一图像到第二图像方向的流场运动关系。The first direction flow field motion relationship of the first image and the second image overlap region is a flow field motion relationship from the first image to the second image direction.
第一图像和第二图像重叠区的第二方向流场运动关系为从第二图像到第一图像方向的流场运动关系。The second direction flow field motion relationship of the first image and the second image overlap region is a flow field motion relationship from the second image to the first image direction.
例如,第一图像和第二图像重叠区为水平方向重叠,则标记从左到右的流场运动关系为Flowl2r,从右到左的流场运动关系为Flowr2l。l2r为left2right的缩写,标记从左到右方向,r2l为right2left的缩写,标记从右到左方向。For example, if the overlapping regions of the first image and the second image overlap in the horizontal direction, the flow field motion relationship from left to right is Flow l2r , and the flow motion relationship from right to left is Flow r2l . L2r is the abbreviation of left2right, the mark is from left to right, r2l is the abbreviation of right2left, and the mark is from right to left.
可根据经典流场算法计算第一图像的重叠区和第二图像的重叠区的逐像素密集匹配关系,即第一方向流场运动关系和第二方向流场运动关系。The pixel-by-pixel dense matching relationship of the overlapping area of the first image and the overlapping area of the second image may be calculated according to the classical flow field algorithm, that is, the first direction flow field motion relationship and the second direction flow field motion relationship.
步骤204,对该第一方向流场运动关系进行修正得到修正后的第一方向流场运动关系,以及对该第二方向流场运动关系进行修正得到修正后的第二方向流场运动关系。Step 204: correcting the motion relationship of the first direction flow field to obtain a corrected motion relationship of the first direction flow field, and correcting the motion relationship of the flow field in the second direction to obtain a corrected motion relationship of the second direction flow field.
本实例中,该对该第一方向流场运动关系进行修正得到修正后的第一方向流场运动关系,包括:对该第一方向流场运动关系做与第一图像的非重叠区的过渡衔接修正,得到修正后的第一方向流场运动关系。In this example, the motion relationship of the first direction flow field is corrected to obtain a modified first direction flow field motion relationship, including: performing a transition to the non-overlapping region of the first image in the first direction flow field motion relationship The convergence correction obtains the corrected first-direction flow field motion relationship.
具体地,第一图像的非重叠区是指第一图像中未与第二图像重叠 的区域。过渡衔接修正是为了在形变后平滑过渡重叠区与非重叠区图像。Specifically, the non-overlapping area of the first image means that the first image does not overlap with the second image. Area. The transitional joint correction is to smooth the transition between the overlap region and the non-overlapping region image after deformation.
对该第二方向流场运动关系进行修正得到修正后的第二方向运动流场运动关系,包括:对该第二方向流场运动关系做与第二图像的非重叠区的过渡衔接修正,得到修正后的第二方向运动流场运动关系。Correcting the motion relationship of the flow field in the second direction to obtain the corrected motion relationship of the motion field in the second direction, comprising: performing a transitional connection correction on the motion relationship of the flow field in the second direction with the non-overlapping region of the second image, The corrected second-direction motion flow field motion relationship.
具体地,第二图像的非重叠区是指第二图像中未与第一图像重叠的区域。Specifically, the non-overlapping area of the second image refers to an area in the second image that does not overlap with the first image.
步骤206,采用修正后的第一方向流场运动关系和第二方向流场运动关系分别对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换。Step 206: Perform a forward and backward deformation transformation on the overlapping area of the first image and the overlapping area of the second image by using the corrected first direction flow field motion relationship and the second direction flow field motion relationship, respectively.
本实例中,采用修正后的第一方向流场运动关系和第二方向流场运动关系分别对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换得到第一图像的重叠区的前向变形变换图像、第一图像的重叠区的后向变形变换图像、第二图像的重叠区的前向变形变换图像和第二图像的重叠区的后向变形变换图像共四种变形变换图像。In this example, the corrected first direction flow field motion relationship and the second direction flow field motion relationship are respectively used to perform forward and backward deformation transformation on the overlap region of the first image and the overlap region of the second image to obtain the first image. a forward-transformed transformed image of the overlapping region, a backward-transformed transformed image of the overlapping region of the first image, a forward-transformed transformed image of the overlapping region of the second image, and a backward-transformed transformed image of the overlapping region of the second image A deformation transform image.
若采用修正后的第一方向流场运动关系进行变形变换,第一图像为参考图像,第二图像为目标图像。If the modified first-direction flow field motion relationship is used for deformation transformation, the first image is a reference image and the second image is a target image.
若采用修正后的第二方向流场运动关系进行变形变换,第二图像为参考图像,第一图像为目标图像。If the modified second-direction flow field motion relationship is used for deformation transformation, the second image is a reference image, and the first image is a target image.
前向变形变化为将图像根据输入的流场数据从参考图像到目标图像的变形变换,后向变形变化为从目标图像到参考图像的变形变换。The forward deformation changes to transform the image from the reference image to the target image according to the input flow field data, and the backward deformation changes into a deformation transformation from the target image to the reference image.
可理解的是,上述步骤204中对第一方向流场运动关系和第二方向流场运动关系进行修正的目的是使非重叠区和重叠区之间获得更好的衔接效果,实际上步骤204并不是必须要执行的,也可以不对步 骤202中获取的第一方向流场运动关系和第二方向流场运动关系进行修正,这样在步骤206中就可以直接采用步骤202中获取的第一方向流场运动关系和第二方向流场运动关系对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换即可。It can be understood that the purpose of correcting the first direction flow field motion relationship and the second direction flow field motion relationship in the above step 204 is to obtain a better connection effect between the non-overlapping area and the overlap area, in practice step 204 It doesn't have to be done, it can't be done. The first direction flow field motion relationship and the second direction flow field motion relationship obtained in step 202 are corrected, so that in step 206, the first direction flow field motion relationship and the second direction flow field obtained in step 202 can be directly adopted. The motion relationship may be performed by performing forward and backward deformation transformation on the overlapping area of the first image and the overlapping area of the second image.
步骤208,将经过前向和后向变形变换后的第一图像的重叠区和第二图像的重叠区进行融合得到第一图像和第二图像重叠区的最终图像。Step 208: merging the overlap region of the first image after the forward and backward deformation transformation and the overlap region of the second image to obtain a final image of the first image and the second image overlap region.
本实例中,将四种变形变换图像进行融合得到第一图像和第二图像重叠区的最终图像。In this example, the four transformed transformed images are fused to obtain a final image of the first image and the second image overlap region.
上述视差融合方法,通过获取第一图像和第二图像重叠区的第一方向流场运动关系和第二方向流场运动关系,采用第一方向流场运动关系和第二方向流场运动关系对第一图像的重叠区和第二图像重叠区进行前向和后向变形变换,将经过前向和后向变形变换的第一图像的重叠区和第二图像的重叠区进行融合得到第一图像和第二图像重叠区的最终图像,利用流场数据中包括不同深度面过渡的遮挡区进行变形变换再融合,得到的最终图像。经过变形变换所得到的各张重叠区图像有不同的瑕疵,因向前和向后变换所得的瑕疵区域恰好有互补性,所以经过融合后得到的最终图像减少或避免了出现因视差导致的连续线条的断裂、重影虚边、鬼影等拼接瑕疵。In the above parallax fusion method, by acquiring the first direction flow field motion relationship and the second direction flow field motion relationship of the first image and the second image overlap region, the first direction flow field motion relationship and the second direction flow field motion relationship are used. The overlapping area of the first image and the second image overlapping area perform forward and backward deformation transformation, and the overlapping area of the first image transformed by the forward and backward deformation and the overlapping area of the second image are merged to obtain a first image. And the final image of the overlapping area of the second image is transformed and re-fused by using the occlusion area of the flow field data including the transition of the different depth planes to obtain the final image. The images of the overlapping regions obtained by the deformation transformation have different 瑕疵, and the 瑕疵 regions obtained by the forward and backward transformations are just complementary, so the final image obtained after the fusion reduces or avoids the continuation due to the parallax. Breaking of lines, ghosting of virtual edges, ghosting, etc.
在一个实例中,若第一图像和第二图像为水平方向重叠,对该第一方向流场运动关系做与第一图像的非重叠区的过渡衔接修正,得到修正后的第一方向流场运动关系,包括:将该第一方向流场运动关系的水平方向分量乘以包含重叠区的像素点水平坐标与重叠区的水平像素宽度关系的第一系数因子得到修正后的第一方向流场运动关系的水平方向分量,以及将该第一方向流场运动关系的垂直方向分量作为修正后的第一方向流场运动关系的垂直方向分量。 In an example, if the first image and the second image are overlapped in the horizontal direction, the motion relationship of the first direction flow field is modified to be connected with the non-overlapping region of the first image, and the corrected first direction flow field is obtained. The motion relationship includes: multiplying the horizontal direction component of the first direction flow field motion relationship by the first coefficient factor including the horizontal pixel width coordinate of the overlapping area and the horizontal pixel width relationship of the overlapping area to obtain the corrected first direction flow field The horizontal direction component of the motion relationship and the vertical direction component of the motion relationship of the first direction flow field are used as the vertical direction component of the corrected first direction flow field motion relationship.
本实例中,包含重叠区的像素点水平坐标与重叠区的水平像素宽度关系的第一系数因子可为重叠区的像素点水平坐标与重叠区的水平像素宽度之间的比值,或者重叠区的像素点水平坐标与重叠区的水平像素宽度减1之间的比值。In this example, the first coefficient factor including the pixel point horizontal coordinate of the overlap region and the horizontal pixel width relationship of the overlap region may be a ratio between a pixel point horizontal coordinate of the overlap region and a horizontal pixel width of the overlap region, or an overlap region. The ratio between the horizontal coordinate of the pixel and the horizontal pixel width of the overlap minus one.
第一系数因子为重叠区的像素点水平坐标与重叠区的水平像素宽度减1之间的比值
Figure PCTCN2017086950-appb-000001
时,采用公式(1)计算。
The first coefficient factor is the ratio between the horizontal coordinate of the pixel point of the overlap region and the horizontal pixel width of the overlap region minus one.
Figure PCTCN2017086950-appb-000001
When calculated by the formula (1).
Figure PCTCN2017086950-appb-000002
Figure PCTCN2017086950-appb-000002
公式(1)中,
Figure PCTCN2017086950-appb-000003
表示修正后的第一方向流场运动关系的水平方向分量,
Figure PCTCN2017086950-appb-000004
表示修正后的第一方向流场运动关系的垂直方向分量,
Figure PCTCN2017086950-appb-000005
表示修正前的第一方向流场运动关系的水平方向分量,
Figure PCTCN2017086950-appb-000006
表示修正前的第一方向流场运动关系的垂直方向分量,N为第一图像和第二图像重叠区的水平像素宽度,x为图像像素点的水平坐标,y为图像像素点的垂直坐标,上标h表示水平方向分量,上标v表示垂直方向分量,l2r为left2right的缩写,标记从第一图像到第二图像的方向(即左到右方向)。
In formula (1),
Figure PCTCN2017086950-appb-000003
a horizontal component representing the corrected first-order flow field motion relationship,
Figure PCTCN2017086950-appb-000004
a vertical component representing the motion relationship of the corrected first direction flow field,
Figure PCTCN2017086950-appb-000005
The horizontal direction component representing the motion relationship of the flow direction in the first direction before correction,
Figure PCTCN2017086950-appb-000006
A vertical direction component representing a motion relationship of the first direction flow field before correction, N is a horizontal pixel width of the first image and the second image overlap region, x is a horizontal coordinate of the image pixel point, and y is a vertical coordinate of the image pixel point, The superscript h represents the horizontal direction component, the superscript v represents the vertical direction component, and l2r is the abbreviation of left2right, marking the direction from the first image to the second image (ie, left to right direction).
在其他实例中,第一系数因子为重叠区的像素点水平坐标与重叠区的水平像素宽度之间的比值
Figure PCTCN2017086950-appb-000007
时,采用公式(2)计算。
In other examples, the first coefficient factor is the ratio between the horizontal coordinate of the pixel of the overlap region and the horizontal pixel width of the overlap region.
Figure PCTCN2017086950-appb-000007
When using equation (2).
Figure PCTCN2017086950-appb-000008
Figure PCTCN2017086950-appb-000008
在一个实例中,若第一图像和第二图像为水平方向重叠,对该第二方向流场运动关系做与第二图像的非重叠区的过渡衔接修正,得到修正后的第二方向运动流场运动关系,包括:将该第二方向流场运动关系的水平方向分量乘以包含重叠区的像素点水平坐标与重叠区的水平像素宽度关系的第二系数因子得到修正后的第二方向流场运动关系的水平方向分量,以及将该第二方向流场运动关系的垂直方向分 量作为修正后的第二方向流场运动关系的垂直方向分量。In an example, if the first image and the second image are overlapped in the horizontal direction, the motion relationship of the flow field in the second direction is modified to be in transition with the non-overlapping region of the second image, and the corrected second direction motion flow is obtained. The field motion relationship includes: multiplying a horizontal direction component of the second direction flow field motion relationship by a second coefficient factor including a horizontal pixel width coordinate of the overlapping area and a horizontal pixel width relationship of the overlapping area to obtain a corrected second direction flow The horizontal direction component of the field motion relationship and the vertical direction of the motion relationship of the second direction flow field The quantity is used as the vertical direction component of the corrected flow direction relationship in the second direction.
本实例中,包含重叠区的像素点水平坐标与重叠区的水平像素宽度关系的第二系数因子可为预定常数与重叠区的像素点水平坐标与重叠区的水平像素宽度之间的比值的差值关系,或者为预定常数与重叠区的像素点水平坐标与重叠区的水平像素宽度减1之间的比值的差值关系。In this example, the second coefficient factor including the pixel point horizontal coordinate of the overlap region and the horizontal pixel width relationship of the overlap region may be a difference between a predetermined constant and a ratio between a pixel point horizontal coordinate of the overlap region and a horizontal pixel width of the overlap region. The value relationship is either a difference relationship between a predetermined constant and a ratio between a pixel point horizontal coordinate of the overlap region and a horizontal pixel width of the overlap region minus one.
第二系数因子为预定常数与重叠区的像素点水平坐标与重叠区的水平像素宽度减1之间的比值的差值关系
Figure PCTCN2017086950-appb-000009
时,采用公式(3)计算。
The second coefficient factor is a difference relationship between a predetermined constant and a ratio between a pixel point horizontal coordinate of the overlap region and a horizontal pixel width of the overlap region minus one.
Figure PCTCN2017086950-appb-000009
When using equation (3).
Figure PCTCN2017086950-appb-000010
Figure PCTCN2017086950-appb-000010
公式(3)中,
Figure PCTCN2017086950-appb-000011
表示修正后的第二方向流场运动关系的水平方向分量,
Figure PCTCN2017086950-appb-000012
表示修正后的第二方向流场运动关系的垂直方向分量,
Figure PCTCN2017086950-appb-000013
表示修正前的第一方向流场运动关系的水平方向分量,
Figure PCTCN2017086950-appb-000014
表示修正前的第二方向流场运动关系的垂直方向分量,N为第一图像和第二图像重叠区的水平像素宽度,x为图像像素点的水平坐标,y为图像像素点的垂直坐标,上标h表示水平方向分量,上标v表示垂直方向分量,r2l为right2left的缩写,标记从第二图像到第一图像的方向(即右到左方向)。在上述公式(3)中,预定常数为1,当然预定常数并不限定于为1。
In formula (3),
Figure PCTCN2017086950-appb-000011
a horizontal component representing a corrected motion relationship of the flow field in the second direction,
Figure PCTCN2017086950-appb-000012
a vertical component representing a corrected motion relationship of the flow field in the second direction,
Figure PCTCN2017086950-appb-000013
The horizontal direction component representing the motion relationship of the flow direction in the first direction before correction,
Figure PCTCN2017086950-appb-000014
The vertical direction component representing the motion relationship of the flow direction in the second direction before correction, N is the horizontal pixel width of the overlap region of the first image and the second image, x is the horizontal coordinate of the pixel of the image, and y is the vertical coordinate of the pixel of the image. The superscript h represents the horizontal direction component, the superscript v represents the vertical direction component, and r2l is the abbreviation of right2left, marking the direction from the second image to the first image (ie, right to left direction). In the above formula (3), the predetermined constant is 1, and of course, the predetermined constant is not limited to 1.
在其他实例中,第二系数因子为预定常数与重叠区的像素点水平坐标与重叠区的水平像素宽度之间的比值的差值关系,即
Figure PCTCN2017086950-appb-000015
时,采用公式(4)计算。
In other examples, the second coefficient factor is a difference relationship between a predetermined constant and a ratio between a pixel point horizontal coordinate of the overlap region and a horizontal pixel width of the overlap region, that is,
Figure PCTCN2017086950-appb-000015
Calculated using equation (4).
Figure PCTCN2017086950-appb-000016
Figure PCTCN2017086950-appb-000016
在其他实例中,第一系数因子为
Figure PCTCN2017086950-appb-000017
第二系数因子为
Figure PCTCN2017086950-appb-000018
或 者,第一系数因子可为
Figure PCTCN2017086950-appb-000019
第二系数因子为
Figure PCTCN2017086950-appb-000020
不限于此。
In other examples, the first coefficient factor is
Figure PCTCN2017086950-appb-000017
The second coefficient factor is
Figure PCTCN2017086950-appb-000018
Or, the first coefficient factor can be
Figure PCTCN2017086950-appb-000019
The second coefficient factor is
Figure PCTCN2017086950-appb-000020
Not limited to this.
在一个实例中,若第一图像和第二图像为垂直方向重叠,对所述第一方向流场运动关系做与第一图像的非重叠区的过渡衔接修正,得到修正后的第一方向流场运动关系,包括:将所述第一方向流场运动关系的垂直方向分量乘以包含重叠区的像素点垂直坐标与重叠区的垂直像素高度关系的第三系数因子得到修正后的第一方向流场运动关系的垂直方向分量,以及将所述第一方向流场运动关系的水平方向分量作为修正后的第一方向流场运动关系的水平方向分量。在上述公式(4)中,预定常数为1,当然预定常数并不限定于为1。In one example, if the first image and the second image overlap in a vertical direction, the transition relationship between the first direction flow field motion relationship and the non-overlapping region of the first image is corrected, and the corrected first direction flow is obtained. The field motion relationship includes: multiplying a vertical direction component of the first direction flow field motion relationship by a third coefficient factor including a vertical coordinate of a pixel point of the overlap region and a vertical pixel height relationship of the overlap region to obtain a corrected first direction The vertical direction component of the flow field motion relationship and the horizontal direction component of the first direction flow field motion relationship are used as the horizontal direction component of the corrected first direction flow field motion relationship. In the above formula (4), the predetermined constant is 1, and of course the predetermined constant is not limited to 1.
本实例中,第三系数因子可为重叠区的像素点垂直坐标与重叠区的垂直像素高度之间的比值关系,或者重叠区的像素点垂直坐标与重叠区的垂直像素高度减1之间的比值关系。In this example, the third coefficient factor may be a ratio relationship between the vertical coordinates of the pixel points of the overlap region and the vertical pixel height of the overlap region, or between the vertical coordinates of the pixel points of the overlap region and the vertical pixel height of the overlap region minus one. Ratio relationship.
第三系数因子可为重叠区的像素点垂直坐标与重叠区的垂直像素高度减1之间的比值关系
Figure PCTCN2017086950-appb-000021
采用公式(5)计算。
The third coefficient factor may be a ratio relationship between the vertical coordinate of the pixel of the overlap region and the vertical pixel height of the overlap region minus one.
Figure PCTCN2017086950-appb-000021
Calculated using equation (5).
Figure PCTCN2017086950-appb-000022
Figure PCTCN2017086950-appb-000022
公式(5)中,
Figure PCTCN2017086950-appb-000023
表示修正后的第一方向流场运动关系的水平方向分量,
Figure PCTCN2017086950-appb-000024
表示修正后的第一方向流场运动关系的垂直方向分量,
Figure PCTCN2017086950-appb-000025
表示修正前的第一方向流场运动关系的水平方向分量,
Figure PCTCN2017086950-appb-000026
表示修正前的第一方向流场运动关系的垂直方向分量,M为第一图像和第二图像重叠区的垂直像素高度,x为图像像素点的水平坐标,y为图像像素点的垂直坐标,上标h表示水平方向分量,上标v表示垂直方向分量,u2d为up2down的缩写,标记从第一图像到第二图像的方向(即上到下方向)。
In formula (5),
Figure PCTCN2017086950-appb-000023
a horizontal component representing the corrected first-order flow field motion relationship,
Figure PCTCN2017086950-appb-000024
a vertical component representing the motion relationship of the corrected first direction flow field,
Figure PCTCN2017086950-appb-000025
The horizontal direction component representing the motion relationship of the flow direction in the first direction before correction,
Figure PCTCN2017086950-appb-000026
A vertical direction component representing a motion relationship of the first direction flow field before correction, M is a vertical pixel height of the first image and the second image overlap region, x is a horizontal coordinate of the image pixel point, and y is a vertical coordinate of the image pixel point, The superscript h represents the horizontal direction component, the superscript v represents the vertical direction component, and u2d is an abbreviation of up2down, marking the direction from the first image to the second image (ie, the top to bottom direction).
第三系数因子可为重叠区的像素点垂直坐标与重叠区的垂直像素高度之间的比值关系
Figure PCTCN2017086950-appb-000027
采用公式(6)计算。
The third coefficient factor may be a ratio relationship between the vertical coordinates of the pixel points of the overlap region and the vertical pixel height of the overlap region.
Figure PCTCN2017086950-appb-000027
Calculated using equation (6).
Figure PCTCN2017086950-appb-000028
Figure PCTCN2017086950-appb-000028
在一个实例中,若第一图像和第二图像为垂直方向重叠,对所述第二方向流场运动关系做与第二图像的非重叠区的过渡衔接修正,得到修正后的第二方向运动流场运动关系,包括:将所述第二方向流场运动关系的垂直方向分量乘以包含重叠区的像素点垂直坐标与重叠区的垂直像素高度关系的第四系数因子得到修正后的第二方向流场运动关系的垂直方向分量,以及将所述第二方向流场运动关系的水平方向分量作为修正后的第二方向流场运动关系的水平方向分量。In an example, if the first image and the second image overlap in a vertical direction, the motion relationship of the second direction flow field is modified to be connected with the non-overlapping region of the second image, and the corrected second direction motion is obtained. The flow field motion relationship includes: multiplying a vertical direction component of the second direction flow field motion relationship by a fourth coefficient factor of a vertical relationship between a pixel point vertical coordinate of the overlap region and a vertical pixel height of the overlap region, and a second corrected coefficient The vertical direction component of the directional flow field motion relationship and the horizontal direction component of the second direction flow field motion relationship are used as the horizontal direction component of the corrected second direction flow field motion relationship.
本实例中,第四系数因子可为预定常数与重叠区的像素点垂直坐标与重叠区的垂直像素高度之间比值的差值关系,或者可为预定常数与重叠区的像素点垂直坐标与重叠区的垂直像素高度减1之间比值的差值关系。In this example, the fourth coefficient factor may be a difference relationship between a predetermined constant and a ratio of a vertical coordinate of a pixel of the overlap region to a vertical pixel height of the overlap region, or may be a predetermined constant and a vertical coordinate of the pixel of the overlap region and overlap The difference between the vertical pixel height of the region minus the ratio between the values.
第四系数因子为预定常数与重叠区的像素点垂直坐标与重叠区的垂直像素高度减1之间比值的差值关系
Figure PCTCN2017086950-appb-000029
时,采用公式(7)计算。
The fourth coefficient factor is a difference relationship between a predetermined constant and a ratio between a vertical coordinate of a pixel of the overlap region and a vertical pixel height of the overlap region minus one.
Figure PCTCN2017086950-appb-000029
Calculated using equation (7).
Figure PCTCN2017086950-appb-000030
Figure PCTCN2017086950-appb-000030
公式(7)中,
Figure PCTCN2017086950-appb-000031
表示修正后的第一方向流场运动关系的水平方向分量,
Figure PCTCN2017086950-appb-000032
表示修正后的第一方向流场运动关系的垂直方向分量,
Figure PCTCN2017086950-appb-000033
表示修正前的第一方向流场运动关系的水平方向分量,
Figure PCTCN2017086950-appb-000034
表示修正前的第一方向流场运动关系的垂直方向分量,M为第一图像和第二图像重叠区的垂直像素高度,x为图像像素点的水平坐标,y为图像像素点的垂直坐标,上标h表示水平方向分量,上标v表示垂直方向分量,d2u为down2up的缩写,标记从第二图像到第一图像的方向(即下到上方向)。在上述公式(7)中, 预定常数为1,当然预定常数并不限定于为1。
In formula (7),
Figure PCTCN2017086950-appb-000031
a horizontal component representing the corrected first-order flow field motion relationship,
Figure PCTCN2017086950-appb-000032
a vertical component representing the motion relationship of the corrected first direction flow field,
Figure PCTCN2017086950-appb-000033
The horizontal direction component representing the motion relationship of the flow direction in the first direction before correction,
Figure PCTCN2017086950-appb-000034
A vertical direction component representing a motion relationship of the first direction flow field before correction, M is a vertical pixel height of the first image and the second image overlap region, x is a horizontal coordinate of the image pixel point, and y is a vertical coordinate of the image pixel point, The superscript h represents the horizontal direction component, the superscript v represents the vertical direction component, and d2u is the abbreviation of down2up, marking the direction from the second image to the first image (ie, the bottom-up direction). In the above formula (7), the predetermined constant is 1, and of course the predetermined constant is not limited to 1.
第四系数因子为预定常数与重叠区的像素点垂直坐标与重叠区的垂直像素高度之间比值的差值关系
Figure PCTCN2017086950-appb-000035
时,采用公式(8)计算。
The fourth coefficient factor is a difference relationship between a predetermined constant and a ratio between a vertical coordinate of a pixel point of the overlap region and a vertical pixel height of the overlap region.
Figure PCTCN2017086950-appb-000035
When using equation (8).
Figure PCTCN2017086950-appb-000036
Figure PCTCN2017086950-appb-000036
Figure PCTCN2017086950-appb-000037
Figure PCTCN2017086950-appb-000037
在其他实例中,第三系数因子可为
Figure PCTCN2017086950-appb-000038
第四系数因子可为
Figure PCTCN2017086950-appb-000039
或者,第三系数因子可为
Figure PCTCN2017086950-appb-000040
第四系数因子可为
Figure PCTCN2017086950-appb-000041
不限于此。在上述公式(8)中,预定常数为1,当然预定常数并不限定于为1。
In other examples, the third coefficient factor can be
Figure PCTCN2017086950-appb-000038
The fourth coefficient factor can be
Figure PCTCN2017086950-appb-000039
Alternatively, the third coefficient factor can be
Figure PCTCN2017086950-appb-000040
The fourth coefficient factor can be
Figure PCTCN2017086950-appb-000041
Not limited to this. In the above formula (8), the predetermined constant is 1, and of course, the predetermined constant is not limited to 1.
在一个实例中,采用修正后的第一方向流场运动关系和第二方向流场运动关系分别对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换,包括:In one example, the modified first direction flow field motion relationship and the second direction flow field motion relationship are respectively used to perform forward and backward deformation transformations on the overlap region of the first image and the overlap region of the second image, including:
(1)采用修正后的第一方向流场运动关系对第一图像的重叠区做前向变形变换,得到第一图像的重叠区的前向变形变换图像;(1) performing a forward deformation transformation on the overlapping region of the first image by using the corrected first-direction flow field motion relationship to obtain a forward-transformed transformed image of the overlapping region of the first image;
(2)采用修正后的第二方向流场运动关系对第一图像的重叠区做后向变形变换,得到第一图像的重叠区的后向变形变换图像;(2) performing a backward deformation transformation on the overlapping region of the first image by using the corrected flow direction relationship in the second direction to obtain a backward deformation transformation image of the overlapping region of the first image;
(3)采用修正后的第二方向流场运动关系对第二图像的重叠区做前向变形变换,得到第二图像的重叠区的前向变形变换图像;(3) performing a forward deformation transformation on the overlapping region of the second image by using the corrected second-direction flow field motion relationship to obtain a forward-transformed transformed image of the overlapping region of the second image;
(4)采用修正后的第一方向流场运动关系对第二图像的重叠区做后向变形变换,得到第二图像的重叠区的后向变形变换图像。(4) Performing a backward deformation transformation on the overlapping region of the second image by using the corrected first-direction flow field motion relationship to obtain a backward-transformed transformed image of the overlapping region of the second image.
需要说明的是,若采用修正后的第一方向流场运动关系进行变形变换,第一图像为参考图像,第二图像为目标图像;若采用修正后的第二方向流场运动关系进行变形变换,第二图像为参考图像,第一图像为目标图像。It should be noted that if the modified first-direction flow field motion relationship is used for deformation transformation, the first image is a reference image and the second image is a target image; if the modified second-direction flow field motion relationship is used for deformation transformation The second image is a reference image, and the first image is a target image.
前向变形变换为从参考图像到目标图像的变形变换,后向变形变 换为从目标图像到参考图像的变形变换。The forward deformation is transformed into a deformation transformation from the reference image to the target image, and the backward deformation is changed. Change to the deformation transformation from the target image to the reference image.
以第一图像和第二图像在水平方向重叠为例,第一图像的重叠区标记为IL,第二图像的重叠区标记为IR,根据修正后的第一方向流场运动关系rFlow(x,y)l2r和修正后的第二方向流场运动关系rFlow(x,y)r2l对IL和IR进行变形变换得到如下数据:Taking the first image and the second image overlapping in the horizontal direction as an example, the overlapping area of the first image is labeled I L , and the overlapping area of the second image is labeled I R , according to the modified first direction flow field motion relationship rFlow ( x, y) l2r and the modified second-direction flow field motion relationship rFlow(x, y) r2l transforms I L and I R to obtain the following data:
R'=FL2R=Forwardwarp(rFlowl2r,IL)R'=FL2R=Forwardwarp(rFlow l2r , I L )
R”=BL2R=Backwardwarp(rFlowr2l,IL)R”=BL2R=Backwardwarp(rFlow r2l , I L )
L'=FR2L=Forwardwarp(rFlowr2l,IR)L'=FR2L=Forwardwarp(rFlow r2l , I R )
L”=BR2L=Backwardwarp(rFlowl2r,IR)L"=BR2L=Backwardwarp(rFlow l2r , I R )
其中,R'为第一图像的重叠区IL的前向变形变换图像,R”为第一图像的重叠区IL的后向变形变换图像,L'为第二图像的重叠区IR的前向变形变换图像,L”为第二图像的重叠区IR的后向变形变换图像,Forwardwarp表示前向变形变换,Backwardwarp表示后向变形变换。Where R' is a forward-transformed transformed image of the overlapping region I L of the first image, R" is a backward-transformed transformed image of the overlapping region I L of the first image, and L' is an overlapping region I R of the second image The forward deformation transforms the image, L" is the backward deformation transformed image of the overlapping region I R of the second image, Forwardwarp represents the forward deformation transformation, and Backwardwarp represents the backward deformation transformation.
Forwardwarp(flow,I)是指将图像I根据输入的流场数据flow从参考图像向目标图像进行前向变形变换。因流场数据flow里包括有因为不同深度面过渡的遮挡区,经过Forwardwarp变换所得的R'和L'会出现空洞区与交叠区瑕疵等第一类瑕疵区域,将第一类瑕疵区域均标记为regionholeForwardwarp (flow, I) refers to the forward deformation transformation of the image I from the reference image to the target image according to the input flow field data flow. Because the flow field data flow includes occlusion areas due to different depth plane transitions, R' and L' obtained by Forwardwarp transformation will have a first type of 瑕疵 area such as a void area and an overlap area, and the first type of 瑕疵 area will be Marked as region hole .
Backwardwarp(flow,I)是指将图像I根据输入的流场数据flow从目标图像向参考图像进行后向变形变换。因流场数据flow里包括有因为不同深度面过渡的遮挡区,经过Backwardwarp变换所得的R”和L”不再有空洞瑕疵,但会出现重影瑕疵。Backwardwarp (flow, I) refers to the backward deformation transformation of the image I from the target image to the reference image according to the input flow field data flow. Since the flow field data flow includes occlusion areas due to transitions of different depth planes, the R" and L" obtained by the Backwardwarp transformation no longer have holes, but a ghosting phenomenon occurs.
经过变形变换所得到的四种重叠区图像有R'、L'、R”和L”,各有空洞区、交叠区、重叠区等瑕疵,因Backwardwarp变换和Forwardwarp变换所得的瑕疵区域恰好有互补性,故以他们为来源融合得到重叠区的最终图像。 The four overlapping area images obtained by the deformation transformation have R', L', R" and L", each with a void area, an overlapping area, an overlapping area, etc., and the 瑕疵 area obtained by the Backwardwarp transformation and the Forwardwarp transformation happens to have Complementarity, so they are sourced to obtain the final image of the overlapping region.
在一个实例中,将经过前向和后向变形变换后的第一图像的重叠区和第二图像的重叠区进行融合得到第一图像和第二图像重叠区的最终图像,包括:In one example, the overlapping regions of the first image and the overlapping regions of the second image after the forward and backward deformation are merged to obtain a final image of the first image and the second image overlapping region, including:
将第一图像的重叠区的前向变形变换图像和后向变形变换图像进行融合得到第一融合图像;Combining the forward deformation transformed image and the backward deformation transformed image of the overlapping region of the first image to obtain a first fused image;
将第二图像的重叠区的前向变形变换图像和后向变形变换图像进行融合得到第二融合图像。The forward-transformed transformed image and the backward-transformed transformed image of the overlapping region of the second image are fused to obtain a second fused image.
计算公式如公式(9)。The calculation formula is as shown in formula (9).
Figure PCTCN2017086950-appb-000042
Figure PCTCN2017086950-appb-000042
Figure PCTCN2017086950-appb-000043
Figure PCTCN2017086950-appb-000043
其中,
Figure PCTCN2017086950-appb-000044
为第一融合图像,
Figure PCTCN2017086950-appb-000045
为第二融合图像。fusion(x,y)为融合函数。
among them,
Figure PCTCN2017086950-appb-000044
For the first fused image,
Figure PCTCN2017086950-appb-000045
For the second fused image. Fusion(x,y) is a fusion function.
进一步的,当所述重叠区的像素点水平坐标值小于所述重叠区的中间像素点水平坐标值时,所述第一图像和第二图像重叠区的最终图像为所述第一融合图像;Further, when the pixel point horizontal coordinate value of the overlapping area is smaller than the intermediate pixel point horizontal coordinate value of the overlapping area, the final image of the first image and the second image overlapping area is the first fused image;
当所述重叠区的像素点水平坐标值等于或大于所述重叠区的中间像素点水平坐标值时,所述第一图像和第二图像重叠区的最终图像为所述第二融合图像。When the pixel point horizontal coordinate value of the overlapping area is equal to or larger than the intermediate pixel point horizontal coordinate value of the overlapping area, the final image of the first image and the second image overlapping area is the second fused image.
具体地,计算公式如公式(10)所示。Specifically, the calculation formula is as shown in the formula (10).
Figure PCTCN2017086950-appb-000046
Figure PCTCN2017086950-appb-000046
公式(10)中,Ioverlap表示最终图像。mid表示重叠区的中间分隔位置(重叠区的中间像素点水平坐标值),可采用取中线获得,获取其他方式获得。In formula (10), I overlap represents the final image. Mid indicates the intermediate separation position of the overlap region (the horizontal coordinate value of the intermediate pixel of the overlap region), which can be obtained by taking the center line and obtaining other methods.
在一个实例中,将第一图像的重叠区的前向变形变换图像和后向变形变换图像进行融合得到第一融合图像,包括: In one example, the forward transformed transformed image and the backward transformed transformed image of the overlapping region of the first image are merged to obtain a first fused image, including:
若所述重叠区的像素点不属于第一类瑕疵区域内,则所述第一融合图像为所述第一图像的重叠区的前向变形变换图像;If the pixel of the overlapping area does not belong to the first type of 瑕疵 region, the first fused image is a forward morphing transformed image of the overlapping region of the first image;
若所述重叠区的像素点属于第一类瑕疵区域内,则所述第一融合图像为所述第一图像的重叠区的后向变形变换图像。If the pixel points of the overlapping area belong to the first type of 瑕疵 region, the first fused image is a backward morphing transformed image of the overlapping region of the first image.
本实例中,fusion(x,y)函数的一种实现方法可如下公式(11):In this example, an implementation of the fusion(x,y) function can be as follows (11):
Figure PCTCN2017086950-appb-000047
Figure PCTCN2017086950-appb-000047
公式(11)中,R'(x,y)即为R',R”(x,y)即为R”。In the formula (11), R'(x, y) is R', and R"(x, y) is R".
在一个实例中,将第二图像的重叠区的前向变形变换图像和后向变形变换图像进行融合得到第二融合图像,包括:In one example, the forward-transformed transformed image and the backward-transformed transformed image of the overlapping region of the second image are merged to obtain a second fused image, including:
若所述重叠区的像素点不属于第一类瑕疵区域内,则所述第二融合图像为所述第二图像的重叠区的前向变形变换图像;If the pixel of the overlapping area does not belong to the first type of 瑕疵 region, the second fused image is a forward morphing transformed image of the overlapping region of the second image;
若所述重叠区的像素点属于第一类瑕疵区域内,则所述第二融合图像为所述第二图像的重叠区的后向变形变换图像。If the pixel points of the overlapping area belong to the first type of 瑕疵 region, the second fused image is a backward morphing transformed image of the overlapping region of the second image.
本实例中,fusion(x,y)函数的一种实现方法可如下公式(12):In this example, an implementation of the fusion(x,y) function can be as follows (12):
Figure PCTCN2017086950-appb-000048
Figure PCTCN2017086950-appb-000048
公式(12)中,L'(x,y)即为L',L”(x,y)即为L”。In the formula (12), L'(x, y) is L', and L"(x, y) is L".
对像素点区分第一类瑕疵区域和非第一类瑕疵区域,将属于第一类瑕疵区域的像素点采用后向变形变换图像替代,因后向变形变换图像没有第一类瑕疵区域,可以消除第一类瑕疵,将不属于第一类瑕疵区域的像素点采用前向变形变换图像替代,因前向变形变换没有重影瑕疵,可以清除重影瑕疵,如此融合得到的最终图像,没有鬼影、重影虚边、连续线条错位断裂等拼接瑕疵。The first type of 瑕疵 region and the non-first 瑕疵 region are distinguished from the pixel points, and the pixels belonging to the first 瑕疵 region are replaced by the backward deformation transformation image, and the backward deformation transformation image has no first 瑕疵 region, which can be eliminated. The first type of 瑕疵 将 将 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素 像素, ghosting virtual edges, continuous lines, broken joints and other stitching.
需要说明的是,上述举例中采用了第一图像和第二图像水平方向重叠进行融合的过程,也可用于第一图像和第二图像垂直方向重叠进行融合,其融合过程相同。 It should be noted that, in the above example, the process of overlapping the first image and the second image in the horizontal direction is used, and the first image and the second image may be overlapped and merged in the vertical direction, and the fusion process is the same.
图3为一个实例中视差融合装置的结构框图。如图3所示,一种视差融合装置,为实现视差融合方法所架构的装置,该装置包括:FIG. 3 is a structural block diagram of a parallax fusion device in an example. As shown in FIG. 3, a disparity fusion device is a device configured to implement a parallax fusion method, and the device includes:
一个或一个以上存储器;One or more memories;
一个或一个以上处理器;其中,One or more processors; among them,
所述一个或一个以上存储器存储有一个或者一个以上指令模块,经配置由所述一个或者一个以上处理器执行;其中,The one or more memories storing one or more instruction modules configured to be executed by the one or more processors; wherein
所述一个或者一个以上指令模块包括:运动关系获取模块310、修正模块320、变形模块330和融合模块340。其中:The one or more instruction modules include: a motion relationship acquisition module 310, a correction module 320, a deformation module 330, and a fusion module 340. among them:
运动关系获取模块310用于获取第一图像和第二图像重叠区的第一方向流场运动关系和第二方向流场运动关系。The motion relationship acquiring module 310 is configured to acquire a first direction flow field motion relationship and a second direction flow field motion relationship of the first image and the second image overlap region.
修正模块320用于对所述第一方向流场运动关系进行修正得到修正后的第一方向流场运动关系,以及对所述第二方向流场运动关系进行修正得到修正后的第二方向流场运动关系。The correction module 320 is configured to correct the first direction flow field motion relationship to obtain a corrected first direction flow field motion relationship, and modify the second direction flow field motion relationship to obtain a corrected second direction flow. Field sports relationship.
变形模块330用于采用修正后的第一方向流场运动关系和第二方向流场运动关系分别对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换。The deformation module 330 is configured to perform forward and backward deformation transformation on the overlapping area of the first image and the overlapping area of the second image by using the corrected first direction flow field motion relationship and the second direction flow field motion relationship, respectively.
融合模块340用于将经过前向和后向变形变换后的第一图像的重叠区和第二图像的重叠区进行融合得到第一图像和第二图像重叠区的最终图像。The fusion module 340 is configured to fuse the overlap region of the first image transformed by the forward and backward deformations and the overlap region of the second image to obtain a final image of the first image and the second image overlap region.
与方法类似的,上述修正模块320的作用是使非重叠区和重叠区之间获得更好的衔接效果,实际上修正模块320并不是必须的指令模块,这样变形模块330直接对运动关系获取模块310获取到的第一方向流场运动关系和第二方向流场运动关系对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换即可。Similar to the method, the function of the above-mentioned correction module 320 is to obtain a better connection effect between the non-overlapping area and the overlapping area. In fact, the correction module 320 is not an essential instruction module, so that the deformation module 330 directly acquires the motion relationship module. The first direction flow field motion relationship and the second direction flow field motion relationship acquired by 310 may be forward and backward deformation transformation of the overlap region of the first image and the overlap region of the second image.
图4为一个实例中修正模块的内部结构框图。如图4所示,修正 模块320包括第一修正单元3202和第二修正单元3204。其中:Figure 4 is a block diagram showing the internal structure of the correction module in one example. As shown in Figure 4, the correction Module 320 includes a first modification unit 3202 and a second modification unit 3204. among them:
第一修正单元3202用于对所述第一方向流场运动关系做与第一图像的非重叠区的过渡衔接修正,得到修正后的第一方向流场运动关系;以及The first correcting unit 3202 is configured to perform a transition joint correction with the non-overlapping region of the first image in the first direction flow field motion relationship, to obtain a corrected first direction flow field motion relationship;
第二修正单元3204用于对所述第二方向流场运动关系做与第二图像的非重叠区的过渡衔接修正,得到修正后的第二方向运动流场运动关系。The second correcting unit 3204 is configured to perform a transitional connection correction with the non-overlapping region of the second image in the second direction flow field motion relationship, and obtain a corrected second direction motion flow field motion relationship.
在一个实例中,若第一图像和第二图像为水平方向重叠,第一修正单元3202还用于将所述第一方向流场运动关系的水平方向分量乘以包含重叠区的像素点水平坐标与重叠区的水平像素宽度关系的第一系数因子得到修正后的第一方向流场运动关系的水平方向分量,以及将所述第一方向流场运动关系的垂直方向分量作为修正后的第一方向流场运动关系的垂直方向分量;以及In one example, if the first image and the second image are overlapped in the horizontal direction, the first correcting unit 3202 is further configured to multiply the horizontal direction component of the first direction flow field motion relationship by the pixel point horizontal coordinate including the overlapping area. a first coefficient factor in relation to a horizontal pixel width of the overlap region obtains a corrected horizontal direction component of the first direction flow field motion relationship, and a vertical direction component of the first direction flow field motion relationship as the corrected first The vertical component of the directional flow field motion relationship;
第二修正单元3204还用于将所述第二方向流场运动关系的水平方向分量乘以包含重叠区的像素点水平坐标与重叠区的水平像素宽度关系的第二系数因子得到修正后的第二方向流场运动关系的水平方向分量,以及将所述第二方向流场运动关系的垂直方向分量作为修正后的第二方向流场运动关系的垂直方向分量。The second correcting unit 3204 is further configured to multiply the horizontal direction component of the second direction flow field motion relationship by a second coefficient factor including a pixel point horizontal coordinate of the overlapping area and a horizontal pixel width relationship of the overlapping area. The horizontal direction component of the two-direction flow field motion relationship and the vertical direction component of the second direction flow field motion relationship are used as the vertical direction component of the corrected second-direction flow field motion relationship.
在一个实例中,若第一图像和第二图像为垂直方向重叠,第一修正单元3202还用于将所述第一方向流场运动关系的垂直方向分量乘以包含重叠区的像素点垂直坐标与重叠区的垂直像素高度关系的第三系数因子得到修正后的第一方向流场运动关系的垂直方向分量,以及将所述第一方向流场运动关系的水平方向分量作为修正后的第一方向流场运动关系的水平方向分量;In one example, if the first image and the second image overlap in a vertical direction, the first correcting unit 3202 is further configured to multiply the vertical direction component of the first direction flow field motion relationship by the pixel point vertical coordinate including the overlap region. a third coefficient factor relating to a vertical pixel height relationship of the overlap region obtains a corrected vertical direction component of the first direction flow field motion relationship, and a horizontal direction component of the first direction flow field motion relationship as the corrected first The horizontal component of the directional flow field motion relationship;
第二修正单元3204还用于将所述第二方向流场运动关系的垂直方向分量乘以包含重叠区的像素点垂直坐标与重叠区的垂直像素高 度关系的第四系数因子得到修正后的第二方向流场运动关系的垂直方向分量,以及将所述第二方向流场运动关系的水平方向分量作为修正后的第二方向流场运动关系的水平方向分量。The second correcting unit 3204 is further configured to multiply the vertical direction component of the second direction flow field motion relationship by the pixel vertical coordinate of the overlapping area and the vertical pixel of the overlapping area. The fourth coefficient factor of the degree relationship obtains the corrected vertical direction component of the second direction flow field motion relationship, and the horizontal direction component of the second direction flow field motion relationship is used as the corrected second direction flow field motion relationship. Horizontal component.
图5为一个实例中变形模块的内部结构框图。如图5所示,变形模块330包括第一变形单元3302、第二变形单元3304、第三变形单元3306和第四变形单元3308。其中:Figure 5 is a block diagram showing the internal structure of the deformation module in one example. As shown in FIG. 5, the deformation module 330 includes a first deformation unit 3302, a second deformation unit 3304, a third deformation unit 3306, and a fourth deformation unit 3308. among them:
第一变形单元3302用于采用修正后的第一方向流场运动关系对第一图像的重叠区做前向变形变换,得到第一图像的重叠区的前向变形变换图像;The first deformation unit 3302 is configured to perform forward deformation transformation on the overlapping region of the first image by using the corrected first direction flow field motion relationship to obtain a forward deformation transformation image of the overlapping region of the first image;
第二变形单元3304用于采用修正后的第二方向流场运动关系对第一图像的重叠区做后向变形变换,得到第一图像的重叠区的后向变形变换图像;The second deformation unit 3304 is configured to perform backward deformation transformation on the overlapping region of the first image by using the corrected second-direction flow field motion relationship to obtain a backward deformation transformation image of the overlapping region of the first image;
第三变形单元3306用于采用修正后的第二方向流场运动关系对第二图像的重叠区做前向变形变换,得到第二图像的重叠区的前向变形变换图像;The third deforming unit 3306 is configured to perform forward deformation transformation on the overlapping region of the second image by using the corrected second-direction flow field motion relationship to obtain a forward-transformed transformed image of the overlapping region of the second image;
第四变形单元3308用于采用修正后的第一方向流场运动关系对第二图像的重叠区做后向变形变换,得到第二图像的重叠区的后向变形变换图像。The fourth deforming unit 3308 is configured to perform backward deformation transformation on the overlapping region of the second image by using the corrected first direction flow field motion relationship to obtain a backward deformation transformed image of the overlapping region of the second image.
图6为一个实例中融合模块的内部结构框图。如图6所示,融合模块340包括第一融合单元3402和第二融合单元3404。其中:Figure 6 is a block diagram showing the internal structure of a fusion module in an example. As shown in FIG. 6, the fusion module 340 includes a first fusion unit 3402 and a second fusion unit 3404. among them:
第一融合单元3402用于将第一图像的重叠区的前向变形变换图像和后向变形变换图像进行融合得到第一融合图像;The first merging unit 3402 is configured to fuse the forward-transformed transformed image and the backward-transformed transformed image of the overlapping region of the first image to obtain a first fused image;
第二融合单元3404用于将第二图像的重叠区的前向变形变换图像和后向变形变换图像进行融合得到第二融合图像;The second merging unit 3404 is configured to fuse the forward-transformed transformed image and the backward-transformed transformed image of the overlapping region of the second image to obtain a second fused image;
当所述重叠区的像素点水平坐标值小于所述重叠区的中间像素点水平坐标值时,所述第一图像和第二图像重叠区的最终图像为所述 第一融合图像;When the pixel point horizontal coordinate value of the overlapping area is smaller than the intermediate pixel point horizontal coordinate value of the overlapping area, the final image of the first image and the second image overlapping area is the First fused image;
当所述重叠区的像素点水平坐标值等于或大于所述重叠区的中间像素点水平坐标值时,所述第一图像和第二图像重叠区的最终图像为所述第二融合图像。When the pixel point horizontal coordinate value of the overlapping area is equal to or larger than the intermediate pixel point horizontal coordinate value of the overlapping area, the final image of the first image and the second image overlapping area is the second fused image.
在一个实例中,若所述重叠区的像素点不属于第一类瑕疵区域内,则所述第一融合图像为所述第一图像的重叠区的前向变形变换图像,以及若所述重叠区的像素点属于第一类瑕疵区域内,则所述第一融合图像为所述第一图像的重叠区的后向变形变换图像;In one example, if the pixel points of the overlap region do not belong within the first type of 瑕疵 region, the first fused image is a forward morphing transformed image of the overlap region of the first image, and if the overlap The pixel of the region belongs to the first type of 瑕疵 region, and the first fused image is a backward deformation transformed image of the overlapping region of the first image;
若所述重叠区的像素点不属于第一类瑕疵区域内,则所述第二融合图像为所述第二图像的重叠区的前向变形变换图像,以及若所述重叠区的像素点属于第一类瑕疵区域内,则所述第二融合图像为所述第二图像的重叠区的后向变形变换图像。If the pixel of the overlapping area does not belong to the first type of area, the second fused image is a forward-transformed transformed image of the overlapping area of the second image, and if the pixel of the overlapping area belongs to In the first type of 瑕疵 region, the second fused image is a backward morphing transformed image of the overlapping region of the second image.
本领域普通技术人员可以理解实现上述实例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the above example method can be completed by a computer program to instruct related hardware, and the program can be stored in a non-volatile computer readable storage medium. The program, when executed, may include a flow of an instance of each of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or the like.
本申请一实例提出一种非易失性计算机可读存储介质,存储有计算机可读指令,可以使至少一个处理器执行上述实例中提出的视差融合方法,例如:获取第一图像和第二图像重叠区的第一方向流场运动关系和第二方向流场运动关系;采用第一方向流场运动关系和第二方向流场运动关系分别对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换;将经过前向和后向变形变换后的第一图像的重叠区和第二图像的重叠区进行融合得到第一图像和第二图像重叠区的最终图像。An example of the present application provides a non-transitory computer readable storage medium storing computer readable instructions, which may cause at least one processor to perform the parallax fusion method proposed in the above example, for example, acquiring a first image and a second image. The first direction flow field motion relationship and the second direction flow field motion relationship in the overlap region; the first direction flow field motion relationship and the second direction flow field motion relationship respectively are used to overlap the first image overlap region and the second image overlap region respectively Forward and backward deformation transformation is performed; the overlapping region of the first image transformed by the forward and backward deformation and the overlapping region of the second image are merged to obtain a final image of the first image and the second image overlapping region.
以上所述实例仅表达了本申请的几种实施方式,其描述较为具体 和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。。 The above examples only express several embodiments of the present application, and the description thereof is more specific. And the detailed description is not to be construed as limiting the scope of the claims. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the present application. Therefore, the scope of the invention should be determined by the appended claims. .

Claims (17)

  1. 一种视差融合方法,包括:A parallax fusion method comprising:
    获取第一图像和第二图像重叠区的第一方向流场运动关系和第二方向流场运动关系;Obtaining a first direction flow field motion relationship and a second direction flow field motion relationship of the first image and the second image overlap region;
    采用第一方向流场运动关系和第二方向流场运动关系分别对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换;Performing forward and backward deformation transformation on the overlapping area of the first image and the overlapping area of the second image by using the first direction flow field motion relationship and the second direction flow field motion relationship, respectively;
    将经过前向和后向变形变换后的第一图像的重叠区和第二图像的重叠区进行融合得到第一图像和第二图像重叠区的最终图像。The overlapping region of the first image transformed by the forward and backward deformation and the overlapping region of the second image are fused to obtain a final image of the first image and the second image overlapping region.
  2. 根据权利要求1所述的方法,其中,所述采用第一方向流场运动关系和第二方向流场运动关系分别对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换之前,所述方法还包括:The method according to claim 1, wherein said adopting a first direction flow field motion relationship and a second direction flow field motion relationship respectively perform forward and backward directions of the overlap region of the first image and the overlap region of the second image Before the transformation, the method further includes:
    对所述第一方向流场运动关系进行修正得到修正后的第一方向流场运动关系,以及对所述第二方向流场运动关系进行修正得到修正后的第二方向流场运动关系;Correcting the first direction flow field motion relationship to obtain a corrected first direction flow field motion relationship, and correcting the second direction flow field motion relationship to obtain a corrected second direction flow field motion relationship;
    对应的,所述采用第一方向流场运动关系和第二方向流场运动关系分别对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换,包括:Correspondingly, the first direction flow field motion relationship and the second direction flow field motion relationship respectively perform forward and backward deformation transformation on the overlap region of the first image and the overlap region of the second image, respectively:
    采用修正后的第一方向流场运动关系和第二方向流场运动关系分别对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换。The modified first direction flow field motion relationship and the second direction flow field motion relationship are used to perform forward and backward deformation transformation on the overlap region of the first image and the overlap region of the second image, respectively.
  3. 根据权利要求2所述的方法,其中,所述对所述第一方向流场运动关系进行修正得到修正后的第一方向流场运动关系,包括:The method according to claim 2, wherein the correcting the first direction flow field motion relationship to obtain the corrected first direction flow field motion relationship comprises:
    对所述第一方向流场运动关系做与第一图像的非重叠区的过渡衔接修正,得到修正后的第一方向流场运动关系;Performing a transitional joint correction with the non-overlapping region of the first image in the first direction flow field motion relationship, and obtaining a corrected first direction flow field motion relationship;
    对所述第二方向流场运动关系进行修正得到修正后的第二方向 运动流场运动关系,包括:Correcting the second-direction flow field motion relationship to obtain a corrected second direction Sports flow field motion relationships, including:
    对所述第二方向流场运动关系做与第二图像的非重叠区的过渡衔接修正,得到修正后的第二方向运动流场运动关系。Performing a transitional joint correction with the non-overlapping region of the second image in the second-direction flow field motion relationship, and obtaining a modified second-direction motion flow field motion relationship.
  4. 根据权利要求3所述的方法,其中,若第一图像和第二图像为水平方向重叠,所述对所述第一方向流场运动关系做与第一图像的非重叠区的过渡衔接修正,得到修正后的第一方向流场运动关系,包括:The method according to claim 3, wherein if the first image and the second image are overlapped in a horizontal direction, the moving relationship between the first direction flow field and the non-overlapping region of the first image is corrected, The corrected first-order flow field motion relationship is obtained, including:
    将所述第一方向流场运动关系的水平方向分量乘以包含重叠区的像素点水平坐标与重叠区的水平像素宽度关系的第一系数因子得到修正后的第一方向流场运动关系的水平方向分量,以及将所述第一方向流场运动关系的垂直方向分量作为修正后的第一方向流场运动关系的垂直方向分量;以及Multiplying the horizontal direction component of the first direction flow field motion relationship by a first coefficient factor including a pixel point horizontal coordinate of the overlap region and a horizontal pixel width relationship of the overlap region to obtain a corrected first direction flow field motion relationship level a direction component, and a vertical direction component of the motion relationship of the first direction flow field as a vertical direction component of the corrected first direction flow field motion relationship;
    所述对所述第二方向流场运动关系做与第二图像的非重叠区的过渡衔接修正,得到修正后的第二方向运动流场运动关系,包括:Performing a transitional joint correction relationship with the non-overlapping region of the second image in the second direction flow field motion relationship, and obtaining a modified second direction motion flow field motion relationship, including:
    将所述第二方向流场运动关系的水平方向分量乘以包含重叠区的像素点水平坐标与重叠区的水平像素宽度关系的第二系数因子得到修正后的第二方向流场运动关系的水平方向分量,以及将所述第二方向流场运动关系的垂直方向分量作为修正后的第二方向流场运动关系的垂直方向分量。Multiplying the horizontal direction component of the second direction flow field motion relationship by a second coefficient factor including a pixel point horizontal coordinate of the overlap region and a horizontal pixel width relationship of the overlap region to obtain a corrected horizontal flow field motion relationship level The direction component, and the vertical direction component of the motion relationship of the flow direction in the second direction are used as the vertical direction component of the motion relationship of the corrected second direction flow field.
  5. 根据权利要求3所述的方法,其中,若第一图像和第二图像为垂直方向重叠,所述对所述第一方向流场运动关系做与第一图像的非重叠区的过渡衔接修正,得到修正后的第一方向流场运动关系,包括:The method according to claim 3, wherein if the first image and the second image overlap in a vertical direction, the moving relationship between the first direction flow field and the non-overlapping region of the first image is corrected. The corrected first-order flow field motion relationship is obtained, including:
    将所述第一方向流场运动关系的垂直方向分量乘以包含重叠区的像素点垂直坐标与重叠区的垂直像素高度关系的第三系数因子得到修正后的第一方向流场运动关系的垂直方向分量,以及将所述第一 方向流场运动关系的水平方向分量作为修正后的第一方向流场运动关系的水平方向分量;Multiplying the vertical direction component of the first direction flow field motion relationship by a third coefficient factor including a vertical coordinate of a pixel point of the overlap region and a vertical pixel height relationship of the overlap region to obtain a vertical relationship of the corrected first direction flow field motion relationship Direction component, and the first The horizontal direction component of the directional flow field motion relationship is used as the horizontal direction component of the corrected first direction flow field motion relationship;
    所述对所述第二方向流场运动关系做与第二图像的非重叠区的过渡衔接修正,得到修正后的第二方向运动流场运动关系,包括:Performing a transitional joint correction relationship with the non-overlapping region of the second image in the second direction flow field motion relationship, and obtaining a modified second direction motion flow field motion relationship, including:
    将所述第二方向流场运动关系的垂直方向分量乘以包含重叠区的像素点垂直坐标与重叠区的垂直像素高度关系的第四系数因子得到修正后的第二方向流场运动关系的垂直方向分量,以及将所述第二方向流场运动关系的水平方向分量作为修正后的第二方向流场运动关系的水平方向分量。Multiplying the vertical direction component of the second-direction flow field motion relationship by a fourth coefficient factor including a vertical relationship between a pixel point vertical coordinate of the overlap region and a vertical pixel height of the overlap region, and obtaining a vertical relationship of the corrected second-direction flow field motion relationship The directional component and the horizontal component of the flow relationship in the second direction are used as the horizontal component of the corrected second-direction flow field motion relationship.
  6. 根据权利要求2所述的方法,其中,所述采用修正后的第一方向流场运动关系和第二方向流场运动关系分别对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换,包括:The method according to claim 2, wherein said adopting the corrected first direction flow field motion relationship and the second direction flow field motion relationship respectively forward the overlap region of the first image and the overlap region of the second image And backward deformation transformations, including:
    采用修正后的第一方向流场运动关系对第一图像的重叠区做前向变形变换,得到第一图像的重叠区的前向变形变换图像;Performing a forward deformation transformation on the overlapping region of the first image by using the corrected first-direction flow field motion relationship to obtain a forward-transformed transformed image of the overlapping region of the first image;
    采用修正后的第二方向流场运动关系对第一图像的重叠区做后向变形变换,得到第一图像的重叠区的后向变形变换图像;The modified second-direction flow field motion relationship is used to perform backward deformation transformation on the overlapping area of the first image to obtain a backward deformation transformed image of the overlapping area of the first image;
    采用修正后的第二方向流场运动关系对第二图像的重叠区做前向变形变换,得到第二图像的重叠区的前向变形变换图像;Performing a forward deformation transformation on the overlapping region of the second image by using the corrected second-direction flow field motion relationship to obtain a forward-transformed transformed image of the overlapping region of the second image;
    采用修正后的第一方向流场运动关系对第二图像的重叠区做后向变形变换,得到第二图像的重叠区的后向变形变换图像。The modified first-order flow field motion relationship is used to perform backward deformation transformation on the overlapping region of the second image to obtain a backward-transformed transformed image of the overlapping region of the second image.
  7. 根据权利要求6所述的方法,其中,将经过前向和后向变形变换后的第一图像的重叠区和第二图像的重叠区进行融合得到第一图像和第二图像重叠区的最终图像,包括:The method according to claim 6, wherein the overlapping region of the first image subjected to the forward and backward deformation transformation and the overlapping region of the second image are fused to obtain a final image of the overlap region of the first image and the second image ,include:
    将第一图像的重叠区的前向变形变换图像和后向变形变换图像进行融合得到第一融合图像;Combining the forward deformation transformed image and the backward deformation transformed image of the overlapping region of the first image to obtain a first fused image;
    将第二图像的重叠区的前向变形变换图像和后向变形变换图像 进行融合得到第二融合图像;Forward deformation transformed image and backward deformation transformed image of overlapping region of the second image Performing fusion to obtain a second fused image;
    当所述重叠区的像素点水平坐标值小于所述重叠区的中间像素点水平坐标值时,所述第一图像和第二图像重叠区的最终图像为所述第一融合图像;When the pixel point horizontal coordinate value of the overlapping area is smaller than the intermediate pixel point horizontal coordinate value of the overlapping area, the final image of the first image and the second image overlapping area is the first fused image;
    当所述重叠区的像素点水平坐标值等于或大于所述重叠区的中间像素点水平坐标值时,所述第一图像和第二图像重叠区的最终图像为所述第二融合图像。When the pixel point horizontal coordinate value of the overlapping area is equal to or larger than the intermediate pixel point horizontal coordinate value of the overlapping area, the final image of the first image and the second image overlapping area is the second fused image.
  8. 根据权利要求7所述的方法,其中,所述将第一图像的重叠区的前向变形变换图像和后向变形变换图像进行融合得到第一融合图像,包括:The method according to claim 7, wherein the fusing the forward-transformed transformed image and the backward-transformed transformed image of the overlapping region of the first image to obtain the first fused image comprises:
    若所述重叠区的像素点不属于第一类瑕疵区域内,则所述第一融合图像为所述第一图像的重叠区的前向变形变换图像;If the pixel of the overlapping area does not belong to the first type of 瑕疵 region, the first fused image is a forward morphing transformed image of the overlapping region of the first image;
    若所述重叠区的像素点属于第一类瑕疵区域内,则所述第一融合图像为所述第一图像的重叠区的后向变形变换图像;If the pixel points of the overlap region belong to the first type of 瑕疵 region, the first fused image is a backward deformation transformed image of the overlap region of the first image;
    所述将第二图像的重叠区的前向变形变换图像和后向变形变换图像进行融合得到第二融合图像,包括:And combining the forward-transformed transformed image and the backward-transformed transformed image of the overlapping region of the second image to obtain a second fused image, including:
    若所述重叠区的像素点不属于第一类瑕疵区域内,则所述第二融合图像为所述第二图像的重叠区的前向变形变换图像;If the pixel of the overlapping area does not belong to the first type of 瑕疵 region, the second fused image is a forward morphing transformed image of the overlapping region of the second image;
    若所述重叠区的像素点属于第一类瑕疵区域内,则所述第二融合图像为所述第二图像的重叠区的后向变形变换图像。If the pixel points of the overlapping area belong to the first type of 瑕疵 region, the second fused image is a backward morphing transformed image of the overlapping region of the second image.
  9. 一种视差融合装置,包括:A parallax fusion device comprising:
    一个或一个以上存储器;One or more memories;
    一个或一个以上处理器;其中,One or more processors; among them,
    所述一个或一个以上存储器存储有一个或者一个以上指令模块,经配置由所述一个或者一个以上处理器执行;其中,The one or more memories storing one or more instruction modules configured to be executed by the one or more processors; wherein
    所述一个或者一个以上指令模块包括: The one or more instruction modules include:
    运动关系获取模块,用于获取第一图像和第二图像重叠区的第一方向流场运动关系和第二方向流场运动关系;a motion relationship acquiring module, configured to acquire a first direction flow field motion relationship and a second direction flow field motion relationship of the first image and the second image overlap region;
    变形模块,用于采用第一方向流场运动关系和第二方向流场运动关系分别对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换;a deformation module, configured to perform forward and backward deformation transformation on the overlapping area of the first image and the overlapping area of the second image by using the first direction flow field motion relationship and the second direction flow field motion relationship, respectively;
    融合模块,用于将经过前向和后向变形变换后的第一图像的重叠区和第二图像的重叠区进行融合得到第一图像和第二图像重叠区的最终图像。And a fusion module, configured to fuse the overlap region of the first image transformed by the forward and backward deformations and the overlap region of the second image to obtain a final image of the first image and the second image overlap region.
  10. 根据权利要求9所述的装置,其中,所述装置还包括:The apparatus of claim 9 wherein said apparatus further comprises:
    修正模块,用于所述变形模块在对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换之前,对所述第一方向流场运动关系进行修正得到修正后的第一方向流场运动关系,以及对所述第二方向流场运动关系进行修正得到修正后的第二方向流场运动关系;a correction module, configured to modify the motion relationship of the first direction flow field after the deformation module performs forward and backward deformation transformation on the overlap region of the first image and the overlap region of the second image a first direction flow field motion relationship, and a correction of the second direction flow field motion relationship to obtain a corrected second direction flow field motion relationship;
    对应的,所述变形模块,用于采用修正后的第一方向流场运动关系和第二方向流场运动关系分别对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换。Correspondingly, the deformation module is configured to perform forward and backward directions on the overlapping area of the first image and the overlapping area of the second image by using the corrected first direction flow field motion relationship and the second direction flow field motion relationship, respectively. Deformation transformation.
  11. 根据权利要求10所述的装置,其中,所述修正模块包括:The apparatus of claim 10 wherein said correction module comprises:
    第一修正单元,用于对所述第一方向流场运动关系做与第一图像的非重叠区的过渡衔接修正,得到修正后的第一方向流场运动关系;以及a first correcting unit, configured to perform a transitional joint correction with the non-overlapping region of the first image in the first direction flow field motion relationship, to obtain a corrected first direction flow field motion relationship;
    第二修正单元,用于对所述第二方向流场运动关系做与第二图像的非重叠区的过渡衔接修正,得到修正后的第二方向运动流场运动关系。The second correcting unit is configured to perform a transitional connection correction with the non-overlapping region of the second image in the second direction flow field motion relationship, and obtain a modified second direction motion flow field motion relationship.
  12. 根据权利要求11所述的装置,其中,若第一图像和第二图像为水平方向重叠,所述第一修正单元还用于将所述第一方向流场运动关系的水平方向分量乘以包含重叠区的像素点水平坐标与重叠区 的水平像素宽度关系的第一系数因子得到修正后的第一方向流场运动关系的水平方向分量,以及将所述第一方向流场运动关系的垂直方向分量作为修正后的第一方向流场运动关系的垂直方向分量;以及The apparatus according to claim 11, wherein said first correcting unit is further configured to multiply a horizontal direction component of said first direction flow field motion relationship to include if said first image and said second image overlap in a horizontal direction Pixel horizontal coordinate and overlap area of overlapping area The first coefficient factor of the horizontal pixel width relationship obtains the corrected horizontal direction component of the first direction flow field motion relationship, and the vertical direction component of the first direction flow field motion relationship is used as the corrected first direction flow field The vertical component of the motion relationship;
    所述第二修正单元还用于将所述第二方向流场运动关系的水平方向分量乘以包含重叠区的像素点水平坐标与重叠区的水平像素宽度关系的第二系数因子得到修正后的第二方向流场运动关系的水平方向分量,以及将所述第二方向流场运动关系的垂直方向分量作为修正后的第二方向流场运动关系的垂直方向分量。The second correcting unit is further configured to multiply the horizontal direction component of the second direction flow field motion relationship by a second coefficient factor including a pixel point horizontal coordinate of the overlapping area and a horizontal pixel width relationship of the overlapping area. The horizontal direction component of the second direction flow field motion relationship and the vertical direction component of the second direction flow field motion relationship are used as the vertical direction component of the corrected second direction flow field motion relationship.
  13. 根据权利要求11所述的装置,其中,若第一图像和第二图像为垂直方向重叠,所述第一修正单元还用于将所述第一方向流场运动关系的垂直方向分量乘以包含重叠区的像素点垂直坐标与重叠区的垂直像素高度关系的第三系数因子得到修正后的第一方向流场运动关系的垂直方向分量,以及将所述第一方向流场运动关系的水平方向分量作为修正后的第一方向流场运动关系的水平方向分量;The apparatus according to claim 11, wherein said first correcting unit is further configured to multiply a vertical direction component of said first direction flow field motion relationship to include if said first image and said second image overlap in a vertical direction a third coefficient factor of a vertical coordinate relationship between a pixel point vertical coordinate of the overlap region and a vertical pixel height of the overlap region obtains a corrected vertical direction component of the first direction flow field motion relationship, and a horizontal direction of the motion relationship of the first direction flow field The component is used as the horizontal direction component of the corrected first direction flow field motion relationship;
    所述第二修正单元还用于将所述第二方向流场运动关系的垂直方向分量乘以包含重叠区的像素点垂直坐标与重叠区的垂直像素高度关系的第四系数因子得到修正后的第二方向流场运动关系的垂直方向分量,以及将所述第二方向流场运动关系的水平方向分量作为修正后的第二方向流场运动关系的水平方向分量。The second correcting unit is further configured to multiply the vertical direction component of the second direction flow field motion relationship by a fourth coefficient factor including a vertical coordinate of a pixel point of the overlapping area and a vertical pixel height relationship of the overlapping area. The vertical direction component of the second direction flow field motion relationship and the horizontal direction component of the second direction flow field motion relationship are used as the horizontal direction component of the corrected second direction flow field motion relationship.
  14. 根据权利要求10所述的装置,其中,所述变形模块包括:The apparatus of claim 10 wherein said deformation module comprises:
    第一变形单元,用于采用修正后的第一方向流场运动关系对第一图像的重叠区做前向变形变换,得到第一图像的重叠区的前向变形变换图像;a first deformation unit, configured to perform forward deformation transformation on the overlapping area of the first image by using the corrected first direction flow field motion relationship, to obtain a forward deformation transformation image of the overlapping area of the first image;
    第二变形单元,用于采用修正后的第二方向流场运动关系对第一图像的重叠区做后向变形变换,得到第一图像的重叠区的后向变形变换图像; a second deformation unit, configured to perform backward deformation transformation on the overlapping region of the first image by using the corrected second-direction flow field motion relationship, to obtain a backward deformation transformation image of the overlapping region of the first image;
    第三变形单元,用于采用修正后的第二方向流场运动关系对第二图像的重叠区做前向变形变换,得到第二图像的重叠区的前向变形变换图像;a third deformation unit, configured to perform forward deformation transformation on the overlapping area of the second image by using the corrected second direction flow field motion relationship, to obtain a forward deformation transformation image of the overlapping area of the second image;
    第四变形单元,用于采用修正后的第一方向流场运动关系对第二图像的重叠区做后向变形变换,得到第二图像的重叠区的后向变形变换图像。The fourth deformation unit is configured to perform backward deformation transformation on the overlapping region of the second image by using the corrected first direction flow field motion relationship to obtain a backward deformation transformation image of the overlapping region of the second image.
  15. 根据权利要求14所述的装置,其中,所述融合模块包括:The apparatus of claim 14, wherein the fusion module comprises:
    第一融合单元,用于将第一图像的重叠区的前向变形变换图像和后向变形变换图像进行融合得到第一融合图像;a first merging unit, configured to fuse the forward-transformed transformed image and the backward-transformed transformed image of the overlapping region of the first image to obtain a first fused image;
    第二融合单元,用于将第二图像的重叠区的前向变形变换图像和后向变形变换图像进行融合得到第二融合图像;a second merging unit, configured to fuse the forward-transformed transformed image and the backward-transformed transformed image of the overlapping region of the second image to obtain a second fused image;
    当所述重叠区的像素点水平坐标值小于所述重叠区的中间像素点水平坐标值时,所述第一图像和第二图像重叠区的最终图像为所述第一融合图像;When the pixel point horizontal coordinate value of the overlapping area is smaller than the intermediate pixel point horizontal coordinate value of the overlapping area, the final image of the first image and the second image overlapping area is the first fused image;
    当所述重叠区的像素点水平坐标值等于或大于所述重叠区的中间像素点水平坐标值时,所述第一图像和第二图像重叠区的最终图像为所述第二融合图像。When the pixel point horizontal coordinate value of the overlapping area is equal to or larger than the intermediate pixel point horizontal coordinate value of the overlapping area, the final image of the first image and the second image overlapping area is the second fused image.
  16. 根据权利要求15所述的装置,其中,若所述重叠区的像素点不属于第一类瑕疵区域内,则所述第一融合图像为所述第一图像的重叠区的前向变形变换图像,以及若所述重叠区的像素点属于第一类瑕疵区域内,则所述第一融合图像为所述第一图像的重叠区的后向变形变换图像;The apparatus according to claim 15, wherein the first fused image is a forward-transformed transformed image of an overlapping region of the first image if a pixel point of the overlapping region does not belong within the first type of 瑕疵 region And if the pixel points of the overlap region belong to the first type of 瑕疵 region, the first fused image is a backward deformation transformed image of the overlap region of the first image;
    若所述重叠区的像素点不属于第一类瑕疵区域内,则所述第二融合图像为所述第二图像的重叠区的前向变形变换图像,以及若所述重叠区的像素点属于第一类瑕疵区域内,则所述第二融合图像为所述第二图像的重叠区的后向变形变换图像。 If the pixel of the overlapping area does not belong to the first type of area, the second fused image is a forward-transformed transformed image of the overlapping area of the second image, and if the pixel of the overlapping area belongs to In the first type of 瑕疵 region, the second fused image is a backward morphing transformed image of the overlapping region of the second image.
  17. 一种非易失性计算机可读存储介质,其中,存储有计算机可读指令,可以使至少一个处理器执行以下操作:A non-transitory computer readable storage medium, wherein computer readable instructions are stored, the at least one processor being operative to:
    获取第一图像和第二图像重叠区的第一方向流场运动关系和第二方向流场运动关系;Obtaining a first direction flow field motion relationship and a second direction flow field motion relationship of the first image and the second image overlap region;
    采用第一方向流场运动关系和第二方向流场运动关系分别对第一图像的重叠区和第二图像的重叠区做前向和后向变形变换;Performing forward and backward deformation transformation on the overlapping area of the first image and the overlapping area of the second image by using the first direction flow field motion relationship and the second direction flow field motion relationship, respectively;
    将经过前向和后向变形变换后的第一图像的重叠区和第二图像的重叠区进行融合得到第一图像和第二图像重叠区的最终图像。 The overlapping region of the first image transformed by the forward and backward deformation and the overlapping region of the second image are fused to obtain a final image of the first image and the second image overlapping region.
PCT/CN2017/086950 2016-07-04 2017-06-02 Parallax fusion method and apparatus WO2018006669A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610522270.8 2016-07-04
CN201610522270.8A CN106162143B (en) 2016-07-04 2016-07-04 parallax fusion method and device

Publications (1)

Publication Number Publication Date
WO2018006669A1 true WO2018006669A1 (en) 2018-01-11

Family

ID=58061810

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/086950 WO2018006669A1 (en) 2016-07-04 2017-06-02 Parallax fusion method and apparatus

Country Status (2)

Country Link
CN (1) CN106162143B (en)
WO (1) WO2018006669A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106162143B (en) * 2016-07-04 2018-11-09 腾讯科技(深圳)有限公司 parallax fusion method and device
CN106815802A (en) * 2016-12-23 2017-06-09 深圳超多维科技有限公司 A kind of image split-joint method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5963664A (en) * 1995-06-22 1999-10-05 Sarnoff Corporation Method and system for image combination using a parallax-based technique
CN105141920A (en) * 2015-09-01 2015-12-09 电子科技大学 360-degree panoramic video mosaicing system
CN105205796A (en) * 2014-06-30 2015-12-30 华为技术有限公司 Wide-area image acquisition method and apparatus
CN105635808A (en) * 2015-12-31 2016-06-01 电子科技大学 Video splicing method based on Bayesian theory
CN106162143A (en) * 2016-07-04 2016-11-23 腾讯科技(深圳)有限公司 Parallax fusion method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6303090B2 (en) * 2014-03-24 2018-04-04 アルパイン株式会社 Image processing apparatus and image processing program
US20160191795A1 (en) * 2014-12-30 2016-06-30 Alpine Electronics, Inc. Method and system for presenting panoramic surround view in vehicle
CN105488760A (en) * 2015-12-08 2016-04-13 电子科技大学 Virtual image stitching method based on flow field

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5963664A (en) * 1995-06-22 1999-10-05 Sarnoff Corporation Method and system for image combination using a parallax-based technique
CN105205796A (en) * 2014-06-30 2015-12-30 华为技术有限公司 Wide-area image acquisition method and apparatus
CN105141920A (en) * 2015-09-01 2015-12-09 电子科技大学 360-degree panoramic video mosaicing system
CN105635808A (en) * 2015-12-31 2016-06-01 电子科技大学 Video splicing method based on Bayesian theory
CN106162143A (en) * 2016-07-04 2016-11-23 腾讯科技(深圳)有限公司 Parallax fusion method and device

Also Published As

Publication number Publication date
CN106162143B (en) 2018-11-09
CN106162143A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
EP2328125B1 (en) Image splicing method and device
WO2019052534A1 (en) Image stitching method and device, and storage medium
WO2018068719A1 (en) Image stitching method and apparatus
US8818101B1 (en) Apparatus and method for feature matching in distorted images
WO2016074620A1 (en) Parallax tolerant video stitching with spatial-temporal localized warping and seam finding
WO2020007320A1 (en) Method for fusing multi-visual angle images, apparatus, computer device, and storage medium
US20160295108A1 (en) System and method for panoramic imaging
JP5327339B2 (en) Image processing system, image processing method, and program
US11282232B2 (en) Camera calibration using depth data
WO2021258579A1 (en) Image splicing method and apparatus, computer device, and storage medium
US20140098296A1 (en) Method and apparatus for changing a perspective of a video
WO2021017589A1 (en) Image fusion method based on gradient domain mapping
WO2021185036A1 (en) Point cloud data generation and real-time display method and apparatus, device, and medium
CN114390262A (en) Method and electronic device for splicing three-dimensional spherical panoramic image
WO2018006669A1 (en) Parallax fusion method and apparatus
CN110796690B (en) Image matching method and image matching device
US11758101B2 (en) Restoration of the FOV of images for stereoscopic rendering
JP5478533B2 (en) Omnidirectional image generation method, image generation apparatus, and program
JP2016218849A (en) Planar conversion parameter estimation device, method and program
US12003695B2 (en) Self-organizing rolling shutter camera arrays for low-cost, accurate volumetric capture workflows
JP4809316B2 (en) Image generating apparatus, program, and recording medium
CN114143442A (en) Image blurring method, computer device, computer-readable storage medium
JP2020095602A (en) Display program, display device, and display method
JP2020095645A (en) Display program, display device, and display method
CN111480335A (en) Image processing device, image processing method, program, and projection system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17823481

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17823481

Country of ref document: EP

Kind code of ref document: A1