Commit 3c0fa701 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Remove scribo/sandbox.

	* sandbox/ChangeLog,
	* sandbox/z/sauvola_ms_rv/dump_color_sign.cc,
	* sandbox/z/sauvola_ms_rv/img/001.pgm,
	* sandbox/z/sauvola_ms_rv/img/001_i.pgm,
	* sandbox/z/sauvola_ms_rv/img/002.pgm,
	* sandbox/z/sauvola_ms_rv/img/002_i.pgm,
	* sandbox/z/sauvola_ms_rv/img/003.pgm,
	* sandbox/z/sauvola_ms_rv/img/003_i.pgm,
	* sandbox/z/sauvola_ms_rv/img/004.pgm,
	* sandbox/z/sauvola_ms_rv/img/004_i.pgm,
	* sandbox/z/sauvola_ms_rv/img/005.pgm,
	* sandbox/z/sauvola_ms_rv/img/005_i.pgm,
	* sandbox/z/sauvola_ms_rv/img/006.pgm,
	* sandbox/z/sauvola_ms_rv/img/006_i.pgm,
	* sandbox/z/sauvola_ms_rv/img/007.pgm,
	* sandbox/z/sauvola_ms_rv/img/007_i.pgm,
	* sandbox/z/sauvola_ms_rv/img/008.pgm,
	* sandbox/z/sauvola_ms_rv/img/008_i.pgm,
	* sandbox/z/sauvola_ms_rv/img/009.pgm,
	* sandbox/z/sauvola_ms_rv/img/009_i.pgm,
	* sandbox/z/sauvola_ms_rv/img/010.pgm,
	* sandbox/z/sauvola_ms_rv/img/010_i.pgm,
	* sandbox/z/sauvola_ms_rv/img/011.pgm,
	* sandbox/z/sauvola_ms_rv/img/011_i.pgm,
	* sandbox/z/sauvola_ms_rv/img/012.pgm,
	* sandbox/z/sauvola_ms_rv/img/012_i.pgm,
	* sandbox/z/sauvola_ms_rv/img/013.pgm,
	* sandbox/z/sauvola_ms_rv/img/013_i.pgm,
	* sandbox/z/sauvola_ms_rv/img/014.pgm,
	* sandbox/z/sauvola_ms_rv/img/014_i.pgm,
	* sandbox/z/sauvola_ms_rv/img/015.pgm,
	* sandbox/z/sauvola_ms_rv/mp00082c_crop.pgm,
	* sandbox/z/sauvola_ms_rv/pbm_color_diff.cc,
	* sandbox/z/sauvola_ms_rv/pgm_color_diff.cc,
	* sandbox/z/sauvola_ms_rv/pgm_local_mean.cc,
	* sandbox/z/sauvola_ms_rv/ppm_influence_zone_geodesic.cc,
	* sandbox/z/sauvola_ms_rv/skewness.cc,
	* sandbox/z/sauvola_ms_rv/skewness/integral_browsing_rv.hh,
	* sandbox/z/sauvola_ms_rv/skewness/skewness2.cc: Remove.
