[Olena] #158: Clean up complex-based images

#158: Clean up complex-based images -------------------------+-------------------------------------------------- Reporter: levill_r | Owner: levill_r Type: enhancement | Status: new Priority: major | Milestone: Olena 1.0 Component: Milena | Version: 1.0 Keywords: | -------------------------+-------------------------------------------------- See the `FIXME`s in files listed in wiki:Olena/ComplexBasedImages. In particular, it seems wise to move complexes out of face handles (after all), since it solves many problems, to the price of relaxed (dynamic) checks (i.e., less guarantees on the validity of complex handles, psites and iterators). -- Ticket URL: <https://trac.lrde.org/olena/ticket/158> Olena <http://olena.lrde.epita.fr> Olena, a generic and efficient C++ image processing library.

#158: Clean up complex-based images --------------------------+------------------------------------------------- Reporter: levill_r | Owner: levill_r Type: enhancement | Status: new Priority: major | Milestone: Olena 1.0 Component: Milena | Version: 1.0 Resolution: | Keywords: --------------------------+------------------------------------------------- Old description:
See the `FIXME`s in files listed in wiki:Olena/ComplexBasedImages.
In particular, it seems wise to move complexes out of face handles (after all), since it solves many problems, to the price of relaxed (dynamic) checks (i.e., less guarantees on the validity of complex handles, psites and iterators).
New description: See the `FIXME`s in files listed in wiki:Olena/ComplexBasedImages. In particular, it seems wise to move complexes out of face handles (after all), since it solves many problems, to the price of relaxed (dynamic) checks (i.e., less guarantees on the validity of complex handles, psites and iterators). Likewise, remove `mutable` qualifiers, and have `const` accessors return `const` references (or copies). Comment (by levill_r): Add a word on `mutable` uses. -- Ticket URL: <https://trac.lrde.org/olena/ticket/158#comment:1> Olena <http://olena.lrde.epita.fr> Olena, a generic and efficient C++ image processing library.

#158: Clean up complex-based images --------------------------+------------------------------------------------- Reporter: levill_r | Owner: levill_r Type: enhancement | Status: closed Priority: major | Milestone: Olena 1.0 Component: Milena | Version: 1.0 Resolution: duplicate | Keywords: --------------------------+------------------------------------------------- Changes (by levill_r): * status: new => closed * resolution: => duplicate Old description:
See the `FIXME`s in files listed in wiki:Olena/ComplexBasedImages.
In particular, it seems wise to move complexes out of face handles (after all), since it solves many problems, to the price of relaxed (dynamic) checks (i.e., less guarantees on the validity of complex handles, psites and iterators).
Likewise, remove `mutable` qualifiers, and have `const` accessors return `const` references (or copies).
New description: See the `FIXME`s in files listed in wiki:Olena/ComplexBasedImages. ~~In particular, it seems wise to move complexes out of face handles (after all), since it solves many problems, to the price of relaxed (dynamic) checks (i.e., less guarantees on the validity of complex handles, psites and iterators).~~ On second thoughts, keeping a reference (pointer) to the complex seems wise. Likewise, remove `mutable` qualifiers, and have `const` accessors return `const` references (or copies). Comment: Close this ticket, since most of its concerns are addressed in #160 and #168. -- Ticket URL: <https://trac.lrde.org/olena/ticket/158#comment:2> Olena <http://olena.lrde.epita.fr> Olena, a generic and efficient C++ image processing library.
participants (1)
-
Olena