Function mindspore::dataset::GaussianBlur
Defined in File image_process.h
Function Documentation
-
bool mindspore::dataset::GaussianBlur(const LiteMat &src, LiteMat &dst, const std::vector<int> &ksize, double sigmaX, double sigmaY = 0.f, PaddBorderType pad_type = PaddBorderType::PADD_BORDER_DEFAULT)
Filter the image by a Gaussian kernel.
- Parameters
src – [in] LiteMat image to be processed. Only LiteMat of type UINT8 is supported now.
dst – [in] LiteMat image after processing.
ksize – [in] The size of Gaussian kernel. It should be a vector of size 2 as {kernel_x, kernel_y}, both value of which should be positive and odd.
sigmaX – [in] The Gaussian kernel standard deviation of width. It should be a positive value.
sigmaY – [in] The Gaussian kernel standard deviation of height (default=0.f). It should be a positive value, or will use the value of sigmaX.
pad_type – [in] The padding type used while filtering (default=PaddBorderType::PADD_BORDER_DEFAULT).