Commit ce56301f authored by Cédric Traizet's avatar Cédric Traizet

ENH: code review image regression

parent 3a785cbf
Pipeline #2548 passed with stages
in 74 minutes and 49 seconds
......@@ -895,7 +895,7 @@ Two applications are available for training:
- `TrainImagesRegression` can be used to train a classifier from multiple pairs of predictor images and label images.
There is two ways to use this application:
There are two ways to use this application:
It is possible to provide for each input image a vector data file with geometries
corresponding to the input locations that will be used for training. This is achieved by using the `io.vd` parameter.
......
......@@ -44,16 +44,6 @@ class AffineFunctor
public:
typedef double InternalType;
// constructor
AffineFunctor() : m_A(1.0), m_B(0.0)
{
}
// destructor
virtual ~AffineFunctor()
{
}
void SetA(InternalType a)
{
m_A = a;
......@@ -70,8 +60,8 @@ public:
}
private:
InternalType m_A;
InternalType m_B;
InternalType m_A = 1.0;
InternalType m_B = 0.0;
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment