> To my question: Are there any plans to permit Smartblend to be used
> with Hugin? When Enblend doesnt get the 'sky' just right I find that
> Smartblend (with PTgui) does quite better and much faster. The
> difference is attributeable to Smartblend, if I use Enblend with Ptgui
> the results are similar with Hugin.
enblend uses a not so optimal number of levels. specify -l 20 at the
enblend command line to increase the number to the maximum and you
get results similar to smartblend. enblend 3 should be almost as fast
as smartblend BTW...
best regards
Erik Krause
http://www.erik-krause.de
enblend uses a not so optimal number of levels. specify -l 20 at the enblend command line to increase the number to the maximum and you get results similar to smartblend. enblend 3 should be almost as fast as smartblend BTW...
is the segfault with enblend cvs resolved?
-- michael
> I still get fewer blending artifacts around the zenith with smartblend
> than with enblend, and using enblend's maximum number of blending levels
> doesn't affect this. E.g., compare the following two zeniths, the first
> created by enblend with -l 29, the second by smartblend at default
> settings:
>
> http://VictoriaVR.ca/test/enblend-zenith.jpg
> http://VictoriaVR.ca/test/smartblend-zenith.jpg
Interesting. I never got anything alike with enblend, but of course I
use a zenith shot.
Did you try the --fine_mask option?
-- Jim Watters Yahoo ID: j1vvy ymsgr:sendIM?j1vvy jwatters @ photocreations . ca http://photocreations.ca
On my machine it is
Linux dell64 2.6.22.17-0.1-default #1 SMP 2008/02/10 20:01:04 UTC x86_64 x86_64 x86_64 GNU/Linux
and here enblend still segfaults.
> Could you please give it a spin? If you run into a segfault
> a backtrace would be helpful.
I have a backtrace, but not very helpfull.
....
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib64/libXau.so.6...done.
Loaded symbols for /usr/lib64/libXau.so.6
Core was generated by `enblend -o xb0000.tif -v -m 400 -l 20 -w -a --fine-mask --optimize xa0005.tif x'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000004f676e in enblend::maskBounds<vigra::CachedFileImage<unsigned char> > ()
(gdb) bt
#0 0x00000000004f676e in enblend::maskBounds<vigra::CachedFileImage<unsigned char> > ()
#1 0x000000000063a17e in enblend::enblendMain<vigra::RGBValue<unsigned char, 0u, 1u, 2u> > ()
#2 0x0000000000408d42 in main ()
(gdb)
> Cheers,
> Chris
Kornel
--
Kornel Benko
Kornel...@berlin.de
same for me:
(gdb) set args --compression NONE -f1042x766 -o test.tif test0000.tif test0001.tif
(gdb) run
Starting program: /usr/local/bin/enblend --compression NONE -f1042x766 -o test.tif test0000.tif test0001.tif
[Thread debugging using libthread_db enabled]
Input images to small for coarse mask, switching to fine mask.
Loading next image: test0000.tif
Loading next image: test0001.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
[New Thread 0xb7a476d0 (LWP 5684)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7a476d0 (LWP 5684)]
0x0810a0a6 in enblend::maskBounds<vigra::CachedFileImage<unsigned char> > ()
Current language: auto; currently asm
i'm using opensuse 11.0,
gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux)
==== enblend, version 3.2-cvs ====
hope this helps some.
-- michael
> Sounds like a nice promise! I pointed him to this group for informing
> us when he does.
A nice promise indeed. I always wanted to convince him to make it
open source.
I hope he'll use the smartblend page on the wiki to publish the
source...
a wiki is good for documentation. for code it is inadequate. the best
place for soure code is a version control system, like SVN available at
<http://www.sourceforge.net/> or at Google project hosting
<http://code.google.com/hosting/>
Yuv
Most likely Michael won't use any such system. This will be our duty
;-)
best regards
--
Erik Krause
Offenburger Str. 33
79108 Freiburg
i understand, i have a working copy of enblend, so its not a show stopper (and
indeed, sadly, not been generating images very much this summer as well). thanks
for looking into it.
-- michael
I tried, with "./configure --enable-image-cache=no", but it is not compilable
...
make[3]: Leaving directory `/mnt/usr2/src/enblend/enblend/src/win32helpers'
make[3]: Entering directory `/mnt/usr2/src/enblend/enblend/src'
g++ -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I../include -DVIGRA_STATIC_LIB -I/usr/include/OpenEXR -O3 -ffast-math -DNDEBUG -Wall -MT enblend-enblend.o -MD -MP -MF .deps/enblend-enblend.Tpo -c -o enblend-enblend.o `test -f 'enblend.cc' || echo './'`enblend.cc
mask.h: In function ‘MaskType* enblend::createMask(const ImageType*, const ImageType*, const AlphaType*, const AlphaType*, const vigra::Rect2D&, const vigra::Rect2D&, bool) [with ImageType = vigra::BasicImage<vigra::RGBValue<unsigned char, 0u, 1u, 2u>, std::allocator<vigra::RGBValue<unsigned char, 0u, 1u, 2u> > >, AlphaType = vigra::BasicImage<unsigned char, std::allocator<unsigned char> >, MaskType = vigra::BasicImage<unsigned char, std::allocator<unsigned char> >]’:
enblend.h:265: instantiated from ‘void enblend::enblendMain(std::list<vigra::ImageImportInfo*, std::allocator<vigra::ImageImportInfo*> >&, vigra::ImageExportInfo&, vigra::Rect2D&) [with ImagePixelType = vigra::RGBValue<unsigned char, 0u, 1u, 2u>]’
enblend.cc:825: instantiated from here
mask.h:323: error: no matching function for call to ‘stride(int&, int&, vigra::triple<vigra::ConstBasicImageIterator<unsigned char, unsigned char**>, vigra::ConstBasicImageIterator<unsigned char, unsigned char**>, vigra::StandardConstValueAccessor<unsigned char> >)’
mask.h:323: error: no matching function for call to ‘stride(int&, int&, std::pair<vigra::ConstBasicImageIterator<unsigned char, unsigned char**>, vigra::StandardConstValueAccessor<unsigned char> >)’
...
> Sorry that I could not help you more, but not being able to
> reproduce the bug on my machines limits my possibilities.
>
> /Chris
Kornel
--
Kornel Benko
Kornel...@berlin.de
Thanks a lot. I've added it to SVN (rev. 3489) and will try not to
forget to add it to the next Windows installer.
<http://hugin.svn.sourceforge.net/viewvc/hugin/hugin/trunk/platforms/windows/smartblend-wrapper/>
Yuv
done two weeks ago when he published his script
<http://hugin.svn.sourceforge.net/viewvc/hugin/hugin/trunk/platforms/linux/>
> One thing in the readme is incorrect:
corrected, thanks.
> Concerning integration: it seems Hugin is prepared to use different
> blenders from the GUI, as the Stitcher tab shows a pulldown menu. It
> would be most convenient of course if the items in that menu are
> configurable through the options menu, so Smartblend can show up there
> as well.
we'll need some major work on the GUI later on. I am not convinced that
preferences is the right place for this choice (like it is not the right
place for the choice of control point generators).
For the information of the community, I've sent an email to Michael
Norel (author of Smartblend), inviting him to join the community and
asking for permission to distribute smartblend with hugin. A copy of my
message is below. If any of you is in contact with him, I would
appreciate if you would follow up with him too. It would be great if he
would join this community.
Yuv
--- copy of message to Michael Norel ---
Dear Michael,
I've heard from different sources on the internet that you inted to
release smartblend soon under an open source license. Is this true?
If Yes, would you be so kind and allow the hugin project to distribute
smartblend with it?
hugin is the most advanced open source panorama making software.
at the moment hugin comes with enblend and adding options is in the
interest of the users and the project.
you will find in the hugin community many people that will be happy to
help porting smartblend to other platforms (AFAIK there is no linux
version). A few have already produced wrappers to use smartblend from
hugin (with wine in Linux or directly in Windows).
I encourage you, if you have not done so yet, to join the hugin mailing
list at <http://groups.google.com/group/hugin-ptx> - you will enjoy to
see how people appreciate your software.
Thank you, and best regards
Yuval Levy