This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Olena, a generic and efficient image processing platform".
The branch features/maxtree has been updated
via 7e6c28901e1f435aece4397023c422f2bab9e77e (commit)
from 7d671b90984a791d6146eb5d510c1bf827ed073c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
7e6c289 Add MLN_WO_GLOBAL_VARS directive that prevents globals vars to be
-----------------------------------------------------------------------
Summary of changes:
milena/ChangeLog | 24 ++++++++++++++++++++++++
milena/mln/border/thickness.hh | 4 ++++
milena/mln/core/alias/dpoint1d.hh | 4 ++++
milena/mln/core/alias/dpoint2d.hh | 4 ++++
milena/mln/core/alias/dpoint3d.hh | 4 ++++
milena/mln/fun/v2v/hsl_to_rgb.hh | 3 +++
milena/mln/literal/black.hh | 4 ++++
milena/mln/literal/colors.hh | 4 ++++
milena/mln/literal/identity.hh | 4 ++++
milena/mln/literal/one.hh | 3 +++
milena/mln/literal/origin.hh | 6 +++++-
milena/mln/literal/white.hh | 4 ++++
milena/mln/literal/zero.hh | 4 ++++
milena/mln/tag/init.hh | 4 ++++
milena/mln/trace/entering.hh | 3 +++
milena/mln/trace/quiet.hh | 5 ++++-
milena/mln/trait/ch_value.hh | 8 ++++++++
milena/mln/util/ctree/node.hh | 14 ++++++++++++++
milena/mln/value/sign.hh | 10 +++++++---
19 files changed, 111 insertions(+), 5 deletions(-)
hooks/post-receive
--
Olena, a generic and efficient image processing platform
#230: Inplace arithmetic operators do not guaranty that the type of the target
can hold the results
-----------------------+----------------------------------------------------
Reporter: jacquelet | Owner: Olena Team
Type: defect | Status: new
Priority: major | Milestone: Olena 1.1
Component: Milena | Version: 1.0
Keywords: |
-----------------------+----------------------------------------------------
#include <mln/core/image/image2d.hh>
#include <mln/arith/times.hh>
#include <mln/arith/minus.hh>
#include <mln/value/int_u8.hh>
int main()
{
using namespace mln;
typedef mln::value::int_u8 t_int_u8;
typedef mln::image2d<t_int_u8> t_img;
typedef mln_trait_op_minus_(t_img,t_img) t_minus;
typedef mln_trait_op_times_(t_minus,t_minus) t_times;
t_img img1;
t_img img2;
t_img img3;
t_minus minus;
t_times times;
// Loading images ...
img3 = img1 - img2; // Does not compile as expected because img1 -
img2 is of type t_minus.
minus = img1 - img2; // Compile as expected.
img3 = minus * minus; // Does not compile as expected because img1 *
img2 is of type t_times
times = minus * minus; // Compile as expected.
// But ...
img3 *= (minus - minus); // Compile... But should not! Inplace
// operators do not guaranty that the type of
// the target can hold the results (in term of
// range).
}
--
Ticket URL: <https://trac.lrde.org/olena/ticket/230>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Olena, a generic and efficient image processing platform".
The branch exp/scribo-z has been updated
via ce69474de3375928b3bd460111356d419f6a966c (commit)
from 7b922a208b3587cd49009a40570556a7489e6d67 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
ce69474 * mln/io/magick/load.hh: set minimum resolution for PDF files to 300DPI.
-----------------------------------------------------------------------
Summary of changes:
milena/ChangeLog | 5 +++++
milena/mln/io/magick/load.hh | 12 +++++++++++-
2 files changed, 16 insertions(+), 1 deletions(-)
hooks/post-receive
--
Olena, a generic and efficient image processing platform
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Olena, a generic and efficient image processing platform".
The branch fix-graphs has been created
at d53b4271ddc93c8fa098f4ef4c2fc7432f808357 (commit)
- Log -----------------------------------------------------------------
d53b427 Miscellaneous changes in graphs and graph-based images.
17734ea Fix make::edge_image.
-----------------------------------------------------------------------
hooks/post-receive
--
Olena, a generic and efficient image processing platform