pub fn dilate<T>(input: &Array<T>, mask: &Array<T>) -> Array<T> where
T: HasAfEnum + ImageFilterType,
Dilate an Image
The dilation function takes two pieces of data as inputs. The first is the input image to be morphed, and the second is the mask indicating the neighborhood around each pixel to match.
In dilation, for each pixel, the mask is centered at the pixel. If the center pixel of the mask matches the corresponding pixel on the image, then the mask is accepted. If the center pixels do not matches, then the mask is ignored and no changes are made.
For further reference, see here.
input
is the input imagemask
is the morphological operation maskDilated Image(Array)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4