Visual Servoing Platform
version 3.7.0
Loading...
Searching...
No Matches
vpTemplateTrackerSSDInverseCompositional.h
1
/*
2
* ViSP, open source Visual Servoing Platform software.
3
* Copyright (C) 2005 - 2025 by Inria. All rights reserved.
4
*
5
* This software is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
9
* See the file LICENSE.txt at the root directory of this source
10
* distribution for additional information about the GNU GPL.
11
*
12
* For using ViSP with software that can not be combined with the GNU
13
* GPL, please contact Inria about acquiring a ViSP Professional
14
* Edition License.
15
*
16
* See https://visp.inria.fr for more information.
17
*
18
* This software was developed at:
19
* Inria Rennes - Bretagne Atlantique
20
* Campus Universitaire de Beaulieu
21
* 35042 Rennes Cedex
22
* France
23
*
24
* If you have questions regarding the use of this file, please contact
25
* Inria at visp@inria.fr
26
*
27
* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
28
* WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
29
*
30
* Description:
31
* Template tracker.
32
*
33
* Authors:
34
* Amaury Dame
35
* Aurelien Yol
36
*/
41
#ifndef vpTemplateTrackerSSDInverseCompositional_hh
42
#define vpTemplateTrackerSSDInverseCompositional_hh
43
44
#include <vector>
45
46
#include <visp3/core/vpConfig.h>
47
#include <visp3/tt/vpTemplateTrackerSSD.h>
48
49
BEGIN_VISP_NAMESPACE
62
class
VISP_EXPORT
vpTemplateTrackerSSDInverseCompositional
:
public
vpTemplateTrackerSSD
63
{
64
protected
:
65
bool
compoInitialised
;
66
vpMatrix
HInv
;
67
vpMatrix
HCompInverse
;
68
bool
useTemplateSelect
;
// use only the strong gradient pixels to compute the Jabocian
69
70
protected
:
71
void
initHessienDesired
(
const
vpImage<unsigned char>
&I);
72
void
initCompInverse
(
const
vpImage<unsigned char>
&I);
73
void
trackNoPyr
(
const
vpImage<unsigned char>
&I);
74
75
public
:
76
VP_EXPLICIT
vpTemplateTrackerSSDInverseCompositional
(
vpTemplateTrackerWarp
*warp);
77
80
void
setUseTemplateSelect
(
bool
b) {
useTemplateSelect
= b; }
81
};
82
END_VISP_NAMESPACE
83
#endif
vpImage
Definition of the vpImage class member functions.
Definition
vpImage.h:131
vpMatrix
Implementation of a matrix and operations on matrices.
Definition
vpMatrix.h:175
vpTemplateTrackerSSDInverseCompositional::vpTemplateTrackerSSDInverseCompositional
VP_EXPLICIT vpTemplateTrackerSSDInverseCompositional(vpTemplateTrackerWarp *warp)
Definition
vpTemplateTrackerSSDInverseCompositional.cpp:41
vpTemplateTrackerSSDInverseCompositional::setUseTemplateSelect
void setUseTemplateSelect(bool b)
Definition
vpTemplateTrackerSSDInverseCompositional.h:80
vpTemplateTrackerSSDInverseCompositional::compoInitialised
bool compoInitialised
Definition
vpTemplateTrackerSSDInverseCompositional.h:65
vpTemplateTrackerSSDInverseCompositional::HInv
vpMatrix HInv
Definition
vpTemplateTrackerSSDInverseCompositional.h:66
vpTemplateTrackerSSDInverseCompositional::initCompInverse
void initCompInverse(const vpImage< unsigned char > &I)
Definition
vpTemplateTrackerSSDInverseCompositional.cpp:49
vpTemplateTrackerSSDInverseCompositional::HCompInverse
vpMatrix HCompInverse
Definition
vpTemplateTrackerSSDInverseCompositional.h:67
vpTemplateTrackerSSDInverseCompositional::useTemplateSelect
bool useTemplateSelect
Definition
vpTemplateTrackerSSDInverseCompositional.h:68
vpTemplateTrackerSSD::vpTemplateTrackerSSD
VP_EXPLICIT vpTemplateTrackerSSD(vpTemplateTrackerWarp *warp)
Definition
vpTemplateTrackerSSD.cpp:41
vpTemplateTrackerSSD::initHessienDesired
virtual void initHessienDesired(const vpImage< unsigned char > &I)=0
vpTemplateTrackerSSD::trackNoPyr
virtual void trackNoPyr(const vpImage< unsigned char > &I)=0
vpTemplateTrackerWarp
Definition
vpTemplateTrackerWarp.h:65
BEGIN_VISP_NAMESPACE
Definition
vpMbtDistanceCircle.cpp:55
modules
tracker
tt
include
visp3
tt
vpTemplateTrackerSSDInverseCompositional.h
Generated by
1.15.0