← Back to team overview

hugin-devs team mailing list archive

[Bug 721156] Re: left image margin shows though image is totally masked

 

The mask is not indented to work with sub-pixel accuracy, because the blending step blends the images with its multi-resolution approach. 
So in this case there is only a one pixel column left. For this cases the polygon points can be (slightly) outside the image boundary. So move the mask one pixel to the left and then the small strip disappears.


** Changed in: hugin
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/721156

Title:
  left image margin shows though image is totally masked

Status in Hugin - Panorama Tools GUI:
  Won't Fix

Bug description:
  I noticed what I think is faulty mask processing on images where a mask boundary coincides with the left image boundary. I have managed to produce a very simple demonstartion of the behaviour with the enclosed files. The pto contains a single monochrome image with a mask of precisely the same dimensions, and one would assume that this should render the whole image invisible. But in the previews and in the final output, a narrow strip of the image's left margin still shows. In the pto I have attached I have centered on this and chosen a small FOV to make this well visible - if you can reproduce the bug it would show as a vertical malachite band in the preview. The attached file contains input image, pto and output image - since the images are jpg and very small, I took the liberty to attach them as well. Notice that I manually edited the k-line in the pto to position the mask precisely on the image boundaries.
  I noticed this using Pre-Release 2010.5.0.5a0bdb77823c, self-compiled on Kubuntu 10.10, but I've seen it earlier as well and was never bothered enough to send in a bug report. I think it only occurs if the left margin coincides with the mask and the remainder of the mask can be any shape.
  Kay



References