More abstract tracker declaration

    This contribution changes the way how trackers should be implemented by
    programmer. It should be noted first, that from the user prospective,
    Tracker::create() method still can be called with the same effect.
    However, there's no more thing as a "constructor" for Tracker, they
    should be created via static functions, e.g.
        static Ptr<TrackerMIL> createTracker(const TrackerMIL::Params &parameters=TrackerMIL::Params());
    
    From the programmer's perspective now for every tracker what is declared
    in tracker.hpp header is more a "interface", while the real
    implementation class can (and has to) be implemented in .cpp file.
    
    Changes in documentation are also ready as well.
resolved


2014-07-08 19:21 GMT+09:00 Antonella Cascitelli <notifications@github.com>:

> In modules/tracking/src/trackerBoosting.cpp:
>
> > @@ -45,6 +45,22 @@
> >  namespace cv
> >  {
> >
> > +class TrackerBoostingImpl : public TrackerBoosting
> > +{
> > + public:
> > +  TrackerBoostingImpl( const TrackerBoosting::Params &parameters = TrackerBoosting::Params() );
> > +  void read( const FileNode& fn );
> > +  void write( FileStorage& fs ) const;
> > +
> > + protected:
> > +
> > +  bool initImpl( const Mat& image, const Rect2d& boundingBox );
> > +  bool updateImpl( const Mat& image, Rect2d& boundingBox );
> > +  void compute_integral( const Mat & img, Mat & ii_img );
>
> TrackerBoosting doens't have the compute_integral method
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Itseez/opencv_contrib/pull/30/files#r14645871>.
>