Closed kerautret closed 10 years ago
For the second, ConstImageAdapter is a model of CConstImage, not CImage
Would you have an example of the thresholder not working with adapters ?
"For the second, ConstImageAdapter is a model of CConstImage, not CImage"
=> Yes but by using it with SimpleThresholdForegroundPredicate there are an: BOOST_CONCEPT_ASSERT(( CImage
(but it use also PR #882 of DGtal
Yeah but I've fixed that in some PR...
Nice ;) I miss it sorry! I check it now !
I close It works ;) Thank you
SimpleThresholdForegroundPredicate not work neither with ConstImageAdapter and ImageAdapter.
For ImageAdapter it looks related to the fact:
@dcoeurjo what do you think? perhaps define a DefaultImageConstRange with DefaultImageRange for first pb. For the second pb, one can just specialized the template of SimpleThresholdForegroundPredicate with CConstImage
Let me know if you are ok since I can test it from a current example of use in 3DCurvatureViewer (for resampling functor).