#include <Image/PyramidImage.hh>


Public Member Functions | |
| void | AddDebugLevel (const std::string &name) |
| void | AddDebugLevel (const long int lv) |
| void | clear () |
| void | Clear () |
| int | CreateAdditionalLayer (unsigned int numnewLayers=1, unsigned int minImageWidth=32) |
| resizes this and fills correctly with smaller images | |
| bool | DebugLevelIsSet (const std::string &name) const |
| bool | DebugLevelIsSet (const long int lv) const |
| int | Downsample () |
| downsamples from (*this)[0] assumes that all pointers e.g. | |
| void | Dump (std::ostream &os=std::cout) const |
| bool | empty () const |
| deprecated interface | |
| int | GetAnisotropicImageValue (const double &xsource, const double &ysource, const Matrix2x2< double > &Cov, double &T, unsigned int channel=0) const |
| computes (Gaussian) expectation value across a region, used e.g. | |
| int | GetDebugLevel () const |
| void | GetDebugStream (std::ostream &os) const |
| std::ostream & | GetDebugStream () const |
| std::vector< double > | GetFactors () |
| const std::vector< double > & | GetFactors () const |
| double | GetImageValue (const double &x, const double &y, unsigned int scale, int channel=0) const |
| bilinear value from scale space: (x,y) is position in pyramid[0], 0<=scale<=size()-1 is pyramid level | |
| double | GetPositionOffset () const |
| unsigned | GetPyramidSize () const |
| deprecated interface | |
| double | GetRescaleFactor () const |
| void | GetSingleImage (Image< StorageType > &im) const |
| returns a single image containing all pyramid images | |
| int | GetTrilinearImageValue (const double &x, const double &y, const double &scale, double &T, int channel=0) const |
| trilinear value from scale space: (x,y) is position in pyramid[0], 0<=scale<=size()-1 is pyramid level | |
| void | Init (const unsigned pyramid_size) |
| initializes with empty images | |
| void | Init (const unsigned int width, const unsigned int height, const unsigned int channelcount, const unsigned py_size) |
| void | Init (const Image< StorageType > &image, const unsigned py_size=0) |
| copy image into level 0 and create other levels according to parameters set so far (pyramidsize, filter,. | |
| void | InitFromImageBase (const ImageBase &image, const unsigned py_size=0) |
| same as Init(Image) but can use different ST, e.g. | |
| bool | IsEmpty () const |
| bool | IsInROI (double x, double y, int layer) const |
| long int | Name2DebugLevel (const std::string &name) const |
| looks up a debuglevel in the internal map, returns 0 if not found | |
| long int | NewDebugLevel (const std::string &name) |
| creates a new debuglevel | |
| PyramidImage< StorageType > & | operator= (const PyramidImage< StorageType > &pim) |
| deep copy assignement | |
| SharedPtr< const Image < StorageType > > | operator[] (const unsigned index) const |
| SharedPtr< Image< StorageType > > & | operator[] (const unsigned index) |
| element access | |
| void | PrintDebugLevel (std::ostream &os=std::cout) const |
| PyramidImage (const double factor, const std::vector< SharedPtr< Image< StorageType > > > &imgs) | |
| PyramidImage (const PyramidImage< StorageType > &pim) | |
| PyramidImage () | |
| void | RemoveDebugLevel (const std::string &name) |
| void | RemoveDebugLevel (const long int lv) |
| virtual void | resize (const unsigned size) |
| void | SetDebugLevel (const std::string &name) |
| void | SetDebugLevel (const long int lv) |
| void | SetDebugStream (const std::ostream &os) |
| void | SetLowPassFilter (const FilterNToN< StorageType, StorageType > &filter) |
| void | SetLowPassType (int lpt) |
| void | SetRescaleFactor (const double factor) |
| int | SetROI (const ROI &roi) |
| set the ROI for all images from original ROI from Img | |
| int | SetROI (unsigned minx, unsigned miny, unsigned maxx, unsigned maxy) |
| set the ROI for all images | |
| void | SetUID (BIAS::UUID uid) |
| void | SetZero () |
| sets all pixels in all images to zero | |
| virtual PyramidImageInterface < StorageType > * | ShallowClone () const |
| create a shallow clone | |
| PyramidImage< StorageType > & | ShallowCopy (const PyramidImage< StorageType > &pim) |
| sets this as shallow copy of pim | |
| void | ShowDebugLevel (std::ostream &os=std::cout) const |
| prints all internally known debuglevels | |
| unsigned | size () const |
| deprecated interface | |
| unsigned | Size () const |
| int | WriteImages (const std::string &prefix) const |
| writes a file in mip format per pyramid level using prefix | |
| ~PyramidImage () | |
Static Public Member Functions | |
| static long int | GetGlobalDebugLevel () |
| static void | SetGlobalDebugLevel (long int lev) |
Protected Member Functions | |
| void | _CreateLevels () |
| creates the levels by downsampling from (*this)[0] | |
| long | ConsumeNextFreeDebuglevel_ () |
| returns the next available debuglevel | |
| virtual void | push_back (SharedPtr< Image< StorageType > > img) |
Protected Attributes | |
| std::vector< SharedPtr< Image < StorageType > > > | _Images |
| long int | _liDebugLevel |
| long int | _liNextDebugLevel |
| new concept, debuglevel are managed here in the debug class | |
| double | _PositionOffset |
| Offset which needs to be used when transferring point locations between pyramid levels:. | |
| Rescale< StorageType, StorageType > | _rescale |
| double | _RescaleFactor |
| std::map< std::string, long int > | _String2Debuglevel |
| std::vector< double > | _vFactor |
Static Protected Attributes | |
| static std::ostream | _zDebugStream |
| static long int | GlobalDebugLevel = 0 |
Represent a pyramid image, i.e. multiple downsampled images. The image with index 0 has the original size, while each (i+1)-th image has half the size of the i-th image.
EvaluateAlignment.cpp, ExampleAlignment.cpp, ExamplePyramidImage.cpp, ExampleTracker.cpp, TestGui.cpp, TestGuiCV.cpp, TestGuiPyramid.cpp, and TestPyramidImage.cpp.
Definition at line 55 of file PyramidImage.hh.
| PyramidImage::PyramidImage | ( | ) | [inline] |
| PyramidImage::PyramidImage | ( | const PyramidImage< StorageType > & | pim | ) | [inline] |
Definition at line 64 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_RescaleFactor.
| BIAS::PyramidImage< StorageType >::PyramidImage | ( | const double | factor, | |
| const std::vector< SharedPtr< Image< StorageType > > > & | imgs | |||
| ) |
| PyramidImage::~PyramidImage | ( | ) | [inline] |
Definition at line 90 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::clear().
| void PyramidImage::_CreateLevels | ( | ) | [inline, protected] |
creates the levels by downsampling from (*this)[0]
Definition at line 486 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_Images, BIAS::PyramidImage< StorageType >::_PositionOffset, BIAS::PyramidImage< StorageType >::_rescale, BIAS::PyramidImage< StorageType >::_RescaleFactor, BIAS::PyramidImage< StorageType >::_vFactor, BIAS::Rescale< InputStorageType, OutputStorageType >::Filter(), and BIAS::Rescale< InputStorageType, OutputStorageType >::GetPositionOffset().
Referenced by BIAS::PyramidImage< StorageType >::Init(), and BIAS::PyramidImage< StorageType >::InitFromImageBase().
| void BIAS::Debug::AddDebugLevel | ( | const std::string & | name | ) | [inline, inherited] |
| void BIAS::Debug::AddDebugLevel | ( | const long int | lv | ) | [inline, inherited] |
Reimplemented in BIAS::GLProjectionParametersBase.
Definition at line 356 of file Debug.hh.
Referenced by BIAS::GLProjectionParametersBase::AddDebugLevel(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::FilterBase< InputStorageType, OutputStorageType >::FilterBase(), BIAS::RANSAC< SolutionType >::RANSAC(), and BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph().
| void BIAS::PyramidImage< StorageType >::clear | ( | ) | [inline] |
Definition at line 88 of file PyramidImage.hh.
Referenced by BIAS::PyramidImage< StorageType >::~PyramidImage().
| void PyramidImage::Clear | ( | ) | [inline, virtual] |
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 210 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_Images, BIAS::PyramidImage< StorageType >::_PositionOffset, and BIAS::PyramidImage< StorageType >::_vFactor.
Referenced by BIAS::BackwardMapping< InputStorageType, OutputStorageType >::BuildPyramid_(), BIAS::PyramidImage< StorageType >::Init(), BIAS::PyramidImage< StorageType >::InitFromImageBase(), BIAS::PyramidImage< StorageType >::operator=(), and BIAS::PyramidImage< StorageType >::ShallowCopy().
| long BIAS::Debug::ConsumeNextFreeDebuglevel_ | ( | ) | [inline, protected, inherited] |
| int PyramidImage::CreateAdditionalLayer | ( | unsigned int | numnewLayers = 1, |
|
| unsigned int | minImageWidth = 32 | |||
| ) | [inline] |
resizes this and fills correctly with smaller images
Make sure that you do not change the filter type between initial pyramid creation and the call to this function, otherwise the global scalar _PositionOffset becomes inconsistent
No images smaller than minImageWidth will be created. I case such an image is rejected, return value is set to +1.
Definition at line 448 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_Images, BIAS::PyramidImage< StorageType >::_rescale, BIAS::PyramidImage< StorageType >::_RescaleFactor, BIAS::PyramidImage< StorageType >::_vFactor, BIAS::Rescale< InputStorageType, OutputStorageType >::Filter(), BIAS::PyramidImage< StorageType >::IsEmpty(), and BIAS::PyramidImage< StorageType >::push_back().
Referenced by BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetTrilinearImageValue_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), and BIAS::BackwardMapping< InputStorageType, OutputStorageType >::SetPyramidSize().
| bool BIAS::Debug::DebugLevelIsSet | ( | const std::string & | name | ) | const [inline, inherited] |
| bool BIAS::Debug::DebugLevelIsSet | ( | const long int | lv | ) | const [inline, inherited] |
Definition at line 342 of file Debug.hh.
Referenced by BIAS::GenSynthMatches::_AddUniformDistributedOutliers(), BIAS::Rescale< InputStorageType, OutputStorageType >::_ApplyMeanFilter(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::_CalcCornerness(), BIAS::GaussThreshold< InputStorageType, OutputStorageType >::_CalculateKernels(), BIAS::Gauss< InputStorageType, OutputStorageType >::_CalculateKernels(), BIAS::LinearRegionDetector< StorageType, CalculationType >::_ComputeCornerness(), BIAS::CornerDetectorKLT< StorageType, CalculationType >::_ComputeCornerness(), BIAS::GenSynthMatches::_CreateCamMovement(), BIAS::GenSynthMatches::_CreateStatic2DPoints(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolated(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedColor(), BIAS::Rescale< InputStorageType, OutputStorageType >::_FillInterpolatedGrey(), BIAS::ImageBlender::BlendImages(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor3x3(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor5x5(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensor7x7(), BIAS::StructureTensor< InputStorageType, OutputStorageType >::CalcStructureTensorValid(), BIAS::UnscentedTransform::ComputeSigmaPoints_(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::CornerDetectorGradient< StorageType, CalculationType >::Detect(), BIAS::Rescale< InputStorageType, OutputStorageType >::DownsampleBy2Color(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter3x3ValidGreyFloat(), BIAS::Binomial< InputStorageType, OutputStorageType >::Filter5x5ValidGreyFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterFloat(), BIAS::Convolution< InputStorageType, OutputStorageType >::FilterInt(), BIAS::RANSAC< SolutionType >::GenerateSamplesRandom(), BIAS::GenSynthMatches::GetGTNormalizedF(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), and BIAS::MonteCarloTransform::Transform().
| int PyramidImage::Downsample | ( | ) | [inline, virtual] |
downsamples from (*this)[0] assumes that all pointers e.g.
(*this)[1] are valid and point to an image of correct size returns 0 on success, anything else on failure
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 285 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_Images, BIAS::PyramidImage< StorageType >::_PositionOffset, BIAS::PyramidImage< StorageType >::_rescale, BIAS::Rescale< InputStorageType, OutputStorageType >::Downsample(), and BIAS::Rescale< InputStorageType, OutputStorageType >::GetPositionOffset().
| void PyramidImage::Dump | ( | std::ostream & | os = std::cout |
) | const [inline, virtual] |
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 751 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_Images, and BIAS::PyramidImage< StorageType >::_RescaleFactor.
| bool BIAS::PyramidImageInterface< StorageType >::empty | ( | ) | const [inline, inherited] |
deprecated interface
Definition at line 97 of file PyramidImageInterface.hh.
Referenced by BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirectAgain(), and BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGreyAgain().
| int PyramidImage::GetAnisotropicImageValue | ( | const double & | xsource, | |
| const double & | ysource, | |||
| const Matrix2x2< double > & | Cov, | |||
| double & | T, | |||
| unsigned int | channel = 0 | |||
| ) | const [inline] |
computes (Gaussian) expectation value across a region, used e.g.
in anisotropic anti-aliasing
Definition at line 656 of file PyramidImage.cpp.
References BIAS::Matrix2x2< T >::EigenvalueDecomposition(), BIAS::PyramidImage< StorageType >::GetImageValue(), BIAS::PyramidImage< StorageType >::GetTrilinearImageValue(), and BIAS::PyramidImage< StorageType >::IsInROI().
Referenced by BIAS::ImageAlignment::Align(), and BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetAnisotropicImageValue_().
| int BIAS::Debug::GetDebugLevel | ( | ) | const [inline, inherited] |
Definition at line 333 of file Debug.hh.
Referenced by BIAS::MSAC< SolutionType >::_GenerateSamplesRandom(), BIAS::ImageAlignment::Align(), BIAS::ExampleDebug::func(), BIAS::FMatrix::GetEpipoles(), BIAS::GuiGTK::MouseMotionCallback_(), BIAS::Image< StorageType >::operator=(), BIAS::ImageBase::operator=(), BIAS::ExampleDebug::ResetDebugLevelFromGlobal(), BIAS::TrackerBaseAffine2< StorageType >::TrackAffine_(), and BIAS::TrackerBaseAffine< StorageType >::TrackAffine_().
| void BIAS::Debug::GetDebugStream | ( | std::ostream & | os | ) | const [inline, inherited] |
| std::ostream& BIAS::Debug::GetDebugStream | ( | ) | const [inline, inherited] |
Definition at line 406 of file Debug.hh.
Referenced by BIAS::MSAC< SolutionType >::_GenerateSamplesRandom(), BIAS::RANSAC< SolutionType >::GenerateSamplesRandom(), and BIAS::GuiGTK::MouseMotionCallback_().
| std::vector<double> BIAS::PyramidImage< StorageType >::GetFactors | ( | ) | [inline] |
Definition at line 205 of file PyramidImage.hh.
| const std::vector<double>& BIAS::PyramidImage< StorageType >::GetFactors | ( | ) | const [inline] |
Definition at line 203 of file PyramidImage.hh.
Referenced by BIAS::PyramidImage< StorageType >::operator=(), and BIAS::PyramidImage< StorageType >::ShallowCopy().
| static long int BIAS::Debug::GetGlobalDebugLevel | ( | ) | [inline, static, inherited] |
Definition at line 432 of file Debug.hh.
Referenced by BIAS::ExampleDebug::func(), and BIAS::ExampleDebug::ResetDebugLevelFromGlobal().
| double PyramidImage::GetImageValue | ( | const double & | x, | |
| const double & | y, | |||
| unsigned int | scale, | |||
| int | channel = 0 | |||
| ) | const [inline, virtual] |
bilinear value from scale space: (x,y) is position in pyramid[0], 0<=scale<=size()-1 is pyramid level
Slow, but correct implementation, with boundary checking, takes care of PositionOffset
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 534 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_Images, BIAS::PyramidImage< StorageType >::_RescaleFactor, and BIAS::PyramidImage< StorageType >::GetPositionOffset().
Referenced by BIAS::ImageAlignment::Align(), and BIAS::PyramidImage< StorageType >::GetAnisotropicImageValue().
| double BIAS::PyramidImage< StorageType >::GetPositionOffset | ( | ) | const [inline, virtual] |
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 209 of file PyramidImage.hh.
Referenced by BIAS::PyramidImage< StorageType >::GetImageValue(), BIAS::PyramidImage< StorageType >::GetTrilinearImageValue(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetTrilinearImageValue_(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirectAgain(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), BIAS::PyramidImage< StorageType >::operator=(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), BIAS::PyramidImage< StorageType >::ShallowCopy(), and BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGreyAgain().
| unsigned BIAS::PyramidImageInterface< StorageType >::GetPyramidSize | ( | ) | const [inline, inherited] |
| double BIAS::PyramidImage< StorageType >::GetRescaleFactor | ( | ) | const [inline, virtual] |
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 195 of file PyramidImage.hh.
Referenced by BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetTrilinearImageValue_(), and BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_().
| void PyramidImage::GetSingleImage | ( | Image< StorageType > & | im | ) | const [inline, virtual] |
returns a single image containing all pyramid images
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 372 of file PyramidImage.cpp.
References BIAS::Image< StorageType >::FillImageWithConstValue(), BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::Image< StorageType >::GetImageDataArray(), BIAS::ImageBase::GetWidth(), BIAS::Image< StorageType >::Init(), and BIAS::Image< StorageType >::Release().
Referenced by BIAS::GuiBase::ShowImage().
| int PyramidImage::GetTrilinearImageValue | ( | const double & | x, | |
| const double & | y, | |||
| const double & | scale, | |||
| double & | T, | |||
| int | channel = 0 | |||
| ) | const [inline, virtual] |
trilinear value from scale space: (x,y) is position in pyramid[0], 0<=scale<=size()-1 is pyramid level
Slow, but correct implementation, with boundary checking, takes care of PositionOffset
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 565 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_Images, BIAS::PyramidImage< StorageType >::_RescaleFactor, and BIAS::PyramidImage< StorageType >::GetPositionOffset().
Referenced by BIAS::ImageAlignment::Align(), and BIAS::PyramidImage< StorageType >::GetAnisotropicImageValue().
| void PyramidImage::Init | ( | const unsigned | pyramid_size | ) | [inline, virtual] |
initializes with empty images
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 170 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::Clear(), BIAS::PyramidImage< StorageType >::IsEmpty(), and BIAS::PyramidImage< StorageType >::resize().
| void BIAS::PyramidImage< StorageType >::Init | ( | const unsigned int | width, | |
| const unsigned int | height, | |||
| const unsigned int | channelcount, | |||
| const unsigned | py_size | |||
| ) | [virtual] |
Implements BIAS::PyramidImageInterface< StorageType >.
| void PyramidImage::Init | ( | const Image< StorageType > & | image, | |
| const unsigned | py_size = 0 | |||
| ) | [inline, virtual] |
copy image into level 0 and create other levels according to parameters set so far (pyramidsize, filter,.
..)
| py_size | 0=auto, 1=only original image |
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 98 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_CreateLevels(), BIAS::PyramidImage< StorageType >::_RescaleFactor, BIAS::PyramidImage< StorageType >::Clear(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetROI(), BIAS::ROI::GetROIType(), BIAS::ImageBase::GetWidth(), BIAS::PyramidImage< StorageType >::IsEmpty(), BIAS::PyramidImage< StorageType >::push_back(), and BIAS::PyramidImage< StorageType >::SetROI().
Referenced by BIAS::BackwardMapping< InputStorageType, OutputStorageType >::SetPyramidSize(), and BIAS::GuiBase::ShowImage().
| void PyramidImage::InitFromImageBase | ( | const ImageBase & | image, | |
| const unsigned | py_size = 0 | |||
| ) | [inline, virtual] |
same as Init(Image) but can use different ST, e.g.
construct float pyramid from uchar image, uses ImageConvert then.
| py_size | 0=auto, 1=only original image |
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 134 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_CreateLevels(), BIAS::PyramidImage< StorageType >::_RescaleFactor, BIAS::PyramidImage< StorageType >::Clear(), BIAS::ImageConvert::ConvertST(), BIAS::ImageBase::GetChannelCount(), BIAS::ImageBase::GetHeight(), BIAS::ImageBase::GetStorageType(), BIAS::ImageBase::GetWidth(), BIAS::PyramidImage< StorageType >::IsEmpty(), and BIAS::PyramidImage< StorageType >::push_back().
Referenced by BIAS::BackwardMapping< InputStorageType, OutputStorageType >::BuildPyramid_().
| bool BIAS::PyramidImage< StorageType >::IsEmpty | ( | ) | const [inline, virtual] |
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 178 of file PyramidImage.hh.
Referenced by BIAS::BackwardMapping< InputStorageType, OutputStorageType >::BuildPyramid_(), BIAS::PyramidImage< StorageType >::CreateAdditionalLayer(), BIAS::PyramidImage< StorageType >::Init(), BIAS::PyramidImage< StorageType >::InitFromImageBase(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTri_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), BIAS::PyramidImage< StorageType >::operator=(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), and BIAS::PyramidImage< StorageType >::ShallowCopy().
| bool PyramidImage::IsInROI | ( | double | x, | |
| double | y, | |||
| int | layer | |||
| ) | const [inline] |
Definition at line 767 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_PositionOffset, and BIAS::PyramidImage< StorageType >::_RescaleFactor.
Referenced by BIAS::ImageAlignment::Align(), and BIAS::PyramidImage< StorageType >::GetAnisotropicImageValue().
| long int BIAS::Debug::Name2DebugLevel | ( | const std::string & | name | ) | const [inline, inherited] |
| long int BIAS::Debug::NewDebugLevel | ( | const std::string & | name | ) | [inline, inherited] |
creates a new debuglevel
Definition at line 475 of file Debug.hh.
Referenced by BIAS::Condensation::Condensation(), BIAS::COSAC< SolutionType >::COSAC(), BIAS::Histogram::Histogram(), BIAS::MonteCarloTransform::MonteCarloTransform(), myclass::myclass(), BIAS::PMatrixEstimation::PMatrixEstimation(), BIAS::PMatrixLinear::PMatrixLinear(), BIAS::PreemptiveRANSAC< SolutionType >::PreemptiveRANSAC(), BIAS::RANSAC< SolutionType >::RANSAC(), BIAS::RANSACPreKnowledge< SolutionType >::RANSACPreKnowledge(), BIAS::ROI::ROI(), BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph(), BIAS::ThreeDOutOpenSceneGraph::ThreeDOutOpenSceneGraph(), BIAS::Triangulation::Triangulation(), and BIAS::UnscentedTransform::UnscentedTransform().
| PyramidImage< StorageType > & PyramidImage::operator= | ( | const PyramidImage< StorageType > & | pim | ) | [inline] |
deep copy assignement
Definition at line 261 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_Images, BIAS::PyramidImage< StorageType >::_PositionOffset, BIAS::PyramidImage< StorageType >::_rescale, BIAS::PyramidImage< StorageType >::_RescaleFactor, BIAS::PyramidImage< StorageType >::_vFactor, BIAS::PyramidImage< StorageType >::Clear(), BIAS::PyramidImage< StorageType >::GetFactors(), BIAS::PyramidImage< StorageType >::GetPositionOffset(), BIAS::PyramidImage< StorageType >::IsEmpty(), BIAS::PyramidImage< StorageType >::resize(), and BIAS::PyramidImageInterface< StorageType >::size().
| SharedPtr<const Image<StorageType> > BIAS::PyramidImage< StorageType >::operator[] | ( | const unsigned | index | ) | const [inline, virtual] |
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 107 of file PyramidImage.hh.
| SharedPtr<Image<StorageType> >& BIAS::PyramidImage< StorageType >::operator[] | ( | const unsigned | index | ) | [inline, virtual] |
element access
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 103 of file PyramidImage.hh.
| void BIAS::Debug::PrintDebugLevel | ( | std::ostream & | os = std::cout |
) | const [inline, inherited] |
| virtual void BIAS::PyramidImage< StorageType >::push_back | ( | SharedPtr< Image< StorageType > > | img | ) | [inline, protected, virtual] |
Definition at line 248 of file PyramidImage.hh.
Referenced by BIAS::PyramidImage< StorageType >::CreateAdditionalLayer(), BIAS::PyramidImage< StorageType >::Init(), and BIAS::PyramidImage< StorageType >::InitFromImageBase().
| void BIAS::Debug::RemoveDebugLevel | ( | const std::string & | name | ) | [inline, inherited] |
| void BIAS::Debug::RemoveDebugLevel | ( | const long int | lv | ) | [inline, inherited] |
| void PyramidImage::resize | ( | const unsigned | size | ) | [inline, virtual] |
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 219 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_Images, and BIAS::PyramidImage< StorageType >::_vFactor.
Referenced by BIAS::PyramidImage< StorageType >::Init(), BIAS::PyramidImage< StorageType >::operator=(), and BIAS::PyramidImage< StorageType >::ShallowCopy().
| void BIAS::Debug::SetDebugLevel | ( | const std::string & | name | ) | [inline, inherited] |
| void BIAS::Debug::SetDebugLevel | ( | const long int | lv | ) | [inline, inherited] |
Reimplemented in BIAS::GLProjectionParametersBase.
Definition at line 319 of file Debug.hh.
Referenced by BIAS::Interpolator::Interpolator(), BIAS::ExampleDebug::ResetDebugLevelFromGlobal(), BIAS::MDcam::ScanBus(), BIAS::GLProjectionParametersBase::SetDebugLevel(), BIAS::MDcam::SetDebugLevelDcam(), BIAS::VideoSource_Disk::VideoSource_Disk(), BIAS::VideoSource_DV2::VideoSource_DV2(), BIAS::VideoSource_DV::VideoSource_DV_Internal_Init_(), and BIAS::VideoSource_V4L::VideoSource_V4L().
| void BIAS::Debug::SetDebugStream | ( | const std::ostream & | os | ) | [inline, inherited] |
| static void BIAS::Debug::SetGlobalDebugLevel | ( | long int | lev | ) | [inline, static, inherited] |
| void BIAS::PyramidImage< StorageType >::SetLowPassFilter | ( | const FilterNToN< StorageType, StorageType > & | filter | ) | [inline] |
Definition at line 197 of file PyramidImage.hh.
| void BIAS::PyramidImage< StorageType >::SetLowPassType | ( | int | lpt | ) | [inline] |
Definition at line 199 of file PyramidImage.hh.
| void BIAS::PyramidImage< StorageType >::SetRescaleFactor | ( | const double | factor | ) | [inline] |
Definition at line 193 of file PyramidImage.hh.
| int PyramidImage::SetROI | ( | const ROI & | roi | ) | [inline] |
set the ROI for all images from original ROI from Img
Definition at line 312 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_Images, BIAS::PyramidImage< StorageType >::_RescaleFactor, BIAS::ROI::GetROIType(), and BIAS::ROI::GetRows().
| int PyramidImage::SetROI | ( | unsigned | minx, | |
| unsigned | miny, | |||
| unsigned | maxx, | |||
| unsigned | maxy | |||
| ) | [inline, virtual] |
set the ROI for all images
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 345 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_Images, and BIAS::PyramidImage< StorageType >::_RescaleFactor.
Referenced by BIAS::PyramidImage< StorageType >::Init().
| void PyramidImage::SetUID | ( | BIAS::UUID | uid | ) | [inline, virtual] |
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 303 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_Images.
| void PyramidImage::SetZero | ( | ) | [inline, virtual] |
sets all pixels in all images to zero
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 362 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_Images.
| PyramidImageInterface< StorageType > * PyramidImage::ShallowClone | ( | ) | const [inline, virtual] |
create a shallow clone
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 251 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::ShallowCopy().
| PyramidImage< StorageType > & PyramidImage::ShallowCopy | ( | const PyramidImage< StorageType > & | pim | ) | [inline] |
sets this as shallow copy of pim
Definition at line 232 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_PositionOffset, BIAS::PyramidImage< StorageType >::_rescale, BIAS::PyramidImage< StorageType >::_RescaleFactor, BIAS::PyramidImage< StorageType >::_vFactor, BIAS::PyramidImage< StorageType >::Clear(), BIAS::PyramidImage< StorageType >::GetFactors(), BIAS::PyramidImage< StorageType >::GetPositionOffset(), BIAS::PyramidImage< StorageType >::IsEmpty(), BIAS::PyramidImage< StorageType >::resize(), and BIAS::PyramidImageInterface< StorageType >::size().
Referenced by BIAS::PyramidImage< StorageType >::ShallowClone().
| void BIAS::Debug::ShowDebugLevel | ( | std::ostream & | os = std::cout |
) | const [inline, inherited] |
| unsigned BIAS::PyramidImageInterface< StorageType >::size | ( | ) | const [inline, inherited] |
deprecated interface
Definition at line 102 of file PyramidImageInterface.hh.
Referenced by BIAS::ImageAlignment::Align(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::GetTrilinearImageValue_(), BIAS::AffineMapping< InputStorageType, OutputStorageType >::MapDirectAgain(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::MapTrilinearGreySimple_(), BIAS::PyramidImage< StorageType >::operator=(), BIAS::Tracker< StorageType, CalculationType >::PadPoints_(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::PrepareLookupTableMapping(), BIAS::Tracker< StorageType, CalculationType >::PreparePyramide(), BIAS::CornerMatcher::RefinePyramideNCC(), BIAS::BackwardMapping< InputStorageType, OutputStorageType >::SetPyramidSize(), BIAS::PyramidImage< StorageType >::ShallowCopy(), BIAS::GuiBase::ShowImage(), BIAS::ImageAlignment::StrictPyramidAlign(), and BIAS::AffineMapping< InputStorageType, OutputStorageType >::TrilinearGreyAgain().
| unsigned BIAS::PyramidImage< StorageType >::Size | ( | ) | const [inline, virtual] |
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 179 of file PyramidImage.hh.
| int PyramidImage::WriteImages | ( | const std::string & | prefix | ) | const [inline, virtual] |
writes a file in mip format per pyramid level using prefix
Implements BIAS::PyramidImageInterface< StorageType >.
Definition at line 515 of file PyramidImage.cpp.
References BIAS::PyramidImage< StorageType >::_Images, and BIAS::ImageIO::Save().
std::vector<SharedPtr<Image<StorageType> > > BIAS::PyramidImage< StorageType >::_Images [protected] |
Definition at line 220 of file PyramidImage.hh.
Referenced by BIAS::PyramidImage< StorageType >::_CreateLevels(), BIAS::PyramidImage< StorageType >::Clear(), BIAS::PyramidImage< StorageType >::CreateAdditionalLayer(), BIAS::PyramidImage< StorageType >::Downsample(), BIAS::PyramidImage< StorageType >::Dump(), BIAS::PyramidImage< StorageType >::GetImageValue(), BIAS::PyramidImage< StorageType >::GetTrilinearImageValue(), BIAS::PyramidImage< StorageType >::operator=(), BIAS::PyramidImage< StorageType >::resize(), BIAS::PyramidImage< StorageType >::SetROI(), BIAS::PyramidImage< StorageType >::SetUID(), BIAS::PyramidImage< StorageType >::SetZero(), and BIAS::PyramidImage< StorageType >::WriteImages().
long int BIAS::Debug::_liDebugLevel [protected, inherited] |
Definition at line 511 of file Debug.hh.
Referenced by BIAS::GuiGTK::DeleteEvent_(), BIAS::GuiGTK::Destroy_(), BIAS::GuiGTK::DrawingAreaExposeCallback_(), BIAS::GuiGTK::GtkMain(), BIAS::GuiGTK::KeyPressEventCallback_(), BIAS::GuiGTK::LabelExposeCallback_(), BIAS::GuiGTK::MouseButtonPressCallback_(), BIAS::GuiGTK::MouseButtonReleaseCallback_(), BIAS::GuiGTK::MouseMotionCallback_(), BIAS::Image< StorageType >::operator=(), BIAS::ImageBase::operator=(), and BIAS::Debug::operator=().
long int BIAS::Debug::_liNextDebugLevel [protected, inherited] |
new concept, debuglevel are managed here in the debug class
Definition at line 517 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
double BIAS::PyramidImage< StorageType >::_PositionOffset [protected] |
Offset which needs to be used when transferring point locations between pyramid levels:.
(2*xs+offset, 2*ys+offset) = (xb, yb) or (xs, ys) = ((xb-offset)/2.0, (yb-offset)/2.0)
where (xs, ys) is the pixel position in pixel coo. the smaller destination image and (xb, yb) is the position in pixel coo. in the bigger source image.
see Rescale::DowsampleBy2 for details
Definition at line 243 of file PyramidImage.hh.
Referenced by BIAS::PyramidImage< StorageType >::_CreateLevels(), BIAS::PyramidImage< StorageType >::Clear(), BIAS::PyramidImage< StorageType >::Downsample(), BIAS::PyramidImage< StorageType >::IsInROI(), BIAS::PyramidImage< StorageType >::operator=(), BIAS::PyramidImage< StorageType >::PyramidImage(), and BIAS::PyramidImage< StorageType >::ShallowCopy().
Rescale<StorageType, StorageType> BIAS::PyramidImage< StorageType >::_rescale [protected] |
Definition at line 223 of file PyramidImage.hh.
Referenced by BIAS::PyramidImage< StorageType >::_CreateLevels(), BIAS::PyramidImage< StorageType >::CreateAdditionalLayer(), BIAS::PyramidImage< StorageType >::Downsample(), BIAS::PyramidImage< StorageType >::operator=(), BIAS::PyramidImage< StorageType >::PyramidImage(), and BIAS::PyramidImage< StorageType >::ShallowCopy().
double BIAS::PyramidImage< StorageType >::_RescaleFactor [protected] |
Definition at line 226 of file PyramidImage.hh.
Referenced by BIAS::PyramidImage< StorageType >::_CreateLevels(), BIAS::PyramidImage< StorageType >::CreateAdditionalLayer(), BIAS::PyramidImage< StorageType >::Dump(), BIAS::PyramidImage< StorageType >::GetImageValue(), BIAS::PyramidImage< StorageType >::GetTrilinearImageValue(), BIAS::PyramidImage< StorageType >::Init(), BIAS::PyramidImage< StorageType >::InitFromImageBase(), BIAS::PyramidImage< StorageType >::IsInROI(), BIAS::PyramidImage< StorageType >::operator=(), BIAS::PyramidImage< StorageType >::PyramidImage(), BIAS::PyramidImage< StorageType >::SetROI(), and BIAS::PyramidImage< StorageType >::ShallowCopy().
std::map<std::string, long int> BIAS::Debug::_String2Debuglevel [protected, inherited] |
std::vector<double> BIAS::PyramidImage< StorageType >::_vFactor [protected] |
Definition at line 229 of file PyramidImage.hh.
Referenced by BIAS::PyramidImage< StorageType >::_CreateLevels(), BIAS::PyramidImage< StorageType >::Clear(), BIAS::PyramidImage< StorageType >::CreateAdditionalLayer(), BIAS::PyramidImage< StorageType >::operator=(), BIAS::PyramidImage< StorageType >::resize(), and BIAS::PyramidImage< StorageType >::ShallowCopy().
std::ostream BIAS::Debug::_zDebugStream [static, protected, inherited] |
Definition at line 512 of file Debug.hh.
Referenced by BIAS::GuiGTK::DeleteEvent_(), BIAS::GuiGTK::Destroy_(), BIAS::GuiGTK::DrawingAreaExposeCallback_(), BIAS::GuiGTK::GtkMain(), BIAS::GuiGTK::KeyPressEventCallback_(), BIAS::GuiGTK::LabelExposeCallback_(), BIAS::GuiGTK::MouseButtonPressCallback_(), BIAS::GuiGTK::MouseButtonReleaseCallback_(), BIAS::GuiGTK::MouseMotionCallback_(), and BIAS::Debug::operator=().
long int BIAS::Debug::GlobalDebugLevel = 0 [static, protected, inherited] |
1.5.6