MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / FindHomography

Function FindHomography

python/mod_cvcuda/operators/OpFindHomography.cpp:164–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164Tensor FindHomography(Tensor &srcPts, Tensor dstPts, std::optional<Stream> pstream)
165{
166 Shape modelsShape(3);
167 modelsShape[0] = srcPts.shape()[0];
168 modelsShape[1] = 3;
169 modelsShape[2] = 3;
170
171 Tensor models = Tensor::Create(modelsShape, nvcv::TYPE_F32, nvcv::TENSOR_NHW);
172
173 return FindHomographyInto(models, srcPts, dstPts, pstream);
174}
175
176TensorBatch VarShapeFindHomographyInto(TensorBatch &models, TensorBatch &srcPts, TensorBatch &dstPts,
177 std::optional<Stream> pstream)

Callers

nothing calls this directly

Calls 2

FindHomographyIntoFunction · 0.85
shapeMethod · 0.45

Tested by

no test coverage detected