Newer
Older
2002-11-06 Jean-Sbastien Mouret <js@lrde.epita.fr>
* oln/utils/copy.hh: New file.
2002-11-04 Rda Dehak <reda@lrde.epita.fr>
* oln/types/int_u.hh: Remove formatting options in redirection
operator <<.
* oln/types/int_s.hh: Likewise.
* oln/core/internal/real_image2d.hh: Add formatting options in
redirection operator << before writting elements to have a good
representation of the image.
* oln/core/internal/real_image3d.hh: Likewise.
2002-11-04 Rda Dehak <reda@lrde.epita.fr>
* oln/core/neighborhood1d.hh: Fix add method, neighborhood1d is
// Neighborhoods
// =============
// These objects are like Windows, except they have
// some additional properties (a point is not in its neighborhood,
// the neighbor of a point should have the point in its neighborhood).
// For this reason, they have types distinct from the windows:
// neighborhood1d, neighborhood2d, neighborhood3d.
// The interface is just the same as the windows.
So a neighborhood was a symetric windows widthout the center.
Fix neighb_c2() and mk_neighb_segment() : now, the symetric
dpoint is automatically added by add method.
* oln/core/neighborhood2d.hh: Likewise for add(), neighb_c4(),
neighb_c8() and mk_neighb_rectangle() methods.
* oln/core/neighborhood3d.hh: Likewise for add(), neighb_c6(),
neighb_c18(), neighb_c26() and mk_neighb_block() methods.
2002-10-25 Reda Dehak <reda@lrde.epita.fr>
* oln/core/neighborhood1d.hh: Fix add method.
* oln/core/neighborhood2d.hh: Likewise.
* oln/core/neighborhood3d.hh: Likewise.
2002-10-01 Emmanuel Turquin <turqui_e@epita.fr>
* oln/io/pnm_read_common.hxx: Change int_u<N> to int_u<N, behaviour>.
* oln/io/pnm_read.hxx: Likewise.
* oln/io/pnm_write_common.hxx: Likewise.
* oln/io/pnm_write.hxx: Likewise.
* oln/types/behaviour.hh: Fix a problem with the saturate behaviour
which caused 0 - 0 to be evaluated to optraits<T>::max().
* oln/transform/fft.hh: Fix a template problem in call to
transform_inv.
2002-09-30 Nicolas Burrus <burrus_n@lrde.epita.fr>
* demo/Makefile.am: Remove -DNDEBUG by default.
* demo/morpholena.cc, demo/tour.cc, oln/arith/internal/opdecls.hh,
* demo/test-reconstruction.cc: Fix includes and namespaces.
* oln/Makefile.am: Remove old value headers, add new headers.
* oln/core/type.hh: Add helper for static_hierarchy : select_self.
* oln/io/pnm_read3d.hxx, oln/io/pnm_read_common.hxx,
oln/io/pnm_read.hxx, oln/io/pnm_write3d.hxx,
oln/io/pnm_write_common.hxx, oln/io/pnm_write.hxx: Enable colors.
* oln/transform/fft.hh: Fix includes.
* oln/types/all.hh: Add colors headers, optraits_builtins.hh,
typetraits_builtins.hh, cast.hh.
* oln/types/behaviour.hh: Fix times check problem.
* oln/types/bin.hh: Add const to cast operator.
* oln/types/cplx.hh: Fix includes, adapt to vec's new prototype.
* oln/types/global_ops.hh: Add min and max operators.
* oln/types/global_ops_defs.hh: Replace completely generic operators
by more adapted ones to prevent C++ namespace resolution problem.
* oln/types/global_ops_traits.hh: Add min and max traits.
* oln/types/optraits_bin.hh: Change zero,unit,min,max,inf and sup
return types to allow histograms which needs (max() - min() + unit());
restrict operator_cmp_traits.
* oln/types/optraits_builtins_float.hh: Add min and max traits.
* oln/types/optraits_builtins_int.hh: Fix headers.
* oln/types/optraits_builtins_int_defs.hh: Add name().
* oln/types/optraits_int_u.hh: Add fwd_decl, change minus traits
for (int_u - int_u), add min and max traits.
* oln/types/optraits_int_u.hh: Add fwd_decl, add min and max traits.
* oln/types/optraits_vec.hh: Adapt to vec's new prototype.
* oln/types/predecls.hh: Add colors, adapt to vec's new prototype.
* oln/types/typetraits.hh: Add default definition.
* oln/types/typetraits_builtins_bool.hh: Fix includes.
* oln/types/vec.hh: Change prototype to allow vec to be an intermediate
class in the static hierarchy.
* utilities/Makefile.am: Remove NDEBUG by default.
* oln/types/optraits_builtins.hh, oln/types/typetraits_builtins.hh:
* oln/types/color.hh, oln/types/rgb.hh, oln/types/nrgb.hh,
oln/types/hsi.hh, oln/types/hsl.hh, oln/types/hsv.hh,
oln/types/xyz.hh, oln/types/yiq.hh, oln/types/yuv.hh: New files.
* oln/types/cast.hh: New file.
* oln/arith/logic.hh, oln/arith/ops.hh, oln/convert/bound.hh,
oln/convert/colorconv.hh, oln/convert/conversion.hh,
oln/convert/force.hh, oln/convert/nrgbhsi.hh, oln/convert/nrgbhsl.hh,
oln/convert/nrgbhsv.hh, oln/convert/nrgbxyz.hh, oln/convert/nrgbyiq.hh,
oln/convert/nrgbyuv.hh, oln/convert/rgbnrgb.hh, oln/convert/rgbxyz.hh,
oln/convol/convolution.hh, oln/convol/fast_gaussian_coefficient.hh,
oln/convol/fast_gaussian.hh, oln/convol/fast_gaussian.hxx,
oln/core/dpoint1d.hh, oln/core/image2d.hh, oln/core/imagend_size.hh,
oln/core/point1d.hh, oln/core/point3d.hh, oln/level/cc.hh,
oln/level/connected.hh, oln/level/extrema_killer.hh,
oln/level/invert.hh, oln/level/threshold.hh, oln/math/macros.hh,
oln/morpho/extrema.hh, oln/morpho/geodesic_dilation.hh,
oln/morpho/reconstruction.hh, oln/morpho/stat.hh,
oln/morpho/watershed.hxx, oln/utils/stat.hh, tests/io/loadsave.hh,
tests/morpho/edoc.cc, tests/morpho/extrkiller.cc,
oln/convert/stretch.hh: Adapt to new types.
* oln/value/all.hh, oln/value/bin.hh, oln/value/built_in.hh,
oln/value/cast.hh, oln/value/color.hh, oln/value/cplx.hh,
oln/value/debug.hh, oln/value/float_p.hh, oln/value/hsi.hh,
oln/value/hsl.hh, oln/value/hsv.hh, oln/value/int_s.hh,
oln/value/int_u.hh, oln/value/nrgb.hh, oln/value/op_traits.hh,
oln/value/ops.hh, oln/value/predefs.hh, oln/value/rec_float.hh,
oln/value/rec_int.hh, oln/value/rec_oln/value.hh, oln/value/rgb.hh,
oln/value/to_oln.hh, oln/value/vec.hh, oln/value/xyz.hh,
oln/value/yiq.hh, oln/value/yuv.hh: Remove files.
2002-09-27 Nicolas Burrus <burrus_n@lrde.epita.fr>
oln/core/image1d.hh: Fix include for new types.
* oln/types/rec_value.hh: Fix size problem with g++-2.95.
* oln/transform/fft.hh: Make cosmetic changes to the code formatting
in order to be under 100 columns, fix a problem of transformed image
storage.
* oln/Makefile.am (nobase_oln_HEADERS): Add config/system.hh,
transform/fft.hh.
* oln/transform/fft.hh: Add a 'transform' namespace, add
few methods (notably transformed_image_magn()).
* oln/io/pnm_read_common.hxx: Adapt to new types.
* oln/io/pnm_write_common.hxx: Adapt to new types.
* oln/level/extrema_killer.hh: Adapt to new types.
* oln/utils/histogram.hh: Adapt to new types.
2002-09-26 Emmanuel Turquin <turqui_e@epita.fr>
* oln/transform/fft.hh: Slightly modified.
* oln/types/cplx.hh: Small fix.
* oln/Makefile.am (PCONF_OCCURS): Add oln/transform/fft.hh.
(nobase_oln_HEADERS): Remove config/system.hh,already present in
PCONF_OCCURS.
* oln/configure.ac: Check from fftw. Define HAVE_FFTW, substitute
FFTW_CFLAGS, and FFTW_LDFLAGS.
2002-09-24 jean-sebastien mouret <js@lrde.epita.fr>
* oln/morpho/fast_morpho.hxx: Add reference to article.
2002-09-24 Nicolas Burrus <burrus_n@lrde.epita.fr>
* oln/types/to_oln.hh: Add bool to bin conversion.
* utilities/mosaic.cc: Adapt to new types.
* oln/io/pnm_write3d.hxx: Likewise.
* oln/io/pnm_read3d.hxx: Likewise.
* oln/io/pnm_write_common.hxx: Likewise.
2002-09-24 Emmanuel Turquin <turqui_e@epita.fr>
* oln/transform/fft.hh: New file.
* oln/types/cplx.hh: Add overloading of = operator with scalar.
* oln/core/image2d.hh: Include oln/types/bin.hh rather than
oln/value/bin.hh.
* oln/io/pnm_write.hxx: Fix a little casting problem.
* oln/io/readable.hh: Add constructor taking const char* argument.
* configure.ac: Add a new branch of tests (tests/transform).
2002-09-23 Nicolas Burrus <burrus_n@lrde.epita.fr>
* oln/types/optraits.hh: Add temporary fix for debug.
oln/types/optraits_bool.hh, oln/types/debug.hh: New files.
oln/io/pnm_read.hxx, oln/io/pnm_read_common.hxx: Adapt to new types.
* oln/types/all.hh: Add includes for new files.
* oln/types/optraits_bin.hh: Add zero(), unit(), inf(), sup(), min()
and max().
* oln/types/bin.hh: Add default constructor, change stream operator
and set storage_type to bool.
2002-09-20 Emmanuel Turquin <turqui_e@epita.fr>
* oln/types/optraits_cplx.hh: Modify macros in order to allow
- again - operations between complex numbers.
2002-09-20 Nicolas Burrus <burrus_n@lrde.epita.fr>
* oln/types/global_ops_traits.hh: Allow instantiation of undefined
* oln/types/behaviour.hh: Fix check in minus_equal for strict
* oln/types/optraits_vec.hh (optraits_vector): Add name() method.
* oln/types/optraits_cplx.hh (optraits_cplx): Add cplx-vec arith.
2002-09-19 Nicolas Burrus <burrus_n@lrde.epita.fr>
* oln/types/int_u.hh: Replace trunc(f) by round(f) in int_u float
constructor.
2002-09-19 Emmanuel Turquin <turqui_e@epita.fr>
* oln/types/cplx.hh, oln/types/optraits_cplx.hh,
oln/types/cplx_representation.hh: New files.
* oln/types/predecls.hh: Update consequently.
* oln/types/all.hh: Update consequently.
* oln/Makefile.am (nobase_oln_HEADERS): Add new files
2002-09-18 Nicolas Burrus <burrus_n@lrde.epita.fr>
* oln/types/optraits_vec.hh: Fix compilation problem with g++ >= 3.1 .
2002-09-17 Alexandre Duret-Lutz <duret_g@epita.fr>
* oln/types/optraits_vec.hh: Define scalar * vec using
vec * scalar. Define vec * vec as a dot-product.
2002-09-17 Akim Demaille <akim@epita.fr>
* oln/core/type.hh: Include oln/config/system.hh before `string'.
Fixes sanity/includes.test with G++ version 2.95.4 20011002
(Debian prerelease).
2002-09-17 Nicolas Burrus <burrus_n@lrde.epita.fr>
* oln/types/int_s.hh, oln/types/interval.hh, oln/types/cycle.hh,
oln/types/optraits_cycle.hh, oln/types/typetraits_builtins_float.hh:
* oln/types/optraits_vec.hh: Fix typo, fix operators traits.
2002-09-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* oln/types/optraits.hh (optraits_vector): New class.
* oln/types/predecls.hh (vec): Predeclare.
* oln/types/optraits_vec.hh, oln/types/vec.hh: New files.
* oln/types/all.hh: Include them.
* oln/Makefile.am (nobase_oln_HEADERS): Add types/vec.hh and
types/optraits_vec.hh.
2002-09-16 Nicolas Burrus <burrus_n@lrde.epita.fr>
* oln/types/behaviour.hh: Add multiplication check.
* oln/types/to_oln.hh: Rename OLN_TYPE macro.
* oln/types/optraits_scalar.hh: Add misc macros.
2002-09-15 Nicolas Burrus <burrus_n@lrde.epita.fr>
* oln/types/global_ops_defs.hh: Add inline keyword.
* oln/types/behaviour.hh, oln/types/optraits_cycle.hh: Move modulo
calculus.
* oln/types/int_u.hh, oln/types/int_s.hh: Disable checks when useless
in constructors.
* oln/types/int_u.hh, oln/types/int_s.hh, oln/types/cycle.hh,
oln/types/range.hh, oln/types/bin.hh: Add stream operator.
2002-09-14 Nicolas Burrus <burrus_n@lrde.epita.fr>
* oln/types/int_u.hh, oln/types/int_s.hh, oln/types/range.hh,
oln/types/cycle.hh, oln/types/typetraits_builtin_int.hh,
oln/types/typetraits_builtin_float.hh: Add behaviour_type typedef.
* oln/types/optraits_scalar_defs.hh, oln/types/behaviour.hh: Add
* oln/types/behaviour.hh, oln/types/optraits_int_u.hh,
oln/types/optraits_int_s.hh, oln/types/optraits_cycle.hh,
oln/types/optraits_range.hh, oln/types/interval.hh,
oln/types/optraits_bin.hh: Add debug code.
* oln/types/to_oln.hh: Add OLN_TYPE macro.
2002-09-13 Nicolas Burrus <burrus_n@lrde.epita.fr>
* oln/types/predecls.hh: Remove namespace types.
* oln/types/behaviour.hh, oln/types/bin.hh, oln/types/cycle.hh,
oln/types/int_s.hh, oln/types/int_u.hh, oln/types/optraits_bin.hh,
oln/types/optraits_builtins_int.hh,
oln/types/optraits_builtin_float.hh, oln/types/optraits_cycle.hh,
oln/types/optraits_int_s.hh, oln/types/optraits_int_u.hh,
oln/types/optraits_range.hh, oln/types/optraits_scalar.hh,
oln/types/range.hh, oln/types/typetraits_builtins_float.hh,
oln/types/typetraits_builtins_int.hh: Complete typetraits.
2002-09-11 Nicolas Burrus <burrus_n@lrde.epita.fr>
* oln/types/global_ops.hh: Fix unary minus.
* oln/types/int_u.hh, oln/types/int_s.hh,
oln/types/typetraits_builtin_int.hh,
oln/types/typetraits_builtin_float.hh: Add signed_type.
2002-09-10 Nicolas Burrus <burrus_n@lrde.epita.fr>
* oln/types/int_s.hh: Fix typetraits.
* oln/types/optraits_int_u.hh: Change int_u - int_u return type.
* oln/types/optraits_builtin_int.hh: Change long to int.
* oln/types/builtins_properties: Change long to int.
2002-09-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.ac: Rename tests/array/Makefile as
tests/meta/Makefile.
2002-09-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* oln/types/optraits_builtins_float.hh: Include oln/config/system.hh.
2002-09-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* oln/types/predecls.hh: Move the types for which we
declare operator into namespace type_definitions. Don't
export `bounded' in namespace type.
* oln/types/rec_value.hh: Include oln/types/predecls.hh.
* oln/types/range.hh, oln/types/interval.hh, oln/types/int_u.hh,
oln/types/int_s.hh, oln/types/global_ops.hh, oln/types/cycle.hh:
oln/types/bin.hh: Don't predeclare the type. Move type and
operators definitions in namespace type_definitions.
2002-09-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* oln/types/predecls.hh (int_u, int_s, range): Set default
behaviour to `strict'.
2002-09-03 Alexandre Duret-Lutz <duret_g@epita.fr>
* oln/config/system.hh: Typos.
2002-09-03 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.ac: Check for limits.
* oln/config/system.h (OLN_FLOAT_INFINITY, OLN_DOUBLE_INFINITY):
New macros.
* oln/types/optraits_builtins_float.hh: Define inf() and sup()
instead of min() and max().
2002-09-03 Alexandre Duret-Lutz <duret_g@epita.fr>
* oln/types/optraits_cycle.hh (optraits<cycle<T,interval> >::check):
Use std::abs(), not abs().
2002-08-28 Alexandre Duret-Lutz <duret_g@epita.fr>
* oln/types/all.hh: Include system.h.
2002-08-28 Nicolas Burrus <burrus_n@lrde.epita.fr>
* oln/types/int_s.hh: Fix float/double conversion.
* oln/types/optraits_cycle.hh: Fix modulo with float/double.
* oln/types/optraits_builtins_float.hh: Add cycle float/double traits.
2002-08-27 David Lesage <david@lrde.epita.fr>
* oln/core/bkd_iter1d.hh, oln/core/bkd_iter2d.hh,
oln/core/bkd_iter3d.hh: Change template constructors to harmonize
with fwd_iter1d, 2d, 3d constructors.
2002-08-26 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.ac: Output tests/types/Makefile.
2002-08-26 Nicolas Burrus <burrus_n@lrde.epita.fr>
* oln/types/optraits_cycle.hh: Fix cycle problem.
* oln/types/int_u.hh: Fix float/double conversion.
* oln/meta/type.hh: Add workaround for g++ > 3.1 bug, add GPL header.
* oln/types/typetraits_builtins_float.hh: Add double.
* oln/types/optraits_builtins_float.hh: Likewise.
2002-07-30 Alexandre Duret-Lutz <duret_g@epita.fr>
* oln/types/optraits_builtins_float.hh: Include
oln/types/typetraits_builtins_float.hh.
2002-07-29 Alexandre Duret-Lutz <duret_g@epita.fr>
* oln/types/optraits_int_u.hh, oln/types/optraits_int_s.hh:
Include meta/cmp.hh.
* oln/types/int_u.hh: Include oln/types/builtins_properties.hh.
* oln/types/typetraits_builtins_float.hh,
oln/types/typetraits_builtins_int.hh: Include oln/types/optraits.hh.
* oln/meta/cmp.hh: Add maxN and saturateN.
* oln/core/type.hh: Move wrap into oln/meta/type.hh.
* oln/types, oln/types/all.hh, oln/types/behaviour.hh,
oln/types/bin.hh, oln/types/builtins_properties.hh,
oln/types/cycle.hh, oln/types/global_ops.hh,
oln/types/global_ops_defs.hh, oln/types/global_ops_traits.hh,
oln/types/int_s.hh, oln/types/int_u.hh, oln/types/interval.hh,
oln/types/optraits.hh, oln/types/optraits_bin.hh,
oln/types/optraits_builtins_float.hh,
oln/types/optraits_builtins_int.hh,
oln/types/optraits_builtins_int_defs.hh,
oln/types/optraits_cycle.hh, oln/types/optraits_int_s.hh,
oln/types/optraits_int_u.hh, oln/types/optraits_range.hh,
oln/types/optraits_scalar.hh, oln/types/optraits_scalar_defs.hh,
oln/types/predecls.hh, oln/types/range.hh, oln/types/rec_value.hh,
oln/types/to_oln.hh, oln/types/type.hh, oln/types/typetraits.hh,
oln/types/typetraits_builtins_float.hh,
oln/types/typetraits_builtins_int.hh : New files.
2002-07-29 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.ac: Output utilities/Makefile.
* Makefile.am (SUBDIRS): Add utilities.
* utilities/Makefile.am: New file.
* utilities/mosaic.cc: New file.
2002-07-26 Nicolas Burrus <burrus_n@lrde.epita.fr>
* oln/value/cast.hh: Remove const preceding builtin return type.
* oln/core/internal/neighborhood.hh: Add comeau compatibility.
* oln/core/generate.hh: Add wrap call for compatibility with comeau
* oln/io/pnm_read3d.hxx: Fix unexistent N problem.
* oln/meta/ucmp.h: Rewrite less, lesseq and eq.
2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.ac: Bump version to 0.5.
* oln/config/system.hh: Include oln/config/pconf.hh, not pconf.hh.
2002-07-24 David Lesage <david@lrde.epita.fr>
* oln/core/bkd_iter1d.hh, oln/core/fwd_iter1d.hh,
oln/core/bkd_iter2d.hh, oln/core/fwd_iter2d.hh,
oln/core/bkd_iter3d.hh, oln/core/fwd_iter3d.hh: Add Inferior
parameter to iterators.
* oln/core/internal/image1d.hh, oln/core/internal/image2d.hh,
oln/core/internal/image3d.hh: Adjust typedefs.
2002-07-24 Alexandre Duret-Lutz <duret_g@epita.fr>
* ISSUES: Mention runtimes of `make check' and the `const image'
issue.
* NEWS, THANKS, README: Update for next release.
2002-07-23 Alexandre Duret-Lutz <duret_g@epita.fr>
* demo/tour.cc: Include oln/convert/basics.hh.
2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
* oln/convol/convolution.hh: Temporarily include
oln/core/w_window2d.hh.
* oln/convert/stretch.hh: Include oln/core/type.hh and
oln/convert/force.hh.
* oln/core/pred.hh: Move ...
* oln/core/oln/pred.hh: ... here.
* oln/Makefile.am (nobase_oln_HEADERS): Remove core/pred.hh.
2002-07-18 jean-sebastien mouret <js@lrde.epita.fr>
* oln/core/type.hh (name_of<int>): Add inline.
2002-07-18 Astrid Wang <astrid@lrde.epita.fr>
* oln/convert/stretch.hh: New file.
* oln/Makefile.am (nobase_oln_HEADERS): Add convert/stretch.hh.
* oln/convert/basics.hh: Include <oln/convert/stretch.hh>.
* oln/convol/convolution.hh: Typo (rewrite the FIXME as required).
* oln/core/type.hh (type): Typo (rewrite the FIXME as required).
2002-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.ac: Output tests/defs and tests/sanity/Makefile.
* oln/basics.hh: Don't include oln/convert/basics.hh, this causes
loops.
* oln/arith/logic.hh, oln/arith/ops.hh, oln/config/system.hh,
oln/convert/conversion.hh,
oln/convol/fast_gaussian_coefficient.hh,
oln/convol/fast_gaussian.hh, oln/core/apply.hh,
oln/core/border.hh, oln/core/contract.hh, oln/core/dpointnd.hh,
oln/core/fold.hh, oln/core/generate.hh, oln/core/image1d_size.hh,
oln/core/image2d_size.hh, oln/core/image3d_size.hh,
oln/core/imagend_size.hh, oln/core/internal/image3d.hh,
oln/core/internal/w_window.hh, oln/core/neighborhood.hh,
oln/core/pointnd.hh, oln/core/pred.hh, oln/core/regular_image.hh,
oln/core/traverse.hh, oln/core/window1d.hh, oln/core/window2d.hh,
oln/core/window3d.hh, oln/core/window.hh, oln/core/winneighb.hh,
oln/core/w_window1d.hh, oln/core/w_window2d.hh,
oln/core/w_window3d.hh, oln/io/pnm_read3d.hxx,
oln/io/pnm_read.hxx, oln/io/readable.hh, oln/level/threshold.hh,
oln/math/macros.hh, oln/meta/logic.hh, oln/morpho/stat.hh,
oln/value/cast.hh, oln/value/debug.hh, oln/value/float_p.hh,
oln/value/int_u.hh: Include required headers.
2002-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
* oln/io/gz_stream.hh (zfilebuf::inbuf, zfilebuf::outbuf,
zfilebuf::lenbuf): New member.
(zfilebuf::zfilebuf): Allocate inbuf and outbug.
(zfilebuf::is_open): Add missing std::.
(zfilebuf::underflow, zfilebuf::overflow, zfilebug::fillbuf):
Rewrite using inbuf, outbuf, and lenbuf.
2002-07-18 Akim Demaille <akim@epita.fr>
* oln.prj: Equip with diff-ignore.
* configure.ac: Require Automake 1.6.2: previous versions have a
problem with ZLIB_LDFLAGS.
* tests/convol/Makefile.am (noinst_PROGRAMS): Depends on `make check'
results, so make it `check_PROGRAMS'.
2002-07-18 Astrid Wang <astrid@lrde.epita.fr>
* oln/core/w_window2d.hh: Fix the constructor taking an array2d.
* oln/Makefile.am (nobase_oln_HEADERS): Add convol/convolution.hh.
2002-07-17 Astrid Wang <astrid@lrde.epita.fr>
* oln/convol/convolution.hh: New file.
* oln/core/internal/w_window.hh: Fixed the function: name().
* oln/core/type.hh (type): Add a specialization of name_of for
the builtin-type 'int'.
* oln/core/w_window.hh (Weight): Add the macro Weight.
* oln/core/w_window1d.hh: Add class Inferior as template argument for
class w_window1d, and add typedef Inferior inferior.
* oln/core/w_window2d.hh: Likewise.
* oln/core/w_window3d.hh: Likewise.
* configure.ac (AC_CONFIG_FILES): Add tests/convol/Makefile.
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
2002-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* Makefile.am, configure.ac: Rename `src/' to `oln/'.
* oln/Makefile.am (PCONF_OCCURS, config/extrconf.sh,
config/pconf.hh): Use relative paths to not mention `src/'.
* demo/Makefile.am (INCLUDES): Rename to ...
(AM_CPPFLAGS): ... this. Include $(top_builddir) and
$(top_srcdir) instead of -I$(top_srcdir)/src.
* demo/image.cc, demo/morpholena.cc, demo/test-reconstruction.cc,
demo/tour.cc, oln/arith/logic.hh, oln/arith/ops.hh, oln/basics.hh,
oln/config/config.hin, oln/convert/basics.hh,
oln/convert/bound.hh, oln/convert/colorconv.hh,
oln/convert/conversion.hh, oln/convert/conversion_ng_se.hh,
oln/convert/force.hh, oln/convert/nrgbhsi.hh,
oln/convert/nrgbhsl.hh, oln/convert/nrgbhsv.hh,
oln/convert/nrgbxyz.hh, oln/convert/nrgbyiq.hh,
oln/convert/nrgbyuv.hh, oln/convert/rgbnrgb.hh,
oln/convert/rgbxyz.hh, oln/convol/fast_gaussian.hh,
oln/convol/fast_gaussian.hxx,
oln/convol/fast_gaussian_coefficient.hh, oln/core/apply.hh,
oln/core/bkd_iter1d.hh, oln/core/bkd_iter2d.hh,
oln/core/bkd_iter3d.hh, oln/core/border.hh, oln/core/border1d.hh,
oln/core/border2d.hh, oln/core/border3d.hh, oln/core/dpoint.hh,
oln/core/dpoint1d.hh, oln/core/dpoint1d.hxx, oln/core/dpoint2d.hh,
oln/core/dpoint2d.hxx, oln/core/dpoint3d.hh,
oln/core/dpoint3d.hxx, oln/core/dpointnd.hh, oln/core/fold.hh,
oln/core/fwd_iter1d.hh, oln/core/fwd_iter2d.hh,
oln/core/fwd_iter3d.hh, oln/core/generate.hh, oln/core/image.hh,
oln/core/image1d.hh, oln/core/image1d_size.hh,
oln/core/image2d.hh, oln/core/image2d_size.hh,
oln/core/image3d.hh, oln/core/image3d_size.hh,
oln/core/image_size.hh, oln/core/imagend_size.hh,
oln/core/internal/image1d.hh, oln/core/internal/image1d_data.hh,
oln/core/internal/image2d.hh, oln/core/internal/image2d_data.hh,
oln/core/internal/image3d.hh, oln/core/internal/image3d_data.hh,
oln/core/internal/iter1d.hh, oln/core/internal/iter2d.hh,
oln/core/internal/iter3d.hh, oln/core/internal/neighborhood.hh,
oln/core/internal/real_image1d.hh,
oln/core/internal/real_image2d.hh,
oln/core/internal/real_image3d.hh, oln/core/internal/w_window.hh,
oln/core/internal/window.hh, oln/core/iter.hh,
oln/core/neighborhood1d.hh, oln/core/neighborhood2d.hh,
oln/core/neighborhood3d.hh, oln/core/objs.hh,
oln/core/old/image2d.hxx, oln/core/old/image2d_bin.hh,
oln/core/old/image2d_bin.hxx, oln/core/old/rec_window.hh,
oln/core/point.hh, oln/core/point1d.hh, oln/core/point1d.hxx,
oln/core/point2d.hh, oln/core/point2d.hxx, oln/core/point3d.hh,
oln/core/point3d.hxx, oln/core/pointnd.hh, oln/core/pred.hh,
oln/core/pred_image.hh, oln/core/regular_image.hh,
oln/core/structelt.hh, oln/core/traverse.hh, oln/core/w_window.hh,
oln/core/w_window1d.hh, oln/core/w_window2d.hh,
oln/core/w_window3d.hh, oln/core/window.hh, oln/core/window1d.hh,
oln/core/window2d.hh, oln/core/window3d.hh, oln/io/base.hh,
oln/io/base.hxx, oln/io/basics.hh, oln/io/file.hh, oln/io/gz.hh,
oln/io/gz_stream.hh, oln/io/pnm.hh, oln/io/pnm3d.hh,
oln/io/pnm_read.hxx, oln/io/pnm_read3d.hxx,
oln/io/pnm_read_common.hxx, oln/io/pnm_write.hxx,
oln/io/pnm_write3d.hxx, oln/io/pnm_write_common.hxx,
oln/level/cc.hh, oln/level/compare.hh, oln/level/connected.hh,
oln/level/extrema_killer.hh, oln/level/fill.hh,
oln/level/invert.hh, oln/level/lut.hh, oln/level/threshold.hh,
oln/math/macros.hh, oln/meta/array.hh, oln/meta/array1d.hh,
oln/meta/array1d.hxx, oln/meta/array2d.hh, oln/meta/array2d.hxx,
oln/meta/array3d.hh, oln/meta/array3d.hxx, oln/meta/cmp.hh,
oln/meta/control.hh, oln/meta/logic.hh, oln/meta/ucmp.hh,
oln/meta/ufuncs.hh, oln/morpho/closing.hh, oln/morpho/dilation.hh,
oln/morpho/erosion.hh, oln/morpho/extrema.hh,
oln/morpho/fast_morpho.hh, oln/morpho/fast_morpho.hxx,
oln/morpho/geodesic_dilation.hh, oln/morpho/geodesic_erosion.hh,
oln/morpho/gradient.hh, oln/morpho/hit_or_miss.hh,
oln/morpho/laplacian.hh, oln/morpho/minmax.hh,
oln/morpho/opening.hh, oln/morpho/reconstruction.hh,
oln/morpho/splitse.hh, oln/morpho/stat.hh,
oln/morpho/thickening.hh, oln/morpho/thinning.hh,
oln/morpho/top_hat.hh, oln/morpho/watershed.hh,
oln/morpho/watershed.hxx, oln/utils/histogram.hh,
oln/utils/stat.hh, oln/utils/timer.hh, oln/value/all.hh,
oln/value/bin.hh, oln/value/built_in.hh, oln/value/cast.hh,
oln/value/color.hh, oln/value/cplx.hh, oln/value/debug.hh,
oln/value/float_p.hh, oln/value/hsi.hh, oln/value/hsl.hh,
oln/value/hsv.hh, oln/value/int_s.hh, oln/value/int_u.hh,
oln/value/nrgb.hh, oln/value/op_traits.hh, oln/value/ops.hh,
oln/value/rec_float.hh, oln/value/rec_int.hh,
oln/value/rec_value.hh, oln/value/rgb.hh, oln/value/to_oln.hh,
oln/value/vec.hh, oln/value/xyz.hh, oln/value/yiq.hh,
oln/value/yuv.hh: Use `include <oln/mumble>' instead of include
"mumble". Always include Olena's headers first.
2002-07-10 Astrid Wang <astrid@lrde.epita.fr>
* src/meta/array3d.hh, src/meta/array3d.hxx:
Centralization of the enums 'center_plane', 'center_row'
and 'center_cols'.
2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.ac: AC_DEFINE CXX. Don't output
tests/array/gen_test_utils/Makefile.
2002-07-09 Astrid Wang <astrid@ljubljana.lrde.epita.fr>
* src/meta/array.hh, src/meta/array.hxx: Remove (obsolete).
* src/meta/array1d.hh, src/meta/array1d.hxx,
src/meta/array2d.hh, src/meta/array2d.hxx,
src/meta/array3d.hh, src/meta/array3d.hxx,
src/meta/array.hh, src/meta/arraynd.hh: Add.
* src/Makefile.am (nobase_oln_HEADERS): Remove meta/array.hh,
meta/array.hxx. Add meta/array1d.hh, meta/array1d.hxx,
meta/array2d.hh, meta/array2d.hxx, meta/array3d.hh, meta/array3d.hxx,
meta/array.hh, meta/arraynd.hh.
* src/meta/basics.hh: New function logical_or and logical_and.
* src/core/internal/objs.hxx: Define new class _pbrk for 3D arrays.
* src/core/objs.hh: Instantiate such an object.
* src/core/w_window2d.hh: Adapt the constructor with the new
syntax of the array.
* src/value/vec.hh: Likewise.
2002-07-09 jean-sebastien mouret <js@lrde.epita.fr>
* src/io/pnm_write3d.hxx (mosaic): Add inline.
2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.ac: Check from zlib. Define HAVE_ZLIB, substitute
ZLIB_CFLAGS, and ZLIB_LDFLAGS.
* src/io/base.hh (wrapper_id): Add WrapGz.
* src/io/gz.hh, src/io/gz_stream.hh: New files, from Milena.
* src/Makefile.am (nobase_oln_HEADERS): Add io/gz.hh, and
io/gz_stream.hh.
(PCONF_OCCURS): Add $(top_srcdir)/tests/io/2d.cc.
2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
* ISSUES: Don't mention hash_map.
2002-06-27 jean-sebastien mouret <js@lrde.epita.fr>
* src/io/base.hh: Added inline to allow separate compilation.
* src/core/window1d.hh, src/core/window2d.hh,
src/core/window3d.hh: Likewise.
* src/core/neighborhood1d.hh, src/core/neighborhood2d.hh,
src/core/neighborhood3d.hh: Likewise.
2002-06-27 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.ac: Don't check for hash_map and ext/hash_map.
* src/config/hash_map.hh: Delete.
* src/Makefile.am (nobase_oln_HEADERS, PCONF_OCCURS): Remove
config/hash_map.hh.
2002-06-26 Jerome Darbon <jerome@epita.fr>
* src/level/lut.hh: Change hash_map to map.
2002-06-24 Quc Peyrot <chojin@lrde.epita.fr>
* src/Makefile.am (nobase_oln_HEADERS): Add level/threshold.hh.
2002-06-18 Quc Peyrot <chojin@lrde.epita.fr>
* src/level/threshold.hh: New file.
2002-06-17 Quc Peyrot <chojin@lrde.epita.fr>
* src/core/internal/image3d.hh (nslices): Typo.
2002-06-05 Alexandre Duret-Lutz <duret_g@epita.fr>
* Makefile.am (EXTRA_DIST): Remove doc/doc/oln-ref.info.
2002-06-04 Alexandre Duret-Lutz <duret_g@epita.fr>
* src/level/connected.hh, src/morpho/reconstruction.hh,
src/morpho/geodesic_erosion.hh, src/morpho/geodesic_dilation.hh,
src/morpho/extrema.hh, src/morpho/top_hat.inc,
src/morpho/opening.inc, src/morpho/laplacian.inc,
src/morpho/hit_or_miss.inc, src/morpho/gradient.inc,
src/morpho/closing.inc, src/morpho/watershed.hh,
src/morpho/erosion.hh, src/morpho/dilation.hh,
src/level/extrema_killer.hh, src/level/cc.hh: Rewrite
documentation in LaTeX instead of Texinfo (i.e., s/@/\\/g).
2002-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
* src/config/system.hh (__STL_BEGIN_RELOPS_NAMESPACE,
__STL_END_RELOPS_NAMESPACE): Redefine if needed.
* configure.ac: Check for stl_config.h.
2002-05-21 Alexandre Duret-Lutz <duret_g@epita.fr>
* src/morpho/dilation.hh (n_dilation): Declare input.
* src/morpho/erosion.hh (n_erosion): Likewise.
* src/morpho/reconstruction.hh: Include geodesic_erosion.hh.
* src/level/invert.hh (f_invert::doit): Specialize for rec_float.
2002-05-13 Alexandre Duret-Lutz <duret_g@epita.fr>
* src/Makefile.am (config/extrconf.sh): Rename to ...
($(top_srcdir)/src/config/extrconf.sh): ... this.
2002-04-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.ac, NEWS: Bump version to 0.4.1.
2002-04-24 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.ac: Bump version to 0.4.
* src/Makefile.am (DISTCLEANFILES): New.
(EXTRA_SCRIPTS): Rename as ...
(EXTRA_DIST): ... this.
(config/pconf.hh): Use $(top_srcdir)/src/config/extrconf.sh.
2002-04-23 Alexandre Duret-Lutz <duret_g@epita.fr>
* NEWS update for 0.4.
* src/morpho/reconstruction.hh, src/morpho/geodesic_erosion.hh,
src/morpho/geodesic_dilation.hh, src/morpho/watershed.hxx,
src/value/color.hh, src/meta/ufuncs.hh, src/meta/ucmp.hh,
src/meta/logic.hh, src/meta/control.hh, src/meta/basics.hh,
src/core/pred.hh, src/core/internal/window.hh,
src/core/internal/w_window.hh, src/core/internal/image3d_data.hh,
src/core/internal/image3d.hh, src/core/internal/image2d_data.hh,
src/core/internal/image2d.hh, src/core/internal/image1d_data.hh,
src/core/internal/image1d.hh, src/convert/conversion_ng_se.hh,
src/morpho/thinning.inc, src/morpho/thinning.hh,
src/morpho/thickening.inc, src/morpho/thickening.hh,
src/level/lut.hh: Update copyright years.
2002-04-22 Alexandre Duret-Lutz <duret_g@epita.fr>
* demo/Makefile.am (noinst_PROGRAMS): Rename as ...
(check_PROGRAMS): ... this.
(demo): New phony rule. * README: Adjust instruction to build the
demo programs. Mention the testsuite.
2002-04-17 Jerome Darbon <jerome@epita.fr>
* src/level/lut.hh: Include config/hash_map.hh.
2002-04-10 Alexandre Duret-Lutz <duret_g@epita.fr>
* src/core/generate.hh: Fix enum member deduction.
* src/arith/ops.hh: Use std::max() and std::min() instead of
max() and min().
* src/convert/nrgbhsv.hh: Likewise.
* src/convert/nrgbhsl.hh: Likewise. Include <cstdlib> for abs(float).
2002-04-08 Alexandre Duret-Lutz <duret_g@epita.fr>
* src/Makefile.am (nobase_oln_HEADERS): Add core/generate.hh.
2002-04-04 Quc Peyrot <chojin@lrde.epita.fr>
* src/core/generate.hh: New file (generator function)
* src/core/image.hh (_ImageForDim): New macro
* src/core/image1d.hh, src/core/image2d.hh,
src/core/image3d.hh: Use it.
2002-04-03 Alexandre Duret-Lutz <duret_g@epita.fr>
* src/level/lut.hh: Include "hash_map.hh" not <hash_map>.
* src/config/hash_map.hh, src/config/README: New file.
* src/config/system.hh: Include pconf.hh.
* src/Makefile.am (nobase_nodist_oln_HEADERS): New variable.
(nobase_oln_HEADERS): Add config/hash_map.hh.
(EXTRA_SCRIPTS, PERL, SCANDEFS_PL, PCONF_OCCURS): New variables.
(config/extrconf.sh, config/pconf.hh): New targets.
* tools/scandefs.pl: New file.
* Makefile.am (EXTRA_DIST): Add tools/scandefs.pl.
2002-04-02 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.ac: Output tests/convert/Makefile.
2002-03-28 Alexandre Duret-Lutz <duret_g@epita.fr>
* demo/morpholena.cc: Include morpho/thinning.hh and
morpho/thickening.hh.
* src/Makefile.am (nobase_oln_HEADERS): Add
morpho/thinning.hh, morpho/thinning.inc, morpho/thickening.hh,
and morpho/thickening.inc.
2002-03-28 Alexandre Duret-Lutz <duret_g@epita.fr>
* tests/: New directory. See tests/ChangeLog.
* Makefile.am (SUBDIRS): Add tests.
* configure.ac: Run AC_PROG_RANLIB.
Output tests/Makefile, tests/check/Makefile, tests/io/Makefile,
tests/morpho/Makefile.
* demo/test-reconstruction.cc: Remove most of the testing code,
which is now in tests/morpho/.
2002-03-28 Jerome Darbon <jerome@epita.fr>
* src/morpho/thinning.hh: New file.
* src/morpho/thinning.inc: Likewise.
* src/morpho/thickening.hh: Likewise.
* src/morpho/thickening.inc: Likewise.
2002-03-28 Alexandre Duret-Lutz <duret_g@epita.fr>
* src/io/pnm_read.hxx (reader): Typo preventing ppgm files from
being read.
2002-03-27 Alexandre Duret-Lutz <duret_g@epita.fr>
* src/core/typeadj.hh: New file.
* src/Makefile.am (nobase_oln_HEADERS): Add it.
* src/basics.hh: Include it.
* src/core/fold.hh (fold): Make sure VAL is assignable.
Use f::result_type instead of f::first_value_type.
* src/arith/internal/opdecs.hh
(_OLN_ARITH_DECLARE_BINRECVAL_FUNCTOR,
_OLN_ARITH_DECLARE_BINRECVALCST_FUNCTOR): Have T2 default to T1
so that the resulting functors are easier
2002-03-26 Alexandre Duret-Lutz <duret_g@epita.fr>
* src/morpho/watershed.hxx (_soille_watershed): Fix two off-by-one
reads.
2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
* src/meta/ufuncs.hh, src/meta/ucmp.hh, src/meta/logic.hh,
src/meta/control.hh, src/meta/basics.hh: Cosmetic changes. Add
more comments.
2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
Change const accessors to return const temporary values, so that
e.g. image[p] = v; fails to compile when image is const.
* src/core/pred.hh (operator[] const): Return a const value.
* src/core/internal/window.hh (operator[] const): Likewise.
* src/core/internal/w_window.hh (operator[] const): Likewise.
* src/core/internal/image1d.hh (size const, operator[] const,
operator() const): Likewise.
* src/core/internal/image2d.hh (size const, operator[] const,
operator() const): Likewise.
* src/core/internal/image3d.hh (size const, operator[] const,
operator() const): Likewise.
* src/core/internal/image1d_data.hh,
src/core/internal/image2d_data.hh,
src/core/internal/image3d_data.hh: More comments.
2002-03-14 Ignacy Gawedzki <ig@lrde.epita.fr>
* src/value/color.h (value_traits, real_value_traits): Typo.
2002-03-07 Alexandre Duret-Lutz <duret_g@epita.fr>
* src/Makefile.am (nobase_oln_HEADERS): Add
src/convert/conversion_ng_se.hh.
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
2002-02-18 Jerome Darbon <jerome@epita.fr>
For all files in morpho:
1) Add meta check on dimension whit respect to neighborhood.
2) Remove inline for all files but for fast_morpho and internal
functions.
* src/morpho/geodesic_erosion: Now geodesic erosion takes
a neighborhood as input instead of a structuring element.
* src/morpho/geodesic_dilation: likewise.
* src/morpho/reconstruction: likewise.
* src/morpho/extrema: likewise.
* src/level/connected_component.hh: likewise and fix.
* src/level/extrema_killer.hh: likewise and fix.
* src/convert/conversion_ng_se.hh: New file.
* demo/test-reconstruction.cc: fix it because of above modifications.
Definition of get_se<N>, i.e construct a S.E from a dimension N.
* core/window.hh: Definition of get_se<N>.
* core/window1d.hh: Definition of get_se<1>.
* core/window2d.hh: Definition of get_se<2>.
* core/window3d.hh: Definition of get_se<3>.
2002-02-11 Jerome Darbon <jerome@epita.fr>
* img/lena128.pgm: Add it.
2002-02-01 Jerome Darbon <jerome@epita.fr>
* src/core/border.hh: Fix bug.
2002-01-31 Jerome Darbon <jerome@epita.fr>
* src/core/border.hh: Update adapt_assign
* src/core/border1d.hh: Likewise
* src/core/border2d.hh: Likewise
* src/core/border3d.hh: Likewise
2002-01-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* src/convol/fast_gaussian.hxx (_gaussian<1>::doit): Typo.
2002-01-14 Jerome Darbon <jerome@epita.fr>
* demo/Makefile.am (test_reconstruction_SOURCES): New.
* tests/test-construction.cc: New file.
* img/lena.pgm: New file.
* Makefile.am (EXTRA_DIST): Add it.
2002-01-14 Alexandre Duret-Lutz <duret_g@epita.fr>
* src/level/connected.hh: Doc update from Jerome.
2002-01-14 Alexandre Duret-Lutz <duret_g@epita.fr>
* configure.ac: Bump version to 0.3.
* NEWS: Update.
2002-01-14 Alexandre Duret-Lutz <duret_g@epita.fr>
* src/level/connected.hh, src/level/cc.hh,
src/level/extrema_killer.hh: Update doc. From Jerome
2002-01-14 Alexandre Duret-Lutz <duret_g@epita.fr>
* src/morpho/top_hat.inc, src/morpho/reconstruction.hh,
src/morpho/geodesic_erosion.hh, src/morpho/geodesic_dilation.hh,
src/morpho/extrema.hh, src/morpho/top_hat.inc,
src/morpho/laplacian.inc: Update doc. From Jerome
2002-01-14 Alexandre Duret-Lutz <duret_g@epita.fr>
* src/morpho/opening.inc, src/morpho/closing.inc,
src/morpho/dilation.hh, src/morpho/erosion.hh: Update
documentation.
* src/morpho/hit_or_miss.inc, src/morpho/gradient.inc: Merge in
Jerome's doc.
* Makefile.am (EXTRA_DIST): Add oln-ref.info.
2002-01-13 Jerome Darbon <darbon_j@epita.fr>
* src/level/extrema_killer.hh, src/level/cc.hh: New files.
* src/Makefile.am (nobase_oln_HEADERS): Add them.