tidy3d.plugins.autograd.functions.grey_closing#
- class grey_closing[source]#
- Bases: - Perform grey closing on an array. - Parameters:
- array (NDArray) β The input array to perform grey closing on. 
- size (Union[Union[int, Tuple[int, int]], None] = None) β The size of the structuring element. If None, structure must be provided. 
- structure (Union[NDArray, None] = None) β The structuring element. If None, size must be provided. 
- mode (PaddingType = "reflect") β The padding mode to use. 
- maxval (float = 1e4) β Value to assume for infinite elements in the kernel. 
 
- Returns:
- The result of the grey closing operation. 
- Return type:
- NDArray 
 - Inherited Common Usage