Each image's Laplacian pyramid is mutiplied by its mask pyramid and this
result is placed into a full size (and to begin with, blank) Laplacian
pyramid. Shortcuts are taken where the mask is pure white or black (masks
are stored and processed in a compressed format so the code is a little
more complex than usual). Once all images have been processed the big
Laplacian pyramid is collapsed and the result is the output image.
I'm not sure from your final sentence whether the colour bleeding is a
problem you are having with multiblend (in which case can you provide a
screenshot) or are you trying to implement something multiblend does in
your own way? Multiblend's final output is blacked out where in those areas
where all images have 0 alpha. You can disable this with --nomask but then
all you should see on the outside are the inpainted parts of the source
Some other points:
> Given source images with alpha channels (mask-000.tit,mask-001.tif) crop
to alpha bounding-box and in-paint empty regions. Hence image masks will
have a rectangular shape.
I may be misunderstanding you, but this is not quite true. Only RGB in
inpainted - masks retain their shape, within the image's rectangular
1. Compute NTF transform on the full resolution final-image (resolution
of the panorama).
2. Compute 2 gaussian pyramids (inverted) on the image obtained in step 2
The NFT (nearest feature transform?) is performed on a map made up of those
regions where only one image's mask is present. All other regions are left
black to be filled by the NFT.
multiblend computes *n* gaussian pyramids for *n* images. They are only the
inverse of each other when there are only two source images.
Friday, 5 October 2012 14:53:21 UTC+1, memecs wrote: