[hugin-ptx] Re: Enblend error: Mask is entirely black, but white image was not identified as redundant

2009-07-03 Thread J. Schneider

Guido Kohlmeyer schrieb:
 Maybe
 the author of enblend can inplement a switch function to prevent the 
 problem.  
Wouldn't it be possible for hugin to intercept this error message and 
set --finemask by itself and retry?

regards
Joachim

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---



[hugin-ptx] Re: Enblend error: Mask is entirely black, but white image was not identified as redundant

2009-07-02 Thread Guido Kohlmeyer

Dear  Thomas

It is a known problem or rather a drawback of enblend. I have a test 
case available too. Due to the fact that enblend is an external tool and 
not a component of hugin it is not a show stopper for the release. 
Anyway this is my impression of the case.
It is always a trade off between memory consumption and accuracy. Maybe 
the author of enblend can inplement a switch function to prevent the 
problem.  I'm not familiar with the algorithm and don't know whether it 
is possible or not.

Guido

 The error is a common problem. Try to use the additional enblend
 parameter --fine-mask to ged rid of the error.
 

 I tried it and it worked. Thanks! :)

 If I can help somehow to get closer to the problem to avoid the error
 in the future, please let me know (test case, bug report -
 dontknow...)
 Thomas


 
   

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---



[hugin-ptx] Re: Enblend error: Mask is entirely black, but white image was not identified as redundant

2009-06-28 Thread Guido Kohlmeyer

Dear  Thomas,

The error is a common problem. Try to use the additional enblend
parameter --fine-mask to ged rid of the error. The parameter will 
result in generation of masks in higher resolution which may may fix the 
problem, but sometimes may result in memory errors cause not enough 
memory available for bigger masks.

Guido

