FUNCTION REFERENCE
imgaussfilt
2-D Gaussian filtering of an image.
2-D Gaussian filtering of an image.
Syntax
B = imgaussfilt(A)Syntax
B = imgaussfilt(A, sigma, 'FilterSize', n, 'Padding', p)Correlates with a Gaussian kernel normalised to sum 1. sigma is a positive scalar or [sigma_rows sigma_cols] (default 0.5); FilterSize is an odd n or [rows cols] (default 2*ceil(2*sigma)+1); Padding is 'replicate' (default), 'circular', 'symmetric' or a number. 'FilterDomain' is accepted; the result is always computed in the spatial domain (two 1-D passes). The class is kept. FilterSize is at most 4096, so with the default size sigma is at most 1023.5.
Example
imgaussfilt(magic(4))Example
imgaussfilt(uint8(magic(5)), 1, 'Padding', 'symmetric')Differences from MATLAB: FilterSize is limited to 4096 (MATLAB has no published limit).
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.