Gaussian

cvcuda.gaussian(src: nvcv.Tensor, kernel_size: Tuple[int, int], sigma: Tuple[double, double], border: border_mode: cvcuda.Border, stream: Optional[nvcv.cuda.Stream] = None) nvcv.Tensor

Executes the Gaussian operation on the given cuda stream.

See also

Refer to the CV-CUDA C API reference for the Gaussian operator for more details and usage examples.

Parameters:
  • src (nvcv.Tensor) – Input tensor containing one or more images.

  • kernel_size (Tuple[int, int]) – Kernel width, height.

  • sigma (Tuple[double, double]) – Gaussian kernel standard deviation in X,Y directions.

  • border (cvcuda.Border, optional) – Border mode to be used when accessing elements outside input image.

  • stream (nvcv.cuda.Stream, optional) – CUDA Stream on which to perform the operation.

Returns:

The output tensor.

Return type:

nvcv.Tensor

Caution

Restrictions to several arguments may apply. Check the C API references of the CV-CUDA operator.

cvcuda.gaussian(src: nvcv.ImageBatchVarShape, kernel_size: nvcv.Tensor, sigma: nvcv.Tensor, border: border_mode: cvcuda.Border, stream: Optional[nvcv.cuda.Stream] = None) -> nvcv.ImageBatchVarShape

Executes the Gaussian operation on the given cuda stream.

See also

Refer to the CV-CUDA C API reference for the Gaussian operator for more details and usage examples.

Parameters:
  • src (nvcv.ImageBatchVarShape) – Input image batch containing one or more images.

  • kernel_size (nvcv.Tensor) – Kernel width, height.

  • sigma (nvcv.Tensor) – Gaussian kernel standard deviation in X,Y directions.

  • border (cvcuda.Border, optional) – Border mode to be used when accessing elements outside input image.

  • stream (nvcv.cuda.Stream, optional) – CUDA Stream on which to perform the operation.

Returns:

The output image batch.

Return type:

nvcv.ImageBatchVarShape

Caution

Restrictions to several arguments may apply. Check the C API references of the CV-CUDA operator.

cvcuda.gaussian_into(dst: nvcv.Tensor, src:  Tensor, kernel_size: Tuple[int, int], sigma: Tuple[double, double], border: border_mode: cvcuda.Border, stream: Optional[nvcv.cuda.Stream] = None)

Executes the Gaussian operation on the given cuda stream.

See also

Refer to the CV-CUDA C API reference for the Gaussian operator for more details and usage examples.

Parameters:
  • dst (nvcv.Tensor) – Output tensor to store the result of the operation.

  • src (nvcv.Tensor) – Input tensor containing one or more images.

  • kernel_size (Tuple[int, int]) – Kernel width, height.

  • sigma (Tuple[double, double]) – Gaussian kernel standard deviation in X,Y directions.

  • border (cvcuda.Border, optional) – Border mode to be used when accessing elements outside input image.

  • stream (nvcv.cuda.Stream, optional) – CUDA Stream on which to perform the operation.

Returns:

None

Caution

Restrictions to several arguments may apply. Check the C API references of the CV-CUDA operator.

cvcuda.gaussian_into(dst: nvcv.ImageBatchVarShape, src: nvcv.ImageBatchVarShape, kernel_size: nvcv.Tensor, sigma: nvcv.Tensor, border: border_mode: cvcuda.Border, stream: Optional[nvcv.cuda.Stream] = None)

Executes the Gaussian operation on the given cuda stream.

See also

Refer to the CV-CUDA C API reference for the Gaussian operator for more details and usage examples.

Parameters:
  • src (nvcv.ImageBatchVarShape) – Input image batch containing one or more images.

  • dst (nvcv.ImageBatchVarShape) – Output image batch containing the result of the operation.

  • kernel_size (nvcv.Tensor) – Kernel width, height.

  • sigma (nvcv.Tensor) – Gaussian kernel standard deviation in X,Y directions.

  • border (cvcuda.Border, optional) – Border mode to be used when accessing elements outside input image.

  • stream (nvcv.cuda.Stream, optional) – CUDA Stream on which to perform the operation.

Returns:

None

Caution

Restrictions to several arguments may apply. Check the C API references of the CV-CUDA operator.