23 #ifndef __CalibratedPyramid_hh__
24 #define __CalibratedPyramid_hh__
26 #include <Base/Common/SharedPtr.hh>
27 #include <Image/PyramidImage.hh>
32 template <
class T>
class BIASImageBase_EXPORT
Image;
39 template <
class StorageType>
52 template <
class StorageType>
70 const unsigned pyramid_size = 2,
71 const double rescale_factor = 4.0);
79 {
return Data_.empty(); }
83 {
return Data_[index]; }
87 {
return Data_[index]; }
94 void CoordinateTransf(
const Vector2<double>& coo0,
const unsigned index,
103 {
return PyramidImage_.GetPyramidSize(); };
107 {
return PyramidImage_.GetRescaleFactor(); }
110 {
return PyramidImage_.GetPositionOffset(); }
119 std::vector<CalibratedImage<StorageType> >
Data_;
124 const unsigned factor)
const;
134 #endif // __CalibratedPyramid_hh__
This class takes care of consisiten re-sampling of images and associated ProjectionParameters.
unsigned Size() const
returns the number of images stored in the pyramid
pointer with reference count and automatic deletion
const CalibratedImage< StorageType > & operator[](const unsigned index) const
access operator
PyramidImage< StorageType > PyramidImage_
Internal data: Data_.size() must always be equal to PyramidImage_.GetPyramidSize() ...
std::vector< CalibratedImage< StorageType > > Data_
holds the projection parameters and ptrs to the associated images
class BIASImageBase_EXPORT Image
double GetRescaleFactor() const
get the subsampling factor: 2.0 equals
CalibratedImage< StorageType > & operator[](const unsigned index)
access operator
SharedPtr< Image< StorageType > > image
The image template class for specific storage types.
helper class holding image and associated calibration
double GetPositionOffset() const
SharedPtr< ProjectionParametersBase > projection
class BIASGeometry_EXPORT ProjectionParametersBase
bool IsEmpty() const
check for emptyness