finbref.2006 schrieb:
 I just got the same error with SVN 3966 on Vista.
 The 10 jpeg-images are made with a 350D and they are well connetced. I
 can post them if this helps.
 Perhaps the message close to the end helps:

 Optimizing 0 distinct seams.
 Strategy 2:

 Thank you for providing help – if needed I can do tests to help to
 find out why it fails.
 Thomas

 full error message:

 D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
 IMG_1787-IMG_1796 -i 0 C:\Users\Trommler\AppData\Local\Temp
 \hugC2B3.tmp
 D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
 IMG_1787-IMG_1796 -i 1 C:\Users\Trommler\AppData\Local\Temp
 \hugC2B3.tmp
 D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
 IMG_1787-IMG_1796 -i 2 C:\Users\Trommler\AppData\Local\Temp
 \hugC2B3.tmp
 D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
 IMG_1787-IMG_1796 -i 3 C:\Users\Trommler\AppData\Local\Temp
 \hugC2B3.tmp
 D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
 IMG_1787-IMG_1796 -i 4 C:\Users\Trommler\AppData\Local\Temp
 \hugC2B3.tmp
 D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
 IMG_1787-IMG_1796 -i 5 C:\Users\Trommler\AppData\Local\Temp
 \hugC2B3.tmp
 D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
 IMG_1787-IMG_1796 -i 6 C:\Users\Trommler\AppData\Local\Temp
 \hugC2B3.tmp
 D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
 IMG_1787-IMG_1796 -i 7 C:\Users\Trommler\AppData\Local\Temp
 \hugC2B3.tmp
 D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
 IMG_1787-IMG_1796 -i 8 C:\Users\Trommler\AppData\Local\Temp
 \hugC2B3.tmp
 D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
 IMG_1787-IMG_1796 -i 9 C:\Users\Trommler\AppData\Local\Temp
 \hugC2B3.tmp
 D:\Program\ Files\Hugin\bin\enblend.exe --compression 92 -
 f10139x2258+0+1041 -o IMG_1787-IMG_1796.jpg IMG_1787-IMG_1796.tif
 IMG_1787-IMG_17960001.tif IMG_1787-IMG_17960002.tif IMG_1787-
 IMG_17960003.tif IMG_1787-IMG_17960004.tif IMG_1787-IMG_17960005.tif
 IMG_1787-IMG_17960006.tif IMG_1787-IMG_17960007.tif IMG_1787-
 IMG_17960008.tif IMG_1787-IMG_17960009.tif
 Loading next image: IMG_1787-IMG_1796.tif
 Loading next image: IMG_1787-IMG_17960001.tif
 Creating blend mask: 1/4 2/4 3/4 4/4
 Optimizing 1 distinct seam.

 Strategy 1, s0: 1/4 2/4 3/4 4/4
 Strategy 2: s0
 Using 8 blending levels
 Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
 Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
 Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
 Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
 Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
 Blending layers:  l0 l1 l2 l3 l4 l5 l6 l7
 Collapsing Laplacian pyramid: l7 l6 l5 l4 l3 l2 l1 l0
 Loading next image: IMG_1787-IMG_17960002.tif
 Creating blend mask: 1/4 2/4 3/4 4/4
 Optimizing 1 distinct seam.

 Strategy 1, s0: 1/4 2/4 3/4 4/4
 Strategy 2: s0
 Using 8 blending levels
 Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
 Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
 Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
 Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
 Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
 Blending layers:  l0 l1 l2 l3 l4 l5 l6 l7
 Collapsing Laplacian pyramid: l7 l6 l5 l4 l3 l2 l1 l0
 Loading next image: IMG_1787-IMG_17960003.tif
 Creating blend mask: 1/4 2/4 3/4 4/4
 Optimizing 1 distinct seam.

 Strategy 1, s0: 1/4 2/4 3/4 4/4
 Strategy 2: s0
 Using 8 blending levels
 Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
 Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
 Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
 Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
 Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
 Blending layers:  l0 l1 l2 l3 l4 l5 l6 l7
 Collapsing Laplacian pyramid: l7 l6 l5 l4 l3 l2 l1 l0
 Loading next image: IMG_1787-IMG_17960004.tif

 Creating blend mask: 1/4 2/4 3/4 4/4
 Optimizing 1 distinct seam.

 Strategy 1, s0: 1/4 2/4 3/4 4/4
 Strategy 2: s0
 Using 8 blending levels
 Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
 Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
 Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
 Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
 Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
 Blending layers:  l0 l1 l2 l3 l4 l5 l6 l7
 Collapsing Laplacian pyramid: l7 l6 l5 l4 l3 l2 l1 l0
 Loading next image: IMG_1787-IMG_17960005.tif
 Creating blend mask: 1/4 2/4 3/4 4/4
 Optimizing 1 distinct seam.

 Strategy 1, s0: 1/4 2/4 

[hugin-ptx] Re: Enblend error: Mask is entirely black, but white image was not identified as redundant

2009-06-28 Thread finbref.2006

 The error is a common problem. Try to use the additional enblend
 parameter --fine-mask to ged rid of the error.

I tried it and it worked. Thanks! :)

If I can help somehow to get closer to the problem to avoid the error
in the future, please let me know (test case, bug report -
dontknow...)
Thomas


--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---



[hugin-ptx] Re: Enblend error: Mask is entirely black, but white image was not identified as redundant

2009-06-27 Thread finbref.2006

I just got the same error with SVN 3966 on Vista.
The 10 jpeg-images are made with a 350D and they are well connetced. I
can post them if this helps.
Perhaps the message close to the end helps:

Optimizing 0 distinct seams.
Strategy 2:

Thank you for providing help – if needed I can do tests to help to
find out why it fails.
Thomas

full error message:

