Commit dcccb9f5 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Cleanup scribo/src directory.

	* src/text/Makefile.am,
	* src/Makefile.am,
	* src/filter/Makefile.am,
	* src/table/Makefile.am,
	* src/preprocessing/Makefile.am: Add new targets.

	* src/dmap.cc,
	* src/extract/Makefile.am,
	* src/extract/Makefile.am,
	* src/extract/primitive/Makefile.am,
	* src/extract/primitive/Makefile.am,
	* src/extract/primitive/extract_discontinued_hlines.cc,
	* src/extract/primitive/extract_discontinued_lines.cc,
	* src/extract/primitive/extract_discontinued_vlines.cc,
	* src/extract/primitive/extract_thick_hlines.cc,
	* src/extract/primitive/extract_thick_vlines.cc,
	* src/extract/primitive/find_discontinued_lines.cc,
	* src/extract/primitive/find_pattern_lines.cc,
	* src/extract/primitive/find_single_lines.cc,
	* src/extract/primitive/find_thick_and_single_lines.cc,
	* src/extract/primitive/find_thick_lines.cc,
	* src/filter/large_objects.cc,
	* src/filter/small_objects.cc,
	* src/filter/thick_objects.cc,
	* src/filter/thin_objects.cc,
	* src/morpho.cc,
	* src/negate.cc,
	* src/preprocess.cc,
	* src/recognition.cc,
	* src/rectangularity.cc,
	* src/superpose.cc,
	* src/table_rebuild_opening.cc,
	* src/table_rebuild_rank.cc,
	* src/text/grouping/Makefile.am,
	* src/text/grouping/group_from_double_link.cc,
	* src/text/grouping/group_from_double_link_filter_non_aligned.cc,
	* src/text/grouping/group_from_double_several_links.cc,
	* src/text/grouping/group_from_graph.cc,
	* src/text/grouping/group_from_several_graph.cc,
	* src/text/grouping/group_from_several_left_links.cc,
	* src/text/grouping/group_from_single_link.cc: Move ...

	* src/filter/objects_large.cc,
	* src/filter/objects_small.cc,
	* src/filter/objects_thick.cc,
	* src/filter/objects_thin.cc,
	* src/misc/Makefile.am,
	* src/misc/dmap.cc,
	* src/misc/morpho.cc,
	* src/misc/negate.cc,
	* src/misc/rectangularity.cc,
	* src/misc/superpose.cc,
	* src/preprocessing/preprocess.cc,
	* src/primitive/Makefile.am,
	* src/primitive/extract/Makefile.am,
	* src/primitive/extract/extract_discontinued_hlines.cc,
	* src/primitive/extract/extract_discontinued_lines.cc,
	* src/primitive/extract/extract_discontinued_vlines.cc,
	* src/primitive/extract/extract_thick_hlines.cc,
	* src/primitive/extract/extract_thick_vlines.cc,
	* src/primitive/find/Makefile.am,
	* src/primitive/find/find_discontinued_lines.cc,
	* src/primitive/find/find_pattern_lines.cc,
	* src/primitive/find/find_single_lines.cc,
	* src/primitive/find/find_thick_and_single_lines.cc,
	* src/primitive/find/find_thick_lines.cc,
	* src/primitive/group/Makefile.am,
	* src/primitive/group/group_from_double_link.cc,
	* src/primitive/group/group_from_double_link_filter_non_aligned.cc,
	* src/primitive/group/group_from_double_several_links.cc,
	* src/primitive/group/group_from_graph.cc,
	* src/primitive/group/group_from_rag.cc,
	* src/primitive/group/group_from_several_graph.cc,
	* src/primitive/group/group_from_several_left_links.cc,
	* src/primitive/group/group_from_single_link.cc,
	* src/table/rebuild_opening.cc,
	* src/table/rebuild_rank.cc,
	* src/text/recognition.cc: ... here.

	* src/table_old.cc: Remove.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4559 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 203bb3cc
