DGtal-team / DGtal

Digital Geometry Tools and Algorithm Library
https://dgtal.org
GNU Lesser General Public License v3.0
370 stars 115 forks source link

IntervalForeGroundPredicate and RawWriter not respecting Image concept #392

Closed Jeremy-Gaillard closed 12 years ago

Jeremy-Gaillard commented 12 years ago

Lines that cause problems : IntervalForeGroundPredicate.h l.107 (SpanIterator) BOOST_CONCEPT_ASSERT currently commented RawWriter.ih l.50 (extent())

troussil commented 12 years ago

IntervalForeGroundPredicate is actually only a point functor, not an image (for instance, it does not have any inner type called 'Domain', required in the raw writer).

In order to transform a scalar image into a binary one, the ConstImageAdapter should be used (an example is provided in /DGtal/examples/images).

dcoeurjo commented 12 years ago

seems to be invalid. closing