D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
IMG_1787-IMG_1796 -i 0 C:\Users\Trommler\AppData\Local\Temp
\hugC2B3.tmp
D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
IMG_1787-IMG_1796 -i 1 C:\Users\Trommler\AppData\Local\Temp
\hugC2B3.tmp
D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
IMG_1787-IMG_1796 -i 2 C:\Users\Trommler\AppData\Local\Temp
\hugC2B3.tmp
D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
IMG_1787-IMG_1796 -i 3 C:\Users\Trommler\AppData\Local\Temp
\hugC2B3.tmp
D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
IMG_1787-IMG_1796 -i 4 C:\Users\Trommler\AppData\Local\Temp
\hugC2B3.tmp
D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
IMG_1787-IMG_1796 -i 5 C:\Users\Trommler\AppData\Local\Temp
\hugC2B3.tmp
D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
IMG_1787-IMG_1796 -i 6 C:\Users\Trommler\AppData\Local\Temp
\hugC2B3.tmp
D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
IMG_1787-IMG_1796 -i 7 C:\Users\Trommler\AppData\Local\Temp
\hugC2B3.tmp
D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
IMG_1787-IMG_1796 -i 8 C:\Users\Trommler\AppData\Local\Temp
\hugC2B3.tmp
D:\Program\ Files\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o
IMG_1787-IMG_1796 -i 9 C:\Users\Trommler\AppData\Local\Temp
\hugC2B3.tmp
D:\Program\ Files\Hugin\bin\enblend.exe --compression 92 -
f10139x2258+0+1041 -o IMG_1787-IMG_1796.jpg IMG_1787-IMG_1796.tif
IMG_1787-IMG_17960001.tif IMG_1787-IMG_17960002.tif IMG_1787-
IMG_17960003.tif IMG_1787-IMG_17960004.tif IMG_1787-IMG_17960005.tif
IMG_1787-IMG_17960006.tif IMG_1787-IMG_17960007.tif IMG_1787-
IMG_17960008.tif IMG_1787-IMG_17960009.tif
Loading next image: IMG_1787-IMG_1796.tif
Loading next image: IMG_1787-IMG_17960001.tif
Creating blend mask: 1/4 2/4 3/4 4/4
Optimizing 1 distinct seam.

Strategy 1, s0: 1/4 2/4 3/4 4/4
Strategy 2: s0
Using 8 blending levels
Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
Blending layers:  l0 l1 l2 l3 l4 l5 l6 l7
Collapsing Laplacian pyramid: l7 l6 l5 l4 l3 l2 l1 l0
Loading next image: IMG_1787-IMG_17960002.tif
Creating blend mask: 1/4 2/4 3/4 4/4
Optimizing 1 distinct seam.

Strategy 1, s0: 1/4 2/4 3/4 4/4
Strategy 2: s0
Using 8 blending levels
Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
Blending layers:  l0 l1 l2 l3 l4 l5 l6 l7
Collapsing Laplacian pyramid: l7 l6 l5 l4 l3 l2 l1 l0
Loading next image: IMG_1787-IMG_17960003.tif
Creating blend mask: 1/4 2/4 3/4 4/4
Optimizing 1 distinct seam.

Strategy 1, s0: 1/4 2/4 3/4 4/4
Strategy 2: s0
Using 8 blending levels
Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
Blending layers:  l0 l1 l2 l3 l4 l5 l6 l7
Collapsing Laplacian pyramid: l7 l6 l5 l4 l3 l2 l1 l0
Loading next image: IMG_1787-IMG_17960004.tif

Creating blend mask: 1/4 2/4 3/4 4/4
Optimizing 1 distinct seam.

Strategy 1, s0: 1/4 2/4 3/4 4/4
Strategy 2: s0
Using 8 blending levels
Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
Blending layers:  l0 l1 l2 l3 l4 l5 l6 l7
Collapsing Laplacian pyramid: l7 l6 l5 l4 l3 l2 l1 l0
Loading next image: IMG_1787-IMG_17960005.tif
Creating blend mask: 1/4 2/4 3/4 4/4
Optimizing 1 distinct seam.

