21#ifndef __detectpano_boundedset_h
22#define __detectpano_boundedset_h
42template <
typename _Key,
typename _Compare = std::less<_Key> >
47 std::set< _Key, _Compare>
_set;
50 typedef typename std::set<_Key, _Compare>::iterator
iterator;
std::set< _Key, _Compare > _set
std::set< _Key, _Compare >::iterator iterator
void insert(const _Key &x)
size_t max_size() const
Returns the maximum size of the bounded_set.
size_t size() const
Returns the size of the limited_multiset.
std::set< _Key, _Compare > & getSet()
void setMaxSize(int iMax)
sets the max size of bounded set
bounded_set(size_t iMaxSize)
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.