Accelerate 示例代码
查看示例代码,了解如何实现 Accelerate API。
查看示例代码,了解如何实现 Accelerate API。
Desaturate a range of colors in an image with a multidimensional lookup table.
查看示例代码Find the main colors in an image by implementing k-means clustering using the Accelerate framework.
查看示例代码Add biquadratic filter audio-effect processing to apps like Logic Pro X and GarageBand with the Accelerate framework.
查看示例代码Convert a chroma-key color to alpha values and trim transparent pixels using Accelerate.
查看示例代码Use Model I/O and vImage to composite a photograph over a computer-generated sky.
查看示例代码Add real-time digital signal processing to apps like Logic Pro X and GarageBand with the BNNS Graph API.
查看示例代码Convert an RGB image to discrete luminance and chrominance channels, and apply color and contrast treatments.
查看示例代码Use a gamma function to apply a linear or exponential curve.
查看示例代码Convert an RGB image to L*a*b* color space and apply hue adjustment.
查看示例代码Use the vImage library's polynomial transform to apply tone curve adjustments to images.
查看示例代码Enhance and adjust the contrast of an image with histogram equalization and contrast stretching.
查看示例代码Calculate the histogram of one image and apply it to a second image.
查看示例代码Compress a string, write it to the file system, and decompress the same file using buffer compression.
查看示例代码Compress and decompress streamed or from-memory data, using input and output filters.
查看示例代码Perform compression or the appropriate kind of decompression to a file based on its path extension.
查看示例代码Perform compression for all files and decompression for files with supported extension types.
查看示例代码Create a multidimensional lookup table to convert RGB images to CMYK.
查看示例代码Learn the fundamentals of the convert-any-to-any function by converting a CMYK image to an RGB image.
查看示例代码Convert a color image to grayscale using matrix multiplication.
查看示例代码Create a displayable ARGB image from the luminance and chrominance information supplied by your device's camera
查看示例代码Use Model I/O and vImage to composite a photograph over a computer-generated sky.
查看示例代码Convert assets with disparate color spaces and bit depths to a standard working format for applying vImage operations.
查看示例代码Use vImage's convert-any-to-any function to perform real-time image processing of video frames streamed from your device's camera.
查看示例代码Transfer image data between Core Video pixel buffers and vImage buffers to integrate vImage operations into a Core Image workflow.
查看示例代码Use vImage to apply effects to a video feed in real time.
查看示例代码Compress the contents of a Unicode string and store the result on the file system.
查看示例代码Compress the contents of an entire directory and store the result on the file system.
查看示例代码Recreate an entire file system directory from an archive file.
查看示例代码Learn how vDSP packs frequency-domain data produced by Fourier transform routines.
查看示例代码Use 1D fast Fourier transform to compute the frequency components of a signal.
查看示例代码Reduce or remove periodic artifacts from images.
查看示例代码Use Accelerate's discrete cosine transform to remove noise from a signal.
查看示例代码Multiply signal data by window sequence values to reduce spectral leakage.
查看示例代码Reflect, shear, rotate, and scale image buffers using vImage.
查看示例代码Desaturate a range of colors in an image with a multidimensional lookup table.
查看示例代码Limit the effect of vImage operations to rectangular regions of interest.
查看示例代码Combine two images by using alpha blending to create a single output.
查看示例代码Combine two images by using blend modes to create a single output.
查看示例代码Provide descriptions of Core Graphics image formats for conversions to and from vImage.
查看示例代码Create displayable representations of vImage buffers.
查看示例代码Initialize vImage buffers from Core Graphics images.
查看示例代码Convert a chroma-key color to alpha values and trim transparent pixels using Accelerate.
查看示例代码Improve your app's performance by converting image buffer formats from interleaved to planar.
查看示例代码Avoid ringing effects introduced by the default Lanczos algorithm when scaling an image by using a custom resampling filter.
查看示例代码Reduce noise in an image using singular value decomposition (SVD).
查看示例代码Generate a real-time mel spectrogram of audio using matrix multiplication.
查看示例代码Use LAPACK to solve a linear system and find an interpolating polynomial to construct new points between a series of known data points.
查看示例代码Use LAPACK to solve a linear system and find an interpolating polynomial to construct new points between a series of known data points.
查看示例代码Select the optimal LAPACK routine to solve a system of linear equations.
查看示例代码Select the optimal LAPACK routine to solve a system of linear equations.
查看示例代码Operate selectively on the elements of a vector at regular intervals.
查看示例代码Reduce the sample rate of a signal, by specifying a decimation factor and applying a custom antialiasing filter.
查看示例代码Fill the gaps in arrays of numerical data using linear interpolation.
查看示例代码Increase the performance of common mathematical tasks with vDSP vector-vector and vector-scalar operations.
查看示例代码Use separate coordinate format arrays to create sparse matrices.
查看示例代码Use separate coordinate format arrays to create sparse matrices.
查看示例代码Use iterative methods to solve large problems faster and with a lower memory overhead than with direct methods.
查看示例代码Use iterative methods to solve large problems faster and with a lower memory overhead than with direct methods.
查看示例代码Use direct methods to solve systems of equations where the coefficient matrix is sparse.
查看示例代码Use direct methods to solve systems of equations where the coefficient matrix is sparse.
查看示例代码Use iterative methods to solve systems of equations where the coefficient matrix is sparse.
查看示例代码Use iterative methods to solve systems of equations where the coefficient matrix is sparse.
查看示例代码Rotate a cube through a series of keyframes using quaternion interpolation to transition between them.
查看示例代码Rotate points around the surface of a sphere, and interpolate between them.
查看示例代码Use vectors to calculate geometric values, calculate dot products and cross products, and interpolate between values.
查看示例代码Find the main colors in an image by implementing k-means clustering using the Accelerate framework.
查看示例代码Share image data between vDSP and vImage to compute the sharpest image from a bracketed photo sequence.
查看示例代码Share image data between vDSP and vImage to visualize audio that a device microphone captures.
查看示例代码