Strategy 1, s0: 1/4 2/4 3/4 4/4
Strategy 2: s0
Using 9 blending levels
Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7 g8
Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7 g8
Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7 l8
Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7 g8
Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7 l8
Blending layers:  l0 l1 l2 l3 l4 l5 l6 l7 l8
Collapsing Laplacian pyramid: l8 l7 l6 l5 l4 l3 l2 l1 l0
Loading next 

[hugin-ptx] Re: Enblend error: Mask is entirely black, but white image was not identified as redundant

2009-02-18 Thread Seb Perez-D

On Tue, Feb 17, 2009 at 23:57, Bart.van.Andel bavanan...@gmail.com wrote:

 I just encountered an enblend error. At the end of a Hugin run, I get
 this message:

 ---(1)---
 enblend: an exception occured
 Mask is entirely black, but white image was not identified as
 redundant.
 make: *** [blend.tif] Error 1
 ---(1)---

Without seeing the tiffs, it is difficult to be specific. I could
imagine that you have one of the following:
- strange dimensions for the tiffs (for example very long, very
narrow, very small)
- strange shapes for the images in the tiffs (very small, with holes,
non connected)
- an issue with one of the tiffs (have you tried deleting one of the
redundant images?)

It would be interesting to know the pto that generated this, since I
agree with you, this should be avoided,

Best,

Seb

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---



[hugin-ptx] Re: Enblend error: Mask is entirely black, but white image was not identified as redundant

2009-02-18 Thread Bart.van.Andel

Okay I have to admit that the files I fed into Hugin were quite
different from normal panorama input. Instead of using pictures taken
from a single point, I moved the camera along the scene. This will
obviously make it more difficult to find a pleasing solution, but I
wasn't going for the aestetics anyway. Still, errors like this
shouldn't occur, even with the strangest input.

Basically, the pictures themselves are normal 35mm (equivalent)
rectilinear pictures (within the margin of the camera of course), with
a 4:3 ratio. The final output has a ratio of about 7:2, so not really
strange here. All 31 images are connected. The output TIFFs are all
normal, except for the final output, which is an illegal/incomplete 8
byte file.

I've just uploaded both the pto and the log as Google documents:

pto: http://docs.google.com/Doc?id=dhb9htjv_20fnckngd6
log: http://docs.google.com/Doc?id=dhb9htjv_21dczt5bdd

The log seems a little bit different from what I posted above, as you
can see. Either the logging system doesn't always handle the output in
the correct order, or things are really not always executed in order
and may interfere???

I've encountered the error with the enblend.exe bundled with Hugin-
svn3649, which is enblend version 3.2. No options changed, except for
TIFF compression.

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---



[hugin-ptx] Re: Enblend error: Mask is entirely black, but white image was not identified as redundant

2009-02-18 Thread Seb Perez-D

On Wed, Feb 18, 2009 at 16:53, Bart.van.Andel bavanan...@gmail.com wrote:

 Okay I have to admit that the files I fed into Hugin were quite
 different from normal panorama input. Instead of using pictures taken
 from a single point, I moved the camera along the scene. This will
 obviously make it more difficult to find a pleasing solution, but I
 wasn't going for the aestetics anyway. Still, errors like this
 shouldn't occur, even with the strangest input.

H - could you run enblend with the -v option? this gives the sizes
of the different images being blended.

Best,

Seb

--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---



[hugin-ptx] Re: Enblend error: Mask is entirely black, but white image was not identified as redundant

2009-02-18 Thread Klaus

Hello,

The --fine-mask was a solution to a different problem, greyish rims in
stitched images.

Not resulting in an error, but faulty blending, can result when one of
the input photos has a hole. There one workaround is to resort to the
old seam placement at mid-distance of the overlap area. It also
depends on the image sequence. For this bug I posted a test case at
http://wiki.panotools.org/Enblend_Testcase_2008-05-02 a while ago.

Good bug hunting

Klaus
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---