12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- /**
- * @file PDFImage.h
- * @brief accumulate two dimensional density
- * @author Erik Rodner
- * @date 04/16/2008
- */
- #ifndef PDFIMAGEINCLUDE
- #define PDFIMAGEINCLUDE
- #include "core/image/ImageT.h"
- #include "core/vector/VectorT.h"
- #include "core/vector/MatrixT.h"
-
- #include "PDF.h"
- namespace OBJREC {
- /** accumulate two dimensional density */
- class PDFImage : public PDF
- {
- protected:
- // refactor-nice.pl: check this substitution
- // old: ImageD imgd;
- NICE::FloatImage imgd;
- public:
-
- /** simple constructor */
- // refactor-nice.pl: check this substitution
- // old: PDFImage( const ImageD & imgd );
- PDFImage( const NICE::FloatImage & imgd );
-
- /** simple destructor */
- virtual ~PDFImage();
-
- // refactor-nice.pl: check this substitution
- // old: double getNLogDensity ( const Vector & x ) const;
- double getNLogDensity ( const NICE::Vector & x ) const;
- // refactor-nice.pl: check this substitution
- // old: double getProb ( const Vector & x ) const;
- double getProb ( const NICE::Vector & x ) const;
- int getDimension () const;
-
- };
- } // namespace
- #endif
|