mojave man page for mpsimageerode

Query: mpsimageerode

OS: mojave

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MPSImageErode(3)					 MetalPerformanceShaders.framework					  MPSImageErode(3)

NAME
MPSImageErode
SYNOPSIS
#import <MPSImageMorphology.h> Inherits MPSImageDilate. Additional Inherited Members Detailed Description The MPSImageErode filter finds the minimum pixel value in a rectangular region centered around each pixel in the source image. It is like the MPSImageAreaMin, except that the intensity at each position is calculated relative to a different value before determining which is the maximum pixel value, allowing for shaped, non-rectangular morphological probes. for each pixel in the filter window: value = pixel[filterY][filterX] + filter[filterY*filter_width+filterX] if( value < bestValue ){ result = value bestValue = value; } A filter that contains all zeros is identical to a MPSImageAreaMin filter. The center filter element is assumed to be 0, to avoid causing a general lightening of the image. The definition of the filter for MPSImageErode is different from vImage. (MPSErode_filter_value = 1.0f-vImageErode_filter_value.) This allows MPSImageDilate and MPSImageErode to use the same filter, making open and close operators easier to write. The edgeMode property is assumed to always be MPSImageEdgeModeClamp for this filter. Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSImageErode(3)
Related Man Pages
mpscnnneuronhardsigmoid(3) - mojave
mpscnnneuronlogarithm(3) - mojave
mpscnnneuronpower(3) - mojave
mpscnnneurontanh(3) - mojave
mpsimagelaplacian(3) - mojave
Similar Topics in the Unix Linux Community
Update: Uploading Movies at Attachments to Posts
12-Core MacPro (2013) kernel_task over 1200%
My first PERL incarnation... Audio Oscillograph
[BASH] eval command not expanding variables as expected.