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
mpscnnneuronlogarithm(3) - mojave
mpscnnneuronrelun(3) - mojave
mpscnnneuronrelu(3) - mojave
mpscnnneurontanh(3) - mojave
mpsimagemedian(3) - mojave
Similar Topics in the Unix Linux Community
Split large xml into mutiple files and with header and footer in file
UNIX tool on MacOS that can increase resolution of a file
Cannot extract libraries using sed
My first PERL incarnation... Audio Oscillograph
Python 3.8.0rc1 released.