Class GaussianBlur
Defined in File vision_lite.h
Inheritance Relationships
Base Type
public mindspore::dataset::TensorTransform
(Class TensorTransform)
Class Documentation
-
class GaussianBlur : public mindspore::dataset::TensorTransform
Blur the input image with the specified Gaussian kernel.
Public Functions
-
GaussianBlur(const std::vector<int32_t> &kernel_size, const std::vector<float> &sigma = {0., 0.})
Constructor.
- Parameters
kernel_size – [in] A vector of Gaussian kernel size for width and height. The value must be positive and odd.
sigma – [in] A vector of Gaussian kernel standard deviation sigma for width and height. The values must be positive. Using default value 0 means to calculate the sigma according to the kernel size.
-
~GaussianBlur() = default
Destructor.
-
GaussianBlur(const std::vector<int32_t> &kernel_size, const std::vector<float> &sigma = {0., 0.})