2009-09-28 Guillaume Lazzara <lazzara@lrde.epita.fr>
Cleanup scribo/src directory.
* src/text/Makefile.am,
* src/Makefile.am,
* src/filter/Makefile.am,
* src/table/Makefile.am,
* src/preprocessing/Makefile.am: Add new targets.
* src/dmap.cc,
* src/extract/Makefile.am,
* src/extract/Makefile.am,
* src/extract/primitive/Makefile.am,
* src/extract/primitive/Makefile.am,
* src/extract/primitive/extract_discontinued_hlines.cc,
* src/extract/primitive/extract_discontinued_lines.cc,
* src/extract/primitive/extract_discontinued_vlines.cc,
* src/extract/primitive/extract_thick_hlines.cc,
* src/extract/primitive/extract_thick_vlines.cc,
* src/extract/primitive/find_discontinued_lines.cc,
* src/extract/primitive/find_pattern_lines.cc,
* src/extract/primitive/find_single_lines.cc,
* src/extract/primitive/find_thick_and_single_lines.cc,
* src/extract/primitive/find_thick_lines.cc,
* src/filter/large_objects.cc,
* src/filter/small_objects.cc,
* src/filter/thick_objects.cc,
* src/filter/thin_objects.cc,
* src/morpho.cc,
* src/negate.cc,
* src/preprocess.cc,
* src/recognition.cc,
* src/rectangularity.cc,
* src/superpose.cc,
* src/table_rebuild_opening.cc,
* src/table_rebuild_rank.cc,
* src/text/grouping/Makefile.am,
* src/text/grouping/group_from_double_link.cc,
* src/text/grouping/group_from_double_link_filter_non_aligned.cc,
* src/text/grouping/group_from_double_several_links.cc,
* src/text/grouping/group_from_graph.cc,
* src/text/grouping/group_from_several_graph.cc,
* src/text/grouping/group_from_several_left_links.cc,
* src/text/grouping/group_from_single_link.cc: Move ...
* src/filter/objects_large.cc,
* src/filter/objects_small.cc,
* src/filter/objects_thick.cc,
* src/filter/objects_thin.cc,
* src/misc/Makefile.am,
* src/misc/dmap.cc,
* src/misc/morpho.cc,
* src/misc/negate.cc,
* src/misc/rectangularity.cc,
* src/misc/superpose.cc,
* src/preprocessing/preprocess.cc,
* src/primitive/Makefile.am,
* src/primitive/extract/Makefile.am,
* src/primitive/extract/extract_discontinued_hlines.cc,
* src/primitive/extract/extract_discontinued_lines.cc,
* src/primitive/extract/extract_discontinued_vlines.cc,
* src/primitive/extract/extract_thick_hlines.cc,
* src/primitive/extract/extract_thick_vlines.cc,
* src/primitive/find/Makefile.am,
* src/primitive/find/find_discontinued_lines.cc,
* src/primitive/find/find_pattern_lines.cc,
* src/primitive/find/find_single_lines.cc,
* src/primitive/find/find_thick_and_single_lines.cc,
* src/primitive/find/find_thick_lines.cc,
* src/primitive/group/Makefile.am,
* src/primitive/group/group_from_double_link.cc,
* src/primitive/group/group_from_double_link_filter_non_aligned.cc,
* src/primitive/group/group_from_double_several_links.cc,
* src/primitive/group/group_from_graph.cc,
* src/primitive/group/group_from_rag.cc,
* src/primitive/group/group_from_several_graph.cc,
* src/primitive/group/group_from_several_left_links.cc,
* src/primitive/group/group_from_single_link.cc,
* src/table/rebuild_opening.cc,
* src/table/rebuild_rank.cc,
* src/text/recognition.cc: ... here.
* src/table_old.cc: Remove.
2009-09-28 Guillaume Lazzara <lazzara@lrde.epita.fr>
Add new filters in Scribo.
......
......@@ -21,64 +21,48 @@ include $(top_srcdir)/scribo/scribo.mk
SUBDIRS = \
binarization \
extract \
primitive \
filter \
misc \
multi_scale \
preprocessing \
table \
text
bin_PROGRAMS = \
dmap \
morpho \
negate \
preprocess \
rectangularity \
superpose \
table_rebuild_opening \
table_rebuild_rank \
text_in_photo \
text_in_photo_ppm \
text_in_photo_invert \
thin_bboxes
text_in_photo_invert
dmap_SOURCES = dmap.cc
morpho_SOURCES = morpho.cc
negate_SOURCES = negate.cc
preprocess_SOURCES = preprocess.cc
rectangularity_SOURCES = rectangularity.cc
superpose_SOURCES = superpose.cc
table_rebuild_opening_SOURCES = table_rebuild_opening.cc
table_rebuild_rank_SOURCES = table_rebuild_rank.cc
text_in_photo_SOURCES = text_in_photo.cc
text_in_photo_ppm_SOURCES = text_in_photo_ppm.cc
text_in_photo_invert_SOURCES = text_in_photo_invert.cc
thin_bboxes_SOURCES = thin_bboxes.cc
if HAVE_TESSERACT
if HAVE_TIFF
bin_PROGRAMS += recognition
recognition_SOURCES = recognition.cc
recognition_CPPFLAGS = $(AM_CPPFLAGS) \
bin_PROGRAMS += text_in_doc
text_in_doc_SOURCES = text_in_doc.cc
text_in_doc_CPPFLAGS = $(AM_CPPFLAGS) \
$(TESSERACT_CPPFLAGS) \
$(TIFF_CPPFLAGS)
recognition_LDFLAGS = $(AM_LDFLAGS) \
text_in_doc_LDFLAGS = $(AM_LDFLAGS) \
$(TESSERACT_LDFLAGS) \
$(TIFF_LDFLAGS) \
-lpthread
-lpthread -lhpdf
bin_PROGRAMS += text_in_doc
text_in_doc_SOURCES = text_in_doc.cc
text_in_doc_CPPFLAGS = $(AM_CPPFLAGS) \
bin_PROGRAMS += text_in_doc_ppm
text_in_doc_ppm_SOURCES = text_in_doc_ppm.cc
text_in_doc_ppm_CPPFLAGS = $(AM_CPPFLAGS) \
$(TESSERACT_CPPFLAGS) \
$(TIFF_CPPFLAGS)
text_in_doc_LDFLAGS = $(AM_LDFLAGS) \
text_in_doc_ppm_LDFLAGS = $(AM_LDFLAGS) \
$(TESSERACT_LDFLAGS) \
$(TIFF_LDFLAGS) \
-lpthread
-lpthread -lhpdf
endif HAVE_TIFF
endif HAVE_TESSERACT
......@@ -20,12 +20,12 @@
include $(top_srcdir)/scribo/scribo.mk
bin_PROGRAMS = \
large_objects \
small_objects \
thick_objects \
thin_objects
objects_large \
objects_small \
objects_thick \
objects_thin
large_objects_SOURCES = large_objects.cc
small_objects_SOURCES = small_objects.cc
thick_objects_SOURCES = thick_objects.cc
thin_objects_SOURCES = thin_objects.cc
objects_large_SOURCES = objects_large.cc
objects_small_SOURCES = objects_small.cc
objects_thick_SOURCES = objects_thick.cc
objects_thin_SOURCES = objects_thin.cc
# Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE).
#
# This file is part of Olena.
#
# Olena 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, version 2 of the License.
#
# Olena 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 Olena. If not, see <http://www.gnu.org/licenses/>.
#
## Process this file through Automake to create Makefile.in.
include $(top_srcdir)/scribo/scribo.mk
bin_PROGRAMS = \
dmap \
morpho \
negate \
rectangularity \
superpose
dmap_SOURCES = dmap.cc
morpho_SOURCES = morpho.cc
negate_SOURCES = negate.cc
rectangularity_SOURCES = rectangularity.cc
superpose_SOURCES = superpose.cc
......@@ -20,8 +20,10 @@
include $(top_srcdir)/scribo/scribo.mk
bin_PROGRAMS = \
preprocess \
split_bg_fg \
unskew
preprocess_SOURCES = preprocess.cc
split_bg_fg_SOURCES = split_bg_fg.cc
unskew_SOURCES = unskew.cc
......@@ -20,4 +20,6 @@
include $(top_srcdir)/scribo/scribo.mk
SUBDIRS = \
primitive
extract \
find \
group
......@@ -25,22 +25,11 @@ bin_PROGRAMS = \
extract_discontinued_vlines \
extract_discontinued_hlines \
extract_thick_vlines \
extract_thick_hlines \
find_discontinued_lines \
find_pattern_lines \
find_single_lines \
find_thick_lines \
find_thick_and_single_lines
extract_thick_hlines
extract_discontinued_lines_SOURCES = extract_discontinued_lines.cc
extract_discontinued_vlines_SOURCES = extract_discontinued_vlines.cc
extract_discontinued_hlines_SOURCES = extract_discontinued_hlines.cc
extract_thick_vlines_SOURCES = extract_thick_vlines.cc
extract_thick_hlines_SOURCES = extract_thick_hlines.cc
find_discontinued_lines_SOURCES = find_discontinued_lines.cc
find_pattern_lines_SOURCES = find_pattern_lines.cc
find_single_lines_SOURCES = find_single_lines.cc
find_thick_lines_SOURCES = find_thick_lines.cc
find_thick_and_single_lines_SOURCES = find_thick_and_single_lines.cc
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment