21#ifndef __lfeat_sieve_h
22#define __lfeat_sieve_h
29template <
typename _Key>
36template <
typename _Key,
typename _Compare = std::less<_Key> >
48 std::vector<lfeat::bounded_set< _Key, _Compare > >
_buckets;
54template <
typename _Key,
typename _Compare>
59 typename std::vector<bounded_set< _Key, _Compare > >::iterator
aVB,
aVE;
68template <
typename _Key,
typename _Compare>
74template <
typename _Key,
typename _Compare>
77 typename std::vector<bounded_set< _Key, _Compare > >::iterator
aVB,
aVE;
78 aVB = _buckets.begin();
82 typename std::set<_Key, _Compare>::iterator
aSB,
aSE;
83 std::set<_Key, _Compare>&
aS =
aVB->getSet();
Sieve(int iWidth, int iHeight, int iLength)
std::vector< lfeat::bounded_set< _Key, _Compare > > _buckets
void extract(SieveExtractor< _Key > &iEx)
void insert(_Key &iElem, int iWidth, int iHeight)
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.