| 81 | } |
| 82 | |
| 83 | ImageBatchVarShape LaplacianVarShape(ImageBatchVarShape &input, Tensor &ksize, Tensor &scale, NVCVBorderType border, |
| 84 | std::optional<Stream> pstream) |
| 85 | { |
| 86 | ImageBatchVarShape output = ImageBatchVarShape::Create(input.numImages()); |
| 87 | |
| 88 | for (int i = 0; i < input.numImages(); ++i) |
| 89 | { |
| 90 | nvcv::ImageFormat format = input[i].format(); |
| 91 | nvcv::Size2D size = input[i].size(); |
| 92 | auto image = Image::Create(size, format); |
| 93 | output.pushBack(image); |
| 94 | } |
| 95 | |
| 96 | return LaplacianVarShapeInto(output, input, ksize, scale, border, pstream); |
| 97 | } |
| 98 | |
| 99 | } // namespace |
| 100 |
nothing calls this directly
no test coverage detected