Query: mpsimagelaplacian
OS: mojave
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MPSImageLaplacian(3) MetalPerformanceShaders.framework MPSImageLaplacian(3)NAMEMPSImageLaplacianSYNOPSIS#import <MPSImageConvolution.h> Inherits MPSUnaryImageKernel. Properties float bias Additional Inherited Members Detailed Description The MPSImageLaplacian is an optimized variant of the MPSImageConvolution filter provided primarily for ease of use. This filter uses an optimized convolution filter with a 3 x 3 kernel with the following weights: [ 0 1 0 1 -4 1 0 1 0 ] The optimized convolution filter used by MPSImageLaplacian can also be used by creating a MPSImageConvolution object with kernelWidth = 3, kernelHeight = 3 and weights as specified above. Property Documentation - bias [read], [write], [nonatomic], [assign] The bias is a value to be added to convolved pixel before it is converted back to the storage format. It can be used to convert negative values into a representable range for a unsigned MTLPixelFormat. For example, many edge detection filters produce results in the range [-k,k]. By scaling the filter weights by 0.5/k and adding 0.5, the results will be in range [0,1] suitable for use with unorm formats. It can be used in combination with renormalization of the filter weights to do video ranging as part of the convolution effect. It can also just be used to increase the brightness of the image. Default value is 0.0f. Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSImageLaplacian(3)
Related Man Pages |
---|
mpscnnbinaryfullyconnectednode(3) - mojave |
mpscnnconvolutiongradientnode(3) - mojave |
mpscnnfullyconnectednode(3) - mojave |
mpsimageareamax(3) - mojave |
mpsimagearithmetic(3) - mojave |
Similar Topics in the Unix Linux Community |
---|
Quicksilver Forums 1.4.2 (Default branch) |
QCodeEdit 2.2 (Default branch) |
Portofino 2.0.12 (Default branch) |
QCodeEdit 2.2.2 (Default branch) |
Sed decimal issue |