Jan Martin | 1 Jul 2010 14:46

Re: Can this be stitched at all?

Hi all,

I am stitching frames of a video. When watching the result the seam flickers.
Bruno suggested to use --no-optimize for enblend to solve this.
But it didn't.

So I thought I save a mask once and then use it for all images.
Mask saved in hugin using --save-mask as enblend options.

However I get this error when using enblend option --load-mask with hugin:
enblend: input image "/home/me/mask-1.tif" does not have an alpha channel

Whats wrong?
Thanks,
Jan

Enblend version:
me <at> ubuntu:~$ enblend -V
enblend 4.1-60f6a8a30980

Full error message:
make: `test' is up to date.
nona  -z PACKBITS  -r ldr -m TIFF_m -o 1a -i 0 /tmp/huginpto_DPI1wG
nona  -z PACKBITS  -r ldr -m TIFF_m -o 1a -i 1 /tmp/huginpto_DPI1wG
enblend --compression 100 --load-mask /home/me/mask-1.tif -w -f836x418 -o 1a.jpg 1a0000.tif 1a0001.tif
enblend: input image "/home/me/mask-1.tif" does not have an alpha channel
make: *** [1a.jpg] Error 1



On Mon, Jun 28, 2010 at 2:24 PM, Jan Martin <janmartin <at> diy-streetview.org> wrote:
Bruno,

it got a bit better, but it still flickers.
Also I am totally unsure about photometrics. I just adjusted EV a bit by try and error.

But I managed to get the quality of the source images up by extracting the frames using avidemux instead of mplayer. Then redid the whole project.

Anyone knows why this does not extract the best quality jpgs?
mplayer -vo jpeg:optimize=100:quality=100:outdir=/home/me/frames video.avi -nosound

However even with the --no-optimize parameter it still flickers at the seams.

Please find 100 left and right frames (zip), .pto, pto.mk and the resulting (longer) .avi here:
http://bit.ly/cib1lf

Btw. avidemux  can "play" all jpgs in a folder. Just pick the first one and click "play". (In the lower left hand corner). Saves you the creation of a video for testing.

Btw, how do you stitch all left and right frames in a folder?
I probably do it wrong by using a custom shell script.

Thanks,
Jan

On Mon, Jun 28, 2010 at 11:38 AM, Bruno Postle <brunopostle <at> googlemail.com> wrote:
On 28 June 2010 04:13, Jan Martin <janmartin <at> diy-streetview.org> wrote:
> The resulting video looks good so far,
> however there is some flickering at the right seam:
>
> http://bit.ly/cl0RbZ

The seam is being placed in a different location in each frame, you
can use the enblend --no-optimize parameter to force a fixed seam
location (this will be quicker too).

--
Bruno

--
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx <at> googlegroups.com
To unsubscribe from this group, send email to hugin-ptx+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx





--
http://www.DIY-streetview.org

--
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx <at> googlegroups.com
To unsubscribe from this group, send email to hugin-ptx+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Gmane