refactoring in opencv_stitching
This commit is contained in:
@@ -16,7 +16,7 @@ Ptr<Warper> Warper::createByCameraFocal(float focal, int type)
|
||||
}
|
||||
|
||||
|
||||
void ProjectorBase::setCameraMatrix(const Mat &R)
|
||||
void ProjectorBase::setTransformation(const Mat &R)
|
||||
{
|
||||
CV_Assert(R.size() == Size(3, 3));
|
||||
CV_Assert(R.type() == CV_32F);
|
||||
@@ -31,13 +31,6 @@ void ProjectorBase::setCameraMatrix(const Mat &R)
|
||||
}
|
||||
|
||||
|
||||
Point Warper::operator ()(const Mat &src, float focal, const Mat& R, Mat &dst,
|
||||
int interp_mode, int border_mode)
|
||||
{
|
||||
return warp(src, focal, R, dst, interp_mode, border_mode);
|
||||
}
|
||||
|
||||
|
||||
void PlaneWarper::detectResultRoi(Point &dst_tl, Point &dst_br)
|
||||
{
|
||||
float tl_uf = numeric_limits<float>::max();
|
||||
|
Reference in New Issue
Block a user