Corrections for compiling issues in Win, And and Doc
This commit is contained in:
committed by
Vadim Pisarevsky
parent
61c27ac81e
commit
fe7bab499f
@@ -104,7 +104,7 @@ protected:
|
||||
String name_;
|
||||
};
|
||||
|
||||
static double distance(Point2f p, Point2f q)
|
||||
static float distance(Point2f p, Point2f q)
|
||||
{
|
||||
Point2f diff = p - q;
|
||||
float norma = diff.x*diff.x + diff.y*diff.y;// - 2*diff.x*diff.y;
|
||||
@@ -237,7 +237,7 @@ void ThinPlateSplineShapeTransformerImpl::estimateTransformation(InputArray _pts
|
||||
{
|
||||
if (i==j)
|
||||
{
|
||||
matK.at<float>(i,j)=regularizationParameter;
|
||||
matK.at<float>(i,j)=float(regularizationParameter);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user