Just adding that it builds on fedora F12 with no problems, but I
haven't had a chance to run it yet.
--
Bruno
Allard
> [0]:http://groups.google.com/group/hugin-ptx/browse_thread/thread/d9c0558...
> [1]:http://www.mail-archive.com/hugi...@googlegroups.com/msg07614.html
Can someone post the right instructions for downloading the branch? I
installed bazaar using MacPorts, and the command:
baz branch lp:~pablo.dangelo/hugin/panomatic-lib
results in an error: branch: could not determine source revision from
directory: /Users/sgaede/development
Thanks,
--skip
-Downloading and installing bazaar from their webpage and getting the
trunk trough their GUI went smooth.
-I ran CMake (i use 2.8.0 RC5 GUI), which went smoothly except that I
had to point it to some libraries directories, but I'm used to that
from the hugin builds (boost, wxtiff, jpeg, png and zlib).
-I opened the 'panomatic.sln' MSVC++ solution (I'm on the 2008 express
edition) and pressed 'build'. Many 'file not found' errors came up,
which were related to the fact that the boost directory and the vigra
directory were not added to the 'additional include directories'. I
was a bit surprised about the boost directory as this was certainly in
the cmake cache file.
-I added the directories through the 'properties/C++' tab of MSVC and
rebuilt. This time there were errors in
CircularKeyPointDescriptor.cpp , related to M_PI not being defined.
Fortunately, some googling told me this is a known problem and that
this can be solved by adding '#define _USE_MATH_DEFINES' and '#include
<math.h>' at the top of the file
-I rebuilt. This time two more errors came up that I couldn't solve.
These were:
error C4716: 'PanoDetector::LoadKeypoints' : must return a value' in
panodetectorlogic.cp, line 110
and
LINK : fatal error LNK1181: cannot open input file '..\localfeatures
\Release\localfeatures.lib'
Could that last one have something to do with the fact that on
windows, the output of 'localfeatures' is a .dll, not a .lib? Just
guessing.
Anyway, thank you Pablo for the effort, I'd really like to see this
work.
allard
On Jan 13, 3:02 pm, skip <sga...@comcast.net> wrote:
> On Jan 13, 6:55 am, Harry van der Wolf <hvdw...@gmail.com> wrote:
>
>
>
> > All,
>
> > After Pablo's announcement[0] (3 January) of the almost patent free CP
> > detector I built it on OSX, but due to other priorities I had set myself, I
> > did not have the time to do tests (sorry Pablo [1]).
>
> > This is only a mail to share some first test results. I need to do more
Can someone post the right instructions for downloading the branch? I
installed bazaar using MacPorts, and the command:
baz branch lp:~pablo.dangelo/hugin/panomatic-lib
results in an error: branch: could not determine source revision from
directory: /Users/sgaede/development
Oh, if forgot to add a check for the vigra stuff. The boost include path
should be picked up now.
> -I added the directories through the 'properties/C++' tab of MSVC and
> rebuilt. This time there were errors in
> CircularKeyPointDescriptor.cpp , related to M_PI not being defined.
> Fortunately, some googling told me this is a known problem and that
> this can be solved by adding '#define _USE_MATH_DEFINES' and '#include
> <math.h>' at the top of the file
Fixed in bzr
> -I rebuilt. This time two more errors came up that I couldn't solve.
> These were:
> error C4716: 'PanoDetector::LoadKeypoints' : must return a value' in
> panodetectorlogic.cp, line 110
This was an error in the source, I just commited a fix.
> and
> LINK : fatal error LNK1181: cannot open input file '..\localfeatures
> \Release\localfeatures.lib'
Maybe these are related? Could you update and try again.
ciao
Pablo
Well, not knowing the difference, I installed bazaar, and the command
was baz. Just looked in the devel tree and found bzr, bzr-gtk, and two
more. I guess I know what to do next. Thanks for the clarification :)
>
> Harry
> Results/Remarks:
> - The new CPdetector detects/generates a huge amount of Control Points.
> Pano's having approx. 30-40 CPs now have approx. 150-180 CPs. Pano's
> with approx. 60-70 CP's now have 220-230 CP's. Yuv's pano now generates
> 354 CP's (forgot to note the original number for this mail). After
> running Celeste and cpclean generally 25-50% of CP's are removed, which
> still means that you have a lot of CP's but the optimizer can easily
> deal with that.
> - The spread of CP's over the overlapping areas is OK, but this might
> also be due to the huge amount of CPs. Now is this good, having a good
> spread of CP's, or is this bad, having so many CPs?
Its bad if they are very badly distributed, and if you need to find bad
points by hand.
If you set --sieve2size 1 (or dont set it at all), then you should get
roughly the same number of control points as the original panomatic. Due
to the weaker descriptor, I feared that we would get more missmatches,
and cpclean should work better if more points are found.
Originally, I planned to use a set of diverse test panoramas for testing
and further parameter and algorithm tuning, but I haven't had the time
to screen my panos for good candidates.
For this test, I need some very well fitting panos (no parallax errors,
very well calibrated lens, no scene movement) for different focal
lengths and sceneries.
ciao
Pablo
> [0]:http://groups.google.com/group/hugin-ptx/browse_thread/thread/d9c0558...
> [1]:http://www.mail-archive.com/hugi...@googlegroups.com/msg07614.html
I need more help. I installed vigra and bzr, but I don't know cmake.
How do I tell cmake that the vigraimpex library is in /opt/local/lib ?
Thanks,
--skip
On Jan 15, 6:24 am, Harry van der Wolf <hvdw...@gmail.com> wrote:
[snip]
> - cd inside the panomatic-lib source directory (not src)
> - make a build directory like "mkdir build"
> - cd build;
> - issue the following commands to set CFLAGS and so on correctly:
> export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig
> export CFLAGS="-I/opt/local/include -L/opt/local/lib"
> export CXXFLAGS=$CFLAGS
[snip]
Thanks for that advice, I used a suitably edited version to build on
Fedora 12.
I have done a couple of tests and it seems to do a good job thus far.
Cheers,
Terry
Any suggestions?
I can't get it to work yet.
A few steps further already, the changes Pablo made worked out, except
that the "ifdef MSVC" around the USE_MATH_DEFINES was not picked up
somehow, I had to comment it.
I also had to download pthread and use NODEFAULTLIB on msvcprt.lib,
LIBCMT.lib and libcmpt.lib to avoid conflicts with vigraimpex and each
other.
But now I get a load of unresolved external symbol errors. I think the
last two things have something to do with the vigraimpex.lib. I tried
the downloaded release and the one from my hugin builds but neither
would work.
I'm at a loss here. Does this require other files from vigra than a
build of hugin? The cmake patch does not find the vigra package. I've
tried downloading vigra 1.6 and building the library (changing it to a
static lib, no clue if that works the way I did it), but CMake won't
tell me it has found vigra. I tried overriding the package finder and
putting the paths in manually but that doesn't work either, at least I
get tons of error messages, which seem to be related to vigra if I use
the (renamed) huginvigraimpex.lib from my hugin build or unrelated to
vigra if I use the renamed vigraimpex_dll.lib that I built from the
downloaded source.
As usual I'm just touching around in the dark, could somebody give me
a hint?
Allard
On Jan 15, 5:31 am, Harry van der Wolf <hvdw...@gmail.com> wrote:
> Hi guys,
>
> I'm sorry. I went much too fast. I made the Find module as a lunch
> "practice" and that part works, but I completely forgot to modify the
> CMakeLists.txt files to use the results from my module.
> Please find attached the "version 2" patch.
>
> Harry
>
> 2010/1/15 Harry van der Wolf <hvdw...@gmail.com>
>
> > Hi all,
>
> > 2010/1/15 allard <a...@allardkatan.net>
>
> > I can't get it to work yet.
> >> A few steps further already, the changes Pablo made worked out, except
> >> that the "ifdef MSVC" around the USE_MATH_DEFINES was not picked up
> >> somehow, I had to comment it.
> >> I also had to download pthread and use NODEFAULTLIB on msvcprt.lib,
> >> LIBCMT.lib and libcmpt.lib to avoid conflicts with vigraimpex and each
> >> other.
> >> But now I get a load of unresolved external symbol errors. I think the
> >> last two things have something to do with the vigraimpex.lib. I tried
> >> the downloaded release and the one from my hugin builds but neither
> >> would work.
>
> > I created a patch that searches for vigra. It means that you no longer need
> > to use CFLAGS/CXXFLAGS.
>
> > I patched the CMakeLists.txt and added a FindVIGRA.cmake module in
> > CMakeModules.
> > It works for OSX and should work on all linuxes (but untested). As I know
> > absolutely nothing of windows it is only an "educated guess" for that
> > platform.
> > I hope Pablo improves the win32 stuff of the FindVIGRA.cmake module.
>
> > Inside panomatic-lib do "patch -p0 < findvigra.diff"
>
> > Harry
>
>
>
> findvigra_v2.diff
> 4KViewDownload
--
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 hugi...@googlegroups.com
To unsubscribe from this group, send email to hugin-ptx+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
I have sucessfull build panomatic-lib with hugins vigraimpex on
windows. But there was more manual tweaking of the project files
necessary. With an external vigra 1.6 I had not yet sucess. It
compiled, but then it did not run correctly (it was not able to read
the files.)
So there is some more work with the cmake system to do until it works
out of the box.
Thomas
I have sucessfull build panomatic-lib with hugins vigraimpex on
windows.
Thomas
-
@ Thomas: would you mind sharing the tweaks you did?
Thanks, Allard
On Jan 21, 10:16 am, Harry van der Wolf <hvdw...@gmail.com> wrote:
> Hi all,
>
> 2010/1/21 T. Modes <Thomas.Mo...@gmx.de>
in keypoints.obj
Whatever I try (I've built two versions of the vigra lib, used the
downloaded lib, the downloaded dll and the one I built for hugin), I
keep getting about 8 errors similar to this. Thomas' tips, that I got
offline (thanks!) didn't solve it. Any clues?
Allard