parent 1f8a77c5
2013-03-07 Guillaume Lazzara <z@lrde.epita.fr>
Remove scribo/sandbox.
* sandbox/ChangeLog,
* sandbox/z/sauvola_ms_rv/dump_color_sign.cc,
* sandbox/z/sauvola_ms_rv/img/001.pgm,
* sandbox/z/sauvola_ms_rv/img/001_i.pgm,
* sandbox/z/sauvola_ms_rv/img/002.pgm,
* sandbox/z/sauvola_ms_rv/img/002_i.pgm,
* sandbox/z/sauvola_ms_rv/img/003.pgm,
* sandbox/z/sauvola_ms_rv/img/003_i.pgm,
* sandbox/z/sauvola_ms_rv/img/004.pgm,
* sandbox/z/sauvola_ms_rv/img/004_i.pgm,
* sandbox/z/sauvola_ms_rv/img/005.pgm,
* sandbox/z/sauvola_ms_rv/img/005_i.pgm,
* sandbox/z/sauvola_ms_rv/img/006.pgm,
* sandbox/z/sauvola_ms_rv/img/006_i.pgm,
* sandbox/z/sauvola_ms_rv/img/007.pgm,
* sandbox/z/sauvola_ms_rv/img/007_i.pgm,
* sandbox/z/sauvola_ms_rv/img/008.pgm,
* sandbox/z/sauvola_ms_rv/img/008_i.pgm,
* sandbox/z/sauvola_ms_rv/img/009.pgm,
* sandbox/z/sauvola_ms_rv/img/009_i.pgm,
* sandbox/z/sauvola_ms_rv/img/010.pgm,
* sandbox/z/sauvola_ms_rv/img/010_i.pgm,
* sandbox/z/sauvola_ms_rv/img/011.pgm,
* sandbox/z/sauvola_ms_rv/img/011_i.pgm,
* sandbox/z/sauvola_ms_rv/img/012.pgm,
* sandbox/z/sauvola_ms_rv/img/012_i.pgm,
* sandbox/z/sauvola_ms_rv/img/013.pgm,
* sandbox/z/sauvola_ms_rv/img/013_i.pgm,
* sandbox/z/sauvola_ms_rv/img/014.pgm,
* sandbox/z/sauvola_ms_rv/img/014_i.pgm,
* sandbox/z/sauvola_ms_rv/img/015.pgm,
* sandbox/z/sauvola_ms_rv/mp00082c_crop.pgm,
* sandbox/z/sauvola_ms_rv/pbm_color_diff.cc,
* sandbox/z/sauvola_ms_rv/pgm_color_diff.cc,
* sandbox/z/sauvola_ms_rv/pgm_local_mean.cc,
* sandbox/z/sauvola_ms_rv/ppm_influence_zone_geodesic.cc,
* sandbox/z/sauvola_ms_rv/skewness.cc,
* sandbox/z/sauvola_ms_rv/skewness/integral_browsing_rv.hh,
* sandbox/z/sauvola_ms_rv/skewness/skewness2.cc: Remove.
2013-03-07 Guillaume Lazzara <z@lrde.epita.fr>
* tests/unit_test/unit-tests.mk: Update.
......
2012-08-23 Guillaume Lazzara <z@lrde.epita.fr>
New tools.
* z/sauvola_ms_rv/pbm_color_diff.cc,
* z/sauvola_ms_rv/pgm_color_diff.cc: New.
2012-08-23 Guillaume Lazzara <z@lrde.epita.fr>
* z/sauvola_ms_rv/dump_color_sign.cc: New.
2012-08-23 Guillaume Lazzara <z@lrde.epita.fr>
Add test images.
* z/sauvola_ms_rv/img/001.pgm,
* z/sauvola_ms_rv/img/001_i.pgm,
* z/sauvola_ms_rv/img/002.pgm,
* z/sauvola_ms_rv/img/002_i.pgm,
* z/sauvola_ms_rv/img/003.pgm,
* z/sauvola_ms_rv/img/003_i.pgm,
* z/sauvola_ms_rv/img/004.pgm,
* z/sauvola_ms_rv/img/004_i.pgm,
* z/sauvola_ms_rv/img/005.pgm,
* z/sauvola_ms_rv/img/005_i.pgm,
* z/sauvola_ms_rv/img/006.pgm,
* z/sauvola_ms_rv/img/006_i.pgm,
* z/sauvola_ms_rv/img/007.pgm,
* z/sauvola_ms_rv/img/007_i.pgm,
* z/sauvola_ms_rv/img/008.pgm,
* z/sauvola_ms_rv/img/008_i.pgm,
* z/sauvola_ms_rv/img/009.pgm,
* z/sauvola_ms_rv/img/009_i.pgm,
* z/sauvola_ms_rv/img/010.pgm,
* z/sauvola_ms_rv/img/010_i.pgm,
* z/sauvola_ms_rv/img/011.pgm,
* z/sauvola_ms_rv/img/011_i.pgm,
* z/sauvola_ms_rv/img/012.pgm,
* z/sauvola_ms_rv/img/012_i.pgm,
* z/sauvola_ms_rv/img/013.pgm,
* z/sauvola_ms_rv/img/013_i.pgm,
* z/sauvola_ms_rv/img/014.pgm,
* z/sauvola_ms_rv/img/014_i.pgm,
* z/sauvola_ms_rv/img/015.pgm,
* z/sauvola_ms_rv/mp00082c_crop.pgm: New.
2012-08-23 Guillaume Lazzara <z@lrde.epita.fr>
* z/sauvola_ms_rv/skewness/skewness2.cc: Retrieve skewness debug
image.
2012-08-23 Guillaume Lazzara <z@lrde.epita.fr>
* z/sauvola_ms_rv/skewness/skewness2.cc: Fix calls to sauvola.
2012-08-23 Guillaume Lazzara <z@lrde.epita.fr>
Add new tools.
* z/sauvola_ms_rv/pgm_color_diff.cc,
* z/sauvola_ms_rv/pgm_local_mean.cc,
* z/sauvola_ms_rv/ppm_influence_zone_geodesic.cc: New.
2012-08-23 Guillaume Lazzara <z@lrde.epita.fr>
Rename skewness directory and share code between implementations.
* z/skewness/skewness.cc,
* z/skewness/skewness2.cc: Move...
* z/sauvola_ms_rv/skewness.cc,
* z/sauvola_ms_rv/skewness/skewness2.cc: ... Here.
* z/sauvola_ms_rv/skewness/integral_browsing_rv.hh: Share code
between the two implementations.
2012-08-23 Guillaume Lazzara <z@lrde.epita.fr>
* z/skewness/skewness2.cc: New.
2012-08-23 Guillaume Lazzara <z@lrde.epita.fr>
* z/skewness/skewness.cc: New.
2010-11-25 Guillaume Lazzara <z@lrde.epita.fr>
Fix encoding issues in xml_transform.
* arthur/xml_transform/image_crop.cc,
* arthur/xml_transform/loader.cc: Explicitly use UTF-8.
2010-11-18 Guillaume Lazzara <z@lrde.epita.fr>
Improve image cropping in xml_transform.
* arthur/xml_transform/image_crop.cc,
* arthur/xml_transform/image_crop.hh: Load the input image only
once.
* arthur/xml_transform/main.cc: Undef MLN_WO_GLOBAL_VARS macro.
* arthur/xml_transform/xml_transform.pro: Enable
MLN_WO_GLOBAL_VARS macro.
2010-09-02 Guillaume Lazzara <z@lrde.epita.fr>
* arthur/xml_transform/xml_transform.pro: Define NDEBUG at compile
time.
2010-09-02 Guillaume Lazzara <z@lrde.epita.fr>
Add missing const references to function arguments.
* arthur/xml_transform/common.cc,
* arthur/xml_transform/common.hh,
* arthur/xml_transform/image_crop.cc,
* arthur/xml_transform/image_crop.hh,
* arthur/xml_transform/loader.cc,
* arthur/xml_transform/loader.hh,
* arthur/xml_transform/main.cc,
* arthur/xml_transform/xml_transform.cc,
* arthur/xml_transform/xml_transform.hh: Here.
2010-08-06 Arthur Crepin-Leblond <crepin@lrde.epita.fr>
Open Document bug warning.
* arthur/xml_transform/README
* arthur/xml_transform/main.cc
* arthur/xml_transform/TODO: New.
2010-08-06 Arthur Crepin-Leblond <crepin@lrde.epita.fr>
Fix man error.
* arthur/xml_transform/README
* arthur/xml_transform/main.cc
2010-08-05 Arthur Crepin-Leblond <crepin@ptaouchnok.lrde.epita.fr@>
Output change in xml_tranform.
* arthur/xml_transform/README
* arthur/xml_transform/templates/opendoc/xsl.xsl
* arthur/xml_transform/templates/pdf/main.xsl
* arthur/xml_transform/templates/pdf/regions.xsl
* arthur/xml_transform/image_crop.cc,
* arthur/xml_transform/image_crop.hh: Change ppm loader to magick loader.
* arthur/xml_transform/main.cc: Change man.
* arthur/xml_transform/templates/pdf/main_crop_64.xsl,
* arthur/xml_transform/templates/pdf/regions_base64.xsl,
* arthur/xml_transform/templates/pdf/regions_png.xsl,
* arthur/xml_transform/templates/html/html_generator.sh,
* arthur/xml_transform/templates/pdf/svg_generator.sh,
* arthur/xml_transform/templates/pdf/pdf_generator.sh: Delete.
* arthur/xml_transform/templates/html/xsl.xsl: Rename as...
* thur/xml_transform/templates/html/main.xsl: ...This.
* arthur/xml_transform/templates/html/xsl_base64.xsl: Rename as...
* arthur/xml_transform/templates/html/main.xsl: ...This.
* arthur/xml_transform/templates/pdf/regions_svg.xsl: Rename as...
* arthur/xml_transform/templates/svg/regions.xsl: ...This.
* arthur/xml_transform/templates/xml_transform.sh,
* arthur/xml_transform/templates/svg/line.xsl,
* arthur/xml_transform/templates/ooconvert,
* arthur/xml_transform/templates/pdf/full/line.xsl: New.
* arthur/xml_transform/xml_transform.cc,
* arthur/xml_transform/xml_transform.hh: Change output.
* arthur/xml_transform/xml_transform.pro: Add QMAKE_POST_LINK.
2010-07-23 Arthur Crepin-Leblond <crepin@lrde.epita.fr>
OpenDocument output (odt and odf).
* arthur/xml_transform/templates/opendoc/css.css,
* arthur/xml_transform/templates/opendoc/opendoc_generator.sh,
* arthur/xml_transform/templates/opendoc/xsl.xsl: New.
* arthur/xml_transform/README
* arthur/xml_transform/loader.cc
* arthur/xml_transform/loader.hh
* arthur/xml_transform/main.cc
* arthur/xml_transform/xml_transform.cc
* arthur/xml_transform/xml_transform.hh
2010-07-22 Arthur Crepin-Leblond <crepin@lrde.epita.fr>
SVG output.
* arthur/xml_transform/README
* arthur/xml_transform/loader.cc
* arthur/xml_transform/loader.hh
* arthur/xml_transform/main.cc
* arthur/xml_transform/xml_transform.cc
* arthur/xml_transform/xml_transform.hh
* arthur/xml_transform/templates/pdf/regions_svg.xsl,
* arthur/xml_transform/templates/pdf/svg_generator.sh: New.
2010-07-15 Arthur Crepin-Leblond <crepin@stockholm.lrde.epita.fr>
XML Tranform.
* arthur/xml_transform/xml_transform.cc,
* arthur/xml_transform/xml_transform.hh: Facade.
* arthur/xml_transform/image_crop.cc,
* arthur/xml_transform/image_crop.hh: Image process.
* arthur/xml_transform/loader.cc,
* arthur/xml_transform/loader.hh: XML loader.
* arthur/xml_transform/main.cc
* arthur/xml_transform/templates/html/xsl.xsl
* arthur/xml_transform/xml_transform.pro
* arthur/xml_transform/README
* arthur/xml_transform/common.cc,
* arthur/xml_transform/common.hh,
* arthur/xml_transform/templates/html/xsl_base64.xsl,
* arthur/xml_transform/templates/pdf/main64.xsl,
* arthur/xml_transform/templates/pdf/regions_base64.xsl: New.
* arthur/xml_transform/domitem.cc,
* arthur/xml_transform/domitem.hh,
* arthur/xml_transform/dommodel.cc,
* arthur/xml_transform/dommodel.hh: Delete.
* arthur/xml_transform/templates/pdf/regions.xsl: Rename as...
* arthur/xml_transform/templates/pdf/regions_png.xsl:...this.
2010-07-08 Arthur Crepin-Leblond <crepin@lrde.epita.fr>
XML transform program.
* arthur/xml_to_html/xml_to_html.hh,
* arthur/xml_to_html/xml_to_html.cc,
* arthur/xml_to_html/xml_to_html.pro: Remove.
* arthur/xml_to_html/README,
* arthur/xml_to_html/main.cc,
* arthur/xml_to_html/domitem.cc,
* arthur/xml_to_html/domitem.hh,
* arthur/xml_to_html/dommodel.cc,
* arthur/xml_to_html/dommodel.hh: Move to...
* arthur/xml_transform/README,
* arthur/xml_transform/main.cc,
* arthur/xml_transform/domitem.cc,
* arthur/xml_transform/domitem.hh,
* arthur/xml_transform/dommodel.cc,
* arthur/xml_transform/dommodel.hh: ...this.
* arthur/xml_to_html/patterns/css.css,
* arthur/xml_to_html/patterns/xsl.xsl: Move to...
* arthur/xml_transform/templates/html/css.css,
* arthur/xml_transform/templates/html/xsl.xsl: ...this.
* arthur/xml_transform/image_crop.cc,
* arthur/xml_transform/loader.cc: New.
* arthur/xml_transform/templates/html/html_generator.sh,
* arthur/xml_transform/templates/pdf/line.xsl,
* arthur/xml_transform/templates/pdf/main.xsl,
* arthur/xml_transform/templates/pdf/main_crop.xsl,
* arthur/xml_transform/templates/pdf/pdf_generator.sh,
* arthur/xml_transform/templates/pdf/regions.xsl,
* arthur/xml_transform/xml_transform.pro: New.
2010-07-05 Arthur Crepin-Leblond <crepin@lrde.epita.fr>
ICDAR XML to HTML.
* arthur/xml_to_html/domitem.cc,
* arthur/xml_to_html/domitem.hh.,
* arthur/xml_to_html/dommodel.cc,
* arthur/xml_to_html/dommodel.hh: XML parsing.
* arthur/xml_to_html/patterns/css.css,
* arthur/xml_to_html/patterns/xsl.xsl: HTML patterns.
* arthur/xml_to_html/xml_to_html.cc,
* arthur/xml_to_html/xml_to_html.hh: Image croping and XML merging.
* arthur/xml_to_html/README
* arthur/xml_to_html/xml_to_html.pro
* arthur/xml_to_html/main.cc
2010-06-25 Guillaume Lazzara <z@lrde.epita.fr>
Add algorithms to retrieve white spaces.
* white_space/white_spaces.cc: Move...
* z/white_space/white_spaces.cc: ... Here. Improve speed.
* z/white_spaces/hom_sep.cc,
* z/white_space/white_space_closing.cc: New. Other approaches.
#include <mln/core/concept/function.hh>
#include <mln/core/image/image2d.hh>
#include <mln/value/rgb8.hh>
#include <mln/io/dump/load.hh>
#include <mln/io/ppm/save.hh>
#include <mln/data/transform.hh>
#include <mln/data/stretch.hh>
#include <mln/arith/minus.hh>
namespace mln
{
struct color_diff : Function_v2v<color_diff>
{
typedef value::rgb8 result;
value::rgb8 operator()(const int& v) const
{
int v_d2 = std::abs(v) * 0.0001;
if (v < 0)
return value::rgb8(128 + v_d2, v_d2, v_d2);
else if (v > 0)
return value::rgb8(v_d2, 128 + v_d2, v_d2);
else
return value::rgb8(255, 255, 255);
}
};
}
int main(int argc, char *argv[])
{
using namespace mln;
if (argc != 3)
{
std::cout << "Usage: " << argv[0] << " in.dump out.ppm" << std::endl;
return 1;
}
image2d<double> input;
io::dump::load(input, argv[1]);
color_diff f;
image2d<value::rgb8> result = data::transform(input, f);
io::ppm::save(result, argv[2]);
}
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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