Index: olena/ChangeLog
from Giovanni Palma <giovanni(a)lrde.epita.fr>
* tests/md5_morpho_attribute_closing_opening_light_hh5: Remove file.
* tests/md5_morpho_attribute_closing_opening_light_hh4: Likewise.
* tests/md5_morpho_attribute_closing_opening_light_hh3: Likewise.
* tests/md5_morpho_attribute_closing_opening_light_hh2: Likewise.
* tests/md5_morpho_attribute_closing_opening_light_hh1: Likewise.
* tests/md5_morpho_attribute_closing_opening_light_hh0: Likewise.
Index:
olena/tests/morpho/tests/md5_morpho_attribute_closing_opening_light_hh5
--- olena/tests/morpho/tests/md5_morpho_attribute_closing_opening_light_hh5 Tue, 20 Apr 2004 15:16:21 +0200 van-vl_n (oln/l/40_md5_morpho 1.2 644)
+++ olena/tests/morpho/tests/md5_morpho_attribute_closing_opening_light_hh5 Fri, 16 Jul 2004 12:19:11 +0200 palma_g ()
@@ -1,57 +0,0 @@
-// -*- c++ -*-
-// Copyright (C) 2004 EPITA Research and Development Laboratory
-//
-// This file is part of the Olena Library. This library is free
-// software; you can redistribute it and/or modify it under the terms
-// of the GNU General Public License version 2 as published by the
-// Free Software Foundation.
-//
-// This library 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 this library; see the file COPYING. If not, write to
-// the Free Software Foundation, 59 Temple Place - Suite 330, Boston,
-// MA 02111-1307, USA.
-//
-// As a special exception, you may use this file as part of a free
-// software library without restriction. Specifically, if other files
-// instantiate templates or use macros or inline functions from this
-// file, or you compile this file and link it with other files to
-// produce an executable, this file does not by itself cause the
-// resulting executable to be covered by the GNU General Public
-// License. This exception does not however invalidate any other
-// reasons why the executable file might be covered by the GNU General
-// Public License.
-
-#include "data.hh"
-#include <oln/utils/md5.hh>
-
-#include "check.hh"
-#include <oln/basics2d.hh>
-#include <oln/morpho/attribute_closing_opening.hh>
-#include <oln/level/compare.hh>
-#include <ntg/all.hh>
-#include <iostream>
-
-int main()
-{
-oln::utils::key::value_type data_key[16] = {0x2a, 0x39, 0xf5, 0xfc, 0x95, 0xa0, 0x18, 0xc1, 0xac, 0xa, 0x5, 0xbf, 0xc4, 0xc2, 0xfd, 0xf8};
-
-oln::utils::key key(data_key);
-
- typedef oln::image2d<ntg::
-int_u8> im_type;
- im_type im1(oln::load(rdata("lena256.pgm")));
- im1 = oln::morpho::fast::height_closing(im1, oln::neighb_c4(), 5);
- if (oln::utils::md5(im1) == key)
- std::cout << "OK" << std::endl;
-else
- {
- std::cout << "FAIL" << std::endl;
- return true;
- }
- return 0;
- }
Index:
olena/tests/morpho/tests/md5_morpho_attribute_closing_opening_light_hh4
--- olena/tests/morpho/tests/md5_morpho_attribute_closing_opening_light_hh4 Tue, 20 Apr 2004 15:16:21 +0200 van-vl_n (oln/l/41_md5_morpho 1.2 644)
+++ olena/tests/morpho/tests/md5_morpho_attribute_closing_opening_light_hh4 Fri, 16 Jul 2004 12:19:11 +0200 palma_g ()
@@ -1,57 +0,0 @@
-// -*- c++ -*-
-// Copyright (C) 2004 EPITA Research and Development Laboratory
-//
-// This file is part of the Olena Library. This library is free
-// software; you can redistribute it and/or modify it under the terms
-// of the GNU General Public License version 2 as published by the
-// Free Software Foundation.
-//
-// This library 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 this library; see the file COPYING. If not, write to
-// the Free Software Foundation, 59 Temple Place - Suite 330, Boston,
-// MA 02111-1307, USA.
-//
-// As a special exception, you may use this file as part of a free
-// software library without restriction. Specifically, if other files
-// instantiate templates or use macros or inline functions from this
-// file, or you compile this file and link it with other files to
-// produce an executable, this file does not by itself cause the
-// resulting executable to be covered by the GNU General Public
-// License. This exception does not however invalidate any other
-// reasons why the executable file might be covered by the GNU General
-// Public License.
-
-#include "data.hh"
-#include <oln/utils/md5.hh>
-
-#include "check.hh"
-#include <oln/basics2d.hh>
-#include <oln/morpho/attribute_closing_opening.hh>
-#include <oln/level/compare.hh>
-#include <ntg/all.hh>
-#include <iostream>
-
-int main()
-{
-oln::utils::key::value_type data_key[16] = {0x8a, 0x6f, 0x2a, 0xaa, 0x83, 0x5f, 0x92, 0xc, 0x10, 0x1f, 0x56, 0x6, 0xcc, 0xb8, 0x42, 0xd4};
-
-oln::utils::key key(data_key);
-
- typedef oln::image2d<ntg::
-int_u8> im_type;
- im_type im1(oln::load(rdata("lena256.pgm")));
- im1 = oln::morpho::fast::height_opening(im1, oln::neighb_c4(), 5);
- if (oln::utils::md5(im1) == key)
- std::cout << "OK" << std::endl;
-else
- {
- std::cout << "FAIL" << std::endl;
- return true;
- }
- return 0;
- }
Index:
olena/tests/morpho/tests/md5_morpho_attribute_closing_opening_light_hh3
--- olena/tests/morpho/tests/md5_morpho_attribute_closing_opening_light_hh3 Tue, 20 Apr 2004 15:16:21 +0200 van-vl_n (oln/l/42_md5_morpho 1.2 644)
+++ olena/tests/morpho/tests/md5_morpho_attribute_closing_opening_light_hh3 Fri, 16 Jul 2004 12:19:11 +0200 palma_g ()
@@ -1,58 +0,0 @@
-// -*- c++ -*-
-// Copyright (C) 2004 EPITA Research and Development Laboratory
-//
-// This file is part of the Olena Library. This library is free
-// software; you can redistribute it and/or modify it under the terms
-// of the GNU General Public License version 2 as published by the
-// Free Software Foundation.
-//
-// This library 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 this library; see the file COPYING. If not, write to
-// the Free Software Foundation, 59 Temple Place - Suite 330, Boston,
-// MA 02111-1307, USA.
-//
-// As a special exception, you may use this file as part of a free
-// software library without restriction. Specifically, if other files
-// instantiate templates or use macros or inline functions from this
-// file, or you compile this file and link it with other files to
-// produce an executable, this file does not by itself cause the
-// resulting executable to be covered by the GNU General Public
-// License. This exception does not however invalidate any other
-// reasons why the executable file might be covered by the GNU General
-// Public License.
-
-#include "data.hh"
-#include <oln/utils/md5.hh>
-
-#include "check.hh"
-#include <oln/basics2d.hh>
-#include <oln/morpho/attribute_closing_opening.hh>
-#include <oln/level/compare.hh>
-#include <ntg/all.hh>
-#include <iostream>
-
-int main()
-{
-oln::utils::key::value_type data_key[16] = {0x1a, 0xe0, 0x60, 0x8a, 0xd8, 0x2d, 0xbc, 0x11, 0x29, 0x0, 0xd0, 0x44, 0x53, 0xf9, 0xff, 0xec};
-
-oln::utils::key key(data_key);
-
- typedef oln::image2d<ntg::
-int_u8> im_type;
- im_type im1(oln::load(rdata("lena256.pgm")));
- im1 = oln::morpho::fast::
-integral_opening(im1, oln::neighb_c4(), 200);
- if (oln::utils::md5(im1) == key)
- std::cout << "OK" << std::endl;
-else
- {
- std::cout << "FAIL" << std::endl;
- return true;
- }
- return 0;
- }
Index:
olena/tests/morpho/tests/md5_morpho_attribute_closing_opening_light_hh2
--- olena/tests/morpho/tests/md5_morpho_attribute_closing_opening_light_hh2 Tue, 20 Apr 2004 15:16:21 +0200 van-vl_n (oln/l/43_md5_morpho 1.2 644)
+++ olena/tests/morpho/tests/md5_morpho_attribute_closing_opening_light_hh2 Fri, 16 Jul 2004 12:19:11 +0200 palma_g ()
@@ -1,58 +0,0 @@
-// -*- c++ -*-
-// Copyright (C) 2004 EPITA Research and Development Laboratory
-//
-// This file is part of the Olena Library. This library is free
-// software; you can redistribute it and/or modify it under the terms
-// of the GNU General Public License version 2 as published by the
-// Free Software Foundation.
-//
-// This library 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 this library; see the file COPYING. If not, write to
-// the Free Software Foundation, 59 Temple Place - Suite 330, Boston,
-// MA 02111-1307, USA.
-//
-// As a special exception, you may use this file as part of a free
-// software library without restriction. Specifically, if other files
-// instantiate templates or use macros or inline functions from this
-// file, or you compile this file and link it with other files to
-// produce an executable, this file does not by itself cause the
-// resulting executable to be covered by the GNU General Public
-// License. This exception does not however invalidate any other
-// reasons why the executable file might be covered by the GNU General
-// Public License.
-
-#include "data.hh"
-#include <oln/utils/md5.hh>
-
-#include "check.hh"
-#include <oln/basics2d.hh>
-#include <oln/morpho/attribute_closing_opening.hh>
-#include <oln/level/compare.hh>
-#include <ntg/all.hh>
-#include <iostream>
-
-int main()
-{
-oln::utils::key::value_type data_key[16] = {0x39, 0x6e, 0x2, 0xfa, 0xec, 0x98, 0xa5, 0x3c, 0x10, 0x16, 0x82, 0xfd, 0x54, 0x48, 0x7d, 0xd3};
-
-oln::utils::key key(data_key);
-
- typedef oln::image2d<ntg::
-int_u8> im_type;
- im_type im1(oln::load(rdata("lena256.pgm")));
- im1 = oln::morpho::fast::
-integral_closing(im1, oln::neighb_c4(), 200);
- if (oln::utils::md5(im1) == key)
- std::cout << "OK" << std::endl;
-else
- {
- std::cout << "FAIL" << std::endl;
- return true;
- }
- return 0;
- }
Index:
olena/tests/morpho/tests/md5_morpho_attribute_closing_opening_light_hh1
--- olena/tests/morpho/tests/md5_morpho_attribute_closing_opening_light_hh1 Tue, 20 Apr 2004 15:16:21 +0200 van-vl_n (oln/l/44_md5_morpho 1.2 644)
+++ olena/tests/morpho/tests/md5_morpho_attribute_closing_opening_light_hh1 Fri, 16 Jul 2004 12:19:11 +0200 palma_g ()
@@ -1,57 +0,0 @@
-// -*- c++ -*-
-// Copyright (C) 2004 EPITA Research and Development Laboratory
-//
-// This file is part of the Olena Library. This library is free
-// software; you can redistribute it and/or modify it under the terms
-// of the GNU General Public License version 2 as published by the
-// Free Software Foundation.
-//
-// This library 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 this library; see the file COPYING. If not, write to
-// the Free Software Foundation, 59 Temple Place - Suite 330, Boston,
-// MA 02111-1307, USA.
-//
-// As a special exception, you may use this file as part of a free
-// software library without restriction. Specifically, if other files
-// instantiate templates or use macros or inline functions from this
-// file, or you compile this file and link it with other files to
-// produce an executable, this file does not by itself cause the
-// resulting executable to be covered by the GNU General Public
-// License. This exception does not however invalidate any other
-// reasons why the executable file might be covered by the GNU General
-// Public License.
-
-#include "data.hh"
-#include <oln/utils/md5.hh>
-
-#include "check.hh"
-#include <oln/basics2d.hh>
-#include <oln/morpho/attribute_closing_opening.hh>
-#include <oln/level/compare.hh>
-#include <ntg/all.hh>
-#include <iostream>
-
-int main()
-{
-oln::utils::key::value_type data_key[16] = {0x62, 0x60, 0xf, 0xd3, 0xdf, 0xd2, 0xaf, 0x5d, 0x71, 0xf3, 0xeb, 0xe9, 0x31, 0x34, 0x53, 0x75};
-
-oln::utils::key key(data_key);
-
- typedef oln::image2d<ntg::
-int_u8> im_type;
- im_type im1(oln::load(rdata("lena256.pgm")));
- im1 = oln::morpho::fast::card_opening(im1, oln::neighb_c4(), 200);
- if (oln::utils::md5(im1) == key)
- std::cout << "OK" << std::endl;
-else
- {
- std::cout << "FAIL" << std::endl;
- return true;
- }
- return 0;
- }
Index:
olena/tests/morpho/tests/md5_morpho_attribute_closing_opening_light_hh0
--- olena/tests/morpho/tests/md5_morpho_attribute_closing_opening_light_hh0 Tue, 20 Apr 2004 15:16:21 +0200 van-vl_n (oln/l/45_md5_morpho 1.2 644)
+++ olena/tests/morpho/tests/md5_morpho_attribute_closing_opening_light_hh0 Fri, 16 Jul 2004 12:19:11 +0200 palma_g ()
@@ -1,57 +0,0 @@
-// -*- c++ -*-
-// Copyright (C) 2004 EPITA Research and Development Laboratory
-//
-// This file is part of the Olena Library. This library is free
-// software; you can redistribute it and/or modify it under the terms
-// of the GNU General Public License version 2 as published by the
-// Free Software Foundation.
-//
-// This library 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 this library; see the file COPYING. If not, write to
-// the Free Software Foundation, 59 Temple Place - Suite 330, Boston,
-// MA 02111-1307, USA.
-//
-// As a special exception, you may use this file as part of a free
-// software library without restriction. Specifically, if other files
-// instantiate templates or use macros or inline functions from this
-// file, or you compile this file and link it with other files to
-// produce an executable, this file does not by itself cause the
-// resulting executable to be covered by the GNU General Public
-// License. This exception does not however invalidate any other
-// reasons why the executable file might be covered by the GNU General
-// Public License.
-
-#include "data.hh"
-#include <oln/utils/md5.hh>
-
-#include "check.hh"
-#include <oln/basics2d.hh>
-#include <oln/morpho/attribute_closing_opening.hh>
-#include <oln/level/compare.hh>
-#include <ntg/all.hh>
-#include <iostream>
-
-int main()
-{
-oln::utils::key::value_type data_key[16] = {0xf, 0x6c, 0xa1, 0x5a, 0x98, 0x33, 0xeb, 0xbe, 0xb, 0x60, 0x7, 0xb3, 0xca, 0x5d, 0x44, 0xe};
-
-oln::utils::key key(data_key);
-
- typedef oln::image2d<ntg::
-int_u8> im_type;
- im_type im1(oln::load(rdata("lena256.pgm")));
- im1 = oln::morpho::fast::card_closing(im1, oln::neighb_c4(), 200);
- if (oln::utils::md5(im1) == key)
- std::cout << "OK" << std::endl;
-else
- {
- std::cout << "FAIL" << std::endl;
- return true;
- }
- return 0;
- }
--
Giovanni Palma
EPITA - promo 2005 - membre d'EpX - LRDE
Mob. : +33 (0)6 60 97 31 74
"Shouldn't such a massive change be reflected in NEWS? Are you working
on the documentation and test suite too?"
(Copyright Akim)
This is true for shaplets AND for deconvolution.
Reply "ok" once it is done.
Thanks.
--
Niels
Index: olena/ChangeLog
from Roland Levillain <roland(a)lrde.epita.fr>
* oln/level/threshold.hh: Fix argument description in ctor
documentation.
* oln/level/cc.hh: Typos in documentation.
Index: olena/oln/level/cc.hh
--- olena/oln/level/cc.hh Fri, 02 Apr 2004 16:00:03 +0200 van-vl_n (oln/e/20_cc.hh 1.11.1.16 640)
+++ olena/oln/level/cc.hh Tue, 27 Jul 2004 17:19:32 +0200 levill_r (oln/e/20_cc.hh 1.11.1.16 640)
@@ -58,8 +58,8 @@
** \pre the input must be a binary image.
**
** \arg input Image of markers.
- ** \arg se Neighbourhood.
- ** \arg nb_label Returns the number of label (optional).
+ ** \arg se Neighborhood.
+ ** \arg nb_label Returns the number of labels (optional).
**
** \return An image of type \a DestType.
**
Index: olena/oln/level/threshold.hh
--- olena/oln/level/threshold.hh Sun, 14 Mar 2004 18:21:09 +0100 palma_g (oln/f/15_threshold. 1.14 640)
+++ olena/oln/level/threshold.hh Tue, 27 Jul 2004 17:09:07 +0200 levill_r (oln/f/15_threshold. 1.14 640)
@@ -65,11 +65,11 @@
class threshold : public std::unary_function<const Input&, Output>
{
public:
- /*! \arg Threshold any value heigher or equal to this value will
- ** return \a min.
- ** \arg min Value returned if the input is smaller than threshold.
- ** \arg max Value returned if the input is greater or equal to the
- ** threshold.
+ /*! \arg threshold Any value greater or equal to this value will
+ ** return \a max.
+ ** \arg min Value returned if the input is lower than the threshold.
+ ** \arg max Value returned if the input is greater than or equal to
+ ** the threshold.
*/
threshold(const Input& threshold,
const Output& min = ntg_min_val(Output),
Index: olena/ChangeLog
from Roland Levillain <roland(a)lrde.epita.fr>
* oln/morpho/watershed.hh: Fix doc.
Index: olena/oln/morpho/watershed.hh
--- olena/oln/morpho/watershed.hh Mon, 12 Apr 2004 01:09:38 +0200 van-vl_n (oln/48_watershed. 1.15 640)
+++ olena/oln/morpho/watershed.hh Tue, 13 Jul 2004 15:07:02 +0200 levill_r (oln/48_watershed. 1.15 640)
@@ -58,7 +58,7 @@
** \param N Exact type of the neighborhood.
**
** \arg im_i Image of levels.
- ** \arg Ng Neighborhood to consider.
+ ** \arg Ng Connectivity of the basins.
**
** \pre DestValue should be large enough.
**
@@ -136,7 +136,7 @@
** \param N Exact type of the neighborhood.
**
** \arg input Image of levels.
- ** \arg Ng Neighborhood to consider.
+ ** \arg Ng Connectivity of the basins.
**
** \pre DestValue should be large enough.
**
@@ -215,7 +215,7 @@
**
** \arg D Input image.
** \arg M Image of labels.
- ** \arg Ng Neighborhood to consider.
+ ** \arg Ng Connectivity of the basins.
**
** \todo FIXME: Not instantiated in swilena (see
** tools/swilena/generate_morpho_instantiations.py)