| 162 | } |
| 163 | |
| 164 | Tensor 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 | |
| 176 | TensorBatch VarShapeFindHomographyInto(TensorBatch &models, TensorBatch &srcPts, TensorBatch &dstPts, |
| 177 | std::optional<Stream> pstream) |
nothing calls this directly
no test coverage detected