mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
Instrumentation for OpenCV API regions and IPP functions;
This commit is contained in:
@@ -146,6 +146,8 @@ static Point2f _applyTransformation(const Mat &shapeRef, const Point2f point, co
|
||||
void ThinPlateSplineShapeTransformerImpl::warpImage(InputArray transformingImage, OutputArray output,
|
||||
int flags, int borderMode, const Scalar& borderValue) const
|
||||
{
|
||||
CV_INSTRUMENT_REGION()
|
||||
|
||||
CV_Assert(tpsComputed==true);
|
||||
|
||||
Mat theinput = transformingImage.getMat();
|
||||
@@ -166,6 +168,8 @@ void ThinPlateSplineShapeTransformerImpl::warpImage(InputArray transformingImage
|
||||
|
||||
float ThinPlateSplineShapeTransformerImpl::applyTransformation(InputArray inPts, OutputArray outPts)
|
||||
{
|
||||
CV_INSTRUMENT_REGION()
|
||||
|
||||
CV_Assert(tpsComputed);
|
||||
Mat pts1 = inPts.getMat();
|
||||
CV_Assert((pts1.channels()==2) && (pts1.cols>0));
|
||||
@@ -189,6 +193,8 @@ float ThinPlateSplineShapeTransformerImpl::applyTransformation(InputArray inPts,
|
||||
void ThinPlateSplineShapeTransformerImpl::estimateTransformation(InputArray _pts1, InputArray _pts2,
|
||||
std::vector<DMatch>& _matches )
|
||||
{
|
||||
CV_INSTRUMENT_REGION()
|
||||
|
||||
Mat pts1 = _pts1.getMat();
|
||||
Mat pts2 = _pts2.getMat();
|
||||
CV_Assert((pts1.channels()==2) && (pts1.cols>0) && (pts2.channels()==2) && (pts2.cols>0));
|
||||
|
||||
Reference in New Issue
Block a user