* doc/examples/Makefile.am: fix the script comparing reference files
and new produced files.
* doc/examples/split/tuto3_first_routine-1.cc,
* doc/examples/split/tuto3_first_routine-5.cc,
* doc/figures/fill-subdomain-2.ppm,
* doc/figures/fill-subdomain-3.ppm,
* doc/figures/labeling-compute-2.ppm,
* doc/figures/tuto3_colorize-2.ppm,
* doc/figures/tuto4_genericity_and_algorithms-5.ppm: Update reference
files.
---
milena/ChangeLog | 16 ++++++++++++++++
milena/doc/examples/Makefile.am | 8 ++++----
milena/doc/examples/split/tuto3_first_routine-1.cc | 2 +-
milena/doc/examples/split/tuto3_first_routine-5.cc | 2 +-
milena/doc/figures/fill-subdomain-2.ppm | Bin 206 -> 206 bytes
milena/doc/figures/fill-subdomain-3.ppm | Bin 206 -> 206 bytes
milena/doc/figures/labeling-compute-2.ppm | Bin 206 -> 206 bytes
milena/doc/figures/tuto3_colorize-2.ppm | Bin 191 -> 191 bytes
.../figures/tuto4_genericity_and_algorithms-5.ppm | Bin 12406 -> 12406 bytes
9 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 9acd79e..04066f3 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,21 @@
2009-06-15 Guillaume Lazzara <guillaume.lazzara(a)lrde.epita.fr>
+ Update doc reference files.
+
+ * doc/examples/Makefile.am: fix the script comparing reference files
+ and new produced files.
+
+ * doc/examples/split/tuto3_first_routine-1.cc,
+ * doc/examples/split/tuto3_first_routine-5.cc,
+ * doc/figures/fill-subdomain-2.ppm,
+ * doc/figures/fill-subdomain-3.ppm,
+ * doc/figures/labeling-compute-2.ppm,
+ * doc/figures/tuto3_colorize-2.ppm,
+ * doc/figures/tuto4_genericity_and_algorithms-5.ppm: Update reference
+ files.
+
+2009-06-15 Guillaume Lazzara <guillaume.lazzara(a)lrde.epita.fr>
+
Make labeling::colorize deterministic.
* mln/labeling/colorize.hh: use our own random generator.
diff --git a/milena/doc/examples/Makefile.am b/milena/doc/examples/Makefile.am
index 66468bd..356336e 100644
--- a/milena/doc/examples/Makefile.am
+++ b/milena/doc/examples/Makefile.am
@@ -157,25 +157,25 @@ diff-data: run-examples split-examples
txtlist="$(OUTPUTS_BUILDDIR)/*.txt"; for txt in $$txtlist; do \
echo "Diff `basename $$txt`"; \
diff $$txt $(OUTPUTS_SRCDIR)/`basename $$txt` >/dev/null 2>&1 \
- || has_txt_diff+=" `basename $$txt`"; \
+ || has_txt_diff="$$has_txt_diff `basename $$txt`"; \
done; \
has_fig_diff=""; \
figlist="$(FIGURES_BUILDDIR)/*.p*m"; for fig in $$figlist; do \
echo "Diff `basename $$fig`"; \
diff $$fig $(FIGURES_SRCDIR)/`basename $$fig` >/dev/null 2>&1 \
- || has_fig_diff+=" `basename $$fig`"; \
+ || has_fig_diff="$$has_fig_diff `basename $$fig`"; \
done; \
has_split_out_diff=""; \
split_outlist="$(SPLIT_OUTPUTS_BUILDDIR)/*"; for split_out in $$split_outlist;
do \
echo "Diff `basename $$split_out`"; \
diff $$split_out $(SPLIT_OUTPUTS_SRCDIR)/`basename $$split_out` >/dev/null
2>&1 \
- || has_split_out_diff+=" `basename $$split_out`"; \
+ || has_split_out_diff="$$has_split_out_diff `basename $$split_out`"; \
done; \
has_split_ex_diff=""; \
split_exlist="$(SPLIT_EXAMPLES_BUILDDIR)/*"; for split_ex in $$split_exlist;
do \
echo "Diff `basename $$split_ex`"; \
diff $$split_ex $(SPLIT_EXAMPLES_SRCDIR)/`basename $$split_ex` >/dev/null
2>&1 \
- || has_split_ex_diff+=" `basename $$split_ex`"; \
+ || has_split_ex_diff="$$has_split_ex_diff `basename $$split_ex`"; \
done; \
(test -z "$$has_txt_diff" && test -z "$$has_fig_diff"
&& \
test -z "$$has_split_out_diff" && test -z
"$$has_split_ex_diff")\
diff --git a/milena/doc/examples/split/tuto3_first_routine-1.cc
b/milena/doc/examples/split/tuto3_first_routine-1.cc
index c9fd1ab..4470aa7 100644
--- a/milena/doc/examples/split/tuto3_first_routine-1.cc
+++ b/milena/doc/examples/split/tuto3_first_routine-1.cc
@@ -17,7 +17,7 @@ namespace mln
V nlabels;
mln_ch_value(I,V) lbl = labeling::blobs(ima, nbh, nlabels);
util::array<unsigned>
- count = labeling::compute(accu::meta::count(), lbl, nlabels);
+ count = labeling::compute(accu::meta::math::count(), lbl, nlabels);
mln_concrete(I) output;
initialize(output, ima);
diff --git a/milena/doc/examples/split/tuto3_first_routine-5.cc
b/milena/doc/examples/split/tuto3_first_routine-5.cc
index 998dc2d..3d16132 100644
--- a/milena/doc/examples/split/tuto3_first_routine-5.cc
+++ b/milena/doc/examples/split/tuto3_first_routine-5.cc
@@ -2,4 +2,4 @@
V nlabels;
mln_ch_value(I,V) lbl = labeling::blobs(ima, nbh, nlabels);
util::array<unsigned>
- count = labeling::compute(accu::meta::count(), lbl, nlabels);
+ count = labeling::compute(accu::meta::math::count(), lbl, nlabels);
diff --git a/milena/doc/figures/fill-subdomain-2.ppm
b/milena/doc/figures/fill-subdomain-2.ppm
index 7bfa0e4c45344b8acdbefee7347dd890f15031a2..c2b8ad5041095b3cbe001c4cdf880dda6c44fc1c
100644
GIT binary patch
delta 94
wcmX@dc#d&GdAMe82M{s902&u245BARZvY}7<GJ2y2p7Tza)AgU1r&h*00TJ{X#fBK
delta 94
wcmX@dc#d&GdARDibRc4Y0W>a57(^@2GzTIeBQhoo!iBJbTp)r-0YxAH0E}l4T>t<8
diff --git a/milena/doc/figures/fill-subdomain-3.ppm
b/milena/doc/figures/fill-subdomain-3.ppm
index 037dec623f7a3629cc0b4cc0523eb091071ccfc4..a59ff430a2ceecec3ffe82c0858b93d5020a8cf4
100644
GIT binary patch
delta 52
bcmX@dc#d(xLS4<?4j^KH0c18%42=r_FysgI
delta 52
bcmX@dc#d(xLS5B!=|IE)1ITQk7#bG<KUfH5
diff --git a/milena/doc/figures/labeling-compute-2.ppm
b/milena/doc/figures/labeling-compute-2.ppm
index 7bfa0e4c45344b8acdbefee7347dd890f15031a2..c2b8ad5041095b3cbe001c4cdf880dda6c44fc1c
100644
GIT binary patch
delta 94
wcmX@dc#d&GdAMe82M{s902&u245BARZvY}7<GJ2y2p7Tza)AgU1r&h*00TJ{X#fBK
delta 94
wcmX@dc#d&GdARDibRc4Y0W>a57(^@2GzTIeBQhoo!iBJbTp)r-0YxAH0E}l4T>t<8
diff --git a/milena/doc/figures/tuto3_colorize-2.ppm
b/milena/doc/figures/tuto3_colorize-2.ppm
index c7b0c0151897e22f7a089ef8d7f16af669a11061..391715375171f95fd9c18c45b748ce6691aff241
100644
GIT binary patch
delta 82
tcmdnbxSw%CiMMFU95~wgTo0Lz%w+%r6{)Z}@)kg{L$m~lfD8zNZ~^;{8@m7i
delta 82
zcmdnbxSw%CiMNP^6cG6-ZUrL6NoH^^kPSo^bCy960~l;Nc)c({6iB|;+5$vC1_VL4
E0GcWzGynhq
diff --git a/milena/doc/figures/tuto4_genericity_and_algorithms-5.ppm
b/milena/doc/figures/tuto4_genericity_and_algorithms-5.ppm
index caa01857a968090f4ef06142068aa3c47e3c090d..e7bf28faa4d0213c2d901b053b81fa36318c13c0
100644
GIT binary patch
literal 12406
zcmdUtv1%Px6h%|3cjLwbaS=7oNw9@+7qAHd2aE}BR6R!%Y)~Ze@(B13)TmMIKTxB_
zzv0Fo;ory!8y1^$@7$SrnU};yT=qR@pMBO`zZXXbUw1$DXZ>cq?N7Sb@4BDgp7v+!
z?z`2uUH4|Yy?FBA!TH~n)#>J>U-cJnx9in!o0xj`;-_DJ=w9}J^y|&9Z@Tr_N%yq>
zvp+q*_`N^dcF)(Z&m;7F^RD~m`OBxz4iAnVc1I5nzJK)S;PC3Q`uElRf7i#i@i%?0
zx|d?)gl?yOUftk#(VkkW>l>?j$|npBE(O`nscxtEKj(+DAx1x;I@^A<S>2DHJ~aH*
z?Otrms^w<%=v2cnD+F^@#FnUYR+lm;o32%7qew_q>^7*W2uvcSIWXIkXXuK5il~N^
zgQYDzQPerqRh_ib)~GNwD$0;@#68~iy6f<8#ZP6TU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