On 2009-05-16 Andreas Metzler <[email protected]> wrote: [...] > Thanks. I will post a patch.
Attached. thanks, cu andreas --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx -~----------~----~----~----~------~----~------~--~---
diff -NurbB hugin-0.8.0.orig/src/celeste/CelesteGlobals.cpp hugin-0.8.0/src/celeste/CelesteGlobals.cpp --- hugin-0.8.0.orig/src/celeste/CelesteGlobals.cpp 2009-05-05 22:34:50.000000000 +0200 +++ hugin-0.8.0/src/celeste/CelesteGlobals.cpp 2009-05-16 14:06:29.000000000 +0200 @@ -1,3 +1,24 @@ +/*************************************************************************** + * Copyright (C) 2008 by Tim Nugent + * [email protected] + * + * This file is part of hugin. + * + * Hugin is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * Hugin is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Hugin If not, see <http://www.gnu.org/licenses/>. + * + ***************************************************************************/ + #include "CelesteGlobals.h" #include <stdlib.h> diff -NurbB hugin-0.8.0.orig/src/celeste/CelesteGlobals.h hugin-0.8.0/src/celeste/CelesteGlobals.h --- hugin-0.8.0.orig/src/celeste/CelesteGlobals.h 2009-05-05 22:34:50.000000000 +0200 +++ hugin-0.8.0/src/celeste/CelesteGlobals.h 2009-05-16 14:06:54.000000000 +0200 @@ -1,3 +1,24 @@ +/*************************************************************************** + * Copyright (C) 2008 by Tim Nugent + * [email protected] + * + * This file is part of hugin. + * + * Hugin is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * Hugin is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Hugin If not, see <http://www.gnu.org/licenses/>. + * + ***************************************************************************/ + #ifndef GLOBALS_H #define GLOBALS_H diff -NurbB hugin-0.8.0.orig/src/celeste/Celeste.h hugin-0.8.0/src/celeste/Celeste.h --- hugin-0.8.0.orig/src/celeste/Celeste.h 2009-05-05 22:34:50.000000000 +0200 +++ hugin-0.8.0/src/celeste/Celeste.h 2009-05-16 14:06:59.000000000 +0200 @@ -1,3 +1,24 @@ +/*************************************************************************** + * Copyright (C) 2008 by Tim Nugent + * [email protected] + * + * This file is part of hugin. + * + * Hugin is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * Hugin is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Hugin If not, see <http://www.gnu.org/licenses/>. + * + ***************************************************************************/ + #ifndef __CELESTE__ #define __CELESTE__ diff -NurbB hugin-0.8.0.orig/src/celeste/CMakeLists.txt hugin-0.8.0/src/celeste/CMakeLists.txt --- hugin-0.8.0.orig/src/celeste/CMakeLists.txt 2009-05-05 22:34:50.000000000 +0200 +++ hugin-0.8.0/src/celeste/CMakeLists.txt 2009-05-16 14:08:49.000000000 +0200 @@ -1,3 +1,22 @@ +# Copyright (C) 2008 by Tim Nugent +# [email protected] +# +# This file is part of hugin. +# +# Hugin is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# Hugin is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Hugin If not, see <http://www.gnu.org/licenses/>. + + # Windows needs an #include "direct.h # Linux and Apple are both OK without # Set this up here diff -NurbB hugin-0.8.0.orig/src/celeste/Config.h.linux hugin-0.8.0/src/celeste/Config.h.linux --- hugin-0.8.0.orig/src/celeste/Config.h.linux 2009-05-05 22:34:50.000000000 +0200 +++ hugin-0.8.0/src/celeste/Config.h.linux 2009-05-16 14:09:56.000000000 +0200 @@ -1,3 +1,24 @@ +/*************************************************************************** + * Copyright (C) 2008 by Tim Nugent + * [email protected] + * + * This file is part of hugin. + * + * Hugin is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * Hugin is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Hugin If not, see <http://www.gnu.org/licenses/>. + * + ***************************************************************************/ + #ifndef __CELESTE_CONFIG__ #define __CELESTE_CONFIG__ diff -NurbB hugin-0.8.0.orig/src/celeste/Config.h.win32 hugin-0.8.0/src/celeste/Config.h.win32 --- hugin-0.8.0.orig/src/celeste/Config.h.win32 2009-05-05 22:34:50.000000000 +0200 +++ hugin-0.8.0/src/celeste/Config.h.win32 2009-05-16 14:10:13.000000000 +0200 @@ -1,3 +1,24 @@ +/*************************************************************************** + * Copyright (C) 2008 by Tim Nugent + * [email protected] + * + * This file is part of hugin. + * + * Hugin is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * Hugin is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Hugin If not, see <http://www.gnu.org/licenses/>. + * + ***************************************************************************/ + #ifndef __CELESTE_CONFIG__ #define __CELESTE_CONFIG__ diff -NurbB hugin-0.8.0.orig/src/celeste/Gabor.h hugin-0.8.0/src/celeste/Gabor.h --- hugin-0.8.0.orig/src/celeste/Gabor.h 2009-05-05 22:34:50.000000000 +0200 +++ hugin-0.8.0/src/celeste/Gabor.h 2009-05-16 14:10:28.000000000 +0200 @@ -1,3 +1,24 @@ +/*************************************************************************** + * Copyright (C) 2008 by Tim Nugent + * [email protected] + * + * This file is part of hugin. + * + * Hugin is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * Hugin is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Hugin If not, see <http://www.gnu.org/licenses/>. + * + ***************************************************************************/ + #ifndef __GABOR__ #define __GABOR__ diff -NurbB hugin-0.8.0.orig/src/celeste/training/CelesteTrain.h hugin-0.8.0/src/celeste/training/CelesteTrain.h --- hugin-0.8.0.orig/src/celeste/training/CelesteTrain.h 2009-05-05 22:34:50.000000000 +0200 +++ hugin-0.8.0/src/celeste/training/CelesteTrain.h 2009-05-16 14:10:32.000000000 +0200 @@ -1,3 +1,24 @@ +/*************************************************************************** + * Copyright (C) 2008 by Tim Nugent + * [email protected] + * + * This file is part of hugin. + * + * Hugin is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * Hugin is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Hugin If not, see <http://www.gnu.org/licenses/>. + * + ***************************************************************************/ + #ifndef __TRAIN__ #define __TRAIN__ diff -NurbB hugin-0.8.0.orig/src/celeste/training/CMakeLists.txt hugin-0.8.0/src/celeste/training/CMakeLists.txt --- hugin-0.8.0.orig/src/celeste/training/CMakeLists.txt 2009-05-05 22:34:50.000000000 +0200 +++ hugin-0.8.0/src/celeste/training/CMakeLists.txt 2009-05-16 14:14:16.000000000 +0200 @@ -1,2 +1,6 @@ +# Copyright (C) 2008 by Tim Nugent +# [email protected] +# License: GPLv2+ + ADD_EXECUTABLE( celeste_train CelesteTrain.cpp ) target_link_libraries( celeste_train celeste ${image_libs} ) diff -NurbB hugin-0.8.0.orig/src/celeste/training/create_svm_data_10_fold.pl hugin-0.8.0/src/celeste/training/create_svm_data_10_fold.pl --- hugin-0.8.0.orig/src/celeste/training/create_svm_data_10_fold.pl 2009-05-05 22:34:50.000000000 +0200 +++ hugin-0.8.0/src/celeste/training/create_svm_data_10_fold.pl 2009-05-16 14:17:19.000000000 +0200 @@ -1,7 +1,24 @@ #!/usr/bin/perl -# Script to create test/training data for 10 fold cross-validation # Copyright (C) 2008 by Tim Nugent +# [email protected] +# +# This file is part of hugin. +# +# Hugin is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# Hugin is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # +# You should have received a copy of the GNU General Public License +# along with Hugin If not, see <http://www.gnu.org/licenses/>. + +# Script to create test/training data for 10 fold cross-validation + # Put cropped images in cropped_images/ # in the format imageP.jpg and imageN.jpg for # positive (cloud) and negative (non-cloud) examples diff -NurbB hugin-0.8.0.orig/src/celeste/training/get_flickr_clouds.pl hugin-0.8.0/src/celeste/training/get_flickr_clouds.pl --- hugin-0.8.0.orig/src/celeste/training/get_flickr_clouds.pl 2009-05-05 22:34:50.000000000 +0200 +++ hugin-0.8.0/src/celeste/training/get_flickr_clouds.pl 2009-05-16 14:17:10.000000000 +0200 @@ -1,6 +1,23 @@ #!/usr/bin/perl -# Script to rerieve images of clouds from flickR using by searching tags # Copyright (C) 2008 by Tim Nugent +# [email protected] +# +# This file is part of hugin. +# +# Hugin is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# Hugin is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Hugin If not, see <http://www.gnu.org/licenses/>. + +# Script to retrieve images of clouds from flickR using by searching tags use strict; use warnings; diff -NurbB hugin-0.8.0.orig/src/celeste/training/parse_results.pl hugin-0.8.0/src/celeste/training/parse_results.pl --- hugin-0.8.0.orig/src/celeste/training/parse_results.pl 2009-05-05 22:34:50.000000000 +0200 +++ hugin-0.8.0/src/celeste/training/parse_results.pl 2009-05-16 14:17:29.000000000 +0200 @@ -1,5 +1,24 @@ #!/usr/bin/perl +# Copyright (C) 2008 by Tim Nugent +# [email protected] +# +# This file is part of hugin. +# +# Hugin is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# Hugin is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Hugin If not, see <http://www.gnu.org/licenses/>. + + use strict; use warnings; use Math::Round qw(:all); diff -NurbB hugin-0.8.0.orig/src/celeste/training/svm_learn_class_10_fold.pl hugin-0.8.0/src/celeste/training/svm_learn_class_10_fold.pl --- hugin-0.8.0.orig/src/celeste/training/svm_learn_class_10_fold.pl 2009-05-05 22:34:50.000000000 +0200 +++ hugin-0.8.0/src/celeste/training/svm_learn_class_10_fold.pl 2009-05-16 14:18:12.000000000 +0200 @@ -1,5 +1,22 @@ #!/usr/bin/perl # Copyright (C) 2008 by Tim Nugent +# [email protected] +# +# This file is part of hugin. +# +# Hugin is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# Hugin is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Hugin If not, see <http://www.gnu.org/licenses/>. + # Script to train SVM then classify +ve and -ve datasets. # Results are printed and written to $results # Require SVM light - http://svmlight.joachims.org/
