imgaussfilt
2-D Gaussian filtering of images
Description
B = imgaussfilt(___,Name=Value)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Tips
- If image - Acontains elements with values- Infor- NaN, then the behavior of- imgaussfiltfor frequency domain filtering is undefined. This can happen if you set the- FilterDomainname-value argument to- "frequency"or if you set it to- "auto"and- imgaussfiltuses frequency domain filtering. To restrict the propagation of- Infs and- NaNs in the output in a manner similar to- imfilter, consider setting the- FilterDomainname-value argument to- "spatial".
- If you set the - FilterDomainname-value argument to- "auto", then- imgaussfiltuses an internal heuristic to determine whether spatial or frequency domain filtering is faster. This heuristic is machine dependent and may vary for different configurations. For optimal performance, try both options,- "spatial"and- "frequency", to determine the best filtering domain for your image and kernel size.
- If you do not specify the - Paddingname-value argument, then- imgaussfiltuses- "replicate"padding by default, which is different from the default used by- imfilter.
