DGtal
1.5.beta
|
Aim: Define utilities to convert a digital set into an image. More...
#include <DGtal/images/imagesSetsUtils/SetFromImage.h>
Public Types | |
typedef TSet | Set |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CDigitalSet< Set >)) | |
Static Public Member Functions | |
template<typename Image , typename ForegroundPredicate > | |
static void | append (Set &aSet, const ForegroundPredicate &isForeground, typename Image::Domain::ConstIterator itBegin, typename Image::Domain::ConstIterator itEnd) |
template<typename Image > | |
static void | append (Set &aSet, const Image &aImage, const typename Image::Value minVal, const typename Image::Value maxVal, typename Image::Domain::ConstIterator itBegin, typename Image::Domain::ConstIterator itEnd) |
template<typename Image , typename ForegroundPredicate > | |
static void | append (Set &aSet, const Image &aImage, const ForegroundPredicate &isForeground) |
template<typename Image > | |
static void | append (Set &aSet, const Image &aImage, const typename Image::Value minVal, const typename Image::Value maxVal) |
Aim: Define utilities to convert a digital set into an image.
Description of template class 'SetFromImage'
TSet | an model of CImageContainer concept. |
Definition at line 63 of file SetFromImage.h.
typedef TSet DGtal::SetFromImage< TSet >::Set |
Definition at line 65 of file SetFromImage.h.
|
static |
Append an Image value set to an existing Set (maybe empty).
aSet | the set (maybe empty) to which points are added. |
isForeground | instance of ForegroundPredicate to decide |
itBegin | starting point in the input image Domain. |
itEnd | ending point in the input image domain. which points to copy. |
Referenced by DGtal::SetFromImage< TSet >::append().
|
inlinestatic |
Append an Image value set to an existing Set (maybe empty).
aSet | the set (maybe empty) to which points are added. |
aImage | image to convert to a Set. |
isForeground | instance of ForegroundPredicate to decide which points to copy. |
Definition at line 125 of file SetFromImage.h.
References DGtal::Image< TImageContainer >::domain(), and domain.
|
inlinestatic |
Append an Image value set to an existing Set (maybe empty). This method will construct a default ForegroundPredicate instance as a simple thresholding (SimpleForegroundPredicate) of values in ]minVal,maxVal].
aSet | the set (maybe empty) to which points are added. |
aImage | image to convert to a Set. |
minVal | minimum value of the thresholding |
maxVal | maximum value of the thresholding |
Definition at line 146 of file SetFromImage.h.
References DGtal::SetFromImage< TSet >::append().
|
inlinestatic |
Append an Image value set to an existing Set (maybe empty). This method will construct a default ForegroundPredicate instance as a simple thresholding (SimpleForegroundPredicate) of values in ]minVal,maxVal].
aSet | the set (maybe empty) to which points are added. |
aImage | the image. |
minVal | minimum value of the thresholding |
maxVal | maximum value of the thresholding |
itBegin | starting point in the input image Domain. |
itEnd | ending point in the input image domain. |
Definition at line 102 of file SetFromImage.h.
References DGtal::SetFromImage< TSet >::append().
DGtal::SetFromImage< TSet >::BOOST_CONCEPT_ASSERT | ( | (concepts::CDigitalSet< Set >) | ) |