* dalila/Makefile,
* dalila/photo.cc,
* dalila/plop.cc,
* dalila/start.sh,
* dalila/table.cc: Delete.
---
milena/sandbox/ChangeLog | 10 ++++++
milena/sandbox/dalila/Makefile | 18 -----------
milena/sandbox/dalila/photo.cc | 64 --------------------------------------
milena/sandbox/dalila/plop.cc | 19 -----------
milena/sandbox/dalila/start.sh | 44 --------------------------
milena/sandbox/dalila/table.cc | 66 ----------------------------------------
6 files changed, 10 insertions(+), 211 deletions(-)
delete mode 100644 milena/sandbox/dalila/Makefile
delete mode 100644 milena/sandbox/dalila/photo.cc
delete mode 100644 milena/sandbox/dalila/plop.cc
delete mode 100755 milena/sandbox/dalila/start.sh
delete mode 100644 milena/sandbox/dalila/table.cc
diff --git a/milena/sandbox/ChangeLog b/milena/sandbox/ChangeLog
index 216b67c..089a6f4 100644
--- a/milena/sandbox/ChangeLog
+++ b/milena/sandbox/ChangeLog
@@ -1,3 +1,13 @@
+2009-07-03 Guillaume Lazzara <lazzara(a)lrde.epita.fr>
+
+ Delete Dalila's sandbox.
+
+ * dalila/Makefile,
+ * dalila/photo.cc,
+ * dalila/plop.cc,
+ * dalila/start.sh,
+ * dalila/table.cc: Delete.
+
2009-07-01 Guillaume Lazzara <lazzara(a)lrde.epita.fr>
Add new programs to extract data from microfilms.
diff --git a/milena/sandbox/dalila/Makefile b/milena/sandbox/dalila/Makefile
deleted file mode 100644
index 7ab2b0a..0000000
--- a/milena/sandbox/dalila/Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
-OLENA_INCLUDE_PATH=../../../
-CXXFLAGS=-I$(OLENA_INCLUDE_PATH) -ggdb3 -Wall -O1 -DNDEBUG
-
-all: photo table
-
-photo: demat.hh photo.cc
- g++ $(CXXFLAGS) photo.cc -o photo
-
-table: demat.hh table.cc
- g++ $(CXXFLAGS) table.cc -o table
-
-dclean: clean
- rm -f photo
- rm -f table
-
-clean:
- rm -f *.pbm *.pgm *.ppm
-
diff --git a/milena/sandbox/dalila/photo.cc b/milena/sandbox/dalila/photo.cc
deleted file mode 100644
index 118411b..0000000
--- a/milena/sandbox/dalila/photo.cc
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright (C) 2008 EPITA Research and Development Laboratory
-//
-// This file is part of the Milena 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, 51 Franklin Street, Fifth Floor,
-// 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 "demat.hh"
-
-int main(int argc, char*argv[])
-{
- using namespace mln;
- using value::int_u8;
-
- if (argc < 2)
- {
- std::cout << argv[0] << " <in.pbm> <out.pgm> <l>
<bbox_larger> <bbox_distance> <min_comp_nsites>" <<
std::endl
- << std::endl << std::endl
- << std::endl
- << "=========="
- << std::endl << std::endl
- << "<in.pbm> B/W inverted input image."
- << std::endl << std::endl
-/* << "<out.ppm> RGB8 output image."
- << std::endl << std::endl
- << "<bbox_distance> Maximum distance between character
bounding boxes. Used for bbox grouping."
- << std::endl << std::endl
- << "<min_comp_nsites> Minimum site count of a character/text
component."
- << std::endl
- << " If a component have a site count lesser than this value, it
is erased."
- << std::endl << std::endl
- << std::endl*/
- << "=========="
- << std::endl << std::endl
- << "HINT: compile with -DNOUT to avoid debug images."
- << std::endl << std::endl;
- return 1;
- }
-
- scribo::demat(argv, false);
-
- return 0;
-}
diff --git a/milena/sandbox/dalila/plop.cc b/milena/sandbox/dalila/plop.cc
deleted file mode 100644
index a4c284d..0000000
--- a/milena/sandbox/dalila/plop.cc
+++ /dev/null
@@ -1,19 +0,0 @@
-#include <mln/essential/2d.hh>
-
-int main()
-{
- using namespace mln;
-
- image2d<bool> ima1(2, 3);
- image2d<bool> ima2(2, 3);
-
- data::fill(ima1, 2);
- data::fill(ima2, 3);
-
-// debug::println(ima1);
-// debug::println(ima2);
-
-// debug::println(ima2 - ima1);
-// debug::println(arith::minus(ima2, ima1));
- ima1 * ima2;
-}
diff --git a/milena/sandbox/dalila/start.sh b/milena/sandbox/dalila/start.sh
deleted file mode 100755
index de4840c..0000000
--- a/milena/sandbox/dalila/start.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-
-out_location="./images-out"
-
-treat_file()
-{
- file=$1
- shift
- echo "-------------------------"
- echo " * Processing $file..."
- echo " => Running: $1 $file"
- echo "-------------------------"
- d1=`date +%s`
- time $1 $file
- d2=`date +%s`
- echo ""
- dstdir="$out_location/`basename $file .pbm`"
- echo "Moving output files to $dstdir..."
- mkdir -p $dstdir
- mv -f *.pbm $dstdir 2>/dev/null
- mv -f *.ppm $dstdir 2>/dev/null
- mv -f *.pgm $dstdir 2>/dev/null
- echo ""
-}
-
-treat_dir()
-{
- for file in $2/*; do
- treat_file $file $1
- done
-}
-
-rm -f *.pbm *.ppm *.pgm
-make
-
-# Traite une seule image
-# Usage: ./starh.sh <file.pbm> <table | photo>
-if [ $# -eq 2 ]; then
- treat_file $1 ./$2
-else
-# Traite toutes les images
- treat_dir ./table ./images/factures
- treat_dir ./photo ./images/photos
-fi
diff --git a/milena/sandbox/dalila/table.cc b/milena/sandbox/dalila/table.cc
deleted file mode 100644
index 76faf57..0000000
--- a/milena/sandbox/dalila/table.cc
+++ /dev/null
@@ -1,66 +0,0 @@
-// Copyright (C) 2008 EPITA Research and Development Laboratory
-//
-// This file is part of the Milena 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, 51 Franklin Street, Fifth Floor,
-// 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 "demat.hh"
-
-int main(int argc, char*argv[])
-{
- using namespace mln;
- using value::int_u8;
-
- if (argc < 2)
- {
- std::cout << argv[0] << " <in.pbm> <out.pgm> <l>
<bbox_larger> <bbox_distance> <min_comp_nsites>" <<
std::endl
- << std::endl << std::endl
- << std::endl
- << "=========="
- << std::endl << std::endl
- << "<in.pbm> B/W inverted input image."
- << std::endl << std::endl
-/* << "<out.ppm> RGB8 output image."
- << std::endl << std::endl
- << "<l> Line length"
- << std::endl << std::endl
- << "<bbox_distance> Maximum distance between character
bounding boxes. Used for bbox grouping."
- << std::endl << std::endl
- << "<min_comp_nsites> Minimum site count of a character/text
component."
- << std::endl
- << " If a component have a site count lesser than this value, it
is erased."
- << std::endl << std::endl
- << std::endl*/
- << "=========="
- << std::endl << std::endl
- << "HINT: compile with -DNOUT to avoid debug images."
- << std::endl << std::endl;
- return 1;
- }
-
- scribo::demat(argv, true);
-
- return 0;
-}
--
1.5.6.5