Documentation
¶
Overview ¶
Package coreimage provides Go bindings for the CoreImage framework.
Use built-in or custom filters to process still and video images.
Core Image is an image processing and analysis technology that provides high-performance processing for still and video images. Use the many built-in image filters to process images and build complex effects by chaining filters. For a list of all the built-in filters see the [Filter Catalog](<doc://com.apple.coreimage/documentation/CoreImage#Filter-Catalog>).
Essentials ¶
- Processing an Image Using Built-in Filters: Apply effects such as sepia tint, highlight strengthening, and scaling to images.
- CIContext: The Core Image context class provides an evaluation context for Core Image processing with Metal, OpenGL, or OpenCL. (CIImageRepresentationOption, CIContextOption)
- CIImage: A representation of an image to be processed or produced by Core Image filters. (CIImageOption, CIImageAutoAdjustmentOption)
Filters ¶
- CIFilter: An image processor that produces an image by manipulating one or more input images or by generating new image data. (CIFilterProtocol, CIDynamicRangeOption)
- CIRAWFilter: A filter subclass that produces an image by manipulating RAW image sensor data from a digital camera or scanner. (CIRAWDecoderVersion)
- CIColor: The Core Image class that defines a color object.
- CIVector: The Core Image class that defines a vector object.
Filter Catalog ¶
- Blur Filters: Apply blurs, simulate motion and zoom effects, reduce noise, and erode and dilate image regions. (CIBokehBlur, CIBoxBlur, CIDiscBlur, CIGaussianBlur, CIMaskedVariableBlur)
- Color Adjustment Filters: Apply color transformations, including exposure, hue, and tint adjustments. (CIColorAbsoluteDifference, CIColorClamp, CIColorControls, CIColorMatrix, CIColorPolynomial)
- Color Effect Filters: Apply color effects, including photo effects, dithering, and color maps. (CIColorCrossPolynomial, CIColorCube, CIColorCubeWithColorSpace, CIColorCubesMixedWithMask, CIColorCurves)
- Composite Operations: Composite images by using a range of blend modes and compositing operators. (CICompositeOperation)
- Convolution Filters: Produce effects such as blurring, sharpening, edge detection, translation, and embossing. (CIConvolution)
- Distortion Filters: Apply distortion to images. (CIBumpDistortion, CIBumpDistortionLinear, CICircleSplashDistortion, CICircularWrap, CIDisplacementDistortion)
- Generator Filters: Generate barcode, geometric, and special-effect images. (CICode128BarcodeGenerator, CIAttributedTextImageGenerator, CIAztecCodeGenerator, CIBarcodeGenerator, CIBlurredRectangleGenerator)
- Geometry Adjustment Filters: Translate, scale, and rotate images in 2D and 3D. (CIBicubicScaleTransform, CIEdgePreserveUpsample, CIFourCoordinateGeometryFilter, CIKeystoneCorrectionCombined, CIKeystoneCorrectionHorizontal)
- Gradient Filters: Generate linear and radial gradients. (CIGaussianGradient, CIHueSaturationValueGradient, CILinearGradient, CIRadialGradient, CISmoothLinearGradient)
- Halftone Effect Filters: Simulate monochrome and CMYK halftone screens. (CICircularScreen, CICMYKHalftone, CIDotScreen, CIHatchedScreen, CILineScreen)
- Reduction Filters: Create statistical information about an image. (CIAreaAverage, CIAreaHistogram, CIAreaLogarithmicHistogram, CIAreaMaximum, CIAreaMaximumAlpha)
- Sharpening Filters: Apply sharpening to images. (CISharpenLuminance, CIUnsharpMask)
- Stylizing Filters: Create stylized versions of images by applying effects including pixelation and line overlays. (CIBlendWithMask, CIBloom, CICannyEdgeDetector, CIComicEffect, CICoreMLModel)
- Tile Effect Filters: Produce tiled images from source images. (CIAffineClamp, CIAffineTile, CIEightfoldReflectedTile, CIFourfoldReflectedTile, CIFourfoldRotatedTile)
- Transition Filters: Transition between two images by using effects including page curl and swipe. (CITransitionFilter, CIBarsSwipeTransition, CIAccordionFoldTransition, CICopyMachineTransition, CIDisintegrateWithMaskTransition)
Filter Recipes ¶
- Applying a Chroma Key Effect: Replace a color in one image with the background from another.
- Selectively Focusing on an Image: Focus on a part of an image by applying Gaussian blur and gradient masks.
- Customizing Image Transitions: Transition between images in creative ways using Core Image filters.
- Simulating Scratchy Analog Film: Degrade the quality of an image to make it look like dated, analog film.
Custom Filters ¶
- Writing Custom Kernels: Write your own custom kernels in either the Core Image Kernel Language or the Metal Shading Language.
- CIKernel: A GPU-based image-processing routine used to create custom Core Image filters. (CIKernelROICallback)
- CIColorKernel: A GPU-based image-processing routine that processes only the color information in images, used to create custom Core Image filters.
- CIWarpKernel: A GPU-based image-processing routine that processes only the geometry information in an image, used to create custom Core Image filters.
- CIBlendKernel: A GPU-based image-processing routine that is optimized for blending two images.
- CISampler: An object that retrieves pixel samples for processing by a filter kernel.
- CIFilterShape: A description of the bounding shape of a filter and the domain of definition for a filter operation.
- CIFormat: Pixel data formats for image input, output, and processing.
Custom Image Processors ¶
- CIImageProcessorKernel: The abstract class you extend to create custom image processors that can integrate with Core Image workflows.
- CIImageProcessorInput: A container of image data and information for use in a custom image processor.
- CIImageProcessorOutput: A container for writing image data and information produced by a custom image processor.
Custom Render Destination ¶
- Generating an animation with a Core Image Render Destination: Animate a filtered image to a Metal view in a SwiftUI app using a Core Image Render Destination.
- CIRenderDestination: A specification for configuring all attributes of a render task’s destination and issuing asynchronous render tasks. (CIRenderDestinationAlphaMode)
- CIRenderInfo: An encapsulation of a render task’s timing, passes, and pixels processed.
- CIRenderTask: A single render task.
- CIRenderDestinationAlphaMode: Different ways of representing alpha.
Feedback-Based Processing ¶
- CIImageAccumulator: An object that manages feedback-based image processing for tasks such as painting or fluid simulation.
Barcode Descriptions ¶
- CIBarcodeDescriptor: An abstract base class that represents a machine-readable code’s attributes.
- CIQRCodeDescriptor: A concrete subclass of the Core Image Barcode Descriptor that represents a square QR code symbol. (ErrorCorrectedPayload, SymbolVersion, MaskPattern, ErrorCorrectionLevel)
- CIAztecCodeDescriptor: A concrete subclass the Core Image Barcode Descriptor that represents an Aztec code symbol. (ErrorCorrectedPayload, IsCompact, LayerCount, DataCodewordCount)
- CIPDF417CodeDescriptor: A concrete subclass of Core Image Barcode Descriptor that represents a PDF417 symbol. (ErrorCorrectedPayload, IsCompact, RowCount, ColumnCount)
- CIDataMatrixCodeDescriptor: A concrete subclass the Core Image Barcode Descriptor that represents an Data Matrix code symbol. (ErrorCorrectedPayload, RowCount, ColumnCount, EccVersion)
Image Feature Detection ¶
- CIDetector: An image processor that identifies notable features, such as faces and barcodes, in a still image or video.
- CIFeature: The abstract superclass for objects representing notable features detected in an image. (Bounds)
- CIFaceFeature: Information about a face detected in a still or video image. (Bounds, HasFaceAngle, FaceAngle, HasLeftEyePosition, HasRightEyePosition)
- CIRectangleFeature: Information about a rectangular region detected in a still or video image. (Bounds, BottomLeft, BottomRight, TopLeft, TopRight)
- CITextFeature: Information about a text that was detected in a still or video image. (Bounds, BottomLeft, BottomRight, TopLeft, TopRight)
- CIQRCodeFeature: Information about a Quick Response code detected in a still or video image. (Bounds, SymbolDescriptor, BottomLeft, BottomRight, TopLeft)
Image Units ¶
- CIPlugIn: The mechanism for loading image units in macOS.
- CIFilterGenerator: An object that creates and configures chains of individual image filters.
- CIPlugInRegistration: The interface for loading Core Image image units.
- CIFilterConstructor: A general interface for objects that produce filters.
Protocols ¶
- CIAreaBoundsRed
- CIMaximumScaleTransform
- CIToneMapHeadroom
- CIAreaAverageMaximumRed: The protocol for the Area Average and Maximum Red filter.
- CIBlurredRoundedRectangleGenerator: The protocol for the Blurred Rounded Rectangle Generator filter.
- CIDistanceGradientFromRedMask: The protocol for the Distance Gradient From Red Mask filter.
- CIRoundedQRCodeGenerator: The protocol for the Rounded QR Code Generator filter.
- CISignedDistanceGradientFromRedMask: The protocol for the Signed Distance Gradient From Red Mask filter.
Variables ¶
- kCIInputBacksideImageKey: A key to get or set the backside image for a transition Core Image filter.
- kCIInputBiasVectorKey: A key to get or set the vector bias value of a Core Image filter.
- kCIInputColor0Key: A key to get or set a color value of a Core Image filter.
- kCIInputColor1Key: A key to get or set a color value of a Core Image filter.
- kCIInputColorSpaceKey: A key to get or set a color space value of a Core Image filter.
- kCIInputCountKey: A key to get or set the scalar count value of a Core Image filter.
- kCIInputExtrapolateKey: A key to get or set the boolean behavior of a Core Image filter that specifies if the filter should extrapolate a table beyond the defined range.
- kCIInputPaletteImageKey: A key to get or set the palette image for a Core Image filter.
- kCIInputPerceptualKey: A key to get or set the boolean behavior of a Core Image filter that specifies if the filter should operate in linear or perceptual colors.
- kCIInputPoint0Key: A key to get or set the coordinate value of a Core Image filter.
- kCIInputPoint1Key: A key to get or set a coordinate value of a Core Image filter.
- kCIInputRadius0Key: A key to get or set the geometric radius value of a Core Image filter.
- kCIInputRadius1Key: A key to get or set the geometric radius value of a Core Image filter.
- kCIInputThresholdKey: A key to get or set the scalar threshold value of a Core Image filter.
Key Types ¶
- CIFilter - An image processor that produces an image by manipulating one or more input images or by generating new image data.
- CIImage - A representation of an image to be processed or produced by Core Image filters.
- CIContext - The Core Image context class provides an evaluation context for Core Image processing with Metal, OpenGL, or OpenCL.
- CIRAWFilter - A filter subclass that produces an image by manipulating RAW image sensor data from a digital camera or scanner.
- CIBlendKernel - A GPU-based image-processing routine that is optimized for blending two images.
- CIColor - The Core Image class that defines a color object.
- CIVector - The Core Image class that defines a vector object.
- CIFaceFeature - Information about a face detected in a still or video image.
- CIRenderDestination - A specification for configuring all attributes of a render task’s destination and issuing asynchronous render tasks.
- CIFilterGenerator - An object that creates and configures chains of individual image filters.
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- Variables
- func NewVoidBlock(handler VoidHandler) (objc.ID, func())
- type BottomLeft
- type BottomLeftClass
- type BottomRight
- type BottomRightClass
- type Bounds
- type BoundsClass
- type CIAccordionFoldTransition
- type CIAccordionFoldTransitionObject
- func (o CIAccordionFoldTransitionObject) BaseObject() objectivec.Object
- func (o CIAccordionFoldTransitionObject) BottomHeight() float32
- func (o CIAccordionFoldTransitionObject) FoldShadowAmount() float32
- func (o CIAccordionFoldTransitionObject) InputImage() ICIImage
- func (o CIAccordionFoldTransitionObject) NumberOfFolds() float32
- func (o CIAccordionFoldTransitionObject) OutputImage() ICIImage
- func (o CIAccordionFoldTransitionObject) SetBottomHeight(value float32)
- func (o CIAccordionFoldTransitionObject) SetFoldShadowAmount(value float32)
- func (o CIAccordionFoldTransitionObject) SetInputImage(value ICIImage)
- func (o CIAccordionFoldTransitionObject) SetNumberOfFolds(value float32)
- func (o CIAccordionFoldTransitionObject) SetTargetImage(value ICIImage)
- func (o CIAccordionFoldTransitionObject) SetTime(value float32)
- func (o CIAccordionFoldTransitionObject) TargetImage() ICIImage
- func (o CIAccordionFoldTransitionObject) Time() float32
- type CIAffineClamp
- type CIAffineClampObject
- func (o CIAffineClampObject) BaseObject() objectivec.Object
- func (o CIAffineClampObject) InputImage() ICIImage
- func (o CIAffineClampObject) OutputImage() ICIImage
- func (o CIAffineClampObject) SetInputImage(value ICIImage)
- func (o CIAffineClampObject) SetTransform(value corefoundation.CGAffineTransform)
- func (o CIAffineClampObject) Transform() corefoundation.CGAffineTransform
- type CIAffineTile
- type CIAffineTileObject
- func (o CIAffineTileObject) BaseObject() objectivec.Object
- func (o CIAffineTileObject) InputImage() ICIImage
- func (o CIAffineTileObject) OutputImage() ICIImage
- func (o CIAffineTileObject) SetInputImage(value ICIImage)
- func (o CIAffineTileObject) SetTransform(value corefoundation.CGAffineTransform)
- func (o CIAffineTileObject) Transform() corefoundation.CGAffineTransform
- type CIAreaAverage
- type CIAreaAverageMaximumRed
- type CIAreaAverageMaximumRedObject
- func (o CIAreaAverageMaximumRedObject) BaseObject() objectivec.Object
- func (o CIAreaAverageMaximumRedObject) Extent() corefoundation.CGRect
- func (o CIAreaAverageMaximumRedObject) InputImage() ICIImage
- func (o CIAreaAverageMaximumRedObject) OutputImage() ICIImage
- func (o CIAreaAverageMaximumRedObject) SetExtent(value corefoundation.CGRect)
- func (o CIAreaAverageMaximumRedObject) SetInputImage(value ICIImage)
- type CIAreaAverageObject
- func (o CIAreaAverageObject) BaseObject() objectivec.Object
- func (o CIAreaAverageObject) Extent() corefoundation.CGRect
- func (o CIAreaAverageObject) InputImage() ICIImage
- func (o CIAreaAverageObject) OutputImage() ICIImage
- func (o CIAreaAverageObject) SetExtent(value corefoundation.CGRect)
- func (o CIAreaAverageObject) SetInputImage(value ICIImage)
- type CIAreaBoundsRed
- type CIAreaBoundsRedObject
- func (o CIAreaBoundsRedObject) BaseObject() objectivec.Object
- func (o CIAreaBoundsRedObject) Extent() corefoundation.CGRect
- func (o CIAreaBoundsRedObject) InputImage() ICIImage
- func (o CIAreaBoundsRedObject) OutputImage() ICIImage
- func (o CIAreaBoundsRedObject) SetExtent(value corefoundation.CGRect)
- func (o CIAreaBoundsRedObject) SetInputImage(value ICIImage)
- type CIAreaHistogram
- type CIAreaHistogramObject
- func (o CIAreaHistogramObject) BaseObject() objectivec.Object
- func (o CIAreaHistogramObject) Count() int
- func (o CIAreaHistogramObject) Extent() corefoundation.CGRect
- func (o CIAreaHistogramObject) InputImage() ICIImage
- func (o CIAreaHistogramObject) OutputImage() ICIImage
- func (o CIAreaHistogramObject) Scale() float32
- func (o CIAreaHistogramObject) SetCount(value int)
- func (o CIAreaHistogramObject) SetExtent(value corefoundation.CGRect)
- func (o CIAreaHistogramObject) SetInputImage(value ICIImage)
- func (o CIAreaHistogramObject) SetScale(value float32)
- type CIAreaLogarithmicHistogram
- type CIAreaLogarithmicHistogramObject
- func (o CIAreaLogarithmicHistogramObject) BaseObject() objectivec.Object
- func (o CIAreaLogarithmicHistogramObject) Count() int
- func (o CIAreaLogarithmicHistogramObject) Extent() corefoundation.CGRect
- func (o CIAreaLogarithmicHistogramObject) InputImage() ICIImage
- func (o CIAreaLogarithmicHistogramObject) MaximumStop() float32
- func (o CIAreaLogarithmicHistogramObject) MinimumStop() float32
- func (o CIAreaLogarithmicHistogramObject) OutputImage() ICIImage
- func (o CIAreaLogarithmicHistogramObject) Scale() float32
- func (o CIAreaLogarithmicHistogramObject) SetCount(value int)
- func (o CIAreaLogarithmicHistogramObject) SetExtent(value corefoundation.CGRect)
- func (o CIAreaLogarithmicHistogramObject) SetInputImage(value ICIImage)
- func (o CIAreaLogarithmicHistogramObject) SetMaximumStop(value float32)
- func (o CIAreaLogarithmicHistogramObject) SetMinimumStop(value float32)
- func (o CIAreaLogarithmicHistogramObject) SetScale(value float32)
- type CIAreaMaximum
- type CIAreaMaximumAlpha
- type CIAreaMaximumAlphaObject
- func (o CIAreaMaximumAlphaObject) BaseObject() objectivec.Object
- func (o CIAreaMaximumAlphaObject) Extent() corefoundation.CGRect
- func (o CIAreaMaximumAlphaObject) InputImage() ICIImage
- func (o CIAreaMaximumAlphaObject) OutputImage() ICIImage
- func (o CIAreaMaximumAlphaObject) SetExtent(value corefoundation.CGRect)
- func (o CIAreaMaximumAlphaObject) SetInputImage(value ICIImage)
- type CIAreaMaximumObject
- func (o CIAreaMaximumObject) BaseObject() objectivec.Object
- func (o CIAreaMaximumObject) Extent() corefoundation.CGRect
- func (o CIAreaMaximumObject) InputImage() ICIImage
- func (o CIAreaMaximumObject) OutputImage() ICIImage
- func (o CIAreaMaximumObject) SetExtent(value corefoundation.CGRect)
- func (o CIAreaMaximumObject) SetInputImage(value ICIImage)
- type CIAreaMinMax
- type CIAreaMinMaxObject
- func (o CIAreaMinMaxObject) BaseObject() objectivec.Object
- func (o CIAreaMinMaxObject) Extent() corefoundation.CGRect
- func (o CIAreaMinMaxObject) InputImage() ICIImage
- func (o CIAreaMinMaxObject) OutputImage() ICIImage
- func (o CIAreaMinMaxObject) SetExtent(value corefoundation.CGRect)
- func (o CIAreaMinMaxObject) SetInputImage(value ICIImage)
- type CIAreaMinMaxRed
- type CIAreaMinMaxRedObject
- func (o CIAreaMinMaxRedObject) BaseObject() objectivec.Object
- func (o CIAreaMinMaxRedObject) Extent() corefoundation.CGRect
- func (o CIAreaMinMaxRedObject) InputImage() ICIImage
- func (o CIAreaMinMaxRedObject) OutputImage() ICIImage
- func (o CIAreaMinMaxRedObject) SetExtent(value corefoundation.CGRect)
- func (o CIAreaMinMaxRedObject) SetInputImage(value ICIImage)
- type CIAreaMinimum
- type CIAreaMinimumAlpha
- type CIAreaMinimumAlphaObject
- func (o CIAreaMinimumAlphaObject) BaseObject() objectivec.Object
- func (o CIAreaMinimumAlphaObject) Extent() corefoundation.CGRect
- func (o CIAreaMinimumAlphaObject) InputImage() ICIImage
- func (o CIAreaMinimumAlphaObject) OutputImage() ICIImage
- func (o CIAreaMinimumAlphaObject) SetExtent(value corefoundation.CGRect)
- func (o CIAreaMinimumAlphaObject) SetInputImage(value ICIImage)
- type CIAreaMinimumObject
- func (o CIAreaMinimumObject) BaseObject() objectivec.Object
- func (o CIAreaMinimumObject) Extent() corefoundation.CGRect
- func (o CIAreaMinimumObject) InputImage() ICIImage
- func (o CIAreaMinimumObject) OutputImage() ICIImage
- func (o CIAreaMinimumObject) SetExtent(value corefoundation.CGRect)
- func (o CIAreaMinimumObject) SetInputImage(value ICIImage)
- type CIAreaReductionFilter
- type CIAreaReductionFilterObject
- func (o CIAreaReductionFilterObject) BaseObject() objectivec.Object
- func (o CIAreaReductionFilterObject) Extent() corefoundation.CGRect
- func (o CIAreaReductionFilterObject) InputImage() ICIImage
- func (o CIAreaReductionFilterObject) OutputImage() ICIImage
- func (o CIAreaReductionFilterObject) SetExtent(value corefoundation.CGRect)
- func (o CIAreaReductionFilterObject) SetInputImage(value ICIImage)
- type CIAttributedTextImageGenerator
- type CIAttributedTextImageGeneratorObject
- func (o CIAttributedTextImageGeneratorObject) BaseObject() objectivec.Object
- func (o CIAttributedTextImageGeneratorObject) OutputImage() ICIImage
- func (o CIAttributedTextImageGeneratorObject) Padding() float32
- func (o CIAttributedTextImageGeneratorObject) ScaleFactor() float32
- func (o CIAttributedTextImageGeneratorObject) SetPadding(value float32)
- func (o CIAttributedTextImageGeneratorObject) SetScaleFactor(value float32)
- func (o CIAttributedTextImageGeneratorObject) SetText(value foundation.NSAttributedString)
- func (o CIAttributedTextImageGeneratorObject) Text() foundation.NSAttributedString
- type CIAztecCodeDescriptor
- func (a CIAztecCodeDescriptor) Autorelease() CIAztecCodeDescriptor
- func (a CIAztecCodeDescriptor) DataCodewordCount() int
- func (a CIAztecCodeDescriptor) ErrorCorrectedPayload() foundation.INSData
- func (a CIAztecCodeDescriptor) Init() CIAztecCodeDescriptor
- func (a CIAztecCodeDescriptor) InitWithPayloadIsCompactLayerCountDataCodewordCount(errorCorrectedPayload foundation.INSData, isCompact bool, layerCount int, ...) CIAztecCodeDescriptor
- func (a CIAztecCodeDescriptor) IsCompact() bool
- func (a CIAztecCodeDescriptor) LayerCount() int
- type CIAztecCodeDescriptorClass
- type CIAztecCodeGenerator
- type CIAztecCodeGeneratorObject
- func (o CIAztecCodeGeneratorObject) BaseObject() objectivec.Object
- func (o CIAztecCodeGeneratorObject) CompactStyle() float32
- func (o CIAztecCodeGeneratorObject) CorrectionLevel() float32
- func (o CIAztecCodeGeneratorObject) Layers() float32
- func (o CIAztecCodeGeneratorObject) Message() foundation.INSData
- func (o CIAztecCodeGeneratorObject) OutputImage() ICIImage
- func (o CIAztecCodeGeneratorObject) SetCompactStyle(value float32)
- func (o CIAztecCodeGeneratorObject) SetCorrectionLevel(value float32)
- func (o CIAztecCodeGeneratorObject) SetLayers(value float32)
- func (o CIAztecCodeGeneratorObject) SetMessage(value foundation.INSData)
- type CIBarcodeDescriptor
- type CIBarcodeDescriptorClass
- type CIBarcodeGenerator
- type CIBarcodeGeneratorObject
- type CIBarsSwipeTransition
- type CIBarsSwipeTransitionObject
- func (o CIBarsSwipeTransitionObject) Angle() float32
- func (o CIBarsSwipeTransitionObject) BarOffset() float32
- func (o CIBarsSwipeTransitionObject) BaseObject() objectivec.Object
- func (o CIBarsSwipeTransitionObject) InputImage() ICIImage
- func (o CIBarsSwipeTransitionObject) OutputImage() ICIImage
- func (o CIBarsSwipeTransitionObject) SetAngle(value float32)
- func (o CIBarsSwipeTransitionObject) SetBarOffset(value float32)
- func (o CIBarsSwipeTransitionObject) SetInputImage(value ICIImage)
- func (o CIBarsSwipeTransitionObject) SetTargetImage(value ICIImage)
- func (o CIBarsSwipeTransitionObject) SetTime(value float32)
- func (o CIBarsSwipeTransitionObject) SetWidth(value float32)
- func (o CIBarsSwipeTransitionObject) TargetImage() ICIImage
- func (o CIBarsSwipeTransitionObject) Time() float32
- func (o CIBarsSwipeTransitionObject) Width() float32
- type CIBicubicScaleTransform
- type CIBicubicScaleTransformObject
- func (o CIBicubicScaleTransformObject) AspectRatio() float32
- func (o CIBicubicScaleTransformObject) BaseObject() objectivec.Object
- func (o CIBicubicScaleTransformObject) InputImage() ICIImage
- func (o CIBicubicScaleTransformObject) OutputImage() ICIImage
- func (o CIBicubicScaleTransformObject) ParameterB() float32
- func (o CIBicubicScaleTransformObject) ParameterC() float32
- func (o CIBicubicScaleTransformObject) Scale() float32
- func (o CIBicubicScaleTransformObject) SetAspectRatio(value float32)
- func (o CIBicubicScaleTransformObject) SetInputImage(value ICIImage)
- func (o CIBicubicScaleTransformObject) SetParameterB(value float32)
- func (o CIBicubicScaleTransformObject) SetParameterC(value float32)
- func (o CIBicubicScaleTransformObject) SetScale(value float32)
- type CIBlendKernel
- func CIBlendKernelFromID(id objc.ID) CIBlendKernel
- func NewBlendKernelWithFunctionNameFromMetalLibraryDataError(name string, data foundation.INSData) (CIBlendKernel, error)
- func NewBlendKernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError(name string, data foundation.INSData, format int) (CIBlendKernel, error)
- func NewCIBlendKernel() CIBlendKernel
- func (b CIBlendKernel) ApplyWithForegroundBackground(foreground ICIImage, background ICIImage) ICIImage
- func (b CIBlendKernel) ApplyWithForegroundBackgroundColorSpace(foreground ICIImage, background ICIImage, ...) ICIImage
- func (b CIBlendKernel) Autorelease() CIBlendKernel
- func (b CIBlendKernel) Init() CIBlendKernel
- type CIBlendKernelClass
- func (cc CIBlendKernelClass) Alloc() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) Clear() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) Color() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) ColorBurn() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) ColorDodge() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) ComponentAdd() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) ComponentMax() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) ComponentMin() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) ComponentMultiply() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) Darken() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) DarkerColor() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) Destination() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) DestinationAtop() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) DestinationIn() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) DestinationOut() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) DestinationOver() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) Difference() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) Divide() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) Exclusion() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) ExclusiveOr() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) HardLight() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) HardMix() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) Hue() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) Lighten() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) LighterColor() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) LinearBurn() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) LinearDodge() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) LinearLight() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) Luminosity() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) Multiply() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) Overlay() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) PinLight() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) Saturation() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) Screen() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) SoftLight() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) Source() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) SourceAtop() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) SourceIn() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) SourceOut() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) SourceOver() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) Subtract() CIBlendKernel
- func (_CIBlendKernelClass CIBlendKernelClass) VividLight() CIBlendKernel
- type CIBlendWithMask
- type CIBlendWithMaskObject
- func (o CIBlendWithMaskObject) BackgroundImage() ICIImage
- func (o CIBlendWithMaskObject) BaseObject() objectivec.Object
- func (o CIBlendWithMaskObject) InputImage() ICIImage
- func (o CIBlendWithMaskObject) MaskImage() ICIImage
- func (o CIBlendWithMaskObject) OutputImage() ICIImage
- func (o CIBlendWithMaskObject) SetBackgroundImage(value ICIImage)
- func (o CIBlendWithMaskObject) SetInputImage(value ICIImage)
- func (o CIBlendWithMaskObject) SetMaskImage(value ICIImage)
- type CIBloom
- type CIBloomObject
- func (o CIBloomObject) BaseObject() objectivec.Object
- func (o CIBloomObject) InputImage() ICIImage
- func (o CIBloomObject) Intensity() float32
- func (o CIBloomObject) OutputImage() ICIImage
- func (o CIBloomObject) Radius() float32
- func (o CIBloomObject) SetInputImage(value ICIImage)
- func (o CIBloomObject) SetIntensity(value float32)
- func (o CIBloomObject) SetRadius(value float32)
- type CIBlurredRectangleGenerator
- type CIBlurredRectangleGeneratorObject
- func (o CIBlurredRectangleGeneratorObject) BaseObject() objectivec.Object
- func (o CIBlurredRectangleGeneratorObject) Color() ICIColor
- func (o CIBlurredRectangleGeneratorObject) Extent() corefoundation.CGRect
- func (o CIBlurredRectangleGeneratorObject) OutputImage() ICIImage
- func (o CIBlurredRectangleGeneratorObject) SetColor(value ICIColor)
- func (o CIBlurredRectangleGeneratorObject) SetExtent(value corefoundation.CGRect)
- func (o CIBlurredRectangleGeneratorObject) SetSigma(value float32)
- func (o CIBlurredRectangleGeneratorObject) Sigma() float32
- type CIBlurredRoundedRectangleGenerator
- type CIBlurredRoundedRectangleGeneratorObject
- func (o CIBlurredRoundedRectangleGeneratorObject) BaseObject() objectivec.Object
- func (o CIBlurredRoundedRectangleGeneratorObject) Color() ICIColor
- func (o CIBlurredRoundedRectangleGeneratorObject) Extent() corefoundation.CGRect
- func (o CIBlurredRoundedRectangleGeneratorObject) OutputImage() ICIImage
- func (o CIBlurredRoundedRectangleGeneratorObject) Radius() float32
- func (o CIBlurredRoundedRectangleGeneratorObject) SetColor(value ICIColor)
- func (o CIBlurredRoundedRectangleGeneratorObject) SetExtent(value corefoundation.CGRect)
- func (o CIBlurredRoundedRectangleGeneratorObject) SetRadius(value float32)
- func (o CIBlurredRoundedRectangleGeneratorObject) SetSigma(value float32)
- func (o CIBlurredRoundedRectangleGeneratorObject) SetSmoothness(value float32)
- func (o CIBlurredRoundedRectangleGeneratorObject) Sigma() float32
- func (o CIBlurredRoundedRectangleGeneratorObject) Smoothness() float32
- type CIBokehBlur
- type CIBokehBlurObject
- func (o CIBokehBlurObject) BaseObject() objectivec.Object
- func (o CIBokehBlurObject) InputImage() ICIImage
- func (o CIBokehBlurObject) OutputImage() ICIImage
- func (o CIBokehBlurObject) Radius() float32
- func (o CIBokehBlurObject) RingAmount() float32
- func (o CIBokehBlurObject) RingSize() float32
- func (o CIBokehBlurObject) SetInputImage(value ICIImage)
- func (o CIBokehBlurObject) SetRadius(value float32)
- func (o CIBokehBlurObject) SetRingAmount(value float32)
- func (o CIBokehBlurObject) SetRingSize(value float32)
- func (o CIBokehBlurObject) SetSoftness(value float32)
- func (o CIBokehBlurObject) Softness() float32
- type CIBoxBlur
- type CIBoxBlurObject
- type CIBumpDistortion
- type CIBumpDistortionLinear
- type CIBumpDistortionLinearObject
- func (o CIBumpDistortionLinearObject) Angle() float32
- func (o CIBumpDistortionLinearObject) BaseObject() objectivec.Object
- func (o CIBumpDistortionLinearObject) Center() corefoundation.CGPoint
- func (o CIBumpDistortionLinearObject) InputImage() ICIImage
- func (o CIBumpDistortionLinearObject) OutputImage() ICIImage
- func (o CIBumpDistortionLinearObject) Radius() float32
- func (o CIBumpDistortionLinearObject) Scale() float32
- func (o CIBumpDistortionLinearObject) SetAngle(value float32)
- func (o CIBumpDistortionLinearObject) SetCenter(value corefoundation.CGPoint)
- func (o CIBumpDistortionLinearObject) SetInputImage(value ICIImage)
- func (o CIBumpDistortionLinearObject) SetRadius(value float32)
- func (o CIBumpDistortionLinearObject) SetScale(value float32)
- type CIBumpDistortionObject
- func (o CIBumpDistortionObject) BaseObject() objectivec.Object
- func (o CIBumpDistortionObject) Center() corefoundation.CGPoint
- func (o CIBumpDistortionObject) InputImage() ICIImage
- func (o CIBumpDistortionObject) OutputImage() ICIImage
- func (o CIBumpDistortionObject) Radius() float32
- func (o CIBumpDistortionObject) Scale() float32
- func (o CIBumpDistortionObject) SetCenter(value corefoundation.CGPoint)
- func (o CIBumpDistortionObject) SetInputImage(value ICIImage)
- func (o CIBumpDistortionObject) SetRadius(value float32)
- func (o CIBumpDistortionObject) SetScale(value float32)
- type CICMYKHalftone
- type CICMYKHalftoneObject
- func (o CICMYKHalftoneObject) Angle() float32
- func (o CICMYKHalftoneObject) BaseObject() objectivec.Object
- func (o CICMYKHalftoneObject) Center() corefoundation.CGPoint
- func (o CICMYKHalftoneObject) GrayComponentReplacement() float32
- func (o CICMYKHalftoneObject) InputImage() ICIImage
- func (o CICMYKHalftoneObject) OutputImage() ICIImage
- func (o CICMYKHalftoneObject) SetAngle(value float32)
- func (o CICMYKHalftoneObject) SetCenter(value corefoundation.CGPoint)
- func (o CICMYKHalftoneObject) SetGrayComponentReplacement(value float32)
- func (o CICMYKHalftoneObject) SetInputImage(value ICIImage)
- func (o CICMYKHalftoneObject) SetSharpness(value float32)
- func (o CICMYKHalftoneObject) SetUnderColorRemoval(value float32)
- func (o CICMYKHalftoneObject) SetWidth(value float32)
- func (o CICMYKHalftoneObject) Sharpness() float32
- func (o CICMYKHalftoneObject) UnderColorRemoval() float32
- func (o CICMYKHalftoneObject) Width() float32
- type CICannyEdgeDetector
- type CICannyEdgeDetectorObject
- func (o CICannyEdgeDetectorObject) BaseObject() objectivec.Object
- func (o CICannyEdgeDetectorObject) GaussianSigma() float32
- func (o CICannyEdgeDetectorObject) HysteresisPasses() int
- func (o CICannyEdgeDetectorObject) InputImage() ICIImage
- func (o CICannyEdgeDetectorObject) OutputImage() ICIImage
- func (o CICannyEdgeDetectorObject) Perceptual() bool
- func (o CICannyEdgeDetectorObject) SetGaussianSigma(value float32)
- func (o CICannyEdgeDetectorObject) SetHysteresisPasses(value int)
- func (o CICannyEdgeDetectorObject) SetInputImage(value ICIImage)
- func (o CICannyEdgeDetectorObject) SetPerceptual(value bool)
- func (o CICannyEdgeDetectorObject) SetThresholdHigh(value float32)
- func (o CICannyEdgeDetectorObject) SetThresholdLow(value float32)
- func (o CICannyEdgeDetectorObject) ThresholdHigh() float32
- func (o CICannyEdgeDetectorObject) ThresholdLow() float32
- type CICheckerboardGenerator
- type CICheckerboardGeneratorObject
- func (o CICheckerboardGeneratorObject) BaseObject() objectivec.Object
- func (o CICheckerboardGeneratorObject) Center() corefoundation.CGPoint
- func (o CICheckerboardGeneratorObject) Color0() ICIColor
- func (o CICheckerboardGeneratorObject) Color1() ICIColor
- func (o CICheckerboardGeneratorObject) OutputImage() ICIImage
- func (o CICheckerboardGeneratorObject) SetCenter(value corefoundation.CGPoint)
- func (o CICheckerboardGeneratorObject) SetColor0(value ICIColor)
- func (o CICheckerboardGeneratorObject) SetColor1(value ICIColor)
- func (o CICheckerboardGeneratorObject) SetSharpness(value float32)
- func (o CICheckerboardGeneratorObject) SetWidth(value float32)
- func (o CICheckerboardGeneratorObject) Sharpness() float32
- func (o CICheckerboardGeneratorObject) Width() float32
- type CICircleSplashDistortion
- type CICircleSplashDistortionObject
- func (o CICircleSplashDistortionObject) BaseObject() objectivec.Object
- func (o CICircleSplashDistortionObject) Center() corefoundation.CGPoint
- func (o CICircleSplashDistortionObject) InputImage() ICIImage
- func (o CICircleSplashDistortionObject) OutputImage() ICIImage
- func (o CICircleSplashDistortionObject) Radius() float32
- func (o CICircleSplashDistortionObject) SetCenter(value corefoundation.CGPoint)
- func (o CICircleSplashDistortionObject) SetInputImage(value ICIImage)
- func (o CICircleSplashDistortionObject) SetRadius(value float32)
- type CICircularScreen
- type CICircularScreenObject
- func (o CICircularScreenObject) BaseObject() objectivec.Object
- func (o CICircularScreenObject) Center() corefoundation.CGPoint
- func (o CICircularScreenObject) InputImage() ICIImage
- func (o CICircularScreenObject) OutputImage() ICIImage
- func (o CICircularScreenObject) SetCenter(value corefoundation.CGPoint)
- func (o CICircularScreenObject) SetInputImage(value ICIImage)
- func (o CICircularScreenObject) SetSharpness(value float32)
- func (o CICircularScreenObject) SetWidth(value float32)
- func (o CICircularScreenObject) Sharpness() float32
- func (o CICircularScreenObject) Width() float32
- type CICircularWrap
- type CICircularWrapObject
- func (o CICircularWrapObject) Angle() float32
- func (o CICircularWrapObject) BaseObject() objectivec.Object
- func (o CICircularWrapObject) Center() corefoundation.CGPoint
- func (o CICircularWrapObject) InputImage() ICIImage
- func (o CICircularWrapObject) OutputImage() ICIImage
- func (o CICircularWrapObject) Radius() float32
- func (o CICircularWrapObject) SetAngle(value float32)
- func (o CICircularWrapObject) SetCenter(value corefoundation.CGPoint)
- func (o CICircularWrapObject) SetInputImage(value ICIImage)
- func (o CICircularWrapObject) SetRadius(value float32)
- type CICode128BarcodeGenerator
- type CICode128BarcodeGeneratorObject
- func (o CICode128BarcodeGeneratorObject) BarcodeHeight() float32
- func (o CICode128BarcodeGeneratorObject) BaseObject() objectivec.Object
- func (o CICode128BarcodeGeneratorObject) Message() foundation.INSData
- func (o CICode128BarcodeGeneratorObject) OutputImage() ICIImage
- func (o CICode128BarcodeGeneratorObject) QuietSpace() float32
- func (o CICode128BarcodeGeneratorObject) SetBarcodeHeight(value float32)
- func (o CICode128BarcodeGeneratorObject) SetMessage(value foundation.INSData)
- func (o CICode128BarcodeGeneratorObject) SetQuietSpace(value float32)
- type CIColor
- func CIColorFromID(id objc.ID) CIColor
- func NewCIColor() CIColor
- func NewColorWithCGColor(color coregraphics.CGColorRef) CIColor
- func NewColorWithColor(color objectivec.IObject) CIColor
- func NewColorWithRedGreenBlue(red float64, green float64, blue float64) CIColor
- func NewColorWithRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64) CIColor
- func NewColorWithRedGreenBlueAlphaColorSpace(red float64, green float64, blue float64, alpha float64, ...) CIColor
- func NewColorWithRedGreenBlueColorSpace(red float64, green float64, blue float64, ...) CIColor
- func NewColorWithString(representation string) CIColor
- func (c CIColor) Alpha() float64
- func (c CIColor) Autorelease() CIColor
- func (c CIColor) Blue() float64
- func (c CIColor) ColorSpace() coregraphics.CGColorSpaceRef
- func (c CIColor) Components() unsafe.Pointer
- func (c CIColor) EncodeWithCoder(coder foundation.INSCoder)
- func (c CIColor) Green() float64
- func (c CIColor) Init() CIColor
- func (c CIColor) InitWithCGColor(color coregraphics.CGColorRef) CIColor
- func (c CIColor) InitWithColor(color objectivec.IObject) CIColor
- func (c CIColor) InitWithRedGreenBlue(red float64, green float64, blue float64) CIColor
- func (c CIColor) InitWithRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64) CIColor
- func (c CIColor) InitWithRedGreenBlueAlphaColorSpace(red float64, green float64, blue float64, alpha float64, ...) CIColor
- func (c CIColor) InitWithRedGreenBlueColorSpace(red float64, green float64, blue float64, ...) CIColor
- func (c CIColor) NumberOfComponents() uintptr
- func (c CIColor) Red() float64
- func (c CIColor) StringRepresentation() string
- type CIColorAbsoluteDifference
- type CIColorAbsoluteDifferenceObject
- func (o CIColorAbsoluteDifferenceObject) BaseObject() objectivec.Object
- func (o CIColorAbsoluteDifferenceObject) InputImage() ICIImage
- func (o CIColorAbsoluteDifferenceObject) InputImage2() ICIImage
- func (o CIColorAbsoluteDifferenceObject) OutputImage() ICIImage
- func (o CIColorAbsoluteDifferenceObject) SetInputImage(value ICIImage)
- func (o CIColorAbsoluteDifferenceObject) SetInputImage2(value ICIImage)
- type CIColorClamp
- type CIColorClampObject
- func (o CIColorClampObject) BaseObject() objectivec.Object
- func (o CIColorClampObject) InputImage() ICIImage
- func (o CIColorClampObject) MaxComponents() ICIVector
- func (o CIColorClampObject) MinComponents() ICIVector
- func (o CIColorClampObject) OutputImage() ICIImage
- func (o CIColorClampObject) SetInputImage(value ICIImage)
- func (o CIColorClampObject) SetMaxComponents(value ICIVector)
- func (o CIColorClampObject) SetMinComponents(value ICIVector)
- type CIColorClass
- func (cc CIColorClass) Alloc() CIColor
- func (_CIColorClass CIColorClass) BlackColor() CIColor
- func (_CIColorClass CIColorClass) BlueColor() CIColor
- func (_CIColorClass CIColorClass) ClearColor() CIColor
- func (_CIColorClass CIColorClass) ColorWithCGColor(color coregraphics.CGColorRef) CIColor
- func (_CIColorClass CIColorClass) ColorWithRedGreenBlue(red float64, green float64, blue float64) CIColor
- func (_CIColorClass CIColorClass) ColorWithRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64) CIColor
- func (_CIColorClass CIColorClass) ColorWithRedGreenBlueAlphaColorSpace(red float64, green float64, blue float64, alpha float64, ...) CIColor
- func (_CIColorClass CIColorClass) ColorWithRedGreenBlueColorSpace(red float64, green float64, blue float64, ...) CIColor
- func (_CIColorClass CIColorClass) CyanColor() CIColor
- func (_CIColorClass CIColorClass) GrayColor() CIColor
- func (_CIColorClass CIColorClass) GreenColor() CIColor
- func (_CIColorClass CIColorClass) MagentaColor() CIColor
- func (_CIColorClass CIColorClass) RedColor() CIColor
- func (_CIColorClass CIColorClass) WhiteColor() CIColor
- func (_CIColorClass CIColorClass) YellowColor() CIColor
- type CIColorControls
- type CIColorControlsObject
- func (o CIColorControlsObject) BaseObject() objectivec.Object
- func (o CIColorControlsObject) Brightness() float32
- func (o CIColorControlsObject) Contrast() float32
- func (o CIColorControlsObject) InputImage() ICIImage
- func (o CIColorControlsObject) OutputImage() ICIImage
- func (o CIColorControlsObject) Saturation() float32
- func (o CIColorControlsObject) SetBrightness(value float32)
- func (o CIColorControlsObject) SetContrast(value float32)
- func (o CIColorControlsObject) SetInputImage(value ICIImage)
- func (o CIColorControlsObject) SetSaturation(value float32)
- type CIColorCrossPolynomial
- type CIColorCrossPolynomialObject
- func (o CIColorCrossPolynomialObject) BaseObject() objectivec.Object
- func (o CIColorCrossPolynomialObject) BlueCoefficients() ICIVector
- func (o CIColorCrossPolynomialObject) GreenCoefficients() ICIVector
- func (o CIColorCrossPolynomialObject) InputImage() ICIImage
- func (o CIColorCrossPolynomialObject) OutputImage() ICIImage
- func (o CIColorCrossPolynomialObject) RedCoefficients() ICIVector
- func (o CIColorCrossPolynomialObject) SetBlueCoefficients(value ICIVector)
- func (o CIColorCrossPolynomialObject) SetGreenCoefficients(value ICIVector)
- func (o CIColorCrossPolynomialObject) SetInputImage(value ICIImage)
- func (o CIColorCrossPolynomialObject) SetRedCoefficients(value ICIVector)
- type CIColorCube
- type CIColorCubeObject
- func (o CIColorCubeObject) BaseObject() objectivec.Object
- func (o CIColorCubeObject) CubeData() foundation.INSData
- func (o CIColorCubeObject) CubeDimension() float32
- func (o CIColorCubeObject) Extrapolate() bool
- func (o CIColorCubeObject) InputImage() ICIImage
- func (o CIColorCubeObject) OutputImage() ICIImage
- func (o CIColorCubeObject) SetCubeData(value foundation.INSData)
- func (o CIColorCubeObject) SetCubeDimension(value float32)
- func (o CIColorCubeObject) SetExtrapolate(value bool)
- func (o CIColorCubeObject) SetInputImage(value ICIImage)
- type CIColorCubeWithColorSpace
- type CIColorCubeWithColorSpaceObject
- func (o CIColorCubeWithColorSpaceObject) BaseObject() objectivec.Object
- func (o CIColorCubeWithColorSpaceObject) ColorSpace() coregraphics.CGColorSpaceRef
- func (o CIColorCubeWithColorSpaceObject) CubeData() foundation.INSData
- func (o CIColorCubeWithColorSpaceObject) CubeDimension() float32
- func (o CIColorCubeWithColorSpaceObject) Extrapolate() bool
- func (o CIColorCubeWithColorSpaceObject) InputImage() ICIImage
- func (o CIColorCubeWithColorSpaceObject) OutputImage() ICIImage
- func (o CIColorCubeWithColorSpaceObject) SetColorSpace(value coregraphics.CGColorSpaceRef)
- func (o CIColorCubeWithColorSpaceObject) SetCubeData(value foundation.INSData)
- func (o CIColorCubeWithColorSpaceObject) SetCubeDimension(value float32)
- func (o CIColorCubeWithColorSpaceObject) SetExtrapolate(value bool)
- func (o CIColorCubeWithColorSpaceObject) SetInputImage(value ICIImage)
- type CIColorCubesMixedWithMask
- type CIColorCubesMixedWithMaskObject
- func (o CIColorCubesMixedWithMaskObject) BaseObject() objectivec.Object
- func (o CIColorCubesMixedWithMaskObject) ColorSpace() coregraphics.CGColorSpaceRef
- func (o CIColorCubesMixedWithMaskObject) Cube0Data() foundation.INSData
- func (o CIColorCubesMixedWithMaskObject) Cube1Data() foundation.INSData
- func (o CIColorCubesMixedWithMaskObject) CubeDimension() float32
- func (o CIColorCubesMixedWithMaskObject) Extrapolate() bool
- func (o CIColorCubesMixedWithMaskObject) InputImage() ICIImage
- func (o CIColorCubesMixedWithMaskObject) MaskImage() ICIImage
- func (o CIColorCubesMixedWithMaskObject) OutputImage() ICIImage
- func (o CIColorCubesMixedWithMaskObject) SetColorSpace(value coregraphics.CGColorSpaceRef)
- func (o CIColorCubesMixedWithMaskObject) SetCube0Data(value foundation.INSData)
- func (o CIColorCubesMixedWithMaskObject) SetCube1Data(value foundation.INSData)
- func (o CIColorCubesMixedWithMaskObject) SetCubeDimension(value float32)
- func (o CIColorCubesMixedWithMaskObject) SetExtrapolate(value bool)
- func (o CIColorCubesMixedWithMaskObject) SetInputImage(value ICIImage)
- func (o CIColorCubesMixedWithMaskObject) SetMaskImage(value ICIImage)
- type CIColorCurves
- type CIColorCurvesObject
- func (o CIColorCurvesObject) BaseObject() objectivec.Object
- func (o CIColorCurvesObject) ColorSpace() coregraphics.CGColorSpaceRef
- func (o CIColorCurvesObject) CurvesData() foundation.INSData
- func (o CIColorCurvesObject) CurvesDomain() ICIVector
- func (o CIColorCurvesObject) InputImage() ICIImage
- func (o CIColorCurvesObject) OutputImage() ICIImage
- func (o CIColorCurvesObject) SetColorSpace(value coregraphics.CGColorSpaceRef)
- func (o CIColorCurvesObject) SetCurvesData(value foundation.INSData)
- func (o CIColorCurvesObject) SetCurvesDomain(value ICIVector)
- func (o CIColorCurvesObject) SetInputImage(value ICIImage)
- type CIColorInvert
- type CIColorInvertObject
- type CIColorKernel
- func CIColorKernelFromID(id objc.ID) CIColorKernel
- func NewCIColorKernel() CIColorKernel
- func NewColorKernelWithFunctionNameFromMetalLibraryDataError(name string, data foundation.INSData) (CIColorKernel, error)
- func NewColorKernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError(name string, data foundation.INSData, format int) (CIColorKernel, error)
- type CIColorKernelClass
- type CIColorMap
- type CIColorMapObject
- func (o CIColorMapObject) BaseObject() objectivec.Object
- func (o CIColorMapObject) GradientImage() ICIImage
- func (o CIColorMapObject) InputImage() ICIImage
- func (o CIColorMapObject) OutputImage() ICIImage
- func (o CIColorMapObject) SetGradientImage(value ICIImage)
- func (o CIColorMapObject) SetInputImage(value ICIImage)
- type CIColorMatrix
- type CIColorMatrixObject
- func (o CIColorMatrixObject) AVector() ICIVector
- func (o CIColorMatrixObject) BVector() ICIVector
- func (o CIColorMatrixObject) BaseObject() objectivec.Object
- func (o CIColorMatrixObject) BiasVector() ICIVector
- func (o CIColorMatrixObject) GVector() ICIVector
- func (o CIColorMatrixObject) InputImage() ICIImage
- func (o CIColorMatrixObject) OutputImage() ICIImage
- func (o CIColorMatrixObject) RVector() ICIVector
- func (o CIColorMatrixObject) SetAVector(value ICIVector)
- func (o CIColorMatrixObject) SetBVector(value ICIVector)
- func (o CIColorMatrixObject) SetBiasVector(value ICIVector)
- func (o CIColorMatrixObject) SetGVector(value ICIVector)
- func (o CIColorMatrixObject) SetInputImage(value ICIImage)
- func (o CIColorMatrixObject) SetRVector(value ICIVector)
- type CIColorMonochrome
- type CIColorMonochromeObject
- func (o CIColorMonochromeObject) BaseObject() objectivec.Object
- func (o CIColorMonochromeObject) Color() ICIColor
- func (o CIColorMonochromeObject) InputImage() ICIImage
- func (o CIColorMonochromeObject) Intensity() float32
- func (o CIColorMonochromeObject) OutputImage() ICIImage
- func (o CIColorMonochromeObject) SetColor(value ICIColor)
- func (o CIColorMonochromeObject) SetInputImage(value ICIImage)
- func (o CIColorMonochromeObject) SetIntensity(value float32)
- type CIColorPolynomial
- type CIColorPolynomialObject
- func (o CIColorPolynomialObject) AlphaCoefficients() ICIVector
- func (o CIColorPolynomialObject) BaseObject() objectivec.Object
- func (o CIColorPolynomialObject) BlueCoefficients() ICIVector
- func (o CIColorPolynomialObject) GreenCoefficients() ICIVector
- func (o CIColorPolynomialObject) InputImage() ICIImage
- func (o CIColorPolynomialObject) OutputImage() ICIImage
- func (o CIColorPolynomialObject) RedCoefficients() ICIVector
- func (o CIColorPolynomialObject) SetAlphaCoefficients(value ICIVector)
- func (o CIColorPolynomialObject) SetBlueCoefficients(value ICIVector)
- func (o CIColorPolynomialObject) SetGreenCoefficients(value ICIVector)
- func (o CIColorPolynomialObject) SetInputImage(value ICIImage)
- func (o CIColorPolynomialObject) SetRedCoefficients(value ICIVector)
- type CIColorPosterize
- type CIColorPosterizeObject
- func (o CIColorPosterizeObject) BaseObject() objectivec.Object
- func (o CIColorPosterizeObject) InputImage() ICIImage
- func (o CIColorPosterizeObject) Levels() float32
- func (o CIColorPosterizeObject) OutputImage() ICIImage
- func (o CIColorPosterizeObject) SetInputImage(value ICIImage)
- func (o CIColorPosterizeObject) SetLevels(value float32)
- type CIColorThreshold
- type CIColorThresholdObject
- func (o CIColorThresholdObject) BaseObject() objectivec.Object
- func (o CIColorThresholdObject) InputImage() ICIImage
- func (o CIColorThresholdObject) OutputImage() ICIImage
- func (o CIColorThresholdObject) SetInputImage(value ICIImage)
- func (o CIColorThresholdObject) SetThreshold(value float32)
- func (o CIColorThresholdObject) Threshold() float32
- type CIColorThresholdOtsu
- type CIColorThresholdOtsuObject
- type CIColumnAverage
- type CIColumnAverageObject
- func (o CIColumnAverageObject) BaseObject() objectivec.Object
- func (o CIColumnAverageObject) Extent() corefoundation.CGRect
- func (o CIColumnAverageObject) InputImage() ICIImage
- func (o CIColumnAverageObject) OutputImage() ICIImage
- func (o CIColumnAverageObject) SetExtent(value corefoundation.CGRect)
- func (o CIColumnAverageObject) SetInputImage(value ICIImage)
- type CIComicEffect
- type CIComicEffectObject
- type CICompositeOperation
- type CICompositeOperationObject
- func (o CICompositeOperationObject) BackgroundImage() ICIImage
- func (o CICompositeOperationObject) BaseObject() objectivec.Object
- func (o CICompositeOperationObject) InputImage() ICIImage
- func (o CICompositeOperationObject) OutputImage() ICIImage
- func (o CICompositeOperationObject) SetBackgroundImage(value ICIImage)
- func (o CICompositeOperationObject) SetInputImage(value ICIImage)
- type CIContext
- func CIContextFromID(id objc.ID) CIContext
- func NewCIContext() CIContext
- func NewContextWithCGContextOptions(cgctx coregraphics.CGContextRef, options foundation.INSDictionary) CIContext
- func NewContextWithEAGLContext(eaglContext objectivec.IObject) CIContext
- func NewContextWithEAGLContextOptions(eaglContext objectivec.IObject, options foundation.INSDictionary) CIContext
- func NewContextWithMTLCommandQueue(commandQueue objectivec.IObject) CIContext
- func NewContextWithMTLCommandQueueOptions(commandQueue objectivec.IObject, options foundation.INSDictionary) CIContext
- func NewContextWithMTLDevice(device objectivec.IObject) CIContext
- func NewContextWithMTLDeviceOptions(device objectivec.IObject, options foundation.INSDictionary) CIContext
- func NewContextWithOptions(options foundation.INSDictionary) CIContext
- func (c CIContext) AlphaMode() CIRenderDestinationAlphaMode
- func (c CIContext) Autorelease() CIContext
- func (c CIContext) CalculateHDRStatsForCGImage(cgimage coregraphics.CGImageRef) coregraphics.CGImageRef
- func (c CIContext) CalculateHDRStatsForCVPixelBuffer(buffer corevideo.CVImageBufferRef)
- func (c CIContext) CalculateHDRStatsForIOSurface(surface iosurface.IOSurfaceRef)
- func (c CIContext) CalculateHDRStatsForImage(image ICIImage) ICIImage
- func (c CIContext) ClearCaches()
- func (c CIContext) CreateCGImageFromRect(image ICIImage, fromRect corefoundation.CGRect) coregraphics.CGImageRef
- func (c CIContext) CreateCGImageFromRectFormatColorSpace(image ICIImage, fromRect corefoundation.CGRect, format int, ...) coregraphics.CGImageRef
- func (c CIContext) CreateCGImageFromRectFormatColorSpaceDeferred(image ICIImage, fromRect corefoundation.CGRect, format int, ...) coregraphics.CGImageRef
- func (c CIContext) CreateCGImageFromRectFormatColorSpaceDeferredCalculateHDRStats(image ICIImage, fromRect corefoundation.CGRect, format int, ...) coregraphics.CGImageRef
- func (c CIContext) DepthBlurEffectFilterForImageDataOptions(data foundation.INSData, options foundation.INSDictionary) CIFilter
- func (c CIContext) DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteHairSemanticSegmentationGlassesMatteGainMapOrientationOptions(image ICIImage, disparityImage ICIImage, portraitEffectsMatte ICIImage, ...) CIFilter
- func (c CIContext) DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteHairSemanticSegmentationOrientationOptions(image ICIImage, disparityImage ICIImage, portraitEffectsMatte ICIImage, ...) CIFilter
- func (c CIContext) DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteOrientationOptions(image ICIImage, disparityImage ICIImage, portraitEffectsMatte ICIImage, ...) CIFilter
- func (c CIContext) DepthBlurEffectFilterForImageURLOptions(url foundation.INSURL, options foundation.INSDictionary) CIFilter
- func (c CIContext) DrawImageInRectFromRect(image ICIImage, inRect corefoundation.CGRect, fromRect corefoundation.CGRect)
- func (c CIContext) HEIF10RepresentationOfImageColorSpaceOptionsError(image ICIImage, colorSpace coregraphics.CGColorSpaceRef, ...) (foundation.INSData, error)
- func (c CIContext) HEIFRepresentationOfImageFormatColorSpaceOptions(image ICIImage, format int, colorSpace coregraphics.CGColorSpaceRef, ...) foundation.INSData
- func (c CIContext) Init() CIContext
- func (c CIContext) InitWithOptions(options foundation.INSDictionary) CIContext
- func (c CIContext) JPEGRepresentationOfImageColorSpaceOptions(image ICIImage, colorSpace coregraphics.CGColorSpaceRef, ...) foundation.INSData
- func (c CIContext) OpenEXRRepresentationOfImageOptionsError(image ICIImage, options foundation.INSDictionary) (foundation.INSData, error)
- func (c CIContext) PNGRepresentationOfImageFormatColorSpaceOptions(image ICIImage, format int, colorSpace coregraphics.CGColorSpaceRef, ...) foundation.INSData
- func (c CIContext) PrepareRenderFromRectToDestinationAtPointError(image ICIImage, fromRect corefoundation.CGRect, ...) (bool, error)
- func (c CIContext) ReclaimResources()
- func (c CIContext) RenderToBitmapRowBytesBoundsFormatColorSpace(image ICIImage, data unsafe.Pointer, rowBytes int, ...)
- func (c CIContext) RenderToCVPixelBuffer(image ICIImage, buffer corevideo.CVImageBufferRef)
- func (c CIContext) RenderToCVPixelBufferBoundsColorSpace(image ICIImage, buffer corevideo.CVImageBufferRef, ...)
- func (c CIContext) RenderToIOSurfaceBoundsColorSpace(image ICIImage, surface iosurface.IOSurfaceRef, bounds corefoundation.CGRect, ...)
- func (c CIContext) RenderToMTLTextureCommandBufferBoundsColorSpace(image ICIImage, texture objectivec.IObject, commandBuffer objectivec.IObject, ...)
- func (c CIContext) SetAlphaMode(value CIRenderDestinationAlphaMode)
- func (c CIContext) StartTaskToClearError(destination ICIRenderDestination) (ICIRenderTask, error)
- func (c CIContext) StartTaskToRenderFromRectToDestinationAtPointError(image ICIImage, fromRect corefoundation.CGRect, ...) (ICIRenderTask, error)
- func (c CIContext) StartTaskToRenderToDestinationError(image ICIImage, destination ICIRenderDestination) (ICIRenderTask, error)
- func (c CIContext) TIFFRepresentationOfImageFormatColorSpaceOptions(image ICIImage, format int, colorSpace coregraphics.CGColorSpaceRef, ...) foundation.INSData
- func (c CIContext) WorkingColorSpace() coregraphics.CGColorSpaceRef
- func (c CIContext) WorkingFormat() CIFormat
- func (c CIContext) WriteHEIF10RepresentationOfImageToURLColorSpaceOptionsError(image ICIImage, url foundation.INSURL, colorSpace coregraphics.CGColorSpaceRef, ...) (bool, error)
- func (c CIContext) WriteHEIFRepresentationOfImageToURLFormatColorSpaceOptionsError(image ICIImage, url foundation.INSURL, format int, ...) (bool, error)
- func (c CIContext) WriteJPEGRepresentationOfImageToURLColorSpaceOptionsError(image ICIImage, url foundation.INSURL, colorSpace coregraphics.CGColorSpaceRef, ...) (bool, error)
- func (c CIContext) WriteOpenEXRRepresentationOfImageToURLOptionsError(image ICIImage, url foundation.INSURL, options foundation.INSDictionary) (bool, error)
- func (c CIContext) WritePNGRepresentationOfImageToURLFormatColorSpaceOptionsError(image ICIImage, url foundation.INSURL, format int, ...) (bool, error)
- func (c CIContext) WriteTIFFRepresentationOfImageToURLFormatColorSpaceOptionsError(image ICIImage, url foundation.INSURL, format int, ...) (bool, error)
- type CIContextClass
- type CIContextOption
- type CIConvertLab
- type CIConvertLabObject
- func (o CIConvertLabObject) BaseObject() objectivec.Object
- func (o CIConvertLabObject) InputImage() ICIImage
- func (o CIConvertLabObject) Normalize() bool
- func (o CIConvertLabObject) OutputImage() ICIImage
- func (o CIConvertLabObject) SetInputImage(value ICIImage)
- func (o CIConvertLabObject) SetNormalize(value bool)
- type CIConvolution
- type CIConvolutionObject
- func (o CIConvolutionObject) BaseObject() objectivec.Object
- func (o CIConvolutionObject) Bias() float32
- func (o CIConvolutionObject) InputImage() ICIImage
- func (o CIConvolutionObject) OutputImage() ICIImage
- func (o CIConvolutionObject) SetBias(value float32)
- func (o CIConvolutionObject) SetInputImage(value ICIImage)
- func (o CIConvolutionObject) SetWeights(value ICIVector)
- func (o CIConvolutionObject) Weights() ICIVector
- type CICopyMachineTransition
- type CICopyMachineTransitionObject
- func (o CICopyMachineTransitionObject) Angle() float32
- func (o CICopyMachineTransitionObject) BaseObject() objectivec.Object
- func (o CICopyMachineTransitionObject) Color() ICIColor
- func (o CICopyMachineTransitionObject) Extent() corefoundation.CGRect
- func (o CICopyMachineTransitionObject) InputImage() ICIImage
- func (o CICopyMachineTransitionObject) Opacity() float32
- func (o CICopyMachineTransitionObject) OutputImage() ICIImage
- func (o CICopyMachineTransitionObject) SetAngle(value float32)
- func (o CICopyMachineTransitionObject) SetColor(value ICIColor)
- func (o CICopyMachineTransitionObject) SetExtent(value corefoundation.CGRect)
- func (o CICopyMachineTransitionObject) SetInputImage(value ICIImage)
- func (o CICopyMachineTransitionObject) SetOpacity(value float32)
- func (o CICopyMachineTransitionObject) SetTargetImage(value ICIImage)
- func (o CICopyMachineTransitionObject) SetTime(value float32)
- func (o CICopyMachineTransitionObject) SetWidth(value float32)
- func (o CICopyMachineTransitionObject) TargetImage() ICIImage
- func (o CICopyMachineTransitionObject) Time() float32
- func (o CICopyMachineTransitionObject) Width() float32
- type CICoreMLModel
- type CICoreMLModelObject
- func (o CICoreMLModelObject) BaseObject() objectivec.Object
- func (o CICoreMLModelObject) HeadIndex() float32
- func (o CICoreMLModelObject) InputImage() ICIImage
- func (o CICoreMLModelObject) Model() coreml.MLModel
- func (o CICoreMLModelObject) OutputImage() ICIImage
- func (o CICoreMLModelObject) SetHeadIndex(value float32)
- func (o CICoreMLModelObject) SetInputImage(value ICIImage)
- func (o CICoreMLModelObject) SetModel(value coreml.MLModel)
- func (o CICoreMLModelObject) SetSoftmaxNormalization(value bool)
- func (o CICoreMLModelObject) SoftmaxNormalization() bool
- type CICrystallize
- type CICrystallizeObject
- func (o CICrystallizeObject) BaseObject() objectivec.Object
- func (o CICrystallizeObject) Center() corefoundation.CGPoint
- func (o CICrystallizeObject) InputImage() ICIImage
- func (o CICrystallizeObject) OutputImage() ICIImage
- func (o CICrystallizeObject) Radius() float32
- func (o CICrystallizeObject) SetCenter(value corefoundation.CGPoint)
- func (o CICrystallizeObject) SetInputImage(value ICIImage)
- func (o CICrystallizeObject) SetRadius(value float32)
- type CIDataMatrixCodeDescriptor
- func CIDataMatrixCodeDescriptorFromID(id objc.ID) CIDataMatrixCodeDescriptor
- func NewCIDataMatrixCodeDescriptor() CIDataMatrixCodeDescriptor
- func NewDataMatrixCodeDescriptorWithPayloadRowCountColumnCountEccVersion(errorCorrectedPayload foundation.INSData, rowCount int, columnCount int, ...) CIDataMatrixCodeDescriptor
- func (d CIDataMatrixCodeDescriptor) Autorelease() CIDataMatrixCodeDescriptor
- func (d CIDataMatrixCodeDescriptor) ColumnCount() int
- func (d CIDataMatrixCodeDescriptor) EccVersion() CIDataMatrixCodeECCVersion
- func (d CIDataMatrixCodeDescriptor) ErrorCorrectedPayload() foundation.INSData
- func (d CIDataMatrixCodeDescriptor) Init() CIDataMatrixCodeDescriptor
- func (d CIDataMatrixCodeDescriptor) InitWithPayloadRowCountColumnCountEccVersion(errorCorrectedPayload foundation.INSData, rowCount int, columnCount int, ...) CIDataMatrixCodeDescriptor
- func (d CIDataMatrixCodeDescriptor) RowCount() int
- type CIDataMatrixCodeDescriptorClass
- func (cc CIDataMatrixCodeDescriptorClass) Alloc() CIDataMatrixCodeDescriptor
- func (_CIDataMatrixCodeDescriptorClass CIDataMatrixCodeDescriptorClass) DescriptorWithPayloadRowCountColumnCountEccVersion(errorCorrectedPayload foundation.INSData, rowCount int, columnCount int, ...) CIDataMatrixCodeDescriptor
- type CIDataMatrixCodeECCVersion
- type CIDepthOfField
- type CIDepthOfFieldObject
- func (o CIDepthOfFieldObject) BaseObject() objectivec.Object
- func (o CIDepthOfFieldObject) InputImage() ICIImage
- func (o CIDepthOfFieldObject) OutputImage() ICIImage
- func (o CIDepthOfFieldObject) Point0() corefoundation.CGPoint
- func (o CIDepthOfFieldObject) Point1() corefoundation.CGPoint
- func (o CIDepthOfFieldObject) Radius() float32
- func (o CIDepthOfFieldObject) Saturation() float32
- func (o CIDepthOfFieldObject) SetInputImage(value ICIImage)
- func (o CIDepthOfFieldObject) SetPoint0(value corefoundation.CGPoint)
- func (o CIDepthOfFieldObject) SetPoint1(value corefoundation.CGPoint)
- func (o CIDepthOfFieldObject) SetRadius(value float32)
- func (o CIDepthOfFieldObject) SetSaturation(value float32)
- func (o CIDepthOfFieldObject) SetUnsharpMaskIntensity(value float32)
- func (o CIDepthOfFieldObject) SetUnsharpMaskRadius(value float32)
- func (o CIDepthOfFieldObject) UnsharpMaskIntensity() float32
- func (o CIDepthOfFieldObject) UnsharpMaskRadius() float32
- type CIDepthToDisparity
- type CIDepthToDisparityObject
- type CIDetector
- type CIDetectorClass
- type CIDiscBlur
- type CIDiscBlurObject
- func (o CIDiscBlurObject) BaseObject() objectivec.Object
- func (o CIDiscBlurObject) InputImage() ICIImage
- func (o CIDiscBlurObject) OutputImage() ICIImage
- func (o CIDiscBlurObject) Radius() float32
- func (o CIDiscBlurObject) SetInputImage(value ICIImage)
- func (o CIDiscBlurObject) SetRadius(value float32)
- type CIDisintegrateWithMaskTransition
- type CIDisintegrateWithMaskTransitionObject
- func (o CIDisintegrateWithMaskTransitionObject) BaseObject() objectivec.Object
- func (o CIDisintegrateWithMaskTransitionObject) InputImage() ICIImage
- func (o CIDisintegrateWithMaskTransitionObject) MaskImage() ICIImage
- func (o CIDisintegrateWithMaskTransitionObject) OutputImage() ICIImage
- func (o CIDisintegrateWithMaskTransitionObject) SetInputImage(value ICIImage)
- func (o CIDisintegrateWithMaskTransitionObject) SetMaskImage(value ICIImage)
- func (o CIDisintegrateWithMaskTransitionObject) SetShadowDensity(value float32)
- func (o CIDisintegrateWithMaskTransitionObject) SetShadowOffset(value corefoundation.CGPoint)
- func (o CIDisintegrateWithMaskTransitionObject) SetShadowRadius(value float32)
- func (o CIDisintegrateWithMaskTransitionObject) SetTargetImage(value ICIImage)
- func (o CIDisintegrateWithMaskTransitionObject) SetTime(value float32)
- func (o CIDisintegrateWithMaskTransitionObject) ShadowDensity() float32
- func (o CIDisintegrateWithMaskTransitionObject) ShadowOffset() corefoundation.CGPoint
- func (o CIDisintegrateWithMaskTransitionObject) ShadowRadius() float32
- func (o CIDisintegrateWithMaskTransitionObject) TargetImage() ICIImage
- func (o CIDisintegrateWithMaskTransitionObject) Time() float32
- type CIDisparityToDepth
- type CIDisparityToDepthObject
- type CIDisplacementDistortion
- type CIDisplacementDistortionObject
- func (o CIDisplacementDistortionObject) BaseObject() objectivec.Object
- func (o CIDisplacementDistortionObject) DisplacementImage() ICIImage
- func (o CIDisplacementDistortionObject) InputImage() ICIImage
- func (o CIDisplacementDistortionObject) OutputImage() ICIImage
- func (o CIDisplacementDistortionObject) Scale() float32
- func (o CIDisplacementDistortionObject) SetDisplacementImage(value ICIImage)
- func (o CIDisplacementDistortionObject) SetInputImage(value ICIImage)
- func (o CIDisplacementDistortionObject) SetScale(value float32)
- type CIDissolveTransition
- type CIDissolveTransitionObject
- func (o CIDissolveTransitionObject) BaseObject() objectivec.Object
- func (o CIDissolveTransitionObject) InputImage() ICIImage
- func (o CIDissolveTransitionObject) OutputImage() ICIImage
- func (o CIDissolveTransitionObject) SetInputImage(value ICIImage)
- func (o CIDissolveTransitionObject) SetTargetImage(value ICIImage)
- func (o CIDissolveTransitionObject) SetTime(value float32)
- func (o CIDissolveTransitionObject) TargetImage() ICIImage
- func (o CIDissolveTransitionObject) Time() float32
- type CIDistanceGradientFromRedMask
- type CIDistanceGradientFromRedMaskObject
- func (o CIDistanceGradientFromRedMaskObject) BaseObject() objectivec.Object
- func (o CIDistanceGradientFromRedMaskObject) InputImage() ICIImage
- func (o CIDistanceGradientFromRedMaskObject) MaximumDistance() float32
- func (o CIDistanceGradientFromRedMaskObject) OutputImage() ICIImage
- func (o CIDistanceGradientFromRedMaskObject) SetInputImage(value ICIImage)
- func (o CIDistanceGradientFromRedMaskObject) SetMaximumDistance(value float32)
- type CIDither
- type CIDitherObject
- type CIDocumentEnhancer
- type CIDocumentEnhancerObject
- func (o CIDocumentEnhancerObject) Amount() float32
- func (o CIDocumentEnhancerObject) BaseObject() objectivec.Object
- func (o CIDocumentEnhancerObject) InputImage() ICIImage
- func (o CIDocumentEnhancerObject) OutputImage() ICIImage
- func (o CIDocumentEnhancerObject) SetAmount(value float32)
- func (o CIDocumentEnhancerObject) SetInputImage(value ICIImage)
- type CIDotScreen
- type CIDotScreenObject
- func (o CIDotScreenObject) Angle() float32
- func (o CIDotScreenObject) BaseObject() objectivec.Object
- func (o CIDotScreenObject) Center() corefoundation.CGPoint
- func (o CIDotScreenObject) InputImage() ICIImage
- func (o CIDotScreenObject) OutputImage() ICIImage
- func (o CIDotScreenObject) SetAngle(value float32)
- func (o CIDotScreenObject) SetCenter(value corefoundation.CGPoint)
- func (o CIDotScreenObject) SetInputImage(value ICIImage)
- func (o CIDotScreenObject) SetSharpness(value float32)
- func (o CIDotScreenObject) SetWidth(value float32)
- func (o CIDotScreenObject) Sharpness() float32
- func (o CIDotScreenObject) Width() float32
- type CIDroste
- type CIDrosteObject
- func (o CIDrosteObject) BaseObject() objectivec.Object
- func (o CIDrosteObject) InputImage() ICIImage
- func (o CIDrosteObject) InsetPoint0() corefoundation.CGPoint
- func (o CIDrosteObject) InsetPoint1() corefoundation.CGPoint
- func (o CIDrosteObject) OutputImage() ICIImage
- func (o CIDrosteObject) Periodicity() float32
- func (o CIDrosteObject) Rotation() float32
- func (o CIDrosteObject) SetInputImage(value ICIImage)
- func (o CIDrosteObject) SetInsetPoint0(value corefoundation.CGPoint)
- func (o CIDrosteObject) SetInsetPoint1(value corefoundation.CGPoint)
- func (o CIDrosteObject) SetPeriodicity(value float32)
- func (o CIDrosteObject) SetRotation(value float32)
- func (o CIDrosteObject) SetStrands(value float32)
- func (o CIDrosteObject) SetZoom(value float32)
- func (o CIDrosteObject) Strands() float32
- func (o CIDrosteObject) Zoom() float32
- type CIDynamicRangeOption
- type CIEdgePreserveUpsample
- type CIEdgePreserveUpsampleObject
- func (o CIEdgePreserveUpsampleObject) BaseObject() objectivec.Object
- func (o CIEdgePreserveUpsampleObject) InputImage() ICIImage
- func (o CIEdgePreserveUpsampleObject) LumaSigma() float32
- func (o CIEdgePreserveUpsampleObject) OutputImage() ICIImage
- func (o CIEdgePreserveUpsampleObject) SetInputImage(value ICIImage)
- func (o CIEdgePreserveUpsampleObject) SetLumaSigma(value float32)
- func (o CIEdgePreserveUpsampleObject) SetSmallImage(value ICIImage)
- func (o CIEdgePreserveUpsampleObject) SetSpatialSigma(value float32)
- func (o CIEdgePreserveUpsampleObject) SmallImage() ICIImage
- func (o CIEdgePreserveUpsampleObject) SpatialSigma() float32
- type CIEdgeWork
- type CIEdgeWorkObject
- func (o CIEdgeWorkObject) BaseObject() objectivec.Object
- func (o CIEdgeWorkObject) InputImage() ICIImage
- func (o CIEdgeWorkObject) OutputImage() ICIImage
- func (o CIEdgeWorkObject) Radius() float32
- func (o CIEdgeWorkObject) SetInputImage(value ICIImage)
- func (o CIEdgeWorkObject) SetRadius(value float32)
- type CIEdges
- type CIEdgesObject
- type CIEightfoldReflectedTile
- type CIEightfoldReflectedTileObject
- func (o CIEightfoldReflectedTileObject) Angle() float32
- func (o CIEightfoldReflectedTileObject) BaseObject() objectivec.Object
- func (o CIEightfoldReflectedTileObject) Center() corefoundation.CGPoint
- func (o CIEightfoldReflectedTileObject) InputImage() ICIImage
- func (o CIEightfoldReflectedTileObject) OutputImage() ICIImage
- func (o CIEightfoldReflectedTileObject) SetAngle(value float32)
- func (o CIEightfoldReflectedTileObject) SetCenter(value corefoundation.CGPoint)
- func (o CIEightfoldReflectedTileObject) SetInputImage(value ICIImage)
- func (o CIEightfoldReflectedTileObject) SetWidth(value float32)
- func (o CIEightfoldReflectedTileObject) Width() float32
- type CIExposureAdjust
- type CIExposureAdjustObject
- func (o CIExposureAdjustObject) BaseObject() objectivec.Object
- func (o CIExposureAdjustObject) EV() float32
- func (o CIExposureAdjustObject) InputImage() ICIImage
- func (o CIExposureAdjustObject) OutputImage() ICIImage
- func (o CIExposureAdjustObject) SetEV(value float32)
- func (o CIExposureAdjustObject) SetInputImage(value ICIImage)
- type CIFaceFeature
- func (f CIFaceFeature) Autorelease() CIFaceFeature
- func (f CIFaceFeature) FaceAngle() float32
- func (f CIFaceFeature) HasFaceAngle() bool
- func (f CIFaceFeature) HasLeftEyePosition() bool
- func (f CIFaceFeature) HasMouthPosition() bool
- func (f CIFaceFeature) HasRightEyePosition() bool
- func (f CIFaceFeature) HasSmile() bool
- func (f CIFaceFeature) HasTrackingFrameCount() bool
- func (f CIFaceFeature) HasTrackingID() bool
- func (f CIFaceFeature) Init() CIFaceFeature
- func (f CIFaceFeature) LeftEyeClosed() bool
- func (f CIFaceFeature) LeftEyePosition() corefoundation.CGPoint
- func (f CIFaceFeature) MouthPosition() corefoundation.CGPoint
- func (f CIFaceFeature) RightEyeClosed() bool
- func (f CIFaceFeature) RightEyePosition() corefoundation.CGPoint
- func (f CIFaceFeature) TrackingFrameCount() int
- func (f CIFaceFeature) TrackingID() int
- type CIFaceFeatureClass
- type CIFalseColor
- type CIFalseColorObject
- func (o CIFalseColorObject) BaseObject() objectivec.Object
- func (o CIFalseColorObject) Color0() ICIColor
- func (o CIFalseColorObject) Color1() ICIColor
- func (o CIFalseColorObject) InputImage() ICIImage
- func (o CIFalseColorObject) OutputImage() ICIImage
- func (o CIFalseColorObject) SetColor0(value ICIColor)
- func (o CIFalseColorObject) SetColor1(value ICIColor)
- func (o CIFalseColorObject) SetInputImage(value ICIImage)
- type CIFeature
- func (f CIFeature) Autorelease() CIFeature
- func (f CIFeature) Bounds() corefoundation.CGRect
- func (f CIFeature) CIFeatureTypeFace() string
- func (f CIFeature) CIFeatureTypeQRCode() string
- func (f CIFeature) CIFeatureTypeRectangle() string
- func (f CIFeature) CIFeatureTypeText() string
- func (f CIFeature) Init() CIFeature
- func (f CIFeature) Type() string
- type CIFeatureClass
- type CIFilter
- func (f CIFilter) Apply(k ICIKernel) ICIImage
- func (f CIFilter) ApplyArgumentsOptions(k ICIKernel, args foundation.INSArray, dict foundation.INSDictionary) ICIImage
- func (f CIFilter) Attributes() foundation.INSDictionary
- func (f CIFilter) Autorelease() CIFilter
- func (f CIFilter) Enabled() bool
- func (f CIFilter) EncodeWithCoder(coder foundation.INSCoder)
- func (f CIFilter) Init() CIFilter
- func (f CIFilter) InputKeys() []string
- func (f CIFilter) Name() string
- func (f CIFilter) OutputImage() ICIImage
- func (f CIFilter) OutputKeys() []string
- func (f CIFilter) SetDefaults()
- func (f CIFilter) SetEnabled(value bool)
- func (f CIFilter) SetName(value string)
- func (f CIFilter) SetValueForKey(value objectivec.IObject, key string)
- func (f CIFilter) ValueForKey(key string) objectivec.IObject
- func (f CIFilter) ViewForUIConfigurationExcludedKeys(inUIConfiguration foundation.INSDictionary, inKeys foundation.INSArray) objectivec.IObject
- type CIFilterClass
- func (_CIFilterClass CIFilterClass) AccordionFoldTransitionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) AdditionCompositingFilter() CIFilter
- func (_CIFilterClass CIFilterClass) AffineClampFilter() CIFilter
- func (_CIFilterClass CIFilterClass) AffineTileFilter() CIFilter
- func (cc CIFilterClass) Alloc() CIFilter
- func (_CIFilterClass CIFilterClass) AreaAlphaWeightedHistogramFilter() CIFilter
- func (_CIFilterClass CIFilterClass) AreaAverageFilter() CIFilter
- func (_CIFilterClass CIFilterClass) AreaAverageMaximumRedFilter() CIFilter
- func (_CIFilterClass CIFilterClass) AreaBoundsRedFilter() CIFilter
- func (_CIFilterClass CIFilterClass) AreaHistogramFilter() CIFilter
- func (_CIFilterClass CIFilterClass) AreaLogarithmicHistogramFilter() CIFilter
- func (_CIFilterClass CIFilterClass) AreaMaximumAlphaFilter() CIFilter
- func (_CIFilterClass CIFilterClass) AreaMaximumFilter() CIFilter
- func (_CIFilterClass CIFilterClass) AreaMinMaxFilter() CIFilter
- func (_CIFilterClass CIFilterClass) AreaMinMaxRedFilter() CIFilter
- func (_CIFilterClass CIFilterClass) AreaMinimumAlphaFilter() CIFilter
- func (_CIFilterClass CIFilterClass) AreaMinimumFilter() CIFilter
- func (_CIFilterClass CIFilterClass) AttributedTextImageGeneratorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) AztecCodeGeneratorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) BarcodeGeneratorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) BarsSwipeTransitionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) BicubicScaleTransformFilter() CIFilter
- func (_CIFilterClass CIFilterClass) BlendWithAlphaMaskFilter() CIFilter
- func (_CIFilterClass CIFilterClass) BlendWithBlueMaskFilter() CIFilter
- func (_CIFilterClass CIFilterClass) BlendWithMaskFilter() CIFilter
- func (_CIFilterClass CIFilterClass) BlendWithRedMaskFilter() CIFilter
- func (_CIFilterClass CIFilterClass) BloomFilter() CIFilter
- func (_CIFilterClass CIFilterClass) BlurredRectangleGeneratorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) BlurredRoundedRectangleGeneratorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) BokehBlurFilter() CIFilter
- func (_CIFilterClass CIFilterClass) BoxBlurFilter() CIFilter
- func (_CIFilterClass CIFilterClass) BumpDistortionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) BumpDistortionLinearFilter() CIFilter
- func (_CIFilterClass CIFilterClass) CMYKHalftone() CIFilter
- func (_CIFilterClass CIFilterClass) CannyEdgeDetectorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) CheckerboardGeneratorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) CircleSplashDistortionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) CircularScreenFilter() CIFilter
- func (_CIFilterClass CIFilterClass) CircularWrapFilter() CIFilter
- func (_CIFilterClass CIFilterClass) Code128BarcodeGeneratorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorAbsoluteDifferenceFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorBurnBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorClampFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorControlsFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorCrossPolynomialFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorCubeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorCubeWithColorSpaceFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorCubesMixedWithMaskFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorCurvesFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorDodgeBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorInvertFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorMapFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorMatrixFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorMonochromeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorPolynomialFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorPosterizeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorThresholdFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColorThresholdOtsuFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ColumnAverageFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ComicEffectFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ConvertLabToRGBFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ConvertRGBtoLabFilter() CIFilter
- func (_CIFilterClass CIFilterClass) Convolution3X3Filter() CIFilter
- func (_CIFilterClass CIFilterClass) Convolution5X5Filter() CIFilter
- func (_CIFilterClass CIFilterClass) Convolution7X7Filter() CIFilter
- func (_CIFilterClass CIFilterClass) Convolution9HorizontalFilter() CIFilter
- func (_CIFilterClass CIFilterClass) Convolution9VerticalFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ConvolutionRGB3X3Filter() CIFilter
- func (_CIFilterClass CIFilterClass) ConvolutionRGB5X5Filter() CIFilter
- func (_CIFilterClass CIFilterClass) ConvolutionRGB7X7Filter() CIFilter
- func (_CIFilterClass CIFilterClass) ConvolutionRGB9HorizontalFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ConvolutionRGB9VerticalFilter() CIFilter
- func (_CIFilterClass CIFilterClass) CopyMachineTransitionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) CoreMLModelFilter() CIFilter
- func (_CIFilterClass CIFilterClass) CrystallizeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) DarkenBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) DepthOfFieldFilter() CIFilter
- func (_CIFilterClass CIFilterClass) DepthToDisparityFilter() CIFilter
- func (_CIFilterClass CIFilterClass) DifferenceBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) DiscBlurFilter() CIFilter
- func (_CIFilterClass CIFilterClass) DisintegrateWithMaskTransitionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) DisparityToDepthFilter() CIFilter
- func (_CIFilterClass CIFilterClass) DisplacementDistortionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) DissolveTransitionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) DistanceGradientFromRedMaskFilter() CIFilter
- func (_CIFilterClass CIFilterClass) DitherFilter() CIFilter
- func (_CIFilterClass CIFilterClass) DivideBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) DocumentEnhancerFilter() CIFilter
- func (_CIFilterClass CIFilterClass) DotScreenFilter() CIFilter
- func (_CIFilterClass CIFilterClass) DrosteFilter() CIFilter
- func (_CIFilterClass CIFilterClass) EdgePreserveUpsampleFilter() CIFilter
- func (_CIFilterClass CIFilterClass) EdgeWorkFilter() CIFilter
- func (_CIFilterClass CIFilterClass) EdgesFilter() CIFilter
- func (_CIFilterClass CIFilterClass) EightfoldReflectedTileFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ExclusionBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ExposureAdjustFilter() CIFilter
- func (_CIFilterClass CIFilterClass) FalseColorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) FilterNamesInCategories(categories []string) []string
- func (_CIFilterClass CIFilterClass) FilterNamesInCategory(category string) []string
- func (_CIFilterClass CIFilterClass) FilterWithNameKeysAndValues(name string, key0 objectivec.IObject) CIFilter
- func (_CIFilterClass CIFilterClass) FlashTransitionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) FourfoldReflectedTileFilter() CIFilter
- func (_CIFilterClass CIFilterClass) FourfoldRotatedTileFilter() CIFilter
- func (_CIFilterClass CIFilterClass) FourfoldTranslatedTileFilter() CIFilter
- func (_CIFilterClass CIFilterClass) GaborGradientsFilter() CIFilter
- func (_CIFilterClass CIFilterClass) GammaAdjustFilter() CIFilter
- func (_CIFilterClass CIFilterClass) GaussianBlurFilter() CIFilter
- func (_CIFilterClass CIFilterClass) GaussianGradientFilter() CIFilter
- func (_CIFilterClass CIFilterClass) GlassDistortionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) GlassLozengeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) GlideReflectedTileFilter() CIFilter
- func (_CIFilterClass CIFilterClass) GloomFilter() CIFilter
- func (_CIFilterClass CIFilterClass) HardLightBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) HatchedScreenFilter() CIFilter
- func (_CIFilterClass CIFilterClass) HeightFieldFromMaskFilter() CIFilter
- func (_CIFilterClass CIFilterClass) HexagonalPixellateFilter() CIFilter
- func (_CIFilterClass CIFilterClass) HighlightShadowAdjustFilter() CIFilter
- func (_CIFilterClass CIFilterClass) HistogramDisplayFilter() CIFilter
- func (_CIFilterClass CIFilterClass) HoleDistortionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) HueAdjustFilter() CIFilter
- func (_CIFilterClass CIFilterClass) HueBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) HueSaturationValueGradientFilter() CIFilter
- func (_CIFilterClass CIFilterClass) KMeansFilter() CIFilter
- func (_CIFilterClass CIFilterClass) KaleidoscopeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) KeystoneCorrectionCombinedFilter() CIFilter
- func (_CIFilterClass CIFilterClass) KeystoneCorrectionHorizontalFilter() CIFilter
- func (_CIFilterClass CIFilterClass) KeystoneCorrectionVerticalFilter() CIFilter
- func (_CIFilterClass CIFilterClass) LabDeltaE() CIFilter
- func (_CIFilterClass CIFilterClass) LanczosScaleTransformFilter() CIFilter
- func (_CIFilterClass CIFilterClass) LenticularHaloGeneratorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) LightTunnelFilter() CIFilter
- func (_CIFilterClass CIFilterClass) LightenBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) LineOverlayFilter() CIFilter
- func (_CIFilterClass CIFilterClass) LineScreenFilter() CIFilter
- func (_CIFilterClass CIFilterClass) LinearBurnBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) LinearDodgeBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) LinearGradientFilter() CIFilter
- func (_CIFilterClass CIFilterClass) LinearLightBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) LinearToSRGBToneCurveFilter() CIFilter
- func (_CIFilterClass CIFilterClass) LocalizedDescriptionForFilterName(filterName string) string
- func (_CIFilterClass CIFilterClass) LocalizedNameForCategory(category string) string
- func (_CIFilterClass CIFilterClass) LocalizedNameForFilterName(filterName string) string
- func (_CIFilterClass CIFilterClass) LocalizedReferenceDocumentationForFilterName(filterName string) foundation.NSURL
- func (_CIFilterClass CIFilterClass) LuminosityBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) MaskToAlphaFilter() CIFilter
- func (_CIFilterClass CIFilterClass) MaskedVariableBlurFilter() CIFilter
- func (_CIFilterClass CIFilterClass) MaximumComponentFilter() CIFilter
- func (_CIFilterClass CIFilterClass) MaximumCompositingFilter() CIFilter
- func (_CIFilterClass CIFilterClass) MaximumScaleTransformFilter() CIFilter
- func (_CIFilterClass CIFilterClass) MedianFilter() CIFilter
- func (_CIFilterClass CIFilterClass) MeshGeneratorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) MinimumComponentFilter() CIFilter
- func (_CIFilterClass CIFilterClass) MinimumCompositingFilter() CIFilter
- func (_CIFilterClass CIFilterClass) MixFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ModTransitionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) MorphologyGradientFilter() CIFilter
- func (_CIFilterClass CIFilterClass) MorphologyMaximumFilter() CIFilter
- func (_CIFilterClass CIFilterClass) MorphologyMinimumFilter() CIFilter
- func (_CIFilterClass CIFilterClass) MorphologyRectangleMaximumFilter() CIFilter
- func (_CIFilterClass CIFilterClass) MorphologyRectangleMinimumFilter() CIFilter
- func (_CIFilterClass CIFilterClass) MotionBlurFilter() CIFilter
- func (_CIFilterClass CIFilterClass) MultiplyBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) MultiplyCompositingFilter() CIFilter
- func (_CIFilterClass CIFilterClass) NinePartStretchedFilter() CIFilter
- func (_CIFilterClass CIFilterClass) NinePartTiledFilter() CIFilter
- func (_CIFilterClass CIFilterClass) NoiseReductionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) OpTileFilter() CIFilter
- func (_CIFilterClass CIFilterClass) OverlayBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PDF417BarcodeGenerator() CIFilter
- func (_CIFilterClass CIFilterClass) PageCurlTransitionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PageCurlWithShadowTransitionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PaletteCentroidFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PalettizeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ParallelogramTileFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PersonSegmentationFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PerspectiveCorrectionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PerspectiveRotateFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PerspectiveTileFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PerspectiveTransformFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PerspectiveTransformWithExtentFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PhotoEffectChromeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PhotoEffectFadeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PhotoEffectInstantFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PhotoEffectMonoFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PhotoEffectNoirFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PhotoEffectProcessFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PhotoEffectTonalFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PhotoEffectTransferFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PinLightBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PinchDistortionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PixellateFilter() CIFilter
- func (_CIFilterClass CIFilterClass) PointillizeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) QRCodeGenerator() CIFilter
- func (_CIFilterClass CIFilterClass) RadialGradientFilter() CIFilter
- func (_CIFilterClass CIFilterClass) RandomGeneratorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) RegisterFilterNameConstructorClassAttributes(name string, anObject CIFilterConstructor, attributes foundation.INSDictionary)
- func (_CIFilterClass CIFilterClass) RippleTransitionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) RoundedQRCodeGeneratorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) RoundedRectangleGeneratorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) RoundedRectangleStrokeGeneratorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) RowAverageFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SRGBToneCurveToLinearFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SaliencyMapFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SaturationBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ScreenBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SepiaToneFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ShadedMaterialFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SharpenLuminanceFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SignedDistanceGradientFromRedMaskFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SixfoldReflectedTileFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SixfoldRotatedTileFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SmoothLinearGradientFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SobelGradientsFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SoftLightBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SourceAtopCompositingFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SourceInCompositingFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SourceOutCompositingFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SourceOverCompositingFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SpotColorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SpotLightFilter() CIFilter
- func (_CIFilterClass CIFilterClass) StarShineGeneratorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) StraightenFilter() CIFilter
- func (_CIFilterClass CIFilterClass) StretchCropFilter() CIFilter
- func (_CIFilterClass CIFilterClass) StripesGeneratorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SubtractBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SunbeamsGeneratorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SwipeTransitionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) SystemToneMapFilter() CIFilter
- func (_CIFilterClass CIFilterClass) TemperatureAndTintFilter() CIFilter
- func (_CIFilterClass CIFilterClass) TextImageGeneratorFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ThermalFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ToneCurveFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ToneMapHeadroomFilter() CIFilter
- func (_CIFilterClass CIFilterClass) TorusLensDistortionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) TriangleKaleidoscopeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) TriangleTileFilter() CIFilter
- func (_CIFilterClass CIFilterClass) TwelvefoldReflectedTileFilter() CIFilter
- func (_CIFilterClass CIFilterClass) TwirlDistortionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) UnsharpMaskFilter() CIFilter
- func (_CIFilterClass CIFilterClass) VibranceFilter() CIFilter
- func (_CIFilterClass CIFilterClass) VignetteEffectFilter() CIFilter
- func (_CIFilterClass CIFilterClass) VignetteFilter() CIFilter
- func (_CIFilterClass CIFilterClass) VividLightBlendModeFilter() CIFilter
- func (_CIFilterClass CIFilterClass) VortexDistortionFilter() CIFilter
- func (_CIFilterClass CIFilterClass) WhitePointAdjustFilter() CIFilter
- func (_CIFilterClass CIFilterClass) XRayFilter() CIFilter
- func (_CIFilterClass CIFilterClass) ZoomBlurFilter() CIFilter
- type CIFilterConstructor
- type CIFilterConstructorObject
- type CIFilterGenerator
- func (f CIFilterGenerator) Autorelease() CIFilterGenerator
- func (f CIFilterGenerator) ClassAttributes() foundation.INSDictionary
- func (f CIFilterGenerator) ConnectObjectWithKeyToObjectWithKey(sourceObject objectivec.IObject, sourceKey string, ...)
- func (f CIFilterGenerator) DisconnectObjectWithKeyToObjectWithKey(sourceObject objectivec.IObject, sourceKey string, ...)
- func (f CIFilterGenerator) EncodeWithCoder(coder foundation.INSCoder)
- func (f CIFilterGenerator) ExportKeyFromObjectWithName(key string, targetObject objectivec.IObject, exportedKeyName string)
- func (f CIFilterGenerator) ExportedKeys() foundation.INSDictionary
- func (f CIFilterGenerator) Filter() CIFilter
- func (f CIFilterGenerator) FilterWithName(name string) CIFilter
- func (f CIFilterGenerator) Init() CIFilterGenerator
- func (f CIFilterGenerator) InitWithContentsOfURL(aURL foundation.INSURL) CIFilterGenerator
- func (f CIFilterGenerator) RegisterFilterName(name string)
- func (f CIFilterGenerator) RemoveExportedKey(exportedKeyName string)
- func (f CIFilterGenerator) SetAttributesForExportedKey(attributes foundation.INSDictionary, key string)
- func (f CIFilterGenerator) SetClassAttributes(value foundation.INSDictionary)
- func (f CIFilterGenerator) WriteToURLAtomically(aURL foundation.INSURL, flag bool) bool
- type CIFilterGeneratorClass
- type CIFilterProtocol
- type CIFilterProtocolObject
- type CIFilterShape
- func (f CIFilterShape) Autorelease() CIFilterShape
- func (f CIFilterShape) Extent() corefoundation.CGRect
- func (f CIFilterShape) Init() CIFilterShape
- func (f CIFilterShape) InitWithRect(r corefoundation.CGRect) CIFilterShape
- func (f CIFilterShape) InsetByXY(dx int, dy int) ICIFilterShape
- func (f CIFilterShape) IntersectWith(s2 ICIFilterShape) ICIFilterShape
- func (f CIFilterShape) IntersectWithRect(r corefoundation.CGRect) ICIFilterShape
- func (f CIFilterShape) TransformByInterior(m corefoundation.CGAffineTransform, flag bool) ICIFilterShape
- func (f CIFilterShape) UnionWith(s2 ICIFilterShape) ICIFilterShape
- func (f CIFilterShape) UnionWithRect(r corefoundation.CGRect) ICIFilterShape
- type CIFilterShapeClass
- type CIFlashTransition
- type CIFlashTransitionObject
- func (o CIFlashTransitionObject) BaseObject() objectivec.Object
- func (o CIFlashTransitionObject) Center() corefoundation.CGPoint
- func (o CIFlashTransitionObject) Color() ICIColor
- func (o CIFlashTransitionObject) Extent() corefoundation.CGRect
- func (o CIFlashTransitionObject) FadeThreshold() float32
- func (o CIFlashTransitionObject) InputImage() ICIImage
- func (o CIFlashTransitionObject) MaxStriationRadius() float32
- func (o CIFlashTransitionObject) OutputImage() ICIImage
- func (o CIFlashTransitionObject) SetCenter(value corefoundation.CGPoint)
- func (o CIFlashTransitionObject) SetColor(value ICIColor)
- func (o CIFlashTransitionObject) SetExtent(value corefoundation.CGRect)
- func (o CIFlashTransitionObject) SetFadeThreshold(value float32)
- func (o CIFlashTransitionObject) SetInputImage(value ICIImage)
- func (o CIFlashTransitionObject) SetMaxStriationRadius(value float32)
- func (o CIFlashTransitionObject) SetStriationContrast(value float32)
- func (o CIFlashTransitionObject) SetStriationStrength(value float32)
- func (o CIFlashTransitionObject) SetTargetImage(value ICIImage)
- func (o CIFlashTransitionObject) SetTime(value float32)
- func (o CIFlashTransitionObject) StriationContrast() float32
- func (o CIFlashTransitionObject) StriationStrength() float32
- func (o CIFlashTransitionObject) TargetImage() ICIImage
- func (o CIFlashTransitionObject) Time() float32
- type CIFormat
- type CIFourCoordinateGeometryFilter
- type CIFourCoordinateGeometryFilterObject
- func (o CIFourCoordinateGeometryFilterObject) BaseObject() objectivec.Object
- func (o CIFourCoordinateGeometryFilterObject) BottomLeft() corefoundation.CGPoint
- func (o CIFourCoordinateGeometryFilterObject) BottomRight() corefoundation.CGPoint
- func (o CIFourCoordinateGeometryFilterObject) InputImage() ICIImage
- func (o CIFourCoordinateGeometryFilterObject) OutputImage() ICIImage
- func (o CIFourCoordinateGeometryFilterObject) SetBottomLeft(value corefoundation.CGPoint)
- func (o CIFourCoordinateGeometryFilterObject) SetBottomRight(value corefoundation.CGPoint)
- func (o CIFourCoordinateGeometryFilterObject) SetInputImage(value ICIImage)
- func (o CIFourCoordinateGeometryFilterObject) SetTopLeft(value corefoundation.CGPoint)
- func (o CIFourCoordinateGeometryFilterObject) SetTopRight(value corefoundation.CGPoint)
- func (o CIFourCoordinateGeometryFilterObject) TopLeft() corefoundation.CGPoint
- func (o CIFourCoordinateGeometryFilterObject) TopRight() corefoundation.CGPoint
- type CIFourfoldReflectedTile
- type CIFourfoldReflectedTileObject
- func (o CIFourfoldReflectedTileObject) AcuteAngle() float32
- func (o CIFourfoldReflectedTileObject) Angle() float32
- func (o CIFourfoldReflectedTileObject) BaseObject() objectivec.Object
- func (o CIFourfoldReflectedTileObject) Center() corefoundation.CGPoint
- func (o CIFourfoldReflectedTileObject) InputImage() ICIImage
- func (o CIFourfoldReflectedTileObject) OutputImage() ICIImage
- func (o CIFourfoldReflectedTileObject) SetAcuteAngle(value float32)
- func (o CIFourfoldReflectedTileObject) SetAngle(value float32)
- func (o CIFourfoldReflectedTileObject) SetCenter(value corefoundation.CGPoint)
- func (o CIFourfoldReflectedTileObject) SetInputImage(value ICIImage)
- func (o CIFourfoldReflectedTileObject) SetWidth(value float32)
- func (o CIFourfoldReflectedTileObject) Width() float32
- type CIFourfoldRotatedTile
- type CIFourfoldRotatedTileObject
- func (o CIFourfoldRotatedTileObject) Angle() float32
- func (o CIFourfoldRotatedTileObject) BaseObject() objectivec.Object
- func (o CIFourfoldRotatedTileObject) Center() corefoundation.CGPoint
- func (o CIFourfoldRotatedTileObject) InputImage() ICIImage
- func (o CIFourfoldRotatedTileObject) OutputImage() ICIImage
- func (o CIFourfoldRotatedTileObject) SetAngle(value float32)
- func (o CIFourfoldRotatedTileObject) SetCenter(value corefoundation.CGPoint)
- func (o CIFourfoldRotatedTileObject) SetInputImage(value ICIImage)
- func (o CIFourfoldRotatedTileObject) SetWidth(value float32)
- func (o CIFourfoldRotatedTileObject) Width() float32
- type CIFourfoldTranslatedTile
- type CIFourfoldTranslatedTileObject
- func (o CIFourfoldTranslatedTileObject) AcuteAngle() float32
- func (o CIFourfoldTranslatedTileObject) Angle() float32
- func (o CIFourfoldTranslatedTileObject) BaseObject() objectivec.Object
- func (o CIFourfoldTranslatedTileObject) Center() corefoundation.CGPoint
- func (o CIFourfoldTranslatedTileObject) InputImage() ICIImage
- func (o CIFourfoldTranslatedTileObject) OutputImage() ICIImage
- func (o CIFourfoldTranslatedTileObject) SetAcuteAngle(value float32)
- func (o CIFourfoldTranslatedTileObject) SetAngle(value float32)
- func (o CIFourfoldTranslatedTileObject) SetCenter(value corefoundation.CGPoint)
- func (o CIFourfoldTranslatedTileObject) SetInputImage(value ICIImage)
- func (o CIFourfoldTranslatedTileObject) SetWidth(value float32)
- func (o CIFourfoldTranslatedTileObject) Width() float32
- type CIGaborGradients
- type CIGaborGradientsObject
- type CIGammaAdjust
- type CIGammaAdjustObject
- func (o CIGammaAdjustObject) BaseObject() objectivec.Object
- func (o CIGammaAdjustObject) InputImage() ICIImage
- func (o CIGammaAdjustObject) OutputImage() ICIImage
- func (o CIGammaAdjustObject) Power() float32
- func (o CIGammaAdjustObject) SetInputImage(value ICIImage)
- func (o CIGammaAdjustObject) SetPower(value float32)
- type CIGaussianBlur
- type CIGaussianBlurObject
- func (o CIGaussianBlurObject) BaseObject() objectivec.Object
- func (o CIGaussianBlurObject) InputImage() ICIImage
- func (o CIGaussianBlurObject) OutputImage() ICIImage
- func (o CIGaussianBlurObject) Radius() float32
- func (o CIGaussianBlurObject) SetInputImage(value ICIImage)
- func (o CIGaussianBlurObject) SetRadius(value float32)
- type CIGaussianGradient
- type CIGaussianGradientObject
- func (o CIGaussianGradientObject) BaseObject() objectivec.Object
- func (o CIGaussianGradientObject) Center() corefoundation.CGPoint
- func (o CIGaussianGradientObject) Color0() ICIColor
- func (o CIGaussianGradientObject) Color1() ICIColor
- func (o CIGaussianGradientObject) OutputImage() ICIImage
- func (o CIGaussianGradientObject) Radius() float32
- func (o CIGaussianGradientObject) SetCenter(value corefoundation.CGPoint)
- func (o CIGaussianGradientObject) SetColor0(value ICIColor)
- func (o CIGaussianGradientObject) SetColor1(value ICIColor)
- func (o CIGaussianGradientObject) SetRadius(value float32)
- type CIGlassDistortion
- type CIGlassDistortionObject
- func (o CIGlassDistortionObject) BaseObject() objectivec.Object
- func (o CIGlassDistortionObject) Center() corefoundation.CGPoint
- func (o CIGlassDistortionObject) InputImage() ICIImage
- func (o CIGlassDistortionObject) OutputImage() ICIImage
- func (o CIGlassDistortionObject) Scale() float32
- func (o CIGlassDistortionObject) SetCenter(value corefoundation.CGPoint)
- func (o CIGlassDistortionObject) SetInputImage(value ICIImage)
- func (o CIGlassDistortionObject) SetScale(value float32)
- func (o CIGlassDistortionObject) SetTextureImage(value ICIImage)
- func (o CIGlassDistortionObject) TextureImage() ICIImage
- type CIGlassLozenge
- type CIGlassLozengeObject
- func (o CIGlassLozengeObject) BaseObject() objectivec.Object
- func (o CIGlassLozengeObject) InputImage() ICIImage
- func (o CIGlassLozengeObject) OutputImage() ICIImage
- func (o CIGlassLozengeObject) Point0() corefoundation.CGPoint
- func (o CIGlassLozengeObject) Point1() corefoundation.CGPoint
- func (o CIGlassLozengeObject) Radius() float32
- func (o CIGlassLozengeObject) Refraction() float32
- func (o CIGlassLozengeObject) SetInputImage(value ICIImage)
- func (o CIGlassLozengeObject) SetPoint0(value corefoundation.CGPoint)
- func (o CIGlassLozengeObject) SetPoint1(value corefoundation.CGPoint)
- func (o CIGlassLozengeObject) SetRadius(value float32)
- func (o CIGlassLozengeObject) SetRefraction(value float32)
- type CIGlideReflectedTile
- type CIGlideReflectedTileObject
- func (o CIGlideReflectedTileObject) Angle() float32
- func (o CIGlideReflectedTileObject) BaseObject() objectivec.Object
- func (o CIGlideReflectedTileObject) Center() corefoundation.CGPoint
- func (o CIGlideReflectedTileObject) InputImage() ICIImage
- func (o CIGlideReflectedTileObject) OutputImage() ICIImage
- func (o CIGlideReflectedTileObject) SetAngle(value float32)
- func (o CIGlideReflectedTileObject) SetCenter(value corefoundation.CGPoint)
- func (o CIGlideReflectedTileObject) SetInputImage(value ICIImage)
- func (o CIGlideReflectedTileObject) SetWidth(value float32)
- func (o CIGlideReflectedTileObject) Width() float32
- type CIGloom
- type CIGloomObject
- func (o CIGloomObject) BaseObject() objectivec.Object
- func (o CIGloomObject) InputImage() ICIImage
- func (o CIGloomObject) Intensity() float32
- func (o CIGloomObject) OutputImage() ICIImage
- func (o CIGloomObject) Radius() float32
- func (o CIGloomObject) SetInputImage(value ICIImage)
- func (o CIGloomObject) SetIntensity(value float32)
- func (o CIGloomObject) SetRadius(value float32)
- type CIHatchedScreen
- type CIHatchedScreenObject
- func (o CIHatchedScreenObject) Angle() float32
- func (o CIHatchedScreenObject) BaseObject() objectivec.Object
- func (o CIHatchedScreenObject) Center() corefoundation.CGPoint
- func (o CIHatchedScreenObject) InputImage() ICIImage
- func (o CIHatchedScreenObject) OutputImage() ICIImage
- func (o CIHatchedScreenObject) SetAngle(value float32)
- func (o CIHatchedScreenObject) SetCenter(value corefoundation.CGPoint)
- func (o CIHatchedScreenObject) SetInputImage(value ICIImage)
- func (o CIHatchedScreenObject) SetSharpness(value float32)
- func (o CIHatchedScreenObject) SetWidth(value float32)
- func (o CIHatchedScreenObject) Sharpness() float32
- func (o CIHatchedScreenObject) Width() float32
- type CIHeightFieldFromMask
- type CIHeightFieldFromMaskObject
- func (o CIHeightFieldFromMaskObject) BaseObject() objectivec.Object
- func (o CIHeightFieldFromMaskObject) InputImage() ICIImage
- func (o CIHeightFieldFromMaskObject) OutputImage() ICIImage
- func (o CIHeightFieldFromMaskObject) Radius() float32
- func (o CIHeightFieldFromMaskObject) SetInputImage(value ICIImage)
- func (o CIHeightFieldFromMaskObject) SetRadius(value float32)
- type CIHexagonalPixellate
- type CIHexagonalPixellateObject
- func (o CIHexagonalPixellateObject) BaseObject() objectivec.Object
- func (o CIHexagonalPixellateObject) Center() corefoundation.CGPoint
- func (o CIHexagonalPixellateObject) InputImage() ICIImage
- func (o CIHexagonalPixellateObject) OutputImage() ICIImage
- func (o CIHexagonalPixellateObject) Scale() float32
- func (o CIHexagonalPixellateObject) SetCenter(value corefoundation.CGPoint)
- func (o CIHexagonalPixellateObject) SetInputImage(value ICIImage)
- func (o CIHexagonalPixellateObject) SetScale(value float32)
- type CIHighlightShadowAdjust
- type CIHighlightShadowAdjustObject
- func (o CIHighlightShadowAdjustObject) BaseObject() objectivec.Object
- func (o CIHighlightShadowAdjustObject) HighlightAmount() float32
- func (o CIHighlightShadowAdjustObject) InputImage() ICIImage
- func (o CIHighlightShadowAdjustObject) OutputImage() ICIImage
- func (o CIHighlightShadowAdjustObject) Radius() float32
- func (o CIHighlightShadowAdjustObject) SetHighlightAmount(value float32)
- func (o CIHighlightShadowAdjustObject) SetInputImage(value ICIImage)
- func (o CIHighlightShadowAdjustObject) SetRadius(value float32)
- func (o CIHighlightShadowAdjustObject) SetShadowAmount(value float32)
- func (o CIHighlightShadowAdjustObject) ShadowAmount() float32
- type CIHistogramDisplay
- type CIHistogramDisplayObject
- func (o CIHistogramDisplayObject) BaseObject() objectivec.Object
- func (o CIHistogramDisplayObject) Height() float32
- func (o CIHistogramDisplayObject) HighLimit() float32
- func (o CIHistogramDisplayObject) InputImage() ICIImage
- func (o CIHistogramDisplayObject) LowLimit() float32
- func (o CIHistogramDisplayObject) OutputImage() ICIImage
- func (o CIHistogramDisplayObject) SetHeight(value float32)
- func (o CIHistogramDisplayObject) SetHighLimit(value float32)
- func (o CIHistogramDisplayObject) SetInputImage(value ICIImage)
- func (o CIHistogramDisplayObject) SetLowLimit(value float32)
- type CIHoleDistortion
- type CIHoleDistortionObject
- func (o CIHoleDistortionObject) BaseObject() objectivec.Object
- func (o CIHoleDistortionObject) Center() corefoundation.CGPoint
- func (o CIHoleDistortionObject) InputImage() ICIImage
- func (o CIHoleDistortionObject) OutputImage() ICIImage
- func (o CIHoleDistortionObject) Radius() float32
- func (o CIHoleDistortionObject) SetCenter(value corefoundation.CGPoint)
- func (o CIHoleDistortionObject) SetInputImage(value ICIImage)
- func (o CIHoleDistortionObject) SetRadius(value float32)
- type CIHueAdjust
- type CIHueAdjustObject
- func (o CIHueAdjustObject) Angle() float32
- func (o CIHueAdjustObject) BaseObject() objectivec.Object
- func (o CIHueAdjustObject) InputImage() ICIImage
- func (o CIHueAdjustObject) OutputImage() ICIImage
- func (o CIHueAdjustObject) SetAngle(value float32)
- func (o CIHueAdjustObject) SetInputImage(value ICIImage)
- type CIHueSaturationValueGradient
- type CIHueSaturationValueGradientObject
- func (o CIHueSaturationValueGradientObject) BaseObject() objectivec.Object
- func (o CIHueSaturationValueGradientObject) ColorSpace() coregraphics.CGColorSpaceRef
- func (o CIHueSaturationValueGradientObject) Dither() float32
- func (o CIHueSaturationValueGradientObject) OutputImage() ICIImage
- func (o CIHueSaturationValueGradientObject) Radius() float32
- func (o CIHueSaturationValueGradientObject) SetColorSpace(value coregraphics.CGColorSpaceRef)
- func (o CIHueSaturationValueGradientObject) SetDither(value float32)
- func (o CIHueSaturationValueGradientObject) SetRadius(value float32)
- func (o CIHueSaturationValueGradientObject) SetSoftness(value float32)
- func (o CIHueSaturationValueGradientObject) SetValue(value float32)
- func (o CIHueSaturationValueGradientObject) Softness() float32
- func (o CIHueSaturationValueGradientObject) Value() float32
- type CIImage
- func CIImageFromID(id objc.ID) CIImage
- func NewCIImage() CIImage
- func NewImageWithBitmapDataBytesPerRowSizeFormatColorSpace(data foundation.INSData, bytesPerRow uintptr, size corefoundation.CGSize, ...) CIImage
- func NewImageWithBitmapImageRep(bitmapImageRep objectivec.IObject) CIImage
- func NewImageWithCGImage(image coregraphics.CGImageRef) CIImage
- func NewImageWithCGImageOptions(image coregraphics.CGImageRef, options foundation.INSDictionary) CIImage
- func NewImageWithCGImageSourceIndexOptions(source objectivec.IObject, index uintptr, dict foundation.INSDictionary) CIImage
- func NewImageWithCVImageBuffer(imageBuffer corevideo.CVImageBufferRef) CIImage
- func NewImageWithCVImageBufferOptions(imageBuffer corevideo.CVImageBufferRef, options foundation.INSDictionary) CIImage
- func NewImageWithCVPixelBuffer(pixelBuffer corevideo.CVImageBufferRef) CIImage
- func NewImageWithCVPixelBufferOptions(pixelBuffer corevideo.CVImageBufferRef, options foundation.INSDictionary) CIImage
- func NewImageWithColor(color ICIColor) CIImage
- func NewImageWithContentsOfURL(url foundation.INSURL) CIImage
- func NewImageWithContentsOfURLOptions(url foundation.INSURL, options foundation.INSDictionary) CIImage
- func NewImageWithData(data foundation.INSData) CIImage
- func NewImageWithDataOptions(data foundation.INSData, options foundation.INSDictionary) CIImage
- func NewImageWithDepthData(data objectivec.IObject) CIImage
- func NewImageWithDepthDataOptions(data objectivec.IObject, options foundation.INSDictionary) CIImage
- func NewImageWithIOSurface(surface iosurface.IOSurfaceRef) CIImage
- func NewImageWithIOSurfaceOptions(surface iosurface.IOSurfaceRef, options foundation.INSDictionary) CIImage
- func NewImageWithImage(image objectivec.IObject) CIImage
- func NewImageWithImageOptions(image objectivec.IObject, options foundation.INSDictionary) CIImage
- func NewImageWithImageProviderSizeFormatColorSpaceOptions(provider objectivec.IObject, width uintptr, height uintptr, format int, ...) CIImage
- func NewImageWithMTLTextureOptions(texture objectivec.IObject, options foundation.INSDictionary) CIImage
- func NewImageWithPortaitEffectsMatte(matte objectivec.IObject) CIImage
- func NewImageWithPortaitEffectsMatteOptions(matte objectivec.IObject, options foundation.INSDictionary) CIImage
- func NewImageWithSemanticSegmentationMatte(matte objectivec.IObject) CIImage
- func NewImageWithSemanticSegmentationMatteOptions(matte objectivec.IObject, options foundation.INSDictionary) CIImage
- func (i CIImage) AutoAdjustmentFilters() []CIFilter
- func (i CIImage) AutoAdjustmentFiltersWithOptions(options foundation.INSDictionary) []CIFilter
- func (i CIImage) Autorelease() CIImage
- func (i CIImage) CGImage() coregraphics.CGImageRef
- func (i CIImage) ColorSpace() coregraphics.CGColorSpaceRef
- func (i CIImage) ContentAverageLightLevel() float32
- func (i CIImage) ContentHeadroom() float32
- func (i CIImage) Definition() ICIFilterShape
- func (i CIImage) DepthData() objectivec.IObject
- func (i CIImage) DrawAtPointFromRectOperationFraction(point corefoundation.CGPoint, fromRect corefoundation.CGRect, ...)
- func (i CIImage) DrawInRectFromRectOperationFraction(rect corefoundation.CGRect, fromRect corefoundation.CGRect, ...)
- func (i CIImage) EncodeWithCoder(coder foundation.INSCoder)
- func (i CIImage) Extent() corefoundation.CGRect
- func (i CIImage) ImageByApplyingCGOrientation(orientation objectivec.IObject) ICIImage
- func (i CIImage) ImageByApplyingFilter(filterName string) ICIImage
- func (i CIImage) ImageByApplyingFilterWithInputParameters(filterName string, params foundation.INSDictionary) ICIImage
- func (i CIImage) ImageByApplyingGainMap(gainmap ICIImage) ICIImage
- func (i CIImage) ImageByApplyingGainMapHeadroom(gainmap ICIImage, headroom float32) ICIImage
- func (i CIImage) ImageByApplyingGaussianBlurWithSigma(sigma float64) ICIImage
- func (i CIImage) ImageByApplyingOrientation(orientation int) ICIImage
- func (i CIImage) ImageByApplyingTransform(matrix corefoundation.CGAffineTransform) ICIImage
- func (i CIImage) ImageByApplyingTransformHighQualityDownsample(matrix corefoundation.CGAffineTransform, highQualityDownsample bool) ICIImage
- func (i CIImage) ImageByClampingToExtent() ICIImage
- func (i CIImage) ImageByClampingToRect(rect corefoundation.CGRect) ICIImage
- func (i CIImage) ImageByColorMatchingColorSpaceToWorkingSpace(colorSpace coregraphics.CGColorSpaceRef) ICIImage
- func (i CIImage) ImageByColorMatchingWorkingSpaceToColorSpace(colorSpace coregraphics.CGColorSpaceRef) ICIImage
- func (i CIImage) ImageByCompositingOverImage(dest ICIImage) ICIImage
- func (i CIImage) ImageByConvertingLabToWorkingSpace() ICIImage
- func (i CIImage) ImageByConvertingWorkingSpaceToLab() ICIImage
- func (i CIImage) ImageByCroppingToRect(rect corefoundation.CGRect) ICIImage
- func (i CIImage) ImageByInsertingIntermediate() ICIImage
- func (i CIImage) ImageByInsertingIntermediateWithCache(cache bool) ICIImage
- func (i CIImage) ImageByInsertingTiledIntermediate() ICIImage
- func (i CIImage) ImageByPremultiplyingAlpha() ICIImage
- func (i CIImage) ImageBySamplingLinear() ICIImage
- func (i CIImage) ImageBySamplingNearest() ICIImage
- func (i CIImage) ImageBySettingAlphaOneInExtent(extent corefoundation.CGRect) ICIImage
- func (i CIImage) ImageBySettingContentAverageLightLevel(average float32) ICIImage
- func (i CIImage) ImageBySettingContentHeadroom(headroom float32) ICIImage
- func (i CIImage) ImageBySettingProperties(properties foundation.INSDictionary) ICIImage
- func (i CIImage) ImageByUnpremultiplyingAlpha() ICIImage
- func (i CIImage) ImageTransformForCGOrientation(orientation objectivec.IObject) corefoundation.CGAffineTransform
- func (i CIImage) ImageTransformForOrientation(orientation int) corefoundation.CGAffineTransform
- func (i CIImage) Init() CIImage
- func (i CIImage) InitWithBitmapDataBytesPerRowSizeFormatColorSpace(data foundation.INSData, bytesPerRow uintptr, size corefoundation.CGSize, ...) CIImage
- func (i CIImage) InitWithBitmapImageRep(bitmapImageRep objectivec.IObject) CIImage
- func (i CIImage) InitWithCGImage(image coregraphics.CGImageRef) CIImage
- func (i CIImage) InitWithCGImageOptions(image coregraphics.CGImageRef, options foundation.INSDictionary) CIImage
- func (i CIImage) InitWithCGImageSourceIndexOptions(source objectivec.IObject, index uintptr, dict foundation.INSDictionary) CIImage
- func (i CIImage) InitWithCVImageBuffer(imageBuffer corevideo.CVImageBufferRef) CIImage
- func (i CIImage) InitWithCVImageBufferOptions(imageBuffer corevideo.CVImageBufferRef, options foundation.INSDictionary) CIImage
- func (i CIImage) InitWithCVPixelBuffer(pixelBuffer corevideo.CVImageBufferRef) CIImage
- func (i CIImage) InitWithCVPixelBufferOptions(pixelBuffer corevideo.CVImageBufferRef, options foundation.INSDictionary) CIImage
- func (i CIImage) InitWithColor(color ICIColor) CIImage
- func (i CIImage) InitWithContentsOfURL(url foundation.INSURL) CIImage
- func (i CIImage) InitWithContentsOfURLOptions(url foundation.INSURL, options foundation.INSDictionary) CIImage
- func (i CIImage) InitWithData(data foundation.INSData) CIImage
- func (i CIImage) InitWithDataOptions(data foundation.INSData, options foundation.INSDictionary) CIImage
- func (i CIImage) InitWithDepthData(data objectivec.IObject) CIImage
- func (i CIImage) InitWithDepthDataOptions(data objectivec.IObject, options foundation.INSDictionary) CIImage
- func (i CIImage) InitWithIOSurface(surface iosurface.IOSurfaceRef) CIImage
- func (i CIImage) InitWithIOSurfaceOptions(surface iosurface.IOSurfaceRef, options foundation.INSDictionary) CIImage
- func (i CIImage) InitWithImageProviderSizeFormatColorSpaceOptions(provider objectivec.IObject, width uintptr, height uintptr, format int, ...) CIImage
- func (i CIImage) InitWithMTLTextureOptions(texture objectivec.IObject, options foundation.INSDictionary) CIImage
- func (i CIImage) InitWithPortaitEffectsMatte(matte objectivec.IObject) CIImage
- func (i CIImage) InitWithPortaitEffectsMatteOptions(matte objectivec.IObject, options foundation.INSDictionary) CIImage
- func (i CIImage) InitWithSemanticSegmentationMatte(matte objectivec.IObject) CIImage
- func (i CIImage) InitWithSemanticSegmentationMatteOptions(matte objectivec.IObject, options foundation.INSDictionary) CIImage
- func (i CIImage) MetalTexture() objectivec.IObject
- func (i CIImage) Opaque() bool
- func (i CIImage) PixelBuffer() corevideo.CVImageBufferRef
- func (i CIImage) PortraitEffectsMatte() objectivec.IObject
- func (i CIImage) Properties() foundation.INSDictionary
- func (i CIImage) RegionOfInterestForImageInRect(image ICIImage, rect corefoundation.CGRect) corefoundation.CGRect
- func (i CIImage) SemanticSegmentationMatte() objectivec.IObject
- func (i CIImage) TextureFormat() CIImageOption
- func (i CIImage) TextureTarget() CIImageOption
- func (i CIImage) Url() foundation.INSURL
- type CIImageAccumulator
- func CIImageAccumulatorFromID(id objc.ID) CIImageAccumulator
- func NewCIImageAccumulator() CIImageAccumulator
- func NewImageAccumulatorWithExtentFormat(extent corefoundation.CGRect, format int) CIImageAccumulator
- func NewImageAccumulatorWithExtentFormatColorSpace(extent corefoundation.CGRect, format int, ...) CIImageAccumulator
- func (i CIImageAccumulator) Autorelease() CIImageAccumulator
- func (i CIImageAccumulator) Clear()
- func (i CIImageAccumulator) Extent() corefoundation.CGRect
- func (i CIImageAccumulator) Format() CIFormat
- func (i CIImageAccumulator) Image() ICIImage
- func (i CIImageAccumulator) Init() CIImageAccumulator
- func (i CIImageAccumulator) InitWithExtentFormat(extent corefoundation.CGRect, format int) CIImageAccumulator
- func (i CIImageAccumulator) InitWithExtentFormatColorSpace(extent corefoundation.CGRect, format int, ...) CIImageAccumulator
- func (i CIImageAccumulator) SetImage(image ICIImage)
- func (i CIImageAccumulator) SetImageDirtyRect(image ICIImage, dirtyRect corefoundation.CGRect)
- type CIImageAccumulatorClass
- func (cc CIImageAccumulatorClass) Alloc() CIImageAccumulator
- func (_CIImageAccumulatorClass CIImageAccumulatorClass) ImageAccumulatorWithExtentFormat(extent corefoundation.CGRect, format int) CIImageAccumulator
- func (_CIImageAccumulatorClass CIImageAccumulatorClass) ImageAccumulatorWithExtentFormatColorSpace(extent corefoundation.CGRect, format int, ...) CIImageAccumulator
- type CIImageAutoAdjustmentOption
- type CIImageClass
- func (cc CIImageClass) Alloc() CIImage
- func (_CIImageClass CIImageClass) BlackImage() CIImage
- func (_CIImageClass CIImageClass) BlueImage() CIImage
- func (_CIImageClass CIImageClass) ClearImage() CIImage
- func (_CIImageClass CIImageClass) CyanImage() CIImage
- func (_CIImageClass CIImageClass) EmptyImage() CIImage
- func (_CIImageClass CIImageClass) GrayImage() CIImage
- func (_CIImageClass CIImageClass) GreenImage() CIImage
- func (_CIImageClass CIImageClass) ImageWithBitmapDataBytesPerRowSizeFormatColorSpace(data foundation.INSData, bytesPerRow uintptr, size corefoundation.CGSize, ...) CIImage
- func (_CIImageClass CIImageClass) ImageWithCGImage(image coregraphics.CGImageRef) CIImage
- func (_CIImageClass CIImageClass) ImageWithCGImageOptions(image coregraphics.CGImageRef, options foundation.INSDictionary) CIImage
- func (_CIImageClass CIImageClass) ImageWithCGImageSourceIndexOptions(source objectivec.IObject, index uintptr, dict foundation.INSDictionary) CIImage
- func (_CIImageClass CIImageClass) ImageWithCVImageBuffer(imageBuffer corevideo.CVImageBufferRef) CIImage
- func (_CIImageClass CIImageClass) ImageWithCVImageBufferOptions(imageBuffer corevideo.CVImageBufferRef, options foundation.INSDictionary) CIImage
- func (_CIImageClass CIImageClass) ImageWithCVPixelBuffer(pixelBuffer corevideo.CVImageBufferRef) CIImage
- func (_CIImageClass CIImageClass) ImageWithCVPixelBufferOptions(pixelBuffer corevideo.CVImageBufferRef, options foundation.INSDictionary) CIImage
- func (_CIImageClass CIImageClass) ImageWithColor(color ICIColor) CIImage
- func (_CIImageClass CIImageClass) ImageWithContentsOfURL(url foundation.INSURL) CIImage
- func (_CIImageClass CIImageClass) ImageWithContentsOfURLOptions(url foundation.INSURL, options foundation.INSDictionary) CIImage
- func (_CIImageClass CIImageClass) ImageWithData(data foundation.INSData) CIImage
- func (_CIImageClass CIImageClass) ImageWithDataOptions(data foundation.INSData, options foundation.INSDictionary) CIImage
- func (_CIImageClass CIImageClass) ImageWithDepthData(data objectivec.IObject) CIImage
- func (_CIImageClass CIImageClass) ImageWithDepthDataOptions(data objectivec.IObject, options foundation.INSDictionary) CIImage
- func (_CIImageClass CIImageClass) ImageWithIOSurface(surface iosurface.IOSurfaceRef) CIImage
- func (_CIImageClass CIImageClass) ImageWithIOSurfaceOptions(surface iosurface.IOSurfaceRef, options foundation.INSDictionary) CIImage
- func (_CIImageClass CIImageClass) ImageWithImageProviderSizeFormatColorSpaceOptions(provider objectivec.IObject, width uintptr, height uintptr, format int, ...) CIImage
- func (_CIImageClass CIImageClass) ImageWithMTLTextureOptions(texture objectivec.IObject, options foundation.INSDictionary) CIImage
- func (_CIImageClass CIImageClass) ImageWithPortaitEffectsMatte(matte objectivec.IObject) CIImage
- func (_CIImageClass CIImageClass) ImageWithPortaitEffectsMatteOptions(matte objectivec.IObject, options foundation.INSDictionary) CIImage
- func (_CIImageClass CIImageClass) ImageWithSemanticSegmentationMatte(matte objectivec.IObject) CIImage
- func (_CIImageClass CIImageClass) ImageWithSemanticSegmentationMatteOptions(matte objectivec.IObject, options foundation.INSDictionary) CIImage
- func (_CIImageClass CIImageClass) MagentaImage() CIImage
- func (_CIImageClass CIImageClass) RedImage() CIImage
- func (_CIImageClass CIImageClass) WhiteImage() CIImage
- func (_CIImageClass CIImageClass) YellowImage() CIImage
- type CIImageOption
- type CIImageProcessorInput
- type CIImageProcessorInputObject
- func (o CIImageProcessorInputObject) BaseAddress() unsafe.Pointer
- func (o CIImageProcessorInputObject) BaseObject() objectivec.Object
- func (o CIImageProcessorInputObject) BytesPerRow() uintptr
- func (o CIImageProcessorInputObject) Digest() uint64
- func (o CIImageProcessorInputObject) Format() CIFormat
- func (o CIImageProcessorInputObject) MetalTexture() metal.MTLTexture
- func (o CIImageProcessorInputObject) PixelBuffer() corevideo.CVImageBufferRef
- func (o CIImageProcessorInputObject) Region() corefoundation.CGRect
- func (o CIImageProcessorInputObject) RoiTileCount() uint
- func (o CIImageProcessorInputObject) RoiTileIndex() uint
- func (o CIImageProcessorInputObject) Surface() iosurface.IOSurfaceRef
- type CIImageProcessorKernel
- type CIImageProcessorKernelClass
- func (cc CIImageProcessorKernelClass) Alloc() CIImageProcessorKernel
- func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) ApplyWithExtentInputsArgumentsError(extent corefoundation.CGRect, inputs []CIImage, ...) (CIImage, error)
- func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) ApplyWithExtentsInputsArgumentsError(extents []CIVector, inputs []CIImage, arguments foundation.INSDictionary) ([]CIImage, error)
- func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) FormatForInputAtIndex(inputIndex int) CIFormat
- func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) OutputFormat() CIFormat
- func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) OutputFormatAtIndexArguments(outputIndex int, arguments foundation.INSDictionary) CIFormat
- func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) OutputIsOpaque() bool
- func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) ProcessWithInputsArgumentsOutputError(inputs []objectivec.IObject, arguments foundation.INSDictionary, ...) (bool, error)
- func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) ProcessWithInputsArgumentsOutputsError(inputs []objectivec.IObject, arguments foundation.INSDictionary, ...) (bool, error)
- func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) RoiForInputArgumentsOutputRect(inputIndex int, arguments foundation.INSDictionary, ...) corefoundation.CGRect
- func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) RoiTileArrayForInputArgumentsOutputRect(inputIndex int, arguments foundation.INSDictionary, ...) []CIVector
- func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) SynchronizeInputs() bool
- type CIImageProcessorOutput
- type CIImageProcessorOutputObject
- func (o CIImageProcessorOutputObject) BaseAddress() unsafe.Pointer
- func (o CIImageProcessorOutputObject) BaseObject() objectivec.Object
- func (o CIImageProcessorOutputObject) BytesPerRow() uintptr
- func (o CIImageProcessorOutputObject) Digest() uint64
- func (o CIImageProcessorOutputObject) Format() CIFormat
- func (o CIImageProcessorOutputObject) MetalCommandBuffer() metal.MTLCommandBuffer
- func (o CIImageProcessorOutputObject) MetalTexture() metal.MTLTexture
- func (o CIImageProcessorOutputObject) PixelBuffer() corevideo.CVImageBufferRef
- func (o CIImageProcessorOutputObject) Region() corefoundation.CGRect
- func (o CIImageProcessorOutputObject) Surface() iosurface.IOSurfaceRef
- type CIImageRepresentationOption
- type CIKMeans
- type CIKMeansObject
- func (o CIKMeansObject) BaseObject() objectivec.Object
- func (o CIKMeansObject) Count() int
- func (o CIKMeansObject) Extent() corefoundation.CGRect
- func (o CIKMeansObject) InputImage() ICIImage
- func (o CIKMeansObject) InputMeans() ICIImage
- func (o CIKMeansObject) OutputImage() ICIImage
- func (o CIKMeansObject) Passes() float32
- func (o CIKMeansObject) Perceptual() bool
- func (o CIKMeansObject) SetCount(value int)
- func (o CIKMeansObject) SetExtent(value corefoundation.CGRect)
- func (o CIKMeansObject) SetInputImage(value ICIImage)
- func (o CIKMeansObject) SetInputMeans(value ICIImage)
- func (o CIKMeansObject) SetPasses(value float32)
- func (o CIKMeansObject) SetPerceptual(value bool)
- type CIKaleidoscope
- type CIKaleidoscopeObject
- func (o CIKaleidoscopeObject) Angle() float32
- func (o CIKaleidoscopeObject) BaseObject() objectivec.Object
- func (o CIKaleidoscopeObject) Center() corefoundation.CGPoint
- func (o CIKaleidoscopeObject) Count() int
- func (o CIKaleidoscopeObject) InputImage() ICIImage
- func (o CIKaleidoscopeObject) OutputImage() ICIImage
- func (o CIKaleidoscopeObject) SetAngle(value float32)
- func (o CIKaleidoscopeObject) SetCenter(value corefoundation.CGPoint)
- func (o CIKaleidoscopeObject) SetCount(value int)
- func (o CIKaleidoscopeObject) SetInputImage(value ICIImage)
- type CIKernel
- func CIKernelFromID(id objc.ID) CIKernel
- func NewCIKernel() CIKernel
- func NewKernelWithFunctionNameFromMetalLibraryDataError(name string, data foundation.INSData) (CIKernel, error)
- func NewKernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError(name string, data foundation.INSData, format int) (CIKernel, error)
- type CIKernelClass
- type CIKernelROICallback
- type CIKeystoneCorrectionCombined
- type CIKeystoneCorrectionCombinedObject
- func (o CIKeystoneCorrectionCombinedObject) BaseObject() objectivec.Object
- func (o CIKeystoneCorrectionCombinedObject) BottomLeft() corefoundation.CGPoint
- func (o CIKeystoneCorrectionCombinedObject) BottomRight() corefoundation.CGPoint
- func (o CIKeystoneCorrectionCombinedObject) FocalLength() float32
- func (o CIKeystoneCorrectionCombinedObject) InputImage() ICIImage
- func (o CIKeystoneCorrectionCombinedObject) OutputImage() ICIImage
- func (o CIKeystoneCorrectionCombinedObject) SetBottomLeft(value corefoundation.CGPoint)
- func (o CIKeystoneCorrectionCombinedObject) SetBottomRight(value corefoundation.CGPoint)
- func (o CIKeystoneCorrectionCombinedObject) SetFocalLength(value float32)
- func (o CIKeystoneCorrectionCombinedObject) SetInputImage(value ICIImage)
- func (o CIKeystoneCorrectionCombinedObject) SetTopLeft(value corefoundation.CGPoint)
- func (o CIKeystoneCorrectionCombinedObject) SetTopRight(value corefoundation.CGPoint)
- func (o CIKeystoneCorrectionCombinedObject) TopLeft() corefoundation.CGPoint
- func (o CIKeystoneCorrectionCombinedObject) TopRight() corefoundation.CGPoint
- type CIKeystoneCorrectionHorizontal
- type CIKeystoneCorrectionHorizontalObject
- func (o CIKeystoneCorrectionHorizontalObject) BaseObject() objectivec.Object
- func (o CIKeystoneCorrectionHorizontalObject) BottomLeft() corefoundation.CGPoint
- func (o CIKeystoneCorrectionHorizontalObject) BottomRight() corefoundation.CGPoint
- func (o CIKeystoneCorrectionHorizontalObject) FocalLength() float32
- func (o CIKeystoneCorrectionHorizontalObject) InputImage() ICIImage
- func (o CIKeystoneCorrectionHorizontalObject) OutputImage() ICIImage
- func (o CIKeystoneCorrectionHorizontalObject) SetBottomLeft(value corefoundation.CGPoint)
- func (o CIKeystoneCorrectionHorizontalObject) SetBottomRight(value corefoundation.CGPoint)
- func (o CIKeystoneCorrectionHorizontalObject) SetFocalLength(value float32)
- func (o CIKeystoneCorrectionHorizontalObject) SetInputImage(value ICIImage)
- func (o CIKeystoneCorrectionHorizontalObject) SetTopLeft(value corefoundation.CGPoint)
- func (o CIKeystoneCorrectionHorizontalObject) SetTopRight(value corefoundation.CGPoint)
- func (o CIKeystoneCorrectionHorizontalObject) TopLeft() corefoundation.CGPoint
- func (o CIKeystoneCorrectionHorizontalObject) TopRight() corefoundation.CGPoint
- type CIKeystoneCorrectionVertical
- type CIKeystoneCorrectionVerticalObject
- func (o CIKeystoneCorrectionVerticalObject) BaseObject() objectivec.Object
- func (o CIKeystoneCorrectionVerticalObject) BottomLeft() corefoundation.CGPoint
- func (o CIKeystoneCorrectionVerticalObject) BottomRight() corefoundation.CGPoint
- func (o CIKeystoneCorrectionVerticalObject) FocalLength() float32
- func (o CIKeystoneCorrectionVerticalObject) InputImage() ICIImage
- func (o CIKeystoneCorrectionVerticalObject) OutputImage() ICIImage
- func (o CIKeystoneCorrectionVerticalObject) SetBottomLeft(value corefoundation.CGPoint)
- func (o CIKeystoneCorrectionVerticalObject) SetBottomRight(value corefoundation.CGPoint)
- func (o CIKeystoneCorrectionVerticalObject) SetFocalLength(value float32)
- func (o CIKeystoneCorrectionVerticalObject) SetInputImage(value ICIImage)
- func (o CIKeystoneCorrectionVerticalObject) SetTopLeft(value corefoundation.CGPoint)
- func (o CIKeystoneCorrectionVerticalObject) SetTopRight(value corefoundation.CGPoint)
- func (o CIKeystoneCorrectionVerticalObject) TopLeft() corefoundation.CGPoint
- func (o CIKeystoneCorrectionVerticalObject) TopRight() corefoundation.CGPoint
- type CILabDeltaE
- type CILabDeltaEObject
- func (o CILabDeltaEObject) BaseObject() objectivec.Object
- func (o CILabDeltaEObject) Image2() ICIImage
- func (o CILabDeltaEObject) InputImage() ICIImage
- func (o CILabDeltaEObject) OutputImage() ICIImage
- func (o CILabDeltaEObject) SetImage2(value ICIImage)
- func (o CILabDeltaEObject) SetInputImage(value ICIImage)
- type CILanczosScaleTransform
- type CILanczosScaleTransformObject
- func (o CILanczosScaleTransformObject) AspectRatio() float32
- func (o CILanczosScaleTransformObject) BaseObject() objectivec.Object
- func (o CILanczosScaleTransformObject) InputImage() ICIImage
- func (o CILanczosScaleTransformObject) OutputImage() ICIImage
- func (o CILanczosScaleTransformObject) Scale() float32
- func (o CILanczosScaleTransformObject) SetAspectRatio(value float32)
- func (o CILanczosScaleTransformObject) SetInputImage(value ICIImage)
- func (o CILanczosScaleTransformObject) SetScale(value float32)
- type CILenticularHaloGenerator
- type CILenticularHaloGeneratorObject
- func (o CILenticularHaloGeneratorObject) BaseObject() objectivec.Object
- func (o CILenticularHaloGeneratorObject) Center() corefoundation.CGPoint
- func (o CILenticularHaloGeneratorObject) Color() ICIColor
- func (o CILenticularHaloGeneratorObject) HaloOverlap() float32
- func (o CILenticularHaloGeneratorObject) HaloRadius() float32
- func (o CILenticularHaloGeneratorObject) HaloWidth() float32
- func (o CILenticularHaloGeneratorObject) OutputImage() ICIImage
- func (o CILenticularHaloGeneratorObject) SetCenter(value corefoundation.CGPoint)
- func (o CILenticularHaloGeneratorObject) SetColor(value ICIColor)
- func (o CILenticularHaloGeneratorObject) SetHaloOverlap(value float32)
- func (o CILenticularHaloGeneratorObject) SetHaloRadius(value float32)
- func (o CILenticularHaloGeneratorObject) SetHaloWidth(value float32)
- func (o CILenticularHaloGeneratorObject) SetStriationContrast(value float32)
- func (o CILenticularHaloGeneratorObject) SetStriationStrength(value float32)
- func (o CILenticularHaloGeneratorObject) SetTime(value float32)
- func (o CILenticularHaloGeneratorObject) StriationContrast() float32
- func (o CILenticularHaloGeneratorObject) StriationStrength() float32
- func (o CILenticularHaloGeneratorObject) Time() float32
- type CILightTunnel
- type CILightTunnelObject
- func (o CILightTunnelObject) BaseObject() objectivec.Object
- func (o CILightTunnelObject) Center() corefoundation.CGPoint
- func (o CILightTunnelObject) InputImage() ICIImage
- func (o CILightTunnelObject) OutputImage() ICIImage
- func (o CILightTunnelObject) Radius() float32
- func (o CILightTunnelObject) Rotation() float32
- func (o CILightTunnelObject) SetCenter(value corefoundation.CGPoint)
- func (o CILightTunnelObject) SetInputImage(value ICIImage)
- func (o CILightTunnelObject) SetRadius(value float32)
- func (o CILightTunnelObject) SetRotation(value float32)
- type CILineOverlay
- type CILineOverlayObject
- func (o CILineOverlayObject) BaseObject() objectivec.Object
- func (o CILineOverlayObject) Contrast() float32
- func (o CILineOverlayObject) EdgeIntensity() float32
- func (o CILineOverlayObject) InputImage() ICIImage
- func (o CILineOverlayObject) NRNoiseLevel() float32
- func (o CILineOverlayObject) NRSharpness() float32
- func (o CILineOverlayObject) OutputImage() ICIImage
- func (o CILineOverlayObject) SetContrast(value float32)
- func (o CILineOverlayObject) SetEdgeIntensity(value float32)
- func (o CILineOverlayObject) SetInputImage(value ICIImage)
- func (o CILineOverlayObject) SetNRNoiseLevel(value float32)
- func (o CILineOverlayObject) SetNRSharpness(value float32)
- func (o CILineOverlayObject) SetThreshold(value float32)
- func (o CILineOverlayObject) Threshold() float32
- type CILineScreen
- type CILineScreenObject
- func (o CILineScreenObject) Angle() float32
- func (o CILineScreenObject) BaseObject() objectivec.Object
- func (o CILineScreenObject) Center() corefoundation.CGPoint
- func (o CILineScreenObject) InputImage() ICIImage
- func (o CILineScreenObject) OutputImage() ICIImage
- func (o CILineScreenObject) SetAngle(value float32)
- func (o CILineScreenObject) SetCenter(value corefoundation.CGPoint)
- func (o CILineScreenObject) SetInputImage(value ICIImage)
- func (o CILineScreenObject) SetSharpness(value float32)
- func (o CILineScreenObject) SetWidth(value float32)
- func (o CILineScreenObject) Sharpness() float32
- func (o CILineScreenObject) Width() float32
- type CILinearGradient
- type CILinearGradientObject
- func (o CILinearGradientObject) BaseObject() objectivec.Object
- func (o CILinearGradientObject) Color0() ICIColor
- func (o CILinearGradientObject) Color1() ICIColor
- func (o CILinearGradientObject) OutputImage() ICIImage
- func (o CILinearGradientObject) Point0() corefoundation.CGPoint
- func (o CILinearGradientObject) Point1() corefoundation.CGPoint
- func (o CILinearGradientObject) SetColor0(value ICIColor)
- func (o CILinearGradientObject) SetColor1(value ICIColor)
- func (o CILinearGradientObject) SetPoint0(value corefoundation.CGPoint)
- func (o CILinearGradientObject) SetPoint1(value corefoundation.CGPoint)
- type CILinearToSRGBToneCurve
- type CILinearToSRGBToneCurveObject
- type CIMaskToAlpha
- type CIMaskToAlphaObject
- type CIMaskedVariableBlur
- type CIMaskedVariableBlurObject
- func (o CIMaskedVariableBlurObject) BaseObject() objectivec.Object
- func (o CIMaskedVariableBlurObject) InputImage() ICIImage
- func (o CIMaskedVariableBlurObject) Mask() ICIImage
- func (o CIMaskedVariableBlurObject) OutputImage() ICIImage
- func (o CIMaskedVariableBlurObject) Radius() float32
- func (o CIMaskedVariableBlurObject) SetInputImage(value ICIImage)
- func (o CIMaskedVariableBlurObject) SetMask(value ICIImage)
- func (o CIMaskedVariableBlurObject) SetRadius(value float32)
- type CIMaximumComponent
- type CIMaximumComponentObject
- type CIMaximumScaleTransform
- type CIMaximumScaleTransformObject
- func (o CIMaximumScaleTransformObject) AspectRatio() float32
- func (o CIMaximumScaleTransformObject) BaseObject() objectivec.Object
- func (o CIMaximumScaleTransformObject) InputImage() ICIImage
- func (o CIMaximumScaleTransformObject) OutputImage() ICIImage
- func (o CIMaximumScaleTransformObject) Scale() float32
- func (o CIMaximumScaleTransformObject) SetAspectRatio(value float32)
- func (o CIMaximumScaleTransformObject) SetInputImage(value ICIImage)
- func (o CIMaximumScaleTransformObject) SetScale(value float32)
- type CIMedian
- type CIMedianObject
- type CIMeshGenerator
- type CIMeshGeneratorObject
- func (o CIMeshGeneratorObject) BaseObject() objectivec.Object
- func (o CIMeshGeneratorObject) Color() ICIColor
- func (o CIMeshGeneratorObject) Mesh() foundation.INSArray
- func (o CIMeshGeneratorObject) OutputImage() ICIImage
- func (o CIMeshGeneratorObject) SetColor(value ICIColor)
- func (o CIMeshGeneratorObject) SetMesh(value foundation.INSArray)
- func (o CIMeshGeneratorObject) SetWidth(value float32)
- func (o CIMeshGeneratorObject) Width() float32
- type CIMinimumComponent
- type CIMinimumComponentObject
- type CIMix
- type CIMixObject
- func (o CIMixObject) Amount() float32
- func (o CIMixObject) BackgroundImage() ICIImage
- func (o CIMixObject) BaseObject() objectivec.Object
- func (o CIMixObject) InputImage() ICIImage
- func (o CIMixObject) OutputImage() ICIImage
- func (o CIMixObject) SetAmount(value float32)
- func (o CIMixObject) SetBackgroundImage(value ICIImage)
- func (o CIMixObject) SetInputImage(value ICIImage)
- type CIModTransition
- type CIModTransitionObject
- func (o CIModTransitionObject) Angle() float32
- func (o CIModTransitionObject) BaseObject() objectivec.Object
- func (o CIModTransitionObject) Center() corefoundation.CGPoint
- func (o CIModTransitionObject) Compression() float32
- func (o CIModTransitionObject) InputImage() ICIImage
- func (o CIModTransitionObject) OutputImage() ICIImage
- func (o CIModTransitionObject) Radius() float32
- func (o CIModTransitionObject) SetAngle(value float32)
- func (o CIModTransitionObject) SetCenter(value corefoundation.CGPoint)
- func (o CIModTransitionObject) SetCompression(value float32)
- func (o CIModTransitionObject) SetInputImage(value ICIImage)
- func (o CIModTransitionObject) SetRadius(value float32)
- func (o CIModTransitionObject) SetTargetImage(value ICIImage)
- func (o CIModTransitionObject) SetTime(value float32)
- func (o CIModTransitionObject) TargetImage() ICIImage
- func (o CIModTransitionObject) Time() float32
- type CIMorphologyGradient
- type CIMorphologyGradientObject
- func (o CIMorphologyGradientObject) BaseObject() objectivec.Object
- func (o CIMorphologyGradientObject) InputImage() ICIImage
- func (o CIMorphologyGradientObject) OutputImage() ICIImage
- func (o CIMorphologyGradientObject) Radius() float32
- func (o CIMorphologyGradientObject) SetInputImage(value ICIImage)
- func (o CIMorphologyGradientObject) SetRadius(value float32)
- type CIMorphologyMaximum
- type CIMorphologyMaximumObject
- func (o CIMorphologyMaximumObject) BaseObject() objectivec.Object
- func (o CIMorphologyMaximumObject) InputImage() ICIImage
- func (o CIMorphologyMaximumObject) OutputImage() ICIImage
- func (o CIMorphologyMaximumObject) Radius() float32
- func (o CIMorphologyMaximumObject) SetInputImage(value ICIImage)
- func (o CIMorphologyMaximumObject) SetRadius(value float32)
- type CIMorphologyMinimum
- type CIMorphologyMinimumObject
- func (o CIMorphologyMinimumObject) BaseObject() objectivec.Object
- func (o CIMorphologyMinimumObject) InputImage() ICIImage
- func (o CIMorphologyMinimumObject) OutputImage() ICIImage
- func (o CIMorphologyMinimumObject) Radius() float32
- func (o CIMorphologyMinimumObject) SetInputImage(value ICIImage)
- func (o CIMorphologyMinimumObject) SetRadius(value float32)
- type CIMorphologyRectangleMaximum
- type CIMorphologyRectangleMaximumObject
- func (o CIMorphologyRectangleMaximumObject) BaseObject() objectivec.Object
- func (o CIMorphologyRectangleMaximumObject) Height() float32
- func (o CIMorphologyRectangleMaximumObject) InputImage() ICIImage
- func (o CIMorphologyRectangleMaximumObject) OutputImage() ICIImage
- func (o CIMorphologyRectangleMaximumObject) SetHeight(value float32)
- func (o CIMorphologyRectangleMaximumObject) SetInputImage(value ICIImage)
- func (o CIMorphologyRectangleMaximumObject) SetWidth(value float32)
- func (o CIMorphologyRectangleMaximumObject) Width() float32
- type CIMorphologyRectangleMinimum
- type CIMorphologyRectangleMinimumObject
- func (o CIMorphologyRectangleMinimumObject) BaseObject() objectivec.Object
- func (o CIMorphologyRectangleMinimumObject) Height() float32
- func (o CIMorphologyRectangleMinimumObject) InputImage() ICIImage
- func (o CIMorphologyRectangleMinimumObject) OutputImage() ICIImage
- func (o CIMorphologyRectangleMinimumObject) SetHeight(value float32)
- func (o CIMorphologyRectangleMinimumObject) SetInputImage(value ICIImage)
- func (o CIMorphologyRectangleMinimumObject) SetWidth(value float32)
- func (o CIMorphologyRectangleMinimumObject) Width() float32
- type CIMotionBlur
- type CIMotionBlurObject
- func (o CIMotionBlurObject) Angle() float32
- func (o CIMotionBlurObject) BaseObject() objectivec.Object
- func (o CIMotionBlurObject) InputImage() ICIImage
- func (o CIMotionBlurObject) OutputImage() ICIImage
- func (o CIMotionBlurObject) Radius() float32
- func (o CIMotionBlurObject) SetAngle(value float32)
- func (o CIMotionBlurObject) SetInputImage(value ICIImage)
- func (o CIMotionBlurObject) SetRadius(value float32)
- type CINinePartStretched
- type CINinePartStretchedObject
- func (o CINinePartStretchedObject) BaseObject() objectivec.Object
- func (o CINinePartStretchedObject) Breakpoint0() corefoundation.CGPoint
- func (o CINinePartStretchedObject) Breakpoint1() corefoundation.CGPoint
- func (o CINinePartStretchedObject) GrowAmount() corefoundation.CGPoint
- func (o CINinePartStretchedObject) InputImage() ICIImage
- func (o CINinePartStretchedObject) OutputImage() ICIImage
- func (o CINinePartStretchedObject) SetBreakpoint0(value corefoundation.CGPoint)
- func (o CINinePartStretchedObject) SetBreakpoint1(value corefoundation.CGPoint)
- func (o CINinePartStretchedObject) SetGrowAmount(value corefoundation.CGPoint)
- func (o CINinePartStretchedObject) SetInputImage(value ICIImage)
- type CINinePartTiled
- type CINinePartTiledObject
- func (o CINinePartTiledObject) BaseObject() objectivec.Object
- func (o CINinePartTiledObject) Breakpoint0() corefoundation.CGPoint
- func (o CINinePartTiledObject) Breakpoint1() corefoundation.CGPoint
- func (o CINinePartTiledObject) FlipYTiles() bool
- func (o CINinePartTiledObject) GrowAmount() corefoundation.CGPoint
- func (o CINinePartTiledObject) InputImage() ICIImage
- func (o CINinePartTiledObject) OutputImage() ICIImage
- func (o CINinePartTiledObject) SetBreakpoint0(value corefoundation.CGPoint)
- func (o CINinePartTiledObject) SetBreakpoint1(value corefoundation.CGPoint)
- func (o CINinePartTiledObject) SetFlipYTiles(value bool)
- func (o CINinePartTiledObject) SetGrowAmount(value corefoundation.CGPoint)
- func (o CINinePartTiledObject) SetInputImage(value ICIImage)
- type CINoiseReduction
- type CINoiseReductionObject
- func (o CINoiseReductionObject) BaseObject() objectivec.Object
- func (o CINoiseReductionObject) InputImage() ICIImage
- func (o CINoiseReductionObject) NoiseLevel() float32
- func (o CINoiseReductionObject) OutputImage() ICIImage
- func (o CINoiseReductionObject) SetInputImage(value ICIImage)
- func (o CINoiseReductionObject) SetNoiseLevel(value float32)
- func (o CINoiseReductionObject) SetSharpness(value float32)
- func (o CINoiseReductionObject) Sharpness() float32
- type CIOpTile
- type CIOpTileObject
- func (o CIOpTileObject) Angle() float32
- func (o CIOpTileObject) BaseObject() objectivec.Object
- func (o CIOpTileObject) Center() corefoundation.CGPoint
- func (o CIOpTileObject) InputImage() ICIImage
- func (o CIOpTileObject) OutputImage() ICIImage
- func (o CIOpTileObject) Scale() float32
- func (o CIOpTileObject) SetAngle(value float32)
- func (o CIOpTileObject) SetCenter(value corefoundation.CGPoint)
- func (o CIOpTileObject) SetInputImage(value ICIImage)
- func (o CIOpTileObject) SetScale(value float32)
- func (o CIOpTileObject) SetWidth(value float32)
- func (o CIOpTileObject) Width() float32
- type CIPDF417BarcodeGenerator
- type CIPDF417BarcodeGeneratorObject
- func (o CIPDF417BarcodeGeneratorObject) AlwaysSpecifyCompaction() float32
- func (o CIPDF417BarcodeGeneratorObject) BaseObject() objectivec.Object
- func (o CIPDF417BarcodeGeneratorObject) CompactStyle() float32
- func (o CIPDF417BarcodeGeneratorObject) CompactionMode() float32
- func (o CIPDF417BarcodeGeneratorObject) CorrectionLevel() float32
- func (o CIPDF417BarcodeGeneratorObject) DataColumns() float32
- func (o CIPDF417BarcodeGeneratorObject) MaxHeight() float32
- func (o CIPDF417BarcodeGeneratorObject) MaxWidth() float32
- func (o CIPDF417BarcodeGeneratorObject) Message() foundation.INSData
- func (o CIPDF417BarcodeGeneratorObject) MinHeight() float32
- func (o CIPDF417BarcodeGeneratorObject) MinWidth() float32
- func (o CIPDF417BarcodeGeneratorObject) OutputImage() ICIImage
- func (o CIPDF417BarcodeGeneratorObject) PreferredAspectRatio() float32
- func (o CIPDF417BarcodeGeneratorObject) Rows() float32
- func (o CIPDF417BarcodeGeneratorObject) SetAlwaysSpecifyCompaction(value float32)
- func (o CIPDF417BarcodeGeneratorObject) SetCompactStyle(value float32)
- func (o CIPDF417BarcodeGeneratorObject) SetCompactionMode(value float32)
- func (o CIPDF417BarcodeGeneratorObject) SetCorrectionLevel(value float32)
- func (o CIPDF417BarcodeGeneratorObject) SetDataColumns(value float32)
- func (o CIPDF417BarcodeGeneratorObject) SetMaxHeight(value float32)
- func (o CIPDF417BarcodeGeneratorObject) SetMaxWidth(value float32)
- func (o CIPDF417BarcodeGeneratorObject) SetMessage(value foundation.INSData)
- func (o CIPDF417BarcodeGeneratorObject) SetMinHeight(value float32)
- func (o CIPDF417BarcodeGeneratorObject) SetMinWidth(value float32)
- func (o CIPDF417BarcodeGeneratorObject) SetPreferredAspectRatio(value float32)
- func (o CIPDF417BarcodeGeneratorObject) SetRows(value float32)
- type CIPDF417CodeDescriptor
- func (p CIPDF417CodeDescriptor) Autorelease() CIPDF417CodeDescriptor
- func (p CIPDF417CodeDescriptor) ColumnCount() int
- func (p CIPDF417CodeDescriptor) ErrorCorrectedPayload() foundation.INSData
- func (p CIPDF417CodeDescriptor) Init() CIPDF417CodeDescriptor
- func (p CIPDF417CodeDescriptor) InitWithPayloadIsCompactRowCountColumnCount(errorCorrectedPayload foundation.INSData, isCompact bool, rowCount int, ...) CIPDF417CodeDescriptor
- func (p CIPDF417CodeDescriptor) IsCompact() bool
- func (p CIPDF417CodeDescriptor) RowCount() int
- type CIPDF417CodeDescriptorClass
- type CIPageCurlTransition
- type CIPageCurlTransitionObject
- func (o CIPageCurlTransitionObject) Angle() float32
- func (o CIPageCurlTransitionObject) BacksideImage() ICIImage
- func (o CIPageCurlTransitionObject) BaseObject() objectivec.Object
- func (o CIPageCurlTransitionObject) Extent() corefoundation.CGRect
- func (o CIPageCurlTransitionObject) InputImage() ICIImage
- func (o CIPageCurlTransitionObject) OutputImage() ICIImage
- func (o CIPageCurlTransitionObject) Radius() float32
- func (o CIPageCurlTransitionObject) SetAngle(value float32)
- func (o CIPageCurlTransitionObject) SetBacksideImage(value ICIImage)
- func (o CIPageCurlTransitionObject) SetExtent(value corefoundation.CGRect)
- func (o CIPageCurlTransitionObject) SetInputImage(value ICIImage)
- func (o CIPageCurlTransitionObject) SetRadius(value float32)
- func (o CIPageCurlTransitionObject) SetShadingImage(value ICIImage)
- func (o CIPageCurlTransitionObject) SetTargetImage(value ICIImage)
- func (o CIPageCurlTransitionObject) SetTime(value float32)
- func (o CIPageCurlTransitionObject) ShadingImage() ICIImage
- func (o CIPageCurlTransitionObject) TargetImage() ICIImage
- func (o CIPageCurlTransitionObject) Time() float32
- type CIPageCurlWithShadowTransition
- type CIPageCurlWithShadowTransitionObject
- func (o CIPageCurlWithShadowTransitionObject) Angle() float32
- func (o CIPageCurlWithShadowTransitionObject) BacksideImage() ICIImage
- func (o CIPageCurlWithShadowTransitionObject) BaseObject() objectivec.Object
- func (o CIPageCurlWithShadowTransitionObject) Extent() corefoundation.CGRect
- func (o CIPageCurlWithShadowTransitionObject) InputImage() ICIImage
- func (o CIPageCurlWithShadowTransitionObject) OutputImage() ICIImage
- func (o CIPageCurlWithShadowTransitionObject) Radius() float32
- func (o CIPageCurlWithShadowTransitionObject) SetAngle(value float32)
- func (o CIPageCurlWithShadowTransitionObject) SetBacksideImage(value ICIImage)
- func (o CIPageCurlWithShadowTransitionObject) SetExtent(value corefoundation.CGRect)
- func (o CIPageCurlWithShadowTransitionObject) SetInputImage(value ICIImage)
- func (o CIPageCurlWithShadowTransitionObject) SetRadius(value float32)
- func (o CIPageCurlWithShadowTransitionObject) SetShadowAmount(value float32)
- func (o CIPageCurlWithShadowTransitionObject) SetShadowExtent(value corefoundation.CGRect)
- func (o CIPageCurlWithShadowTransitionObject) SetShadowSize(value float32)
- func (o CIPageCurlWithShadowTransitionObject) SetTargetImage(value ICIImage)
- func (o CIPageCurlWithShadowTransitionObject) SetTime(value float32)
- func (o CIPageCurlWithShadowTransitionObject) ShadowAmount() float32
- func (o CIPageCurlWithShadowTransitionObject) ShadowExtent() corefoundation.CGRect
- func (o CIPageCurlWithShadowTransitionObject) ShadowSize() float32
- func (o CIPageCurlWithShadowTransitionObject) TargetImage() ICIImage
- func (o CIPageCurlWithShadowTransitionObject) Time() float32
- type CIPaletteCentroid
- type CIPaletteCentroidObject
- func (o CIPaletteCentroidObject) BaseObject() objectivec.Object
- func (o CIPaletteCentroidObject) InputImage() ICIImage
- func (o CIPaletteCentroidObject) OutputImage() ICIImage
- func (o CIPaletteCentroidObject) PaletteImage() ICIImage
- func (o CIPaletteCentroidObject) Perceptual() bool
- func (o CIPaletteCentroidObject) SetInputImage(value ICIImage)
- func (o CIPaletteCentroidObject) SetPaletteImage(value ICIImage)
- func (o CIPaletteCentroidObject) SetPerceptual(value bool)
- type CIPalettize
- type CIPalettizeObject
- func (o CIPalettizeObject) BaseObject() objectivec.Object
- func (o CIPalettizeObject) InputImage() ICIImage
- func (o CIPalettizeObject) OutputImage() ICIImage
- func (o CIPalettizeObject) PaletteImage() ICIImage
- func (o CIPalettizeObject) Perceptual() bool
- func (o CIPalettizeObject) SetInputImage(value ICIImage)
- func (o CIPalettizeObject) SetPaletteImage(value ICIImage)
- func (o CIPalettizeObject) SetPerceptual(value bool)
- type CIParallelogramTile
- type CIParallelogramTileObject
- func (o CIParallelogramTileObject) AcuteAngle() float32
- func (o CIParallelogramTileObject) Angle() float32
- func (o CIParallelogramTileObject) BaseObject() objectivec.Object
- func (o CIParallelogramTileObject) Center() corefoundation.CGPoint
- func (o CIParallelogramTileObject) InputImage() ICIImage
- func (o CIParallelogramTileObject) OutputImage() ICIImage
- func (o CIParallelogramTileObject) SetAcuteAngle(value float32)
- func (o CIParallelogramTileObject) SetAngle(value float32)
- func (o CIParallelogramTileObject) SetCenter(value corefoundation.CGPoint)
- func (o CIParallelogramTileObject) SetInputImage(value ICIImage)
- func (o CIParallelogramTileObject) SetWidth(value float32)
- func (o CIParallelogramTileObject) Width() float32
- type CIPersonSegmentation
- type CIPersonSegmentationObject
- func (o CIPersonSegmentationObject) BaseObject() objectivec.Object
- func (o CIPersonSegmentationObject) InputImage() ICIImage
- func (o CIPersonSegmentationObject) OutputImage() ICIImage
- func (o CIPersonSegmentationObject) QualityLevel() uint
- func (o CIPersonSegmentationObject) SetInputImage(value ICIImage)
- func (o CIPersonSegmentationObject) SetQualityLevel(value uint)
- type CIPerspectiveCorrection
- type CIPerspectiveCorrectionObject
- func (o CIPerspectiveCorrectionObject) BaseObject() objectivec.Object
- func (o CIPerspectiveCorrectionObject) BottomLeft() corefoundation.CGPoint
- func (o CIPerspectiveCorrectionObject) BottomRight() corefoundation.CGPoint
- func (o CIPerspectiveCorrectionObject) Crop() bool
- func (o CIPerspectiveCorrectionObject) InputImage() ICIImage
- func (o CIPerspectiveCorrectionObject) OutputImage() ICIImage
- func (o CIPerspectiveCorrectionObject) SetBottomLeft(value corefoundation.CGPoint)
- func (o CIPerspectiveCorrectionObject) SetBottomRight(value corefoundation.CGPoint)
- func (o CIPerspectiveCorrectionObject) SetCrop(value bool)
- func (o CIPerspectiveCorrectionObject) SetInputImage(value ICIImage)
- func (o CIPerspectiveCorrectionObject) SetTopLeft(value corefoundation.CGPoint)
- func (o CIPerspectiveCorrectionObject) SetTopRight(value corefoundation.CGPoint)
- func (o CIPerspectiveCorrectionObject) TopLeft() corefoundation.CGPoint
- func (o CIPerspectiveCorrectionObject) TopRight() corefoundation.CGPoint
- type CIPerspectiveRotate
- type CIPerspectiveRotateObject
- func (o CIPerspectiveRotateObject) BaseObject() objectivec.Object
- func (o CIPerspectiveRotateObject) FocalLength() float32
- func (o CIPerspectiveRotateObject) InputImage() ICIImage
- func (o CIPerspectiveRotateObject) OutputImage() ICIImage
- func (o CIPerspectiveRotateObject) Pitch() float32
- func (o CIPerspectiveRotateObject) Roll() float32
- func (o CIPerspectiveRotateObject) SetFocalLength(value float32)
- func (o CIPerspectiveRotateObject) SetInputImage(value ICIImage)
- func (o CIPerspectiveRotateObject) SetPitch(value float32)
- func (o CIPerspectiveRotateObject) SetRoll(value float32)
- func (o CIPerspectiveRotateObject) SetYaw(value float32)
- func (o CIPerspectiveRotateObject) Yaw() float32
- type CIPerspectiveTile
- type CIPerspectiveTileObject
- func (o CIPerspectiveTileObject) BaseObject() objectivec.Object
- func (o CIPerspectiveTileObject) BottomLeft() corefoundation.CGPoint
- func (o CIPerspectiveTileObject) BottomRight() corefoundation.CGPoint
- func (o CIPerspectiveTileObject) InputImage() ICIImage
- func (o CIPerspectiveTileObject) OutputImage() ICIImage
- func (o CIPerspectiveTileObject) SetBottomLeft(value corefoundation.CGPoint)
- func (o CIPerspectiveTileObject) SetBottomRight(value corefoundation.CGPoint)
- func (o CIPerspectiveTileObject) SetInputImage(value ICIImage)
- func (o CIPerspectiveTileObject) SetTopLeft(value corefoundation.CGPoint)
- func (o CIPerspectiveTileObject) SetTopRight(value corefoundation.CGPoint)
- func (o CIPerspectiveTileObject) TopLeft() corefoundation.CGPoint
- func (o CIPerspectiveTileObject) TopRight() corefoundation.CGPoint
- type CIPerspectiveTransform
- type CIPerspectiveTransformObject
- func (o CIPerspectiveTransformObject) BaseObject() objectivec.Object
- func (o CIPerspectiveTransformObject) BottomLeft() corefoundation.CGPoint
- func (o CIPerspectiveTransformObject) BottomRight() corefoundation.CGPoint
- func (o CIPerspectiveTransformObject) InputImage() ICIImage
- func (o CIPerspectiveTransformObject) OutputImage() ICIImage
- func (o CIPerspectiveTransformObject) SetBottomLeft(value corefoundation.CGPoint)
- func (o CIPerspectiveTransformObject) SetBottomRight(value corefoundation.CGPoint)
- func (o CIPerspectiveTransformObject) SetInputImage(value ICIImage)
- func (o CIPerspectiveTransformObject) SetTopLeft(value corefoundation.CGPoint)
- func (o CIPerspectiveTransformObject) SetTopRight(value corefoundation.CGPoint)
- func (o CIPerspectiveTransformObject) TopLeft() corefoundation.CGPoint
- func (o CIPerspectiveTransformObject) TopRight() corefoundation.CGPoint
- type CIPerspectiveTransformWithExtent
- type CIPerspectiveTransformWithExtentObject
- func (o CIPerspectiveTransformWithExtentObject) BaseObject() objectivec.Object
- func (o CIPerspectiveTransformWithExtentObject) BottomLeft() corefoundation.CGPoint
- func (o CIPerspectiveTransformWithExtentObject) BottomRight() corefoundation.CGPoint
- func (o CIPerspectiveTransformWithExtentObject) Extent() corefoundation.CGRect
- func (o CIPerspectiveTransformWithExtentObject) InputImage() ICIImage
- func (o CIPerspectiveTransformWithExtentObject) OutputImage() ICIImage
- func (o CIPerspectiveTransformWithExtentObject) SetBottomLeft(value corefoundation.CGPoint)
- func (o CIPerspectiveTransformWithExtentObject) SetBottomRight(value corefoundation.CGPoint)
- func (o CIPerspectiveTransformWithExtentObject) SetExtent(value corefoundation.CGRect)
- func (o CIPerspectiveTransformWithExtentObject) SetInputImage(value ICIImage)
- func (o CIPerspectiveTransformWithExtentObject) SetTopLeft(value corefoundation.CGPoint)
- func (o CIPerspectiveTransformWithExtentObject) SetTopRight(value corefoundation.CGPoint)
- func (o CIPerspectiveTransformWithExtentObject) TopLeft() corefoundation.CGPoint
- func (o CIPerspectiveTransformWithExtentObject) TopRight() corefoundation.CGPoint
- type CIPhotoEffect
- type CIPhotoEffectObject
- func (o CIPhotoEffectObject) BaseObject() objectivec.Object
- func (o CIPhotoEffectObject) Extrapolate() bool
- func (o CIPhotoEffectObject) InputImage() ICIImage
- func (o CIPhotoEffectObject) OutputImage() ICIImage
- func (o CIPhotoEffectObject) SetExtrapolate(value bool)
- func (o CIPhotoEffectObject) SetInputImage(value ICIImage)
- type CIPinchDistortion
- type CIPinchDistortionObject
- func (o CIPinchDistortionObject) BaseObject() objectivec.Object
- func (o CIPinchDistortionObject) Center() corefoundation.CGPoint
- func (o CIPinchDistortionObject) InputImage() ICIImage
- func (o CIPinchDistortionObject) OutputImage() ICIImage
- func (o CIPinchDistortionObject) Radius() float32
- func (o CIPinchDistortionObject) Scale() float32
- func (o CIPinchDistortionObject) SetCenter(value corefoundation.CGPoint)
- func (o CIPinchDistortionObject) SetInputImage(value ICIImage)
- func (o CIPinchDistortionObject) SetRadius(value float32)
- func (o CIPinchDistortionObject) SetScale(value float32)
- type CIPixellate
- type CIPixellateObject
- func (o CIPixellateObject) BaseObject() objectivec.Object
- func (o CIPixellateObject) Center() corefoundation.CGPoint
- func (o CIPixellateObject) InputImage() ICIImage
- func (o CIPixellateObject) OutputImage() ICIImage
- func (o CIPixellateObject) Scale() float32
- func (o CIPixellateObject) SetCenter(value corefoundation.CGPoint)
- func (o CIPixellateObject) SetInputImage(value ICIImage)
- func (o CIPixellateObject) SetScale(value float32)
- type CIPlugIn
- type CIPlugInClass
- type CIPlugInRegistration
- type CIPlugInRegistrationObject
- type CIPointillize
- type CIPointillizeObject
- func (o CIPointillizeObject) BaseObject() objectivec.Object
- func (o CIPointillizeObject) Center() corefoundation.CGPoint
- func (o CIPointillizeObject) InputImage() ICIImage
- func (o CIPointillizeObject) OutputImage() ICIImage
- func (o CIPointillizeObject) Radius() float32
- func (o CIPointillizeObject) SetCenter(value corefoundation.CGPoint)
- func (o CIPointillizeObject) SetInputImage(value ICIImage)
- func (o CIPointillizeObject) SetRadius(value float32)
- type CIQRCodeDescriptor
- func (q CIQRCodeDescriptor) Autorelease() CIQRCodeDescriptor
- func (q CIQRCodeDescriptor) ErrorCorrectedPayload() foundation.INSData
- func (q CIQRCodeDescriptor) ErrorCorrectionLevel() CIQRCodeErrorCorrectionLevel
- func (q CIQRCodeDescriptor) Init() CIQRCodeDescriptor
- func (q CIQRCodeDescriptor) InitWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel(errorCorrectedPayload foundation.INSData, symbolVersion int, maskPattern uint8, ...) CIQRCodeDescriptor
- func (q CIQRCodeDescriptor) MaskPattern() uint8
- func (q CIQRCodeDescriptor) SymbolVersion() int
- type CIQRCodeDescriptorClass
- type CIQRCodeErrorCorrectionLevel
- type CIQRCodeFeature
- func (q CIQRCodeFeature) Autorelease() CIQRCodeFeature
- func (q CIQRCodeFeature) BottomLeft() corefoundation.CGPoint
- func (q CIQRCodeFeature) BottomRight() corefoundation.CGPoint
- func (q CIQRCodeFeature) CIDetectorTypeQRCode() string
- func (q CIQRCodeFeature) Init() CIQRCodeFeature
- func (q CIQRCodeFeature) MessageString() string
- func (q CIQRCodeFeature) SymbolDescriptor() ICIQRCodeDescriptor
- func (q CIQRCodeFeature) TopLeft() corefoundation.CGPoint
- func (q CIQRCodeFeature) TopRight() corefoundation.CGPoint
- type CIQRCodeFeatureClass
- type CIQRCodeGenerator
- type CIQRCodeGeneratorObject
- func (o CIQRCodeGeneratorObject) BaseObject() objectivec.Object
- func (o CIQRCodeGeneratorObject) CorrectionLevel() string
- func (o CIQRCodeGeneratorObject) Message() foundation.INSData
- func (o CIQRCodeGeneratorObject) OutputImage() ICIImage
- func (o CIQRCodeGeneratorObject) SetCorrectionLevel(value string)
- func (o CIQRCodeGeneratorObject) SetMessage(value foundation.INSData)
- type CIRAWDecoderVersion
- type CIRAWFilter
- func CIRAWFilterFromID(id objc.ID) CIRAWFilter
- func NewCIRAWFilter() CIRAWFilter
- func NewRAWFilterWithCVPixelBufferProperties(buffer corevideo.CVImageBufferRef, properties foundation.INSDictionary) CIRAWFilter
- func NewRAWFilterWithImageDataIdentifierHint(data foundation.INSData, identifierHint string) CIRAWFilter
- func NewRAWFilterWithImageURL(url foundation.INSURL) CIRAWFilter
- func (r CIRAWFilter) Autorelease() CIRAWFilter
- func (r CIRAWFilter) BaselineExposure() float32
- func (r CIRAWFilter) BoostAmount() float32
- func (r CIRAWFilter) BoostShadowAmount() float32
- func (r CIRAWFilter) ColorNoiseReductionAmount() float32
- func (r CIRAWFilter) ColorNoiseReductionSupported() bool
- func (r CIRAWFilter) ContrastAmount() float32
- func (r CIRAWFilter) ContrastSupported() bool
- func (r CIRAWFilter) DecoderVersion() CIRAWDecoderVersion
- func (r CIRAWFilter) DetailAmount() float32
- func (r CIRAWFilter) DetailSupported() bool
- func (r CIRAWFilter) DraftModeEnabled() bool
- func (r CIRAWFilter) Exposure() float32
- func (r CIRAWFilter) ExtendedDynamicRangeAmount() float32
- func (r CIRAWFilter) GamutMappingEnabled() bool
- func (r CIRAWFilter) HighlightRecoveryEnabled() bool
- func (r CIRAWFilter) HighlightRecoverySupported() bool
- func (r CIRAWFilter) Init() CIRAWFilter
- func (r CIRAWFilter) LensCorrectionEnabled() bool
- func (r CIRAWFilter) LensCorrectionSupported() bool
- func (r CIRAWFilter) LinearSpaceFilter() CIFilter
- func (r CIRAWFilter) LocalToneMapAmount() float32
- func (r CIRAWFilter) LocalToneMapSupported() bool
- func (r CIRAWFilter) LuminanceNoiseReductionAmount() float32
- func (r CIRAWFilter) LuminanceNoiseReductionSupported() bool
- func (r CIRAWFilter) MoireReductionAmount() float32
- func (r CIRAWFilter) MoireReductionSupported() bool
- func (r CIRAWFilter) NativeSize() corefoundation.CGSize
- func (r CIRAWFilter) NeutralChromaticity() corefoundation.CGPoint
- func (r CIRAWFilter) NeutralLocation() corefoundation.CGPoint
- func (r CIRAWFilter) NeutralTemperature() float32
- func (r CIRAWFilter) NeutralTint() float32
- func (r CIRAWFilter) Orientation() objectivec.IObject
- func (r CIRAWFilter) PortraitEffectsMatte() ICIImage
- func (r CIRAWFilter) PreviewImage() ICIImage
- func (r CIRAWFilter) Properties() foundation.INSDictionary
- func (r CIRAWFilter) ScaleFactor() float32
- func (r CIRAWFilter) SemanticSegmentationGlassesMatte() ICIImage
- func (r CIRAWFilter) SemanticSegmentationHairMatte() ICIImage
- func (r CIRAWFilter) SemanticSegmentationSkinMatte() ICIImage
- func (r CIRAWFilter) SemanticSegmentationSkyMatte() ICIImage
- func (r CIRAWFilter) SemanticSegmentationTeethMatte() ICIImage
- func (r CIRAWFilter) SetBaselineExposure(value float32)
- func (r CIRAWFilter) SetBoostAmount(value float32)
- func (r CIRAWFilter) SetBoostShadowAmount(value float32)
- func (r CIRAWFilter) SetColorNoiseReductionAmount(value float32)
- func (r CIRAWFilter) SetContrastAmount(value float32)
- func (r CIRAWFilter) SetDecoderVersion(value CIRAWDecoderVersion)
- func (r CIRAWFilter) SetDetailAmount(value float32)
- func (r CIRAWFilter) SetDraftModeEnabled(value bool)
- func (r CIRAWFilter) SetExposure(value float32)
- func (r CIRAWFilter) SetExtendedDynamicRangeAmount(value float32)
- func (r CIRAWFilter) SetGamutMappingEnabled(value bool)
- func (r CIRAWFilter) SetHighlightRecoveryEnabled(value bool)
- func (r CIRAWFilter) SetLensCorrectionEnabled(value bool)
- func (r CIRAWFilter) SetLinearSpaceFilter(value CIFilter)
- func (r CIRAWFilter) SetLocalToneMapAmount(value float32)
- func (r CIRAWFilter) SetLuminanceNoiseReductionAmount(value float32)
- func (r CIRAWFilter) SetMoireReductionAmount(value float32)
- func (r CIRAWFilter) SetNeutralChromaticity(value corefoundation.CGPoint)
- func (r CIRAWFilter) SetNeutralLocation(value corefoundation.CGPoint)
- func (r CIRAWFilter) SetNeutralTemperature(value float32)
- func (r CIRAWFilter) SetNeutralTint(value float32)
- func (r CIRAWFilter) SetOrientation(value objectivec.IObject)
- func (r CIRAWFilter) SetScaleFactor(value float32)
- func (r CIRAWFilter) SetShadowBias(value float32)
- func (r CIRAWFilter) SetSharpnessAmount(value float32)
- func (r CIRAWFilter) ShadowBias() float32
- func (r CIRAWFilter) SharpnessAmount() float32
- func (r CIRAWFilter) SharpnessSupported() bool
- func (r CIRAWFilter) SupportedDecoderVersions() []string
- type CIRAWFilterClass
- type CIRadialGradient
- type CIRadialGradientObject
- func (o CIRadialGradientObject) BaseObject() objectivec.Object
- func (o CIRadialGradientObject) Center() corefoundation.CGPoint
- func (o CIRadialGradientObject) Color0() ICIColor
- func (o CIRadialGradientObject) Color1() ICIColor
- func (o CIRadialGradientObject) OutputImage() ICIImage
- func (o CIRadialGradientObject) Radius0() float32
- func (o CIRadialGradientObject) Radius1() float32
- func (o CIRadialGradientObject) SetCenter(value corefoundation.CGPoint)
- func (o CIRadialGradientObject) SetColor0(value ICIColor)
- func (o CIRadialGradientObject) SetColor1(value ICIColor)
- func (o CIRadialGradientObject) SetRadius0(value float32)
- func (o CIRadialGradientObject) SetRadius1(value float32)
- type CIRandomGenerator
- type CIRandomGeneratorObject
- type CIRectangleFeature
- func (r CIRectangleFeature) Autorelease() CIRectangleFeature
- func (r CIRectangleFeature) BottomLeft() corefoundation.CGPoint
- func (r CIRectangleFeature) BottomRight() corefoundation.CGPoint
- func (r CIRectangleFeature) CIDetectorTypeRectangle() string
- func (r CIRectangleFeature) Init() CIRectangleFeature
- func (r CIRectangleFeature) TopLeft() corefoundation.CGPoint
- func (r CIRectangleFeature) TopRight() corefoundation.CGPoint
- type CIRectangleFeatureClass
- type CIRenderDestination
- func CIRenderDestinationFromID(id objc.ID) CIRenderDestination
- func NewCIRenderDestination() CIRenderDestination
- func NewRenderDestinationWithBitmapDataWidthHeightBytesPerRowFormat(data unsafe.Pointer, width uint, height uint, bytesPerRow uint, format int) CIRenderDestination
- func NewRenderDestinationWithGLTextureTargetWidthHeight(texture uint32, target uint32, width uint, height uint) CIRenderDestination
- func NewRenderDestinationWithIOSurface(surface iosurface.IOSurface) CIRenderDestination
- func NewRenderDestinationWithMTLTextureCommandBuffer(texture objectivec.IObject, commandBuffer objectivec.IObject) CIRenderDestination
- func NewRenderDestinationWithPixelBuffer(pixelBuffer corevideo.CVImageBufferRef) CIRenderDestination
- func (r CIRenderDestination) AlphaMode() CIRenderDestinationAlphaMode
- func (r CIRenderDestination) Autorelease() CIRenderDestination
- func (r CIRenderDestination) BlendKernel() ICIBlendKernel
- func (r CIRenderDestination) BlendsInDestinationColorSpace() bool
- func (r CIRenderDestination) CaptureTraceURL() foundation.INSURL
- func (r CIRenderDestination) Clamped() bool
- func (r CIRenderDestination) ColorSpace() coregraphics.CGColorSpaceRef
- func (r CIRenderDestination) Dithered() bool
- func (r CIRenderDestination) Flipped() bool
- func (r CIRenderDestination) Height() uint
- func (r CIRenderDestination) Init() CIRenderDestination
- func (r CIRenderDestination) InitWithBitmapDataWidthHeightBytesPerRowFormat(data unsafe.Pointer, width uint, height uint, bytesPerRow uint, format int) CIRenderDestination
- func (r CIRenderDestination) InitWithGLTextureTargetWidthHeight(texture uint32, target uint32, width uint, height uint) CIRenderDestination
- func (r CIRenderDestination) InitWithIOSurface(surface iosurface.IOSurface) CIRenderDestination
- func (r CIRenderDestination) InitWithMTLTextureCommandBuffer(texture objectivec.IObject, commandBuffer objectivec.IObject) CIRenderDestination
- func (r CIRenderDestination) InitWithPixelBuffer(pixelBuffer corevideo.CVImageBufferRef) CIRenderDestination
- func (r CIRenderDestination) InitWithWidthHeightPixelFormatCommandBufferMtlTextureProvider(width uint, height uint, pixelFormat objectivec.IObject, ...) CIRenderDestination
- func (r CIRenderDestination) InitWithWidthHeightPixelFormatCommandBufferMtlTextureProviderSync(ctx context.Context, width uint, height uint, pixelFormat objectivec.IObject, ...) error
- func (r CIRenderDestination) SetAlphaMode(value CIRenderDestinationAlphaMode)
- func (r CIRenderDestination) SetBlendKernel(value ICIBlendKernel)
- func (r CIRenderDestination) SetBlendsInDestinationColorSpace(value bool)
- func (r CIRenderDestination) SetCaptureTraceURL(value foundation.INSURL)
- func (r CIRenderDestination) SetClamped(value bool)
- func (r CIRenderDestination) SetColorSpace(value coregraphics.CGColorSpaceRef)
- func (r CIRenderDestination) SetDithered(value bool)
- func (r CIRenderDestination) SetFlipped(value bool)
- func (r CIRenderDestination) Width() uint
- type CIRenderDestinationAlphaMode
- type CIRenderDestinationClass
- type CIRenderInfo
- type CIRenderInfoClass
- type CIRenderTask
- type CIRenderTaskClass
- type CIRippleTransition
- type CIRippleTransitionObject
- func (o CIRippleTransitionObject) BaseObject() objectivec.Object
- func (o CIRippleTransitionObject) Center() corefoundation.CGPoint
- func (o CIRippleTransitionObject) Extent() corefoundation.CGRect
- func (o CIRippleTransitionObject) InputImage() ICIImage
- func (o CIRippleTransitionObject) OutputImage() ICIImage
- func (o CIRippleTransitionObject) Scale() float32
- func (o CIRippleTransitionObject) SetCenter(value corefoundation.CGPoint)
- func (o CIRippleTransitionObject) SetExtent(value corefoundation.CGRect)
- func (o CIRippleTransitionObject) SetInputImage(value ICIImage)
- func (o CIRippleTransitionObject) SetScale(value float32)
- func (o CIRippleTransitionObject) SetShadingImage(value ICIImage)
- func (o CIRippleTransitionObject) SetTargetImage(value ICIImage)
- func (o CIRippleTransitionObject) SetTime(value float32)
- func (o CIRippleTransitionObject) SetWidth(value float32)
- func (o CIRippleTransitionObject) ShadingImage() ICIImage
- func (o CIRippleTransitionObject) TargetImage() ICIImage
- func (o CIRippleTransitionObject) Time() float32
- func (o CIRippleTransitionObject) Width() float32
- type CIRoundedQRCodeGenerator
- type CIRoundedQRCodeGeneratorObject
- func (o CIRoundedQRCodeGeneratorObject) BaseObject() objectivec.Object
- func (o CIRoundedQRCodeGeneratorObject) CenterSpaceSize() float32
- func (o CIRoundedQRCodeGeneratorObject) Color0() ICIColor
- func (o CIRoundedQRCodeGeneratorObject) Color1() ICIColor
- func (o CIRoundedQRCodeGeneratorObject) CorrectionLevel() string
- func (o CIRoundedQRCodeGeneratorObject) Message() foundation.INSData
- func (o CIRoundedQRCodeGeneratorObject) OutputImage() ICIImage
- func (o CIRoundedQRCodeGeneratorObject) RoundedData() bool
- func (o CIRoundedQRCodeGeneratorObject) RoundedMarkers() int
- func (o CIRoundedQRCodeGeneratorObject) Scale() float32
- func (o CIRoundedQRCodeGeneratorObject) SetCenterSpaceSize(value float32)
- func (o CIRoundedQRCodeGeneratorObject) SetColor0(value ICIColor)
- func (o CIRoundedQRCodeGeneratorObject) SetColor1(value ICIColor)
- func (o CIRoundedQRCodeGeneratorObject) SetCorrectionLevel(value string)
- func (o CIRoundedQRCodeGeneratorObject) SetMessage(value foundation.INSData)
- func (o CIRoundedQRCodeGeneratorObject) SetRoundedData(value bool)
- func (o CIRoundedQRCodeGeneratorObject) SetRoundedMarkers(value int)
- func (o CIRoundedQRCodeGeneratorObject) SetScale(value float32)
- type CIRoundedRectangleGenerator
- type CIRoundedRectangleGeneratorObject
- func (o CIRoundedRectangleGeneratorObject) BaseObject() objectivec.Object
- func (o CIRoundedRectangleGeneratorObject) Color() ICIColor
- func (o CIRoundedRectangleGeneratorObject) Extent() corefoundation.CGRect
- func (o CIRoundedRectangleGeneratorObject) OutputImage() ICIImage
- func (o CIRoundedRectangleGeneratorObject) Radius() float32
- func (o CIRoundedRectangleGeneratorObject) SetColor(value ICIColor)
- func (o CIRoundedRectangleGeneratorObject) SetExtent(value corefoundation.CGRect)
- func (o CIRoundedRectangleGeneratorObject) SetRadius(value float32)
- func (o CIRoundedRectangleGeneratorObject) SetSmoothness(value float32)
- func (o CIRoundedRectangleGeneratorObject) Smoothness() float32
- type CIRoundedRectangleStrokeGenerator
- type CIRoundedRectangleStrokeGeneratorObject
- func (o CIRoundedRectangleStrokeGeneratorObject) BaseObject() objectivec.Object
- func (o CIRoundedRectangleStrokeGeneratorObject) Color() ICIColor
- func (o CIRoundedRectangleStrokeGeneratorObject) Extent() corefoundation.CGRect
- func (o CIRoundedRectangleStrokeGeneratorObject) OutputImage() ICIImage
- func (o CIRoundedRectangleStrokeGeneratorObject) Radius() float32
- func (o CIRoundedRectangleStrokeGeneratorObject) SetColor(value ICIColor)
- func (o CIRoundedRectangleStrokeGeneratorObject) SetExtent(value corefoundation.CGRect)
- func (o CIRoundedRectangleStrokeGeneratorObject) SetRadius(value float32)
- func (o CIRoundedRectangleStrokeGeneratorObject) SetSmoothness(value float32)
- func (o CIRoundedRectangleStrokeGeneratorObject) SetWidth(value float32)
- func (o CIRoundedRectangleStrokeGeneratorObject) Smoothness() float32
- func (o CIRoundedRectangleStrokeGeneratorObject) Width() float32
- type CIRowAverage
- type CIRowAverageObject
- func (o CIRowAverageObject) BaseObject() objectivec.Object
- func (o CIRowAverageObject) Extent() corefoundation.CGRect
- func (o CIRowAverageObject) InputImage() ICIImage
- func (o CIRowAverageObject) OutputImage() ICIImage
- func (o CIRowAverageObject) SetExtent(value corefoundation.CGRect)
- func (o CIRowAverageObject) SetInputImage(value ICIImage)
- type CISRGBToneCurveToLinear
- type CISRGBToneCurveToLinearObject
- type CISaliencyMap
- type CISaliencyMapObject
- type CISampler
- func (s CISampler) Autorelease() CISampler
- func (s CISampler) Definition() ICIFilterShape
- func (s CISampler) Extent() corefoundation.CGRect
- func (s CISampler) Init() CISampler
- func (s CISampler) InitWithImage(im ICIImage) CISampler
- func (s CISampler) InitWithImageKeysAndValues(im ICIImage, key0 objectivec.IObject) CISampler
- func (s CISampler) InitWithImageOptions(im ICIImage, dict foundation.INSDictionary) CISampler
- type CISamplerClass
- func (cc CISamplerClass) Alloc() CISampler
- func (_CISamplerClass CISamplerClass) SamplerWithImage(im ICIImage) CISampler
- func (_CISamplerClass CISamplerClass) SamplerWithImageKeysAndValues(im ICIImage, key0 objectivec.IObject) CISampler
- func (_CISamplerClass CISamplerClass) SamplerWithImageOptions(im ICIImage, dict foundation.INSDictionary) CISampler
- type CISepiaTone
- type CISepiaToneObject
- func (o CISepiaToneObject) BaseObject() objectivec.Object
- func (o CISepiaToneObject) InputImage() ICIImage
- func (o CISepiaToneObject) Intensity() float32
- func (o CISepiaToneObject) OutputImage() ICIImage
- func (o CISepiaToneObject) SetInputImage(value ICIImage)
- func (o CISepiaToneObject) SetIntensity(value float32)
- type CIShadedMaterial
- type CIShadedMaterialObject
- func (o CIShadedMaterialObject) BaseObject() objectivec.Object
- func (o CIShadedMaterialObject) InputImage() ICIImage
- func (o CIShadedMaterialObject) OutputImage() ICIImage
- func (o CIShadedMaterialObject) Scale() float32
- func (o CIShadedMaterialObject) SetInputImage(value ICIImage)
- func (o CIShadedMaterialObject) SetScale(value float32)
- func (o CIShadedMaterialObject) SetShadingImage(value ICIImage)
- func (o CIShadedMaterialObject) ShadingImage() ICIImage
- type CISharpenLuminance
- type CISharpenLuminanceObject
- func (o CISharpenLuminanceObject) BaseObject() objectivec.Object
- func (o CISharpenLuminanceObject) InputImage() ICIImage
- func (o CISharpenLuminanceObject) OutputImage() ICIImage
- func (o CISharpenLuminanceObject) Radius() float32
- func (o CISharpenLuminanceObject) SetInputImage(value ICIImage)
- func (o CISharpenLuminanceObject) SetRadius(value float32)
- func (o CISharpenLuminanceObject) SetSharpness(value float32)
- func (o CISharpenLuminanceObject) Sharpness() float32
- type CISignedDistanceGradientFromRedMask
- type CISignedDistanceGradientFromRedMaskObject
- func (o CISignedDistanceGradientFromRedMaskObject) BaseObject() objectivec.Object
- func (o CISignedDistanceGradientFromRedMaskObject) InputImage() ICIImage
- func (o CISignedDistanceGradientFromRedMaskObject) MaximumDistance() float32
- func (o CISignedDistanceGradientFromRedMaskObject) OutputImage() ICIImage
- func (o CISignedDistanceGradientFromRedMaskObject) SetInputImage(value ICIImage)
- func (o CISignedDistanceGradientFromRedMaskObject) SetMaximumDistance(value float32)
- type CISixfoldReflectedTile
- type CISixfoldReflectedTileObject
- func (o CISixfoldReflectedTileObject) Angle() float32
- func (o CISixfoldReflectedTileObject) BaseObject() objectivec.Object
- func (o CISixfoldReflectedTileObject) Center() corefoundation.CGPoint
- func (o CISixfoldReflectedTileObject) InputImage() ICIImage
- func (o CISixfoldReflectedTileObject) OutputImage() ICIImage
- func (o CISixfoldReflectedTileObject) SetAngle(value float32)
- func (o CISixfoldReflectedTileObject) SetCenter(value corefoundation.CGPoint)
- func (o CISixfoldReflectedTileObject) SetInputImage(value ICIImage)
- func (o CISixfoldReflectedTileObject) SetWidth(value float32)
- func (o CISixfoldReflectedTileObject) Width() float32
- type CISixfoldRotatedTile
- type CISixfoldRotatedTileObject
- func (o CISixfoldRotatedTileObject) Angle() float32
- func (o CISixfoldRotatedTileObject) BaseObject() objectivec.Object
- func (o CISixfoldRotatedTileObject) Center() corefoundation.CGPoint
- func (o CISixfoldRotatedTileObject) InputImage() ICIImage
- func (o CISixfoldRotatedTileObject) OutputImage() ICIImage
- func (o CISixfoldRotatedTileObject) SetAngle(value float32)
- func (o CISixfoldRotatedTileObject) SetCenter(value corefoundation.CGPoint)
- func (o CISixfoldRotatedTileObject) SetInputImage(value ICIImage)
- func (o CISixfoldRotatedTileObject) SetWidth(value float32)
- func (o CISixfoldRotatedTileObject) Width() float32
- type CISmoothLinearGradient
- type CISmoothLinearGradientObject
- func (o CISmoothLinearGradientObject) BaseObject() objectivec.Object
- func (o CISmoothLinearGradientObject) Color0() ICIColor
- func (o CISmoothLinearGradientObject) Color1() ICIColor
- func (o CISmoothLinearGradientObject) OutputImage() ICIImage
- func (o CISmoothLinearGradientObject) Point0() corefoundation.CGPoint
- func (o CISmoothLinearGradientObject) Point1() corefoundation.CGPoint
- func (o CISmoothLinearGradientObject) SetColor0(value ICIColor)
- func (o CISmoothLinearGradientObject) SetColor1(value ICIColor)
- func (o CISmoothLinearGradientObject) SetPoint0(value corefoundation.CGPoint)
- func (o CISmoothLinearGradientObject) SetPoint1(value corefoundation.CGPoint)
- type CISobelGradients
- type CISobelGradientsObject
- type CISpotColor
- type CISpotColorObject
- func (o CISpotColorObject) BaseObject() objectivec.Object
- func (o CISpotColorObject) CenterColor1() ICIColor
- func (o CISpotColorObject) CenterColor2() ICIColor
- func (o CISpotColorObject) CenterColor3() ICIColor
- func (o CISpotColorObject) Closeness1() float32
- func (o CISpotColorObject) Closeness2() float32
- func (o CISpotColorObject) Closeness3() float32
- func (o CISpotColorObject) Contrast1() float32
- func (o CISpotColorObject) Contrast2() float32
- func (o CISpotColorObject) Contrast3() float32
- func (o CISpotColorObject) InputImage() ICIImage
- func (o CISpotColorObject) OutputImage() ICIImage
- func (o CISpotColorObject) ReplacementColor1() ICIColor
- func (o CISpotColorObject) ReplacementColor2() ICIColor
- func (o CISpotColorObject) ReplacementColor3() ICIColor
- func (o CISpotColorObject) SetCenterColor1(value ICIColor)
- func (o CISpotColorObject) SetCenterColor2(value ICIColor)
- func (o CISpotColorObject) SetCenterColor3(value ICIColor)
- func (o CISpotColorObject) SetCloseness1(value float32)
- func (o CISpotColorObject) SetCloseness2(value float32)
- func (o CISpotColorObject) SetCloseness3(value float32)
- func (o CISpotColorObject) SetContrast1(value float32)
- func (o CISpotColorObject) SetContrast2(value float32)
- func (o CISpotColorObject) SetContrast3(value float32)
- func (o CISpotColorObject) SetInputImage(value ICIImage)
- func (o CISpotColorObject) SetReplacementColor1(value ICIColor)
- func (o CISpotColorObject) SetReplacementColor2(value ICIColor)
- func (o CISpotColorObject) SetReplacementColor3(value ICIColor)
- type CISpotLight
- type CISpotLightObject
- func (o CISpotLightObject) BaseObject() objectivec.Object
- func (o CISpotLightObject) Brightness() float32
- func (o CISpotLightObject) Color() ICIColor
- func (o CISpotLightObject) Concentration() float32
- func (o CISpotLightObject) InputImage() ICIImage
- func (o CISpotLightObject) LightPointsAt() ICIVector
- func (o CISpotLightObject) LightPosition() ICIVector
- func (o CISpotLightObject) OutputImage() ICIImage
- func (o CISpotLightObject) SetBrightness(value float32)
- func (o CISpotLightObject) SetColor(value ICIColor)
- func (o CISpotLightObject) SetConcentration(value float32)
- func (o CISpotLightObject) SetInputImage(value ICIImage)
- func (o CISpotLightObject) SetLightPointsAt(value ICIVector)
- func (o CISpotLightObject) SetLightPosition(value ICIVector)
- type CIStarShineGenerator
- type CIStarShineGeneratorObject
- func (o CIStarShineGeneratorObject) BaseObject() objectivec.Object
- func (o CIStarShineGeneratorObject) Center() corefoundation.CGPoint
- func (o CIStarShineGeneratorObject) Color() ICIColor
- func (o CIStarShineGeneratorObject) CrossAngle() float32
- func (o CIStarShineGeneratorObject) CrossOpacity() float32
- func (o CIStarShineGeneratorObject) CrossScale() float32
- func (o CIStarShineGeneratorObject) CrossWidth() float32
- func (o CIStarShineGeneratorObject) Epsilon() float32
- func (o CIStarShineGeneratorObject) OutputImage() ICIImage
- func (o CIStarShineGeneratorObject) Radius() float32
- func (o CIStarShineGeneratorObject) SetCenter(value corefoundation.CGPoint)
- func (o CIStarShineGeneratorObject) SetColor(value ICIColor)
- func (o CIStarShineGeneratorObject) SetCrossAngle(value float32)
- func (o CIStarShineGeneratorObject) SetCrossOpacity(value float32)
- func (o CIStarShineGeneratorObject) SetCrossScale(value float32)
- func (o CIStarShineGeneratorObject) SetCrossWidth(value float32)
- func (o CIStarShineGeneratorObject) SetEpsilon(value float32)
- func (o CIStarShineGeneratorObject) SetRadius(value float32)
- type CIStraighten
- type CIStraightenObject
- func (o CIStraightenObject) Angle() float32
- func (o CIStraightenObject) BaseObject() objectivec.Object
- func (o CIStraightenObject) InputImage() ICIImage
- func (o CIStraightenObject) OutputImage() ICIImage
- func (o CIStraightenObject) SetAngle(value float32)
- func (o CIStraightenObject) SetInputImage(value ICIImage)
- type CIStretchCrop
- type CIStretchCropObject
- func (o CIStretchCropObject) BaseObject() objectivec.Object
- func (o CIStretchCropObject) CenterStretchAmount() float32
- func (o CIStretchCropObject) CropAmount() float32
- func (o CIStretchCropObject) InputImage() ICIImage
- func (o CIStretchCropObject) OutputImage() ICIImage
- func (o CIStretchCropObject) SetCenterStretchAmount(value float32)
- func (o CIStretchCropObject) SetCropAmount(value float32)
- func (o CIStretchCropObject) SetInputImage(value ICIImage)
- func (o CIStretchCropObject) SetSize(value corefoundation.CGPoint)
- func (o CIStretchCropObject) Size() corefoundation.CGPoint
- type CIStripesGenerator
- type CIStripesGeneratorObject
- func (o CIStripesGeneratorObject) BaseObject() objectivec.Object
- func (o CIStripesGeneratorObject) Center() corefoundation.CGPoint
- func (o CIStripesGeneratorObject) Color0() ICIColor
- func (o CIStripesGeneratorObject) Color1() ICIColor
- func (o CIStripesGeneratorObject) OutputImage() ICIImage
- func (o CIStripesGeneratorObject) SetCenter(value corefoundation.CGPoint)
- func (o CIStripesGeneratorObject) SetColor0(value ICIColor)
- func (o CIStripesGeneratorObject) SetColor1(value ICIColor)
- func (o CIStripesGeneratorObject) SetSharpness(value float32)
- func (o CIStripesGeneratorObject) SetWidth(value float32)
- func (o CIStripesGeneratorObject) Sharpness() float32
- func (o CIStripesGeneratorObject) Width() float32
- type CISunbeamsGenerator
- type CISunbeamsGeneratorObject
- func (o CISunbeamsGeneratorObject) BaseObject() objectivec.Object
- func (o CISunbeamsGeneratorObject) Center() corefoundation.CGPoint
- func (o CISunbeamsGeneratorObject) Color() ICIColor
- func (o CISunbeamsGeneratorObject) MaxStriationRadius() float32
- func (o CISunbeamsGeneratorObject) OutputImage() ICIImage
- func (o CISunbeamsGeneratorObject) SetCenter(value corefoundation.CGPoint)
- func (o CISunbeamsGeneratorObject) SetColor(value ICIColor)
- func (o CISunbeamsGeneratorObject) SetMaxStriationRadius(value float32)
- func (o CISunbeamsGeneratorObject) SetStriationContrast(value float32)
- func (o CISunbeamsGeneratorObject) SetStriationStrength(value float32)
- func (o CISunbeamsGeneratorObject) SetSunRadius(value float32)
- func (o CISunbeamsGeneratorObject) SetTime(value float32)
- func (o CISunbeamsGeneratorObject) StriationContrast() float32
- func (o CISunbeamsGeneratorObject) StriationStrength() float32
- func (o CISunbeamsGeneratorObject) SunRadius() float32
- func (o CISunbeamsGeneratorObject) Time() float32
- type CISwipeTransition
- type CISwipeTransitionObject
- func (o CISwipeTransitionObject) Angle() float32
- func (o CISwipeTransitionObject) BaseObject() objectivec.Object
- func (o CISwipeTransitionObject) Color() ICIColor
- func (o CISwipeTransitionObject) Extent() corefoundation.CGRect
- func (o CISwipeTransitionObject) InputImage() ICIImage
- func (o CISwipeTransitionObject) Opacity() float32
- func (o CISwipeTransitionObject) OutputImage() ICIImage
- func (o CISwipeTransitionObject) SetAngle(value float32)
- func (o CISwipeTransitionObject) SetColor(value ICIColor)
- func (o CISwipeTransitionObject) SetExtent(value corefoundation.CGRect)
- func (o CISwipeTransitionObject) SetInputImage(value ICIImage)
- func (o CISwipeTransitionObject) SetOpacity(value float32)
- func (o CISwipeTransitionObject) SetTargetImage(value ICIImage)
- func (o CISwipeTransitionObject) SetTime(value float32)
- func (o CISwipeTransitionObject) SetWidth(value float32)
- func (o CISwipeTransitionObject) TargetImage() ICIImage
- func (o CISwipeTransitionObject) Time() float32
- func (o CISwipeTransitionObject) Width() float32
- type CISystemToneMap
- type CISystemToneMapObject
- func (o CISystemToneMapObject) BaseObject() objectivec.Object
- func (o CISystemToneMapObject) DisplayHeadroom() float32
- func (o CISystemToneMapObject) InputImage() ICIImage
- func (o CISystemToneMapObject) OutputImage() ICIImage
- func (o CISystemToneMapObject) PreferredDynamicRange() CIDynamicRangeOption
- func (o CISystemToneMapObject) SetDisplayHeadroom(value float32)
- func (o CISystemToneMapObject) SetInputImage(value ICIImage)
- func (o CISystemToneMapObject) SetPreferredDynamicRange(value CIDynamicRangeOption)
- type CITemperatureAndTint
- type CITemperatureAndTintObject
- func (o CITemperatureAndTintObject) BaseObject() objectivec.Object
- func (o CITemperatureAndTintObject) InputImage() ICIImage
- func (o CITemperatureAndTintObject) Neutral() ICIVector
- func (o CITemperatureAndTintObject) OutputImage() ICIImage
- func (o CITemperatureAndTintObject) SetInputImage(value ICIImage)
- func (o CITemperatureAndTintObject) SetNeutral(value ICIVector)
- func (o CITemperatureAndTintObject) SetTargetNeutral(value ICIVector)
- func (o CITemperatureAndTintObject) TargetNeutral() ICIVector
- type CITextFeature
- func (t CITextFeature) Autorelease() CITextFeature
- func (t CITextFeature) BottomLeft() corefoundation.CGPoint
- func (t CITextFeature) BottomRight() corefoundation.CGPoint
- func (t CITextFeature) CIDetectorTypeText() string
- func (t CITextFeature) Init() CITextFeature
- func (t CITextFeature) SubFeatures() foundation.INSArray
- func (t CITextFeature) TopLeft() corefoundation.CGPoint
- func (t CITextFeature) TopRight() corefoundation.CGPoint
- type CITextFeatureClass
- type CITextImageGenerator
- type CITextImageGeneratorObject
- func (o CITextImageGeneratorObject) BaseObject() objectivec.Object
- func (o CITextImageGeneratorObject) FontName() string
- func (o CITextImageGeneratorObject) FontSize() float32
- func (o CITextImageGeneratorObject) OutputImage() ICIImage
- func (o CITextImageGeneratorObject) Padding() float32
- func (o CITextImageGeneratorObject) ScaleFactor() float32
- func (o CITextImageGeneratorObject) SetFontName(value string)
- func (o CITextImageGeneratorObject) SetFontSize(value float32)
- func (o CITextImageGeneratorObject) SetPadding(value float32)
- func (o CITextImageGeneratorObject) SetScaleFactor(value float32)
- func (o CITextImageGeneratorObject) SetText(value string)
- func (o CITextImageGeneratorObject) Text() string
- type CIThermal
- type CIThermalObject
- type CIToneCurve
- type CIToneCurveObject
- func (o CIToneCurveObject) BaseObject() objectivec.Object
- func (o CIToneCurveObject) Extrapolate() bool
- func (o CIToneCurveObject) InputImage() ICIImage
- func (o CIToneCurveObject) OutputImage() ICIImage
- func (o CIToneCurveObject) Point0() corefoundation.CGPoint
- func (o CIToneCurveObject) Point1() corefoundation.CGPoint
- func (o CIToneCurveObject) Point2() corefoundation.CGPoint
- func (o CIToneCurveObject) Point3() corefoundation.CGPoint
- func (o CIToneCurveObject) Point4() corefoundation.CGPoint
- func (o CIToneCurveObject) SetExtrapolate(value bool)
- func (o CIToneCurveObject) SetInputImage(value ICIImage)
- func (o CIToneCurveObject) SetPoint0(value corefoundation.CGPoint)
- func (o CIToneCurveObject) SetPoint1(value corefoundation.CGPoint)
- func (o CIToneCurveObject) SetPoint2(value corefoundation.CGPoint)
- func (o CIToneCurveObject) SetPoint3(value corefoundation.CGPoint)
- func (o CIToneCurveObject) SetPoint4(value corefoundation.CGPoint)
- type CIToneMapHeadroom
- type CIToneMapHeadroomObject
- func (o CIToneMapHeadroomObject) BaseObject() objectivec.Object
- func (o CIToneMapHeadroomObject) InputImage() ICIImage
- func (o CIToneMapHeadroomObject) OutputImage() ICIImage
- func (o CIToneMapHeadroomObject) SetInputImage(value ICIImage)
- func (o CIToneMapHeadroomObject) SetSourceHeadroom(value float32)
- func (o CIToneMapHeadroomObject) SetTargetHeadroom(value float32)
- func (o CIToneMapHeadroomObject) SourceHeadroom() float32
- func (o CIToneMapHeadroomObject) TargetHeadroom() float32
- type CITorusLensDistortion
- type CITorusLensDistortionObject
- func (o CITorusLensDistortionObject) BaseObject() objectivec.Object
- func (o CITorusLensDistortionObject) Center() corefoundation.CGPoint
- func (o CITorusLensDistortionObject) InputImage() ICIImage
- func (o CITorusLensDistortionObject) OutputImage() ICIImage
- func (o CITorusLensDistortionObject) Radius() float32
- func (o CITorusLensDistortionObject) Refraction() float32
- func (o CITorusLensDistortionObject) SetCenter(value corefoundation.CGPoint)
- func (o CITorusLensDistortionObject) SetInputImage(value ICIImage)
- func (o CITorusLensDistortionObject) SetRadius(value float32)
- func (o CITorusLensDistortionObject) SetRefraction(value float32)
- func (o CITorusLensDistortionObject) SetWidth(value float32)
- func (o CITorusLensDistortionObject) Width() float32
- type CITransitionFilter
- type CITransitionFilterObject
- func (o CITransitionFilterObject) BaseObject() objectivec.Object
- func (o CITransitionFilterObject) InputImage() ICIImage
- func (o CITransitionFilterObject) OutputImage() ICIImage
- func (o CITransitionFilterObject) SetInputImage(value ICIImage)
- func (o CITransitionFilterObject) SetTargetImage(value ICIImage)
- func (o CITransitionFilterObject) SetTime(value float32)
- func (o CITransitionFilterObject) TargetImage() ICIImage
- func (o CITransitionFilterObject) Time() float32
- type CITriangleKaleidoscope
- type CITriangleKaleidoscopeObject
- func (o CITriangleKaleidoscopeObject) BaseObject() objectivec.Object
- func (o CITriangleKaleidoscopeObject) Decay() float32
- func (o CITriangleKaleidoscopeObject) InputImage() ICIImage
- func (o CITriangleKaleidoscopeObject) OutputImage() ICIImage
- func (o CITriangleKaleidoscopeObject) Point() corefoundation.CGPoint
- func (o CITriangleKaleidoscopeObject) Rotation() float32
- func (o CITriangleKaleidoscopeObject) SetDecay(value float32)
- func (o CITriangleKaleidoscopeObject) SetInputImage(value ICIImage)
- func (o CITriangleKaleidoscopeObject) SetPoint(value corefoundation.CGPoint)
- func (o CITriangleKaleidoscopeObject) SetRotation(value float32)
- func (o CITriangleKaleidoscopeObject) SetSize(value float32)
- func (o CITriangleKaleidoscopeObject) Size() float32
- type CITriangleTile
- type CITriangleTileObject
- func (o CITriangleTileObject) Angle() float32
- func (o CITriangleTileObject) BaseObject() objectivec.Object
- func (o CITriangleTileObject) Center() corefoundation.CGPoint
- func (o CITriangleTileObject) InputImage() ICIImage
- func (o CITriangleTileObject) OutputImage() ICIImage
- func (o CITriangleTileObject) SetAngle(value float32)
- func (o CITriangleTileObject) SetCenter(value corefoundation.CGPoint)
- func (o CITriangleTileObject) SetInputImage(value ICIImage)
- func (o CITriangleTileObject) SetWidth(value float32)
- func (o CITriangleTileObject) Width() float32
- type CITwelvefoldReflectedTile
- type CITwelvefoldReflectedTileObject
- func (o CITwelvefoldReflectedTileObject) Angle() float32
- func (o CITwelvefoldReflectedTileObject) BaseObject() objectivec.Object
- func (o CITwelvefoldReflectedTileObject) Center() corefoundation.CGPoint
- func (o CITwelvefoldReflectedTileObject) InputImage() ICIImage
- func (o CITwelvefoldReflectedTileObject) OutputImage() ICIImage
- func (o CITwelvefoldReflectedTileObject) SetAngle(value float32)
- func (o CITwelvefoldReflectedTileObject) SetCenter(value corefoundation.CGPoint)
- func (o CITwelvefoldReflectedTileObject) SetInputImage(value ICIImage)
- func (o CITwelvefoldReflectedTileObject) SetWidth(value float32)
- func (o CITwelvefoldReflectedTileObject) Width() float32
- type CITwirlDistortion
- type CITwirlDistortionObject
- func (o CITwirlDistortionObject) Angle() float32
- func (o CITwirlDistortionObject) BaseObject() objectivec.Object
- func (o CITwirlDistortionObject) Center() corefoundation.CGPoint
- func (o CITwirlDistortionObject) InputImage() ICIImage
- func (o CITwirlDistortionObject) OutputImage() ICIImage
- func (o CITwirlDistortionObject) Radius() float32
- func (o CITwirlDistortionObject) SetAngle(value float32)
- func (o CITwirlDistortionObject) SetCenter(value corefoundation.CGPoint)
- func (o CITwirlDistortionObject) SetInputImage(value ICIImage)
- func (o CITwirlDistortionObject) SetRadius(value float32)
- type CIUnsharpMask
- type CIUnsharpMaskObject
- func (o CIUnsharpMaskObject) BaseObject() objectivec.Object
- func (o CIUnsharpMaskObject) InputImage() ICIImage
- func (o CIUnsharpMaskObject) Intensity() float32
- func (o CIUnsharpMaskObject) OutputImage() ICIImage
- func (o CIUnsharpMaskObject) Radius() float32
- func (o CIUnsharpMaskObject) SetInputImage(value ICIImage)
- func (o CIUnsharpMaskObject) SetIntensity(value float32)
- func (o CIUnsharpMaskObject) SetRadius(value float32)
- type CIVector
- func CIVectorFromID(id objc.ID) CIVector
- func NewCIVector() CIVector
- func NewVectorWithCGAffineTransform(t corefoundation.CGAffineTransform) CIVector
- func NewVectorWithCGPoint(p corefoundation.CGPoint) CIVector
- func NewVectorWithCGRect(r corefoundation.CGRect) CIVector
- func NewVectorWithString(representation string) CIVector
- func NewVectorWithValuesCount(values []float64, count uintptr) CIVector
- func NewVectorWithX(x float64) CIVector
- func NewVectorWithXY(x float64, y float64) CIVector
- func NewVectorWithXYZ(x float64, y float64, z float64) CIVector
- func NewVectorWithXYZW(x float64, y float64, z float64, w float64) CIVector
- func (v CIVector) Autorelease() CIVector
- func (v CIVector) CGAffineTransformValue() corefoundation.CGAffineTransform
- func (v CIVector) CGPointValue() corefoundation.CGPoint
- func (v CIVector) CGRectValue() corefoundation.CGRect
- func (v CIVector) Count() uintptr
- func (v CIVector) EncodeWithCoder(coder foundation.INSCoder)
- func (v CIVector) Init() CIVector
- func (v CIVector) InitWithCGAffineTransform(t corefoundation.CGAffineTransform) CIVector
- func (v CIVector) InitWithCGPoint(p corefoundation.CGPoint) CIVector
- func (v CIVector) InitWithCGRect(r corefoundation.CGRect) CIVector
- func (v CIVector) InitWithString(representation string) CIVector
- func (v CIVector) InitWithValuesCount(values []float64, count uintptr) CIVector
- func (v CIVector) InitWithX(x float64) CIVector
- func (v CIVector) InitWithXY(x float64, y float64) CIVector
- func (v CIVector) InitWithXYZ(x float64, y float64, z float64) CIVector
- func (v CIVector) InitWithXYZW(x float64, y float64, z float64, w float64) CIVector
- func (v CIVector) StringRepresentation() string
- func (v CIVector) ValueAtIndex(index uintptr) float64
- func (v CIVector) W() float64
- func (v CIVector) X() float64
- func (v CIVector) Y() float64
- func (v CIVector) Z() float64
- type CIVectorClass
- func (cc CIVectorClass) Alloc() CIVector
- func (_CIVectorClass CIVectorClass) VectorWithCGAffineTransform(t corefoundation.CGAffineTransform) CIVector
- func (_CIVectorClass CIVectorClass) VectorWithCGPoint(p corefoundation.CGPoint) CIVector
- func (_CIVectorClass CIVectorClass) VectorWithCGRect(r corefoundation.CGRect) CIVector
- func (_CIVectorClass CIVectorClass) VectorWithString(representation string) CIVector
- func (_CIVectorClass CIVectorClass) VectorWithValuesCount(values []float64, count uintptr) CIVector
- func (_CIVectorClass CIVectorClass) VectorWithX(x float64) CIVector
- func (_CIVectorClass CIVectorClass) VectorWithXY(x float64, y float64) CIVector
- func (_CIVectorClass CIVectorClass) VectorWithXYZ(x float64, y float64, z float64) CIVector
- func (_CIVectorClass CIVectorClass) VectorWithXYZW(x float64, y float64, z float64, w float64) CIVector
- type CIVibrance
- type CIVibranceObject
- func (o CIVibranceObject) Amount() float32
- func (o CIVibranceObject) BaseObject() objectivec.Object
- func (o CIVibranceObject) InputImage() ICIImage
- func (o CIVibranceObject) OutputImage() ICIImage
- func (o CIVibranceObject) SetAmount(value float32)
- func (o CIVibranceObject) SetInputImage(value ICIImage)
- type CIVignette
- type CIVignetteEffect
- type CIVignetteEffectObject
- func (o CIVignetteEffectObject) BaseObject() objectivec.Object
- func (o CIVignetteEffectObject) Center() corefoundation.CGPoint
- func (o CIVignetteEffectObject) Falloff() float32
- func (o CIVignetteEffectObject) InputImage() ICIImage
- func (o CIVignetteEffectObject) Intensity() float32
- func (o CIVignetteEffectObject) OutputImage() ICIImage
- func (o CIVignetteEffectObject) Radius() float32
- func (o CIVignetteEffectObject) SetCenter(value corefoundation.CGPoint)
- func (o CIVignetteEffectObject) SetFalloff(value float32)
- func (o CIVignetteEffectObject) SetInputImage(value ICIImage)
- func (o CIVignetteEffectObject) SetIntensity(value float32)
- func (o CIVignetteEffectObject) SetRadius(value float32)
- type CIVignetteObject
- func (o CIVignetteObject) BaseObject() objectivec.Object
- func (o CIVignetteObject) InputImage() ICIImage
- func (o CIVignetteObject) Intensity() float32
- func (o CIVignetteObject) OutputImage() ICIImage
- func (o CIVignetteObject) Radius() float32
- func (o CIVignetteObject) SetInputImage(value ICIImage)
- func (o CIVignetteObject) SetIntensity(value float32)
- func (o CIVignetteObject) SetRadius(value float32)
- type CIVortexDistortion
- type CIVortexDistortionObject
- func (o CIVortexDistortionObject) Angle() float32
- func (o CIVortexDistortionObject) BaseObject() objectivec.Object
- func (o CIVortexDistortionObject) Center() corefoundation.CGPoint
- func (o CIVortexDistortionObject) InputImage() ICIImage
- func (o CIVortexDistortionObject) OutputImage() ICIImage
- func (o CIVortexDistortionObject) Radius() float32
- func (o CIVortexDistortionObject) SetAngle(value float32)
- func (o CIVortexDistortionObject) SetCenter(value corefoundation.CGPoint)
- func (o CIVortexDistortionObject) SetInputImage(value ICIImage)
- func (o CIVortexDistortionObject) SetRadius(value float32)
- type CIWarpKernel
- func CIWarpKernelFromID(id objc.ID) CIWarpKernel
- func NewCIWarpKernel() CIWarpKernel
- func NewWarpKernelWithFunctionNameFromMetalLibraryDataError(name string, data foundation.INSData) (CIWarpKernel, error)
- func NewWarpKernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError(name string, data foundation.INSData, format int) (CIWarpKernel, error)
- type CIWarpKernelClass
- type CIWhitePointAdjust
- type CIWhitePointAdjustObject
- func (o CIWhitePointAdjustObject) BaseObject() objectivec.Object
- func (o CIWhitePointAdjustObject) Color() ICIColor
- func (o CIWhitePointAdjustObject) InputImage() ICIImage
- func (o CIWhitePointAdjustObject) OutputImage() ICIImage
- func (o CIWhitePointAdjustObject) SetColor(value ICIColor)
- func (o CIWhitePointAdjustObject) SetInputImage(value ICIImage)
- type CIXRay
- type CIXRayObject
- type CIZoomBlur
- type CIZoomBlurObject
- func (o CIZoomBlurObject) Amount() float32
- func (o CIZoomBlurObject) BaseObject() objectivec.Object
- func (o CIZoomBlurObject) Center() corefoundation.CGPoint
- func (o CIZoomBlurObject) InputImage() ICIImage
- func (o CIZoomBlurObject) OutputImage() ICIImage
- func (o CIZoomBlurObject) SetAmount(value float32)
- func (o CIZoomBlurObject) SetCenter(value corefoundation.CGPoint)
- func (o CIZoomBlurObject) SetInputImage(value ICIImage)
- type ColumnCount
- type ColumnCountClass
- type DataCodewordCount
- type DataCodewordCountClass
- type EccVersion
- type EccVersionClass
- type ErrorCorrectedPayload
- type ErrorCorrectedPayloadClass
- type ErrorCorrectionLevel
- type ErrorCorrectionLevelClass
- type FaceAngle
- type FaceAngleClass
- type HasFaceAngle
- type HasFaceAngleClass
- type HasLeftEyePosition
- type HasLeftEyePositionClass
- type HasMouthPosition
- type HasMouthPositionClass
- type HasRightEyePosition
- type HasRightEyePositionClass
- type HasSmile
- type HasSmileClass
- type HasTrackingFrameCount
- type HasTrackingFrameCountClass
- type HasTrackingID
- type HasTrackingIDClass
- type IBottomLeft
- type IBottomRight
- type IBounds
- type ICIAztecCodeDescriptor
- type ICIBarcodeDescriptor
- type ICIBlendKernel
- type ICIColor
- type ICIColorKernel
- type ICIContext
- type ICIDataMatrixCodeDescriptor
- type ICIDetector
- type ICIFaceFeature
- type ICIFeature
- type ICIFilter
- type ICIFilterGenerator
- type ICIFilterShape
- type ICIImage
- type ICIImageAccumulator
- type ICIImageProcessorKernel
- type ICIKernel
- type ICIPDF417CodeDescriptor
- type ICIPlugIn
- type ICIQRCodeDescriptor
- type ICIQRCodeFeature
- type ICIRAWFilter
- type ICIRectangleFeature
- type ICIRenderDestination
- type ICIRenderInfo
- type ICIRenderTask
- type ICISampler
- type ICITextFeature
- type ICIVector
- type ICIWarpKernel
- type IColumnCount
- type IDataCodewordCount
- type IEccVersion
- type IErrorCorrectedPayload
- type IErrorCorrectionLevel
- type IFaceAngle
- type IHasFaceAngle
- type IHasLeftEyePosition
- type IHasMouthPosition
- type IHasRightEyePosition
- type IHasSmile
- type IHasTrackingFrameCount
- type IHasTrackingID
- type IIsCompact
- type ILayerCount
- type ILeftEyeClosed
- type ILeftEyePosition
- type IMaskPattern
- type IMouthPosition
- type IPtr
- type IRightEyeClosed
- type IRightEyePosition
- type IRowCount
- type ISymbolDescriptor
- type ISymbolVersion
- type ITopLeft
- type ITopRight
- type ITrackingFrameCount
- type ITrackingID
- type IVec
- type IsCompact
- type IsCompactClass
- type LayerCount
- type LayerCountClass
- type LeftEyeClosed
- type LeftEyeClosedClass
- type LeftEyePosition
- type LeftEyePositionClass
- type MaskPattern
- type MaskPatternClass
- type MouthPosition
- type MouthPositionClass
- type Ptr
- type PtrClass
- type RightEyeClosed
- type RightEyeClosedClass
- type RightEyePosition
- type RightEyePositionClass
- type RowCount
- type RowCountClass
- type SymbolDescriptor
- type SymbolDescriptorClass
- type SymbolVersion
- type SymbolVersionClass
- type TopLeft
- type TopLeftClass
- type TopRight
- type TopRightClass
- type TrackingFrameCount
- type TrackingFrameCountClass
- type TrackingID
- type TrackingIDClass
- type Vec
- type VecClass
- type VoidHandler
Constants ¶
This section is empty.
Variables ¶
var ( // CIDetectorAccuracy is a key used to specify the desired accuracy for the detector. // // See: https://developer.apple.com/documentation/CoreImage/CIDetectorAccuracy CIDetectorAccuracy string // CIDetectorAccuracyHigh is indicates that the detector should choose techniques that are higher in accuracy, even if it requires more processing time. // // See: https://developer.apple.com/documentation/CoreImage/CIDetectorAccuracyHigh CIDetectorAccuracyHigh string // CIDetectorAccuracyLow is indicates that the detector should choose techniques that are lower in accuracy, but can be processed more quickly. // // See: https://developer.apple.com/documentation/CoreImage/CIDetectorAccuracyLow CIDetectorAccuracyLow string // CIDetectorAspectRatio is an option specifying the aspect ratio (width divided by height) of rectangles to search for. // // See: https://developer.apple.com/documentation/CoreImage/CIDetectorAspectRatio CIDetectorAspectRatio string // CIDetectorEyeBlink is an option for whether Core Image will perform additional processing to recognize closed eyes in detected faces. // // See: https://developer.apple.com/documentation/CoreImage/CIDetectorEyeBlink CIDetectorEyeBlink string // CIDetectorFocalLength is an option identifying the focal length in pixels used in capturing images to be processed by the detector. // // See: https://developer.apple.com/documentation/CoreImage/CIDetectorFocalLength CIDetectorFocalLength string // CIDetectorImageOrientation is an option for the display orientation of the image whose features you want to detect. // // See: https://developer.apple.com/documentation/CoreImage/CIDetectorImageOrientation CIDetectorImageOrientation string // CIDetectorMaxFeatureCount is the key to the configuration dictionary whose value represents the maximum number of features the detector should return. // // See: https://developer.apple.com/documentation/CoreImage/CIDetectorMaxFeatureCount CIDetectorMaxFeatureCount string // CIDetectorMinFeatureSize is a key used to specify the minimum size that the detector will recognize as a feature. // // See: https://developer.apple.com/documentation/CoreImage/CIDetectorMinFeatureSize CIDetectorMinFeatureSize string // CIDetectorNumberOfAngles is the number of perspectives to use for detecting a face in video input. // // See: https://developer.apple.com/documentation/CoreImage/CIDetectorNumberOfAngles CIDetectorNumberOfAngles string // CIDetectorReturnSubFeatures is an option specifying whether to return feature information for components of detected features. // // See: https://developer.apple.com/documentation/CoreImage/CIDetectorReturnSubFeatures CIDetectorReturnSubFeatures string // CIDetectorSmile is an option for whether Core Image will perform additional processing to recognize smiles in detected faces. // // See: https://developer.apple.com/documentation/CoreImage/CIDetectorSmile CIDetectorSmile string // CIDetectorTracking is a key used to enable or disable face tracking for the detector. Use this option when you want to track faces across frames in a video. // // See: https://developer.apple.com/documentation/CoreImage/CIDetectorTracking CIDetectorTracking string // CIDetectorTypeFace is a detector that searches for faces in a still image or video, returning [CIFaceFeature] objects that provide information about detected faces. // // See: https://developer.apple.com/documentation/CoreImage/CIDetectorTypeFace CIDetectorTypeFace string // CIDetectorTypeQRCode is a detector that searches for Quick Response codes (a type of 2D barcode) in a still image or video, returning [CIQRCodeFeature] objects that provide information about detected barcodes. // // See: https://developer.apple.com/documentation/CoreImage/CIDetectorTypeQRCode CIDetectorTypeQRCode string // CIDetectorTypeRectangle is a detector that searches for rectangular areas in a still image or video, returning [CIRectangleFeature] objects that provide information about detected regions. // // See: https://developer.apple.com/documentation/CoreImage/CIDetectorTypeRectangle CIDetectorTypeRectangle string // CIDetectorTypeText is a detector that searches for text in a still image or video, returning [CITextFeature] objects that provide information about detected regions. // // See: https://developer.apple.com/documentation/CoreImage/CIDetectorTypeText CIDetectorTypeText string // CIFeatureTypeFace is a Core Image feature type for person’s face. // // See: https://developer.apple.com/documentation/CoreImage/CIFeatureTypeFace CIFeatureTypeFace string // CIFeatureTypeQRCode is a Core Image feature type for QR code object. // // See: https://developer.apple.com/documentation/CoreImage/CIFeatureTypeQRCode CIFeatureTypeQRCode string // CIFeatureTypeRectangle is a Core Image feature type for rectangular object. // // See: https://developer.apple.com/documentation/CoreImage/CIFeatureTypeRectangle CIFeatureTypeRectangle string // CIFeatureTypeText is a Core Image feature type for text. // // See: https://developer.apple.com/documentation/CoreImage/CIFeatureTypeText CIFeatureTypeText string // KCIApplyOptionColorSpace is the color space of the produced image. // // See: https://developer.apple.com/documentation/CoreImage/kCIApplyOptionColorSpace KCIApplyOptionColorSpace string // KCIApplyOptionDefinition is the domain of definition (DOD) of the produced image. // // See: https://developer.apple.com/documentation/CoreImage/kCIApplyOptionDefinition KCIApplyOptionDefinition string // KCIApplyOptionExtent is the extent of the image. // // See: https://developer.apple.com/documentation/CoreImage/kCIApplyOptionExtent KCIApplyOptionExtent string // KCIApplyOptionUserInfo is information needed by a callback. The associated value is an object that Core Image will pass to any callbacks invoked for that filter. // // See: https://developer.apple.com/documentation/CoreImage/kCIApplyOptionUserInfo KCIApplyOptionUserInfo string // KCIAttributeClass is the class name of the filter. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeClass KCIAttributeClass string // KCIAttributeDefault is the default value, specified as a floating-point value, for a filter parameter. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeDefault KCIAttributeDefault string // KCIAttributeDescription is the localized description of the filter. This description should inform the user what the filter does and be short enough to display in the user interface for the filter. It is not intended to be technically detailed. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeDescription KCIAttributeDescription string // KCIAttributeDisplayName is the localized display name of the attribute. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeDisplayName KCIAttributeDisplayName string // KCIAttributeFilterAvailable_Mac is the macOS version in which the filter first became available. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeFilterAvailable_Mac KCIAttributeFilterAvailable_Mac string // KCIAttributeFilterAvailable_iOS is the iOS version in which the filter first became available. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeFilterAvailable_iOS KCIAttributeFilterAvailable_iOS string // KCIAttributeFilterCategories is an array of filter category keys that specifies all the categories in which the filter is a member. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeFilterCategories KCIAttributeFilterCategories string // KCIAttributeFilterDisplayName is the localized version of the filter name that is displayed in the user interface. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeFilterDisplayName KCIAttributeFilterDisplayName string // KCIAttributeFilterName is the filter name. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeFilterName KCIAttributeFilterName string // KCIAttributeIdentity is if supplied as a value for a parameter, the parameter has no effect on the input image. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeIdentity KCIAttributeIdentity string // KCIAttributeMax is the maximum value for a filter parameter, specified as a floating-point value. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeMax KCIAttributeMax string // KCIAttributeMin is the minimum value for a filter parameter, specified as a floating-point value. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeMin KCIAttributeMin string // KCIAttributeName is the name of the attribute. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeName KCIAttributeName string // KCIAttributeReferenceDocumentation is the localized reference documentation for the filter. The reference should provide developers with technical details. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeReferenceDocumentation KCIAttributeReferenceDocumentation string // KCIAttributeSliderMax is the maximum value, specified as a floating-point value, to use for a slider that controls input values for a filter parameter. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeSliderMax KCIAttributeSliderMax string // KCIAttributeSliderMin is the minimum value, specified as a floating-point value, to use for a slider that controls input values for a filter parameter. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeSliderMin KCIAttributeSliderMin string // KCIAttributeType is the type of an attribute. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeType KCIAttributeType string // KCIAttributeTypeAngle is an angle. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeTypeAngle KCIAttributeTypeAngle string // KCIAttributeTypeBoolean is a Boolean value. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeTypeBoolean KCIAttributeTypeBoolean string // KCIAttributeTypeColor is a Core Image color ([CIColor] object) that specifies red, green, and blue component values. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeTypeColor KCIAttributeTypeColor string // KCIAttributeTypeCount is a positive integer value. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeTypeCount KCIAttributeTypeCount string // KCIAttributeTypeDistance is a distance. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeTypeDistance KCIAttributeTypeDistance string // KCIAttributeTypeGradient is an n-by-1 gradient image used to describe a color ramp. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeTypeGradient KCIAttributeTypeGradient string // KCIAttributeTypeImage is a [CIImage] object. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeTypeImage KCIAttributeTypeImage string // KCIAttributeTypeInteger is an integer value. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeTypeInteger KCIAttributeTypeInteger string // KCIAttributeTypeOffset is an offset. (A 2-element vector type.). // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeTypeOffset KCIAttributeTypeOffset string // KCIAttributeTypeOpaqueColor is a Core Image color ([CIColor] object) that specifies red, green, and blue component values. Use this key for colors with no alpha component. If the key is not present, Core Image assumes color with alpha. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeTypeOpaqueColor KCIAttributeTypeOpaqueColor string // KCIAttributeTypePosition is a two-dimensional location in the working coordinate space. (A 2-element vector type.). // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeTypePosition KCIAttributeTypePosition string // KCIAttributeTypePosition3 is a three-dimensional location in the working coordinate space. (A 3-element vector type.). // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeTypePosition3 KCIAttributeTypePosition3 string // KCIAttributeTypeRectangle is a Core Image vector that specifies the and values of the rectangle origin, and the width () and height () of the rectangle. The vector takes the form [, , , ]. (A 4-element vector type.). // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeTypeRectangle KCIAttributeTypeRectangle string // KCIAttributeTypeScalar is a scalar value. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeTypeScalar KCIAttributeTypeScalar string // KCIAttributeTypeTime is a parametric time for transitions, specified as a floating-point value in the range of `0.0` to `1.0`. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeTypeTime KCIAttributeTypeTime string // KCIAttributeTypeTransform is the transform type of an attribute. // // See: https://developer.apple.com/documentation/CoreImage/kCIAttributeTypeTransform KCIAttributeTypeTransform string // KCICategoryBlur is a filter that softens images, decreasing the contrast between the edges in an image. Examples of blur filters are Gaussian blur and zoom blur. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryBlur KCICategoryBlur string // KCICategoryBuiltIn is a filter provided by Core Image. This distinguishes built-in filters from plug-in filters. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryBuiltIn KCICategoryBuiltIn string // KCICategoryColorAdjustment is the category for color adjustment filters. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryColorAdjustment KCICategoryColorAdjustment string // KCICategoryColorEffect is a filter that modifies the color of an image to achieve an artistic effect. Examples of color effect filters include filters that change a color image to a sepia image or a monochrome image or that produces such effects as posterizing. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryColorEffect KCICategoryColorEffect string // KCICategoryCompositeOperation is a filter operates on two image sources, using the color values of one image to operate on the other. Composite filters perform computations such as computing maximum values, minimum values, and multiplying values between input images. You can use compositing filters to add effects to an image, crop an image, and achieve a variety of other effects. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryCompositeOperation KCICategoryCompositeOperation string // KCICategoryDistortionEffect is a filter that reshapes an image by altering its geometry to create a 3D effect. Using distortion filters, you can displace portions of an image, apply lens effects, make a bulge in an image, and perform other operation to achieve an artistic effect. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryDistortionEffect KCICategoryDistortionEffect string // KCICategoryFilterGenerator is a filter created by chaining several filters together and then packaged as a [CIFilterGenerator] object. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryFilterGenerator KCICategoryFilterGenerator string // KCICategoryGenerator is a filter that generates a pattern, such as a solid color, a checkerboard, or a star shine. The generated output is typically used as input to another filter. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryGenerator KCICategoryGenerator string // KCICategoryGeometryAdjustment is a filter that changes the geometry of an image. Some of these filters are used to warp an image to achieve an artistic effects, but these filters can also be used to correct problems in the source image. For example, you can apply an affine transform to straighten an image that is rotated with respect to the horizon. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryGeometryAdjustment KCICategoryGeometryAdjustment string // KCICategoryGradient is a filter that generates a fill whose color varies smoothly. Exactly how color varies depends on the type of gradient—linear, radial, or Gaussian. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryGradient KCICategoryGradient string // KCICategoryHalftoneEffect is a filter that simulates a variety of halftone screens, to mimic the halftone process used in print media. The output of these filters has the familiar “newspaper” look of the various dot patterns. Filters are typically named after the pattern created by the virtual halftone screen, such as circular screen or hatched screen. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryHalftoneEffect KCICategoryHalftoneEffect string // KCICategoryHighDynamicRange is a filter that works on high dynamic range pixels. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryHighDynamicRange KCICategoryHighDynamicRange string // KCICategoryInterlaced is a filter that works on interlaced images. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryInterlaced KCICategoryInterlaced string // KCICategoryNonSquarePixels is a filter that works on non-square pixels. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryNonSquarePixels KCICategoryNonSquarePixels string // KCICategoryReduction is a filter that reduces image data. These filters are used to solve image analysis problems. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryReduction KCICategoryReduction string // KCICategorySharpen is a filter that sharpens images, increasing the contrast between the edges in an image. Examples of sharpen filters are unsharp mask and sharpen luminance. // // See: https://developer.apple.com/documentation/CoreImage/kCICategorySharpen KCICategorySharpen string // KCICategoryStillImage is a filter that works on still images. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryStillImage KCICategoryStillImage string // KCICategoryStylize is a filter that makes a photographic image look as if it was painted or sketched. These filters are typically used alone or in combination with other filters to achieve artistic effects. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryStylize KCICategoryStylize string // KCICategoryTileEffect is a filter that typically applies an effect to an image and then create smaller versions of the image (tiles), which are then laid out to create a pattern that’s infinite in extent. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryTileEffect KCICategoryTileEffect string // KCICategoryTransition is a filter that provides a bridge between two or more images by applying a motion effect that defines how the pixels of a source image yield to that of the destination image. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryTransition KCICategoryTransition string // KCICategoryVideo is a filter that works on video images. // // See: https://developer.apple.com/documentation/CoreImage/kCICategoryVideo KCICategoryVideo string // KCIFilterGeneratorExportedKey is the key ([CIFilterGeneratorExportedKey]) for the exported parameter. The associated value is the key name of the parameter you are exporting, such as `inputRadius`. // // See: https://developer.apple.com/documentation/CoreImage/kCIFilterGeneratorExportedKey KCIFilterGeneratorExportedKey string // KCIFilterGeneratorExportedKeyName is the key ([CIFilterGeneratorExportedKeyName]) for the name used to export the [CIFilterGenerator] object. The associated value is a string that specifies a unique name for the filter generator object. // // See: https://developer.apple.com/documentation/CoreImage/kCIFilterGeneratorExportedKeyName KCIFilterGeneratorExportedKeyName string // KCIFilterGeneratorExportedKeyTargetObject is the target object ([CIFilterGeneratorExportedKeyTargetObject]) for the exported key. The associated value is the name of the object, such as [CIMotionBlur]. // // See: https://developer.apple.com/documentation/CoreImage/kCIFilterGeneratorExportedKeyTargetObject KCIFilterGeneratorExportedKeyTargetObject string // KCIImageAutoAdjustCrop is a key used to specify whether to return a filter that crops the image to focus on detected features. // // See: https://developer.apple.com/documentation/CoreImage/CIImageAutoAdjustmentOption/crop KCIImageAutoAdjustCrop string // KCIImageAutoAdjustEnhance is a key used to specify whether to return enhancement filters. // // See: https://developer.apple.com/documentation/CoreImage/CIImageAutoAdjustmentOption/enhance KCIImageAutoAdjustEnhance string // KCIImageAutoAdjustFeatures is a key used to specify an array of features that you want to apply enhancement and red eye filters to. // // See: https://developer.apple.com/documentation/CoreImage/CIImageAutoAdjustmentOption/features KCIImageAutoAdjustFeatures string // KCIImageAutoAdjustLevel is a key used to specify whether to return a filter that rotates the image to keep a level perspective. // // See: https://developer.apple.com/documentation/CoreImage/CIImageAutoAdjustmentOption/level KCIImageAutoAdjustLevel string // KCIImageAutoAdjustRedEye is a key used to specify whether to return a red eye filter. // // See: https://developer.apple.com/documentation/CoreImage/CIImageAutoAdjustmentOption/redEye KCIImageAutoAdjustRedEye string // See: https://developer.apple.com/documentation/CoreImage/kCIInputAmountKey KCIInputAmountKey string // KCIInputAngleKey is the angle. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputAngleKey KCIInputAngleKey string // KCIInputAspectRatioKey is aspect Ratio. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputAspectRatioKey KCIInputAspectRatioKey string // KCIInputBackgroundImageKey is a key for the [CIImage] object to use as a background image. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputBackgroundImageKey KCIInputBackgroundImageKey string // KCIInputBacksideImageKey is a key to get or set the backside image for a transition Core Image filter. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputBacksideImageKey KCIInputBacksideImageKey string // KCIInputBiasKey is simple bias value. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputBiasKey KCIInputBiasKey string // KCIInputBiasVectorKey is a key to get or set the vector bias value of a Core Image filter. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputBiasVectorKey KCIInputBiasVectorKey string // KCIInputBrightnessKey is brightness level. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputBrightnessKey KCIInputBrightnessKey string // KCIInputCenterKey is a key for a [CIVector] object that specifies the center of the area, as and - coordinates, to be filtered. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputCenterKey KCIInputCenterKey string // KCIInputColor0Key is a key to get or set a color value of a Core Image filter. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputColor0Key KCIInputColor0Key string // KCIInputColor1Key is a key to get or set a color value of a Core Image filter. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputColor1Key KCIInputColor1Key string // KCIInputColorKey is a key for a [CIColor] object that specifies a color value. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputColorKey KCIInputColorKey string // KCIInputColorSpaceKey is a key to get or set a color space value of a Core Image filter. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputColorSpaceKey KCIInputColorSpaceKey string // KCIInputContrastKey is a contrast level. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputContrastKey KCIInputContrastKey string // KCIInputCountKey is a key to get or set the scalar count value of a Core Image filter. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputCountKey KCIInputCountKey string // KCIInputDepthImageKey is a key for an image with depth values. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputDepthImageKey KCIInputDepthImageKey string // KCIInputDisparityImageKey is a key for an image with disparity values. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputDisparityImageKey KCIInputDisparityImageKey string // KCIInputEVKey is how many F-stops brighter or darker the image should be. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputEVKey KCIInputEVKey string // KCIInputExtentKey is a key for a [CIVector] object that specifies a rectangle that defines the extent of the effect. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputExtentKey KCIInputExtentKey string // KCIInputExtrapolateKey is a key to get or set the boolean behavior of a Core Image filter that specifies if the filter should extrapolate a table beyond the defined range. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputExtrapolateKey KCIInputExtrapolateKey string // KCIInputGradientImageKey is a key for a [CIImage] object that specifies an environment map with alpha. Typically, this image contains highlight and shadow. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputGradientImageKey KCIInputGradientImageKey string // KCIInputImageKey is a key for the [CIImage] object to use as an input image. For filters that also use a background image, this key refers to the foreground image. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputImageKey KCIInputImageKey string // KCIInputIntensityKey is an intensity value. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputIntensityKey KCIInputIntensityKey string // KCIInputMaskImageKey is a key for a [CIImage] object to use as a mask. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputMaskImageKey KCIInputMaskImageKey string // See: https://developer.apple.com/documentation/CoreImage/kCIInputMatteImageKey KCIInputMatteImageKey string // KCIInputPaletteImageKey is a key to get or set the palette image for a Core Image filter. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputPaletteImageKey KCIInputPaletteImageKey string // KCIInputPerceptualKey is a key to get or set the boolean behavior of a Core Image filter that specifies if the filter should operate in linear or perceptual colors. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputPerceptualKey KCIInputPerceptualKey string // KCIInputPoint0Key is a key to get or set the coordinate value of a Core Image filter. The value for this key needs to be a [CIVector] instance containing the `x,y` coordinate. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputPoint0Key KCIInputPoint0Key string // KCIInputPoint1Key is a key to get or set a coordinate value of a Core Image filter. The value for this key needs to be a [CIVector] instance containing the `x,y` coordinate. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputPoint1Key KCIInputPoint1Key string // KCIInputRadius0Key is a key to get or set the geometric radius value of a Core Image filter. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputRadius0Key KCIInputRadius0Key string // KCIInputRadius1Key is a key to get or set the geometric radius value of a Core Image filter. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputRadius1Key KCIInputRadius1Key string // KCIInputRadiusKey is the distance from the center of an effect. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputRadiusKey KCIInputRadiusKey string // KCIInputRefractionKey is the index of refraction to use. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputRefractionKey KCIInputRefractionKey string // KCIInputSaturationKey is the amount to adjust the saturation. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputSaturationKey KCIInputSaturationKey string // KCIInputScaleKey is the amount of scale to apply. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputScaleKey KCIInputScaleKey string // KCIInputShadingImageKey is a key for a [CIImage] object that specifies an environment map with alpha values. Typically this image contains highlight and shadow. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputShadingImageKey KCIInputShadingImageKey string // KCIInputSharpnessKey is amount of sharpening to apply. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputSharpnessKey KCIInputSharpnessKey string // KCIInputTargetImageKey is a key for a [CIImage] object that is the target image for a transition. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputTargetImageKey KCIInputTargetImageKey string // KCIInputThresholdKey is a key to get or set the scalar threshold value of a Core Image filter. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputThresholdKey KCIInputThresholdKey string // KCIInputTimeKey is specify a time. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputTimeKey KCIInputTimeKey string // KCIInputTransformKey is transformation to apply. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputTransformKey KCIInputTransformKey string // KCIInputVersionKey is version Key. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputVersionKey KCIInputVersionKey string // KCIInputWeightsKey is a key for a [CIVector] object that describes a weight matrix for use with a convolution filter. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputWeightsKey KCIInputWeightsKey string // KCIInputWidthKey is a key for a scalar value that specifies the width of the effect. // // See: https://developer.apple.com/documentation/CoreImage/kCIInputWidthKey KCIInputWidthKey string // KCIOutputImageKey is a key for the [CIImage] object produced by a filter. // // See: https://developer.apple.com/documentation/CoreImage/kCIOutputImageKey KCIOutputImageKey string // KCISamplerAffineMatrix is the key for an affine matrix. The associated value is an [NSArray] object ([]) that defines the transformation to apply to the sampler. // // See: https://developer.apple.com/documentation/CoreImage/kCISamplerAffineMatrix KCISamplerAffineMatrix string // KCISamplerColorSpace is the key for the color space to use when sampling the image. // // See: https://developer.apple.com/documentation/CoreImage/kCISamplerColorSpace KCISamplerColorSpace string // KCISamplerFilterLinear is bilinear interpolation. // // See: https://developer.apple.com/documentation/CoreImage/kCISamplerFilterLinear KCISamplerFilterLinear string // KCISamplerFilterMode is the key for the filtering to use when sampling the image. Possible values are [kCISamplerFilterNearest] and [kCISamplerFilterLinear]. // // See: https://developer.apple.com/documentation/CoreImage/kCISamplerFilterMode KCISamplerFilterMode string // KCISamplerFilterNearest is nearest neighbor sampling. // // See: https://developer.apple.com/documentation/CoreImage/kCISamplerFilterNearest KCISamplerFilterNearest string // KCISamplerWrapBlack is pixels are transparent black. // // See: https://developer.apple.com/documentation/CoreImage/kCISamplerWrapBlack KCISamplerWrapBlack string // KCISamplerWrapClamp is coordinates are clamped to the extent. // // See: https://developer.apple.com/documentation/CoreImage/kCISamplerWrapClamp KCISamplerWrapClamp string // KCISamplerWrapMode is the key for the sampler wrap mode. The wrap mode specifies how Core Image produces pixels that are outside the extent of the sample. Possible values are [kCISamplerWrapBlack] and [kCISamplerWrapClamp]. // // See: https://developer.apple.com/documentation/CoreImage/kCISamplerWrapMode KCISamplerWrapMode string // KCIUIParameterSet is the set of input parameters to use. The associated value can be [kCIUISetBasic], [kCIUISetIntermediate], [kCIUISetAdvanced], or [kCIUISetDevelopment]. // // See: https://developer.apple.com/documentation/CoreImage/kCIUIParameterSet KCIUIParameterSet string // KCIUISetAdvanced is controls that are appropriate for an advanced user scenario. // // See: https://developer.apple.com/documentation/CoreImage/kCIUISetAdvanced KCIUISetAdvanced string // KCIUISetBasic is controls that are appropriate for a basic user scenario, that is, the minimum of settings to control the filter. // // See: https://developer.apple.com/documentation/CoreImage/kCIUISetBasic KCIUISetBasic string // KCIUISetDevelopment is controls that should be visible only for development purposes. // // See: https://developer.apple.com/documentation/CoreImage/kCIUISetDevelopment KCIUISetDevelopment string // KCIUISetIntermediate is controls that are appropriate for an intermediate user scenario. // // See: https://developer.apple.com/documentation/CoreImage/kCIUISetIntermediate KCIUISetIntermediate string )
var ( // KCIFormatA16 is a 16-bit-per-pixel, fixed-point pixel format in which the sole component is alpha. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/A16 KCIFormatA16 int // KCIFormatA8 is an 8-bit-per-pixel, fixed-point pixel format in which the sole component is alpha. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/A8 KCIFormatA8 int // KCIFormatABGR8 is a 32-bit-per-pixel, fixed-point pixel format in which the alpha value precedes the blue, green, and red color components. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/ABGR8 KCIFormatABGR8 int // KCIFormatARGB8 is a 32-bit-per-pixel, fixed-point pixel format in which the alpha value precedes the red, green, and blue color components. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/ARGB8 KCIFormatARGB8 int // KCIFormatAf is a 32-bit-per-pixel, full-width floating-point pixel format in which the sole component is alpha. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/Af KCIFormatAf int // KCIFormatAh is a 16-bit-per-pixel, half-width floating-point pixel format in which the sole component is alpha. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/Ah KCIFormatAh int // KCIFormatBGRA8 is a 32-bit-per-pixel, fixed-point pixel format in which the blue, green, and red color components precede the alpha value. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/BGRA8 KCIFormatBGRA8 int // KCIFormatL16 is a 16-bit-per-pixel, fixed-point pixel format in which the sole component is luminance. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/L16 KCIFormatL16 int // KCIFormatL8 is an 8-bit-per-pixel, fixed-point pixel format in which the sole component is luminance. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/L8 KCIFormatL8 int // KCIFormatLA16 is a 32-bit-per-pixel, fixed-point pixel format with only 16-bit luminance and alpha components. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/LA16 KCIFormatLA16 int // KCIFormatLA8 is a 16-bit-per-pixel, fixed-point pixel format with only 8-bit luminance and alpha components. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/LA8 KCIFormatLA8 int // KCIFormatLAf is a 64-bit-per-pixel, full-width floating-point pixel format with 32-bit luminance and alpha components. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/LAf KCIFormatLAf int // KCIFormatLAh is a 32-bit-per-pixel, half-width floating-point pixel format with 16-bit luminance and alpha components. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/LAh KCIFormatLAh int // KCIFormatLf is a 32-bit-per-pixel, full-width floating-point pixel format in which the sole component is luminance. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/Lf KCIFormatLf int // KCIFormatLh is a 16-bit-per-pixel, half-width floating-point pixel format in which the sole component is luminance. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/Lh KCIFormatLh int // KCIFormatR16 is a 16-bit-per-pixel, fixed-point pixel format in which the sole component is a red color value. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/R16 KCIFormatR16 int // KCIFormatR8 is an 8-bit-per-pixel, fixed-point pixel format in which the sole component is a red color value. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/R8 KCIFormatR8 int // KCIFormatRG16 is a 32-bit-per-pixel, fixed-point pixel format with only red and green color components. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/RG16 KCIFormatRG16 int // KCIFormatRG8 is a 16-bit-per-pixel, fixed-point pixel format with only red and green color components. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/RG8 KCIFormatRG8 int // See: https://developer.apple.com/documentation/CoreImage/CIFormat/RGB10 KCIFormatRGB10 int // KCIFormatRGBA16 is a 64-bit-per-pixel, fixed-point pixel format. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/RGBA16 KCIFormatRGBA16 int // KCIFormatRGBA8 is a 32-bit-per-pixel, fixed-point pixel format in which the red, green, and blue color components precede the alpha value. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/RGBA8 KCIFormatRGBA8 int // KCIFormatRGBAf is a 128-bit-per-pixel, floating-point pixel format. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/RGBAf KCIFormatRGBAf int // KCIFormatRGBAh is a 64-bit-per-pixel, floating-point pixel format. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/RGBAh KCIFormatRGBAh int // See: https://developer.apple.com/documentation/CoreImage/CIFormat/RGBX16 KCIFormatRGBX16 int // See: https://developer.apple.com/documentation/CoreImage/CIFormat/RGBX8 KCIFormatRGBX8 int // See: https://developer.apple.com/documentation/CoreImage/CIFormat/rgbXf KCIFormatRGBXf int // See: https://developer.apple.com/documentation/CoreImage/CIFormat/rgbXh KCIFormatRGBXh int // KCIFormatRGf is a 64-bit-per-pixel, floating-point pixel format with only red and green color components. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/RGf KCIFormatRGf int // KCIFormatRGh is a 32-bit-per-pixel, floating-point pixel format with only red and green color components. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/RGh KCIFormatRGh int // KCIFormatRf is a 32-bit-per-pixel, floating-point pixel format in which the sole component is a red color value. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/Rf KCIFormatRf int // KCIFormatRh is a 16-bit-per-pixel, floating-point pixel format in which the sole component is a red color value. // // See: https://developer.apple.com/documentation/CoreImage/CIFormat/Rh KCIFormatRh int )
Functions ¶
func NewVoidBlock ¶
func NewVoidBlock(handler VoidHandler) (objc.ID, func())
NewVoidBlock wraps a Go VoidHandler as an Objective-C block. The caller must defer the returned cleanup function.
Used by:
Types ¶
type BottomLeft ¶
type BottomLeft struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeFeature/bottomLeft-c.ivar
func BottomLeftFromID ¶
func BottomLeftFromID(id objc.ID) BottomLeft
BottomLeftFromID constructs a BottomLeft from an objc.ID.
func NewBottomLeft ¶
func NewBottomLeft() BottomLeft
NewBottomLeft creates a new BottomLeft instance.
func (BottomLeft) Autorelease ¶
func (b BottomLeft) Autorelease() BottomLeft
Autorelease adds the receiver to the current autorelease pool.
type BottomLeftClass ¶
type BottomLeftClass struct {
// contains filtered or unexported fields
}
func GetBottomLeftClass ¶
func GetBottomLeftClass() BottomLeftClass
GetBottomLeftClass returns the class object for bottomLeft.
func (BottomLeftClass) Alloc ¶
func (bc BottomLeftClass) Alloc() BottomLeft
Alloc allocates memory for a new instance of the class.
type BottomRight ¶
type BottomRight struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeFeature/bottomRight-c.ivar
func BottomRightFromID ¶
func BottomRightFromID(id objc.ID) BottomRight
BottomRightFromID constructs a BottomRight from an objc.ID.
func NewBottomRight ¶
func NewBottomRight() BottomRight
NewBottomRight creates a new BottomRight instance.
func (BottomRight) Autorelease ¶
func (b BottomRight) Autorelease() BottomRight
Autorelease adds the receiver to the current autorelease pool.
type BottomRightClass ¶
type BottomRightClass struct {
// contains filtered or unexported fields
}
func GetBottomRightClass ¶
func GetBottomRightClass() BottomRightClass
GetBottomRightClass returns the class object for bottomRight.
func (BottomRightClass) Alloc ¶
func (bc BottomRightClass) Alloc() BottomRight
Alloc allocates memory for a new instance of the class.
type Bounds ¶
type Bounds struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/bounds-c.ivar
func BoundsFromID ¶
BoundsFromID constructs a Bounds from an objc.ID.
func (Bounds) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
type BoundsClass ¶
type BoundsClass struct {
// contains filtered or unexported fields
}
func GetBoundsClass ¶
func GetBoundsClass() BoundsClass
GetBoundsClass returns the class object for bounds.
func (BoundsClass) Alloc ¶
func (bc BoundsClass) Alloc() Bounds
Alloc allocates memory for a new instance of the class.
type CIAccordionFoldTransition ¶
type CIAccordionFoldTransition interface {
objectivec.IObject
CIFilterProtocol
CITransitionFilter
// The height of the accordion-fold part of the transition.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAccordionFoldTransition/bottomHeight
BottomHeight() float32
// A value that specifies the intensity of the shadow in the transtion.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAccordionFoldTransition/foldShadowAmount
FoldShadowAmount() float32
// The number of folds used in the transition.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAccordionFoldTransition/numberOfFolds
NumberOfFolds() float32
// The height of the accordion-fold part of the transition.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAccordionFoldTransition/bottomHeight
SetBottomHeight(value float32)
// A value that specifies the intensity of the shadow in the transtion.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAccordionFoldTransition/foldShadowAmount
SetFoldShadowAmount(value float32)
// The number of folds used in the transition.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAccordionFoldTransition/numberOfFolds
SetNumberOfFolds(value float32)
}
The properties you use to configure an accordion fold transition filter.
See: https://developer.apple.com/documentation/CoreImage/CIAccordionFoldTransition
type CIAccordionFoldTransitionObject ¶
type CIAccordionFoldTransitionObject struct {
objectivec.Object
}
CIAccordionFoldTransitionObject wraps an existing Objective-C object that conforms to the CIAccordionFoldTransition protocol.
func CIAccordionFoldTransitionObjectFromID ¶
func CIAccordionFoldTransitionObjectFromID(id objc.ID) CIAccordionFoldTransitionObject
CIAccordionFoldTransitionObjectFromID constructs a CIAccordionFoldTransitionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIAccordionFoldTransitionObject) BaseObject ¶
func (o CIAccordionFoldTransitionObject) BaseObject() objectivec.Object
func (CIAccordionFoldTransitionObject) BottomHeight ¶
func (o CIAccordionFoldTransitionObject) BottomHeight() float32
The height of the accordion-fold part of the transition.
See: https://developer.apple.com/documentation/CoreImage/CIAccordionFoldTransition/bottomHeight
func (CIAccordionFoldTransitionObject) FoldShadowAmount ¶
func (o CIAccordionFoldTransitionObject) FoldShadowAmount() float32
A value that specifies the intensity of the shadow in the transtion.
See: https://developer.apple.com/documentation/CoreImage/CIAccordionFoldTransition/foldShadowAmount
func (CIAccordionFoldTransitionObject) InputImage ¶
func (o CIAccordionFoldTransitionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/inputImage
func (CIAccordionFoldTransitionObject) NumberOfFolds ¶
func (o CIAccordionFoldTransitionObject) NumberOfFolds() float32
The number of folds used in the transition.
See: https://developer.apple.com/documentation/CoreImage/CIAccordionFoldTransition/numberOfFolds
func (CIAccordionFoldTransitionObject) OutputImage ¶
func (o CIAccordionFoldTransitionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIAccordionFoldTransitionObject) SetBottomHeight ¶
func (o CIAccordionFoldTransitionObject) SetBottomHeight(value float32)
func (CIAccordionFoldTransitionObject) SetFoldShadowAmount ¶
func (o CIAccordionFoldTransitionObject) SetFoldShadowAmount(value float32)
func (CIAccordionFoldTransitionObject) SetInputImage ¶
func (o CIAccordionFoldTransitionObject) SetInputImage(value ICIImage)
func (CIAccordionFoldTransitionObject) SetNumberOfFolds ¶
func (o CIAccordionFoldTransitionObject) SetNumberOfFolds(value float32)
func (CIAccordionFoldTransitionObject) SetTargetImage ¶
func (o CIAccordionFoldTransitionObject) SetTargetImage(value ICIImage)
func (CIAccordionFoldTransitionObject) SetTime ¶
func (o CIAccordionFoldTransitionObject) SetTime(value float32)
func (CIAccordionFoldTransitionObject) TargetImage ¶
func (o CIAccordionFoldTransitionObject) TargetImage() ICIImage
The target image for a transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/targetImage
func (CIAccordionFoldTransitionObject) Time ¶
func (o CIAccordionFoldTransitionObject) Time() float32
The parametric time of the transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/time
type CIAffineClamp ¶
type CIAffineClamp interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAffineClamp/inputImage
InputImage() ICIImage
// The transform to apply to the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAffineClamp/transform
Transform() corefoundation.CGAffineTransform
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAffineClamp/inputImage
SetInputImage(value ICIImage)
// The transform to apply to the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAffineClamp/transform
SetTransform(value corefoundation.CGAffineTransform)
}
The properties you use to configure an affine clamp filter.
See: https://developer.apple.com/documentation/CoreImage/CIAffineClamp
type CIAffineClampObject ¶
type CIAffineClampObject struct {
objectivec.Object
}
CIAffineClampObject wraps an existing Objective-C object that conforms to the CIAffineClamp protocol.
func CIAffineClampObjectFromID ¶
func CIAffineClampObjectFromID(id objc.ID) CIAffineClampObject
CIAffineClampObjectFromID constructs a CIAffineClampObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIAffineClampObject) BaseObject ¶
func (o CIAffineClampObject) BaseObject() objectivec.Object
func (CIAffineClampObject) InputImage ¶
func (o CIAffineClampObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIAffineClamp/inputImage
func (CIAffineClampObject) OutputImage ¶
func (o CIAffineClampObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIAffineClampObject) SetInputImage ¶
func (o CIAffineClampObject) SetInputImage(value ICIImage)
func (CIAffineClampObject) SetTransform ¶
func (o CIAffineClampObject) SetTransform(value corefoundation.CGAffineTransform)
func (CIAffineClampObject) Transform ¶
func (o CIAffineClampObject) Transform() corefoundation.CGAffineTransform
The transform to apply to the image.
See: https://developer.apple.com/documentation/CoreImage/CIAffineClamp/transform
type CIAffineTile ¶
type CIAffineTile interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAffineTile/inputImage
InputImage() ICIImage
// The transform to apply to the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAffineTile/transform
Transform() corefoundation.CGAffineTransform
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAffineTile/inputImage
SetInputImage(value ICIImage)
// The transform to apply to the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAffineTile/transform
SetTransform(value corefoundation.CGAffineTransform)
}
The properties you use to configure an affine tile filter.
See: https://developer.apple.com/documentation/CoreImage/CIAffineTile
type CIAffineTileObject ¶
type CIAffineTileObject struct {
objectivec.Object
}
CIAffineTileObject wraps an existing Objective-C object that conforms to the CIAffineTile protocol.
func CIAffineTileObjectFromID ¶
func CIAffineTileObjectFromID(id objc.ID) CIAffineTileObject
CIAffineTileObjectFromID constructs a CIAffineTileObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIAffineTileObject) BaseObject ¶
func (o CIAffineTileObject) BaseObject() objectivec.Object
func (CIAffineTileObject) InputImage ¶
func (o CIAffineTileObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIAffineTile/inputImage
func (CIAffineTileObject) OutputImage ¶
func (o CIAffineTileObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIAffineTileObject) SetInputImage ¶
func (o CIAffineTileObject) SetInputImage(value ICIImage)
func (CIAffineTileObject) SetTransform ¶
func (o CIAffineTileObject) SetTransform(value corefoundation.CGAffineTransform)
func (CIAffineTileObject) Transform ¶
func (o CIAffineTileObject) Transform() corefoundation.CGAffineTransform
The transform to apply to the image.
See: https://developer.apple.com/documentation/CoreImage/CIAffineTile/transform
type CIAreaAverage ¶
type CIAreaAverage interface {
objectivec.IObject
CIAreaReductionFilter
CIFilterProtocol
}
CIAreaAverage protocol.
See: https://developer.apple.com/documentation/CoreImage/CIAreaAverage
type CIAreaAverageMaximumRed ¶
type CIAreaAverageMaximumRed interface {
objectivec.IObject
CIAreaReductionFilter
CIFilterProtocol
}
The protocol for the Area Average and Maximum Red filter.
See: https://developer.apple.com/documentation/CoreImage/CIAreaAverageMaximumRed
type CIAreaAverageMaximumRedObject ¶
type CIAreaAverageMaximumRedObject struct {
objectivec.Object
}
CIAreaAverageMaximumRedObject wraps an existing Objective-C object that conforms to the CIAreaAverageMaximumRed protocol.
func CIAreaAverageMaximumRedObjectFromID ¶
func CIAreaAverageMaximumRedObjectFromID(id objc.ID) CIAreaAverageMaximumRedObject
CIAreaAverageMaximumRedObjectFromID constructs a CIAreaAverageMaximumRedObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIAreaAverageMaximumRedObject) BaseObject ¶
func (o CIAreaAverageMaximumRedObject) BaseObject() objectivec.Object
func (CIAreaAverageMaximumRedObject) Extent ¶
func (o CIAreaAverageMaximumRedObject) Extent() corefoundation.CGRect
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/extent
func (CIAreaAverageMaximumRedObject) InputImage ¶
func (o CIAreaAverageMaximumRedObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/inputImage
func (CIAreaAverageMaximumRedObject) OutputImage ¶
func (o CIAreaAverageMaximumRedObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIAreaAverageMaximumRedObject) SetExtent ¶
func (o CIAreaAverageMaximumRedObject) SetExtent(value corefoundation.CGRect)
func (CIAreaAverageMaximumRedObject) SetInputImage ¶
func (o CIAreaAverageMaximumRedObject) SetInputImage(value ICIImage)
type CIAreaAverageObject ¶
type CIAreaAverageObject struct {
objectivec.Object
}
CIAreaAverageObject wraps an existing Objective-C object that conforms to the CIAreaAverage protocol.
func CIAreaAverageObjectFromID ¶
func CIAreaAverageObjectFromID(id objc.ID) CIAreaAverageObject
CIAreaAverageObjectFromID constructs a CIAreaAverageObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIAreaAverageObject) BaseObject ¶
func (o CIAreaAverageObject) BaseObject() objectivec.Object
func (CIAreaAverageObject) Extent ¶
func (o CIAreaAverageObject) Extent() corefoundation.CGRect
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/extent
func (CIAreaAverageObject) InputImage ¶
func (o CIAreaAverageObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/inputImage
func (CIAreaAverageObject) OutputImage ¶
func (o CIAreaAverageObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIAreaAverageObject) SetExtent ¶
func (o CIAreaAverageObject) SetExtent(value corefoundation.CGRect)
func (CIAreaAverageObject) SetInputImage ¶
func (o CIAreaAverageObject) SetInputImage(value ICIImage)
type CIAreaBoundsRed ¶
type CIAreaBoundsRed interface {
objectivec.IObject
CIAreaReductionFilter
CIFilterProtocol
}
CIAreaBoundsRed protocol.
See: https://developer.apple.com/documentation/CoreImage/CIAreaBoundsRed
type CIAreaBoundsRedObject ¶
type CIAreaBoundsRedObject struct {
objectivec.Object
}
CIAreaBoundsRedObject wraps an existing Objective-C object that conforms to the CIAreaBoundsRed protocol.
func CIAreaBoundsRedObjectFromID ¶
func CIAreaBoundsRedObjectFromID(id objc.ID) CIAreaBoundsRedObject
CIAreaBoundsRedObjectFromID constructs a CIAreaBoundsRedObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIAreaBoundsRedObject) BaseObject ¶
func (o CIAreaBoundsRedObject) BaseObject() objectivec.Object
func (CIAreaBoundsRedObject) Extent ¶
func (o CIAreaBoundsRedObject) Extent() corefoundation.CGRect
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/extent
func (CIAreaBoundsRedObject) InputImage ¶
func (o CIAreaBoundsRedObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/inputImage
func (CIAreaBoundsRedObject) OutputImage ¶
func (o CIAreaBoundsRedObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIAreaBoundsRedObject) SetExtent ¶
func (o CIAreaBoundsRedObject) SetExtent(value corefoundation.CGRect)
func (CIAreaBoundsRedObject) SetInputImage ¶
func (o CIAreaBoundsRedObject) SetInputImage(value ICIImage)
type CIAreaHistogram ¶
type CIAreaHistogram interface {
objectivec.IObject
CIAreaReductionFilter
CIFilterProtocol
// Count protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAreaHistogram/count
Count() int
// Scale protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAreaHistogram/scale
Scale() float32
// count protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAreaHistogram/count
SetCount(value int)
// scale protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAreaHistogram/scale
SetScale(value float32)
}
CIAreaHistogram protocol.
See: https://developer.apple.com/documentation/CoreImage/CIAreaHistogram
type CIAreaHistogramObject ¶
type CIAreaHistogramObject struct {
objectivec.Object
}
CIAreaHistogramObject wraps an existing Objective-C object that conforms to the CIAreaHistogram protocol.
func CIAreaHistogramObjectFromID ¶
func CIAreaHistogramObjectFromID(id objc.ID) CIAreaHistogramObject
CIAreaHistogramObjectFromID constructs a CIAreaHistogramObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIAreaHistogramObject) BaseObject ¶
func (o CIAreaHistogramObject) BaseObject() objectivec.Object
func (CIAreaHistogramObject) Count ¶
func (o CIAreaHistogramObject) Count() int
See: https://developer.apple.com/documentation/CoreImage/CIAreaHistogram/count
func (CIAreaHistogramObject) Extent ¶
func (o CIAreaHistogramObject) Extent() corefoundation.CGRect
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/extent
func (CIAreaHistogramObject) InputImage ¶
func (o CIAreaHistogramObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/inputImage
func (CIAreaHistogramObject) OutputImage ¶
func (o CIAreaHistogramObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIAreaHistogramObject) Scale ¶
func (o CIAreaHistogramObject) Scale() float32
See: https://developer.apple.com/documentation/CoreImage/CIAreaHistogram/scale
func (CIAreaHistogramObject) SetCount ¶
func (o CIAreaHistogramObject) SetCount(value int)
func (CIAreaHistogramObject) SetExtent ¶
func (o CIAreaHistogramObject) SetExtent(value corefoundation.CGRect)
func (CIAreaHistogramObject) SetInputImage ¶
func (o CIAreaHistogramObject) SetInputImage(value ICIImage)
func (CIAreaHistogramObject) SetScale ¶
func (o CIAreaHistogramObject) SetScale(value float32)
type CIAreaLogarithmicHistogram ¶
type CIAreaLogarithmicHistogram interface {
objectivec.IObject
CIAreaReductionFilter
CIFilterProtocol
// Count protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAreaLogarithmicHistogram/count
Count() int
// MaximumStop protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAreaLogarithmicHistogram/maximumStop
MaximumStop() float32
// MinimumStop protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAreaLogarithmicHistogram/minimumStop
MinimumStop() float32
// Scale protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAreaLogarithmicHistogram/scale
Scale() float32
// count protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAreaLogarithmicHistogram/count
SetCount(value int)
// maximumStop protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAreaLogarithmicHistogram/maximumStop
SetMaximumStop(value float32)
// minimumStop protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAreaLogarithmicHistogram/minimumStop
SetMinimumStop(value float32)
// scale protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAreaLogarithmicHistogram/scale
SetScale(value float32)
}
CIAreaLogarithmicHistogram protocol.
See: https://developer.apple.com/documentation/CoreImage/CIAreaLogarithmicHistogram
type CIAreaLogarithmicHistogramObject ¶
type CIAreaLogarithmicHistogramObject struct {
objectivec.Object
}
CIAreaLogarithmicHistogramObject wraps an existing Objective-C object that conforms to the CIAreaLogarithmicHistogram protocol.
func CIAreaLogarithmicHistogramObjectFromID ¶
func CIAreaLogarithmicHistogramObjectFromID(id objc.ID) CIAreaLogarithmicHistogramObject
CIAreaLogarithmicHistogramObjectFromID constructs a CIAreaLogarithmicHistogramObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIAreaLogarithmicHistogramObject) BaseObject ¶
func (o CIAreaLogarithmicHistogramObject) BaseObject() objectivec.Object
func (CIAreaLogarithmicHistogramObject) Count ¶
func (o CIAreaLogarithmicHistogramObject) Count() int
See: https://developer.apple.com/documentation/CoreImage/CIAreaLogarithmicHistogram/count
func (CIAreaLogarithmicHistogramObject) Extent ¶
func (o CIAreaLogarithmicHistogramObject) Extent() corefoundation.CGRect
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/extent
func (CIAreaLogarithmicHistogramObject) InputImage ¶
func (o CIAreaLogarithmicHistogramObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/inputImage
func (CIAreaLogarithmicHistogramObject) MaximumStop ¶
func (o CIAreaLogarithmicHistogramObject) MaximumStop() float32
See: https://developer.apple.com/documentation/CoreImage/CIAreaLogarithmicHistogram/maximumStop
func (CIAreaLogarithmicHistogramObject) MinimumStop ¶
func (o CIAreaLogarithmicHistogramObject) MinimumStop() float32
See: https://developer.apple.com/documentation/CoreImage/CIAreaLogarithmicHistogram/minimumStop
func (CIAreaLogarithmicHistogramObject) OutputImage ¶
func (o CIAreaLogarithmicHistogramObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIAreaLogarithmicHistogramObject) Scale ¶
func (o CIAreaLogarithmicHistogramObject) Scale() float32
See: https://developer.apple.com/documentation/CoreImage/CIAreaLogarithmicHistogram/scale
func (CIAreaLogarithmicHistogramObject) SetCount ¶
func (o CIAreaLogarithmicHistogramObject) SetCount(value int)
func (CIAreaLogarithmicHistogramObject) SetExtent ¶
func (o CIAreaLogarithmicHistogramObject) SetExtent(value corefoundation.CGRect)
func (CIAreaLogarithmicHistogramObject) SetInputImage ¶
func (o CIAreaLogarithmicHistogramObject) SetInputImage(value ICIImage)
func (CIAreaLogarithmicHistogramObject) SetMaximumStop ¶
func (o CIAreaLogarithmicHistogramObject) SetMaximumStop(value float32)
func (CIAreaLogarithmicHistogramObject) SetMinimumStop ¶
func (o CIAreaLogarithmicHistogramObject) SetMinimumStop(value float32)
func (CIAreaLogarithmicHistogramObject) SetScale ¶
func (o CIAreaLogarithmicHistogramObject) SetScale(value float32)
type CIAreaMaximum ¶
type CIAreaMaximum interface {
objectivec.IObject
CIAreaReductionFilter
CIFilterProtocol
}
CIAreaMaximum protocol.
See: https://developer.apple.com/documentation/CoreImage/CIAreaMaximum
type CIAreaMaximumAlpha ¶
type CIAreaMaximumAlpha interface {
objectivec.IObject
CIAreaReductionFilter
CIFilterProtocol
}
CIAreaMaximumAlpha protocol.
See: https://developer.apple.com/documentation/CoreImage/CIAreaMaximumAlpha
type CIAreaMaximumAlphaObject ¶
type CIAreaMaximumAlphaObject struct {
objectivec.Object
}
CIAreaMaximumAlphaObject wraps an existing Objective-C object that conforms to the CIAreaMaximumAlpha protocol.
func CIAreaMaximumAlphaObjectFromID ¶
func CIAreaMaximumAlphaObjectFromID(id objc.ID) CIAreaMaximumAlphaObject
CIAreaMaximumAlphaObjectFromID constructs a CIAreaMaximumAlphaObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIAreaMaximumAlphaObject) BaseObject ¶
func (o CIAreaMaximumAlphaObject) BaseObject() objectivec.Object
func (CIAreaMaximumAlphaObject) Extent ¶
func (o CIAreaMaximumAlphaObject) Extent() corefoundation.CGRect
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/extent
func (CIAreaMaximumAlphaObject) InputImage ¶
func (o CIAreaMaximumAlphaObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/inputImage
func (CIAreaMaximumAlphaObject) OutputImage ¶
func (o CIAreaMaximumAlphaObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIAreaMaximumAlphaObject) SetExtent ¶
func (o CIAreaMaximumAlphaObject) SetExtent(value corefoundation.CGRect)
func (CIAreaMaximumAlphaObject) SetInputImage ¶
func (o CIAreaMaximumAlphaObject) SetInputImage(value ICIImage)
type CIAreaMaximumObject ¶
type CIAreaMaximumObject struct {
objectivec.Object
}
CIAreaMaximumObject wraps an existing Objective-C object that conforms to the CIAreaMaximum protocol.
func CIAreaMaximumObjectFromID ¶
func CIAreaMaximumObjectFromID(id objc.ID) CIAreaMaximumObject
CIAreaMaximumObjectFromID constructs a CIAreaMaximumObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIAreaMaximumObject) BaseObject ¶
func (o CIAreaMaximumObject) BaseObject() objectivec.Object
func (CIAreaMaximumObject) Extent ¶
func (o CIAreaMaximumObject) Extent() corefoundation.CGRect
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/extent
func (CIAreaMaximumObject) InputImage ¶
func (o CIAreaMaximumObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/inputImage
func (CIAreaMaximumObject) OutputImage ¶
func (o CIAreaMaximumObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIAreaMaximumObject) SetExtent ¶
func (o CIAreaMaximumObject) SetExtent(value corefoundation.CGRect)
func (CIAreaMaximumObject) SetInputImage ¶
func (o CIAreaMaximumObject) SetInputImage(value ICIImage)
type CIAreaMinMax ¶
type CIAreaMinMax interface {
objectivec.IObject
CIAreaReductionFilter
CIFilterProtocol
}
CIAreaMinMax protocol.
See: https://developer.apple.com/documentation/CoreImage/CIAreaMinMax
type CIAreaMinMaxObject ¶
type CIAreaMinMaxObject struct {
objectivec.Object
}
CIAreaMinMaxObject wraps an existing Objective-C object that conforms to the CIAreaMinMax protocol.
func CIAreaMinMaxObjectFromID ¶
func CIAreaMinMaxObjectFromID(id objc.ID) CIAreaMinMaxObject
CIAreaMinMaxObjectFromID constructs a CIAreaMinMaxObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIAreaMinMaxObject) BaseObject ¶
func (o CIAreaMinMaxObject) BaseObject() objectivec.Object
func (CIAreaMinMaxObject) Extent ¶
func (o CIAreaMinMaxObject) Extent() corefoundation.CGRect
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/extent
func (CIAreaMinMaxObject) InputImage ¶
func (o CIAreaMinMaxObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/inputImage
func (CIAreaMinMaxObject) OutputImage ¶
func (o CIAreaMinMaxObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIAreaMinMaxObject) SetExtent ¶
func (o CIAreaMinMaxObject) SetExtent(value corefoundation.CGRect)
func (CIAreaMinMaxObject) SetInputImage ¶
func (o CIAreaMinMaxObject) SetInputImage(value ICIImage)
type CIAreaMinMaxRed ¶
type CIAreaMinMaxRed interface {
objectivec.IObject
CIAreaReductionFilter
CIFilterProtocol
}
CIAreaMinMaxRed protocol.
See: https://developer.apple.com/documentation/CoreImage/CIAreaMinMaxRed
type CIAreaMinMaxRedObject ¶
type CIAreaMinMaxRedObject struct {
objectivec.Object
}
CIAreaMinMaxRedObject wraps an existing Objective-C object that conforms to the CIAreaMinMaxRed protocol.
func CIAreaMinMaxRedObjectFromID ¶
func CIAreaMinMaxRedObjectFromID(id objc.ID) CIAreaMinMaxRedObject
CIAreaMinMaxRedObjectFromID constructs a CIAreaMinMaxRedObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIAreaMinMaxRedObject) BaseObject ¶
func (o CIAreaMinMaxRedObject) BaseObject() objectivec.Object
func (CIAreaMinMaxRedObject) Extent ¶
func (o CIAreaMinMaxRedObject) Extent() corefoundation.CGRect
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/extent
func (CIAreaMinMaxRedObject) InputImage ¶
func (o CIAreaMinMaxRedObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/inputImage
func (CIAreaMinMaxRedObject) OutputImage ¶
func (o CIAreaMinMaxRedObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIAreaMinMaxRedObject) SetExtent ¶
func (o CIAreaMinMaxRedObject) SetExtent(value corefoundation.CGRect)
func (CIAreaMinMaxRedObject) SetInputImage ¶
func (o CIAreaMinMaxRedObject) SetInputImage(value ICIImage)
type CIAreaMinimum ¶
type CIAreaMinimum interface {
objectivec.IObject
CIAreaReductionFilter
CIFilterProtocol
}
CIAreaMinimum protocol.
See: https://developer.apple.com/documentation/CoreImage/CIAreaMinimum
type CIAreaMinimumAlpha ¶
type CIAreaMinimumAlpha interface {
objectivec.IObject
CIAreaReductionFilter
CIFilterProtocol
}
CIAreaMinimumAlpha protocol.
See: https://developer.apple.com/documentation/CoreImage/CIAreaMinimumAlpha
type CIAreaMinimumAlphaObject ¶
type CIAreaMinimumAlphaObject struct {
objectivec.Object
}
CIAreaMinimumAlphaObject wraps an existing Objective-C object that conforms to the CIAreaMinimumAlpha protocol.
func CIAreaMinimumAlphaObjectFromID ¶
func CIAreaMinimumAlphaObjectFromID(id objc.ID) CIAreaMinimumAlphaObject
CIAreaMinimumAlphaObjectFromID constructs a CIAreaMinimumAlphaObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIAreaMinimumAlphaObject) BaseObject ¶
func (o CIAreaMinimumAlphaObject) BaseObject() objectivec.Object
func (CIAreaMinimumAlphaObject) Extent ¶
func (o CIAreaMinimumAlphaObject) Extent() corefoundation.CGRect
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/extent
func (CIAreaMinimumAlphaObject) InputImage ¶
func (o CIAreaMinimumAlphaObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/inputImage
func (CIAreaMinimumAlphaObject) OutputImage ¶
func (o CIAreaMinimumAlphaObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIAreaMinimumAlphaObject) SetExtent ¶
func (o CIAreaMinimumAlphaObject) SetExtent(value corefoundation.CGRect)
func (CIAreaMinimumAlphaObject) SetInputImage ¶
func (o CIAreaMinimumAlphaObject) SetInputImage(value ICIImage)
type CIAreaMinimumObject ¶
type CIAreaMinimumObject struct {
objectivec.Object
}
CIAreaMinimumObject wraps an existing Objective-C object that conforms to the CIAreaMinimum protocol.
func CIAreaMinimumObjectFromID ¶
func CIAreaMinimumObjectFromID(id objc.ID) CIAreaMinimumObject
CIAreaMinimumObjectFromID constructs a CIAreaMinimumObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIAreaMinimumObject) BaseObject ¶
func (o CIAreaMinimumObject) BaseObject() objectivec.Object
func (CIAreaMinimumObject) Extent ¶
func (o CIAreaMinimumObject) Extent() corefoundation.CGRect
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/extent
func (CIAreaMinimumObject) InputImage ¶
func (o CIAreaMinimumObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/inputImage
func (CIAreaMinimumObject) OutputImage ¶
func (o CIAreaMinimumObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIAreaMinimumObject) SetExtent ¶
func (o CIAreaMinimumObject) SetExtent(value corefoundation.CGRect)
func (CIAreaMinimumObject) SetInputImage ¶
func (o CIAreaMinimumObject) SetInputImage(value ICIImage)
type CIAreaReductionFilter ¶
type CIAreaReductionFilter interface {
objectivec.IObject
CIFilterProtocol
// Extent protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/extent
Extent() corefoundation.CGRect
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/inputImage
InputImage() ICIImage
// extent protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/extent
SetExtent(value corefoundation.CGRect)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/inputImage
SetInputImage(value ICIImage)
}
CIAreaReductionFilter protocol.
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter
type CIAreaReductionFilterObject ¶
type CIAreaReductionFilterObject struct {
objectivec.Object
}
CIAreaReductionFilterObject wraps an existing Objective-C object that conforms to the CIAreaReductionFilter protocol.
func CIAreaReductionFilterObjectFromID ¶
func CIAreaReductionFilterObjectFromID(id objc.ID) CIAreaReductionFilterObject
CIAreaReductionFilterObjectFromID constructs a CIAreaReductionFilterObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIAreaReductionFilterObject) BaseObject ¶
func (o CIAreaReductionFilterObject) BaseObject() objectivec.Object
func (CIAreaReductionFilterObject) Extent ¶
func (o CIAreaReductionFilterObject) Extent() corefoundation.CGRect
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/extent
func (CIAreaReductionFilterObject) InputImage ¶
func (o CIAreaReductionFilterObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/inputImage
func (CIAreaReductionFilterObject) OutputImage ¶
func (o CIAreaReductionFilterObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIAreaReductionFilterObject) SetExtent ¶
func (o CIAreaReductionFilterObject) SetExtent(value corefoundation.CGRect)
func (CIAreaReductionFilterObject) SetInputImage ¶
func (o CIAreaReductionFilterObject) SetInputImage(value ICIImage)
type CIAttributedTextImageGenerator ¶
type CIAttributedTextImageGenerator interface {
objectivec.IObject
CIFilterProtocol
// The scale at which to render the text.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAttributedTextImageGenerator/scaleFactor
ScaleFactor() float32
// The text to render.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAttributedTextImageGenerator/text
Text() foundation.NSAttributedString
// Padding protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAttributedTextImageGenerator/padding
Padding() float32
// The scale at which to render the text.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAttributedTextImageGenerator/scaleFactor
SetScaleFactor(value float32)
// The text to render.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAttributedTextImageGenerator/text
SetText(value foundation.NSAttributedString)
// padding protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAttributedTextImageGenerator/padding
SetPadding(value float32)
}
The properties you use to configure an attributed-text image generator filter.
See: https://developer.apple.com/documentation/CoreImage/CIAttributedTextImageGenerator
type CIAttributedTextImageGeneratorObject ¶
type CIAttributedTextImageGeneratorObject struct {
objectivec.Object
}
CIAttributedTextImageGeneratorObject wraps an existing Objective-C object that conforms to the CIAttributedTextImageGenerator protocol.
func CIAttributedTextImageGeneratorObjectFromID ¶
func CIAttributedTextImageGeneratorObjectFromID(id objc.ID) CIAttributedTextImageGeneratorObject
CIAttributedTextImageGeneratorObjectFromID constructs a CIAttributedTextImageGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIAttributedTextImageGeneratorObject) BaseObject ¶
func (o CIAttributedTextImageGeneratorObject) BaseObject() objectivec.Object
func (CIAttributedTextImageGeneratorObject) OutputImage ¶
func (o CIAttributedTextImageGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIAttributedTextImageGeneratorObject) Padding ¶
func (o CIAttributedTextImageGeneratorObject) Padding() float32
See: https://developer.apple.com/documentation/CoreImage/CIAttributedTextImageGenerator/padding
func (CIAttributedTextImageGeneratorObject) ScaleFactor ¶
func (o CIAttributedTextImageGeneratorObject) ScaleFactor() float32
The scale at which to render the text.
See: https://developer.apple.com/documentation/CoreImage/CIAttributedTextImageGenerator/scaleFactor
func (CIAttributedTextImageGeneratorObject) SetPadding ¶
func (o CIAttributedTextImageGeneratorObject) SetPadding(value float32)
func (CIAttributedTextImageGeneratorObject) SetScaleFactor ¶
func (o CIAttributedTextImageGeneratorObject) SetScaleFactor(value float32)
func (CIAttributedTextImageGeneratorObject) SetText ¶
func (o CIAttributedTextImageGeneratorObject) SetText(value foundation.NSAttributedString)
func (CIAttributedTextImageGeneratorObject) Text ¶
func (o CIAttributedTextImageGeneratorObject) Text() foundation.NSAttributedString
The text to render.
See: https://developer.apple.com/documentation/CoreImage/CIAttributedTextImageGenerator/text
type CIAztecCodeDescriptor ¶
type CIAztecCodeDescriptor struct {
CIBarcodeDescriptor
}
A concrete subclass the Core Image Barcode Descriptor that represents an Aztec code symbol.
Overview ¶
An Aztec code symbol is a 2D barcode format defined by the ISO/IEC 24778:2008 standard. It encodes data in concentric square rings around a central bullseye pattern.
Creating a Descriptor ¶
- CIAztecCodeDescriptor.InitWithPayloadIsCompactLayerCountDataCodewordCount: Initializes an Aztec code descriptor for the given payload and parameters.
Examining a Descriptor ¶
- CIAztecCodeDescriptor.ErrorCorrectedPayload: The error-corrected payload that comprises the the Aztec code symbol.
- CIAztecCodeDescriptor.IsCompact: A Boolean value telling if the Aztec code is compact.
- CIAztecCodeDescriptor.LayerCount: The number of data layers in the Aztec code symbol.
- CIAztecCodeDescriptor.DataCodewordCount: The number of non-error-correction codewords carried by the Aztec code symbol.
See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeDescriptor
func CIAztecCodeDescriptorFromID ¶
func CIAztecCodeDescriptorFromID(id objc.ID) CIAztecCodeDescriptor
CIAztecCodeDescriptorFromID constructs a CIAztecCodeDescriptor from an objc.ID.
A concrete subclass the Core Image Barcode Descriptor that represents an Aztec code symbol.
func NewAztecCodeDescriptorWithPayloadIsCompactLayerCountDataCodewordCount ¶
func NewAztecCodeDescriptorWithPayloadIsCompactLayerCountDataCodewordCount(errorCorrectedPayload foundation.INSData, isCompact bool, layerCount int, dataCodewordCount int) CIAztecCodeDescriptor
Initializes an Aztec code descriptor for the given payload and parameters.
errorCorrectedPayload: The data to encode in the Aztec code symbol.
isCompact: A Boolean indicating whether or not the Aztec code is compact.
layerCount: The number of layers in the Aztec code, from 1 to 32.
dataCodewordCount: The number of codewords in the Aztec code, from 1 to 2048.
Return Value ¶
An initialized CIAztecCodeDescriptor instance or `nil` if the parameters are invalid
func NewCIAztecCodeDescriptor ¶
func NewCIAztecCodeDescriptor() CIAztecCodeDescriptor
NewCIAztecCodeDescriptor creates a new CIAztecCodeDescriptor instance.
func (CIAztecCodeDescriptor) Autorelease ¶
func (a CIAztecCodeDescriptor) Autorelease() CIAztecCodeDescriptor
Autorelease adds the receiver to the current autorelease pool.
func (CIAztecCodeDescriptor) DataCodewordCount ¶
func (a CIAztecCodeDescriptor) DataCodewordCount() int
The number of non-error-correction codewords carried by the Aztec code symbol.
Discussion ¶
Used to determine the level of error correction in conjunction with the number of data layers. Valid values are 1 to 2048. Compact symbols can have up to 64 message codewords.
func (CIAztecCodeDescriptor) ErrorCorrectedPayload ¶
func (a CIAztecCodeDescriptor) ErrorCorrectedPayload() foundation.INSData
The error-corrected payload that comprises the the Aztec code symbol.
Discussion ¶
Aztec Codes are formally specified in ISO/IEC 24778:2008(E).
The error corrected payload consists of the 6-, 8-, 10-, or 12-bit message codewords produced at the end of the step described in section 7.3.1.2 “Formation of data codewords”, which exists immediately prior to adding error correction. These codewords have dummy bits inserted to ensure that an entire codeword isn’t all 0’s or all 1’s. Clients will need to remove these extra bits as part of interpreting the payload.
func (CIAztecCodeDescriptor) Init ¶
func (a CIAztecCodeDescriptor) Init() CIAztecCodeDescriptor
Init initializes the instance.
func (CIAztecCodeDescriptor) InitWithPayloadIsCompactLayerCountDataCodewordCount ¶
func (a CIAztecCodeDescriptor) InitWithPayloadIsCompactLayerCountDataCodewordCount(errorCorrectedPayload foundation.INSData, isCompact bool, layerCount int, dataCodewordCount int) CIAztecCodeDescriptor
Initializes an Aztec code descriptor for the given payload and parameters.
errorCorrectedPayload: The data to encode in the Aztec code symbol.
isCompact: A Boolean indicating whether or not the Aztec code is compact.
layerCount: The number of layers in the Aztec code, from 1 to 32.
dataCodewordCount: The number of codewords in the Aztec code, from 1 to 2048.
Return Value ¶
An initialized CIAztecCodeDescriptor instance or `nil` if the parameters are invalid
func (CIAztecCodeDescriptor) IsCompact ¶
func (a CIAztecCodeDescriptor) IsCompact() bool
A Boolean value telling if the Aztec code is compact.
Discussion ¶
Compact Aztec symbols use one-fewer ring in the central finder pattern than full-range Aztec symbols of the same number of data layers.
See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeDescriptor/isCompact-swift.property
func (CIAztecCodeDescriptor) LayerCount ¶
func (a CIAztecCodeDescriptor) LayerCount() int
The number of data layers in the Aztec code symbol.
Discussion ¶
Combined with IsCompact, the number of data layers determines the number of modules in the Aztec Code symbol. Valid values range from 1 to 32. Compact symbols can have up to 4 data layers.
The number of data layers also determines the number of bits in each data codeword of the message carried by the Aztec Code symbol.
See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeDescriptor/layerCount-swift.property
type CIAztecCodeDescriptorClass ¶
type CIAztecCodeDescriptorClass struct {
// contains filtered or unexported fields
}
func GetCIAztecCodeDescriptorClass ¶
func GetCIAztecCodeDescriptorClass() CIAztecCodeDescriptorClass
GetCIAztecCodeDescriptorClass returns the class object for CIAztecCodeDescriptor.
func (CIAztecCodeDescriptorClass) Alloc ¶
func (cc CIAztecCodeDescriptorClass) Alloc() CIAztecCodeDescriptor
Alloc allocates memory for a new instance of the class.
func (CIAztecCodeDescriptorClass) DescriptorWithPayloadIsCompactLayerCountDataCodewordCount ¶
func (_CIAztecCodeDescriptorClass CIAztecCodeDescriptorClass) DescriptorWithPayloadIsCompactLayerCountDataCodewordCount(errorCorrectedPayload foundation.INSData, isCompact bool, layerCount int, dataCodewordCount int) CIAztecCodeDescriptor
Creates an Aztec code descriptor for the given payload and parameters.
errorCorrectedPayload: The data to encode in the Aztec code symbol.
isCompact: A Boolean indicating whether or not the Aztec code is compact.
layerCount: The number of layers in the Aztec code, from 1 to 32.
dataCodewordCount: The number of codewords in the Aztec code, from 1 to 2048.
Return Value ¶
An autoreleased CIAztecCodeDescriptor instance or `nil` if the parameters are invalid
type CIAztecCodeGenerator ¶
type CIAztecCodeGenerator interface {
objectivec.IObject
CIFilterProtocol
// A Boolean that specifies whether to force a compact style Aztec code.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeGenerator/compactStyle
CompactStyle() float32
// The Aztec error correction, a value from 5 to 95.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeGenerator/correctionLevel
CorrectionLevel() float32
// The number of Aztec layers, a value from 1 to 32.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeGenerator/layers
Layers() float32
// The message to encode in the Aztec barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeGenerator/message
Message() foundation.INSData
// A Boolean that specifies whether to force a compact style Aztec code.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeGenerator/compactStyle
SetCompactStyle(value float32)
// The Aztec error correction, a value from 5 to 95.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeGenerator/correctionLevel
SetCorrectionLevel(value float32)
// The number of Aztec layers, a value from 1 to 32.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeGenerator/layers
SetLayers(value float32)
// The message to encode in the Aztec barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeGenerator/message
SetMessage(value foundation.INSData)
}
The properties you use to configure an Aztec code generator filter.
See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeGenerator
type CIAztecCodeGeneratorObject ¶
type CIAztecCodeGeneratorObject struct {
objectivec.Object
}
CIAztecCodeGeneratorObject wraps an existing Objective-C object that conforms to the CIAztecCodeGenerator protocol.
func CIAztecCodeGeneratorObjectFromID ¶
func CIAztecCodeGeneratorObjectFromID(id objc.ID) CIAztecCodeGeneratorObject
CIAztecCodeGeneratorObjectFromID constructs a CIAztecCodeGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIAztecCodeGeneratorObject) BaseObject ¶
func (o CIAztecCodeGeneratorObject) BaseObject() objectivec.Object
func (CIAztecCodeGeneratorObject) CompactStyle ¶
func (o CIAztecCodeGeneratorObject) CompactStyle() float32
A Boolean that specifies whether to force a compact style Aztec code.
See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeGenerator/compactStyle
func (CIAztecCodeGeneratorObject) CorrectionLevel ¶
func (o CIAztecCodeGeneratorObject) CorrectionLevel() float32
The Aztec error correction, a value from 5 to 95.
See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeGenerator/correctionLevel
func (CIAztecCodeGeneratorObject) Layers ¶
func (o CIAztecCodeGeneratorObject) Layers() float32
The number of Aztec layers, a value from 1 to 32.
See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeGenerator/layers
func (CIAztecCodeGeneratorObject) Message ¶
func (o CIAztecCodeGeneratorObject) Message() foundation.INSData
The message to encode in the Aztec barcode.
See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeGenerator/message
func (CIAztecCodeGeneratorObject) OutputImage ¶
func (o CIAztecCodeGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIAztecCodeGeneratorObject) SetCompactStyle ¶
func (o CIAztecCodeGeneratorObject) SetCompactStyle(value float32)
func (CIAztecCodeGeneratorObject) SetCorrectionLevel ¶
func (o CIAztecCodeGeneratorObject) SetCorrectionLevel(value float32)
func (CIAztecCodeGeneratorObject) SetLayers ¶
func (o CIAztecCodeGeneratorObject) SetLayers(value float32)
func (CIAztecCodeGeneratorObject) SetMessage ¶
func (o CIAztecCodeGeneratorObject) SetMessage(value foundation.INSData)
type CIBarcodeDescriptor ¶
type CIBarcodeDescriptor struct {
objectivec.Object
}
An abstract base class that represents a machine-readable code’s attributes.
Overview ¶
Subclasses encapsulate the formal specification and fields specific to a code type. Each subclass is sufficient to recreate the unique symbol exactly as seen or used with a custom parser.
See: https://developer.apple.com/documentation/CoreImage/CIBarcodeDescriptor
func CIBarcodeDescriptorFromID ¶
func CIBarcodeDescriptorFromID(id objc.ID) CIBarcodeDescriptor
CIBarcodeDescriptorFromID constructs a CIBarcodeDescriptor from an objc.ID.
An abstract base class that represents a machine-readable code’s attributes.
func NewCIBarcodeDescriptor ¶
func NewCIBarcodeDescriptor() CIBarcodeDescriptor
NewCIBarcodeDescriptor creates a new CIBarcodeDescriptor instance.
func (CIBarcodeDescriptor) Autorelease ¶
func (b CIBarcodeDescriptor) Autorelease() CIBarcodeDescriptor
Autorelease adds the receiver to the current autorelease pool.
func (CIBarcodeDescriptor) EncodeWithCoder ¶
func (b CIBarcodeDescriptor) EncodeWithCoder(coder foundation.INSCoder)
func (CIBarcodeDescriptor) Init ¶
func (b CIBarcodeDescriptor) Init() CIBarcodeDescriptor
Init initializes the instance.
type CIBarcodeDescriptorClass ¶
type CIBarcodeDescriptorClass struct {
// contains filtered or unexported fields
}
func GetCIBarcodeDescriptorClass ¶
func GetCIBarcodeDescriptorClass() CIBarcodeDescriptorClass
GetCIBarcodeDescriptorClass returns the class object for CIBarcodeDescriptor.
func (CIBarcodeDescriptorClass) Alloc ¶
func (cc CIBarcodeDescriptorClass) Alloc() CIBarcodeDescriptor
Alloc allocates memory for a new instance of the class.
type CIBarcodeGenerator ¶
type CIBarcodeGenerator interface {
objectivec.IObject
CIFilterProtocol
// The barcode descriptor to generate an image for.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBarcodeGenerator/barcodeDescriptor
BarcodeDescriptor() ICIBarcodeDescriptor
// The barcode descriptor to generate an image for.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBarcodeGenerator/barcodeDescriptor
SetBarcodeDescriptor(value ICIBarcodeDescriptor)
}
The properties you use to configure a barcode generator filter.
See: https://developer.apple.com/documentation/CoreImage/CIBarcodeGenerator
type CIBarcodeGeneratorObject ¶
type CIBarcodeGeneratorObject struct {
objectivec.Object
}
CIBarcodeGeneratorObject wraps an existing Objective-C object that conforms to the CIBarcodeGenerator protocol.
func CIBarcodeGeneratorObjectFromID ¶
func CIBarcodeGeneratorObjectFromID(id objc.ID) CIBarcodeGeneratorObject
CIBarcodeGeneratorObjectFromID constructs a CIBarcodeGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIBarcodeGeneratorObject) BarcodeDescriptor ¶
func (o CIBarcodeGeneratorObject) BarcodeDescriptor() ICIBarcodeDescriptor
The barcode descriptor to generate an image for.
See: https://developer.apple.com/documentation/CoreImage/CIBarcodeGenerator/barcodeDescriptor
func (CIBarcodeGeneratorObject) BaseObject ¶
func (o CIBarcodeGeneratorObject) BaseObject() objectivec.Object
func (CIBarcodeGeneratorObject) OutputImage ¶
func (o CIBarcodeGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIBarcodeGeneratorObject) SetBarcodeDescriptor ¶
func (o CIBarcodeGeneratorObject) SetBarcodeDescriptor(value ICIBarcodeDescriptor)
type CIBarsSwipeTransition ¶
type CIBarsSwipeTransition interface {
objectivec.IObject
CIFilterProtocol
CITransitionFilter
// The angle, in radians, of the bars.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBarsSwipeTransition/angle
Angle() float32
// The offset of one bar with respect to another.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBarsSwipeTransition/barOffset
BarOffset() float32
// The width of each bar.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBarsSwipeTransition/width
Width() float32
// The angle, in radians, of the bars.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBarsSwipeTransition/angle
SetAngle(value float32)
// The offset of one bar with respect to another.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBarsSwipeTransition/barOffset
SetBarOffset(value float32)
// The width of each bar.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBarsSwipeTransition/width
SetWidth(value float32)
}
The properties you use to configure a bars swipe transition filter.
See: https://developer.apple.com/documentation/CoreImage/CIBarsSwipeTransition
type CIBarsSwipeTransitionObject ¶
type CIBarsSwipeTransitionObject struct {
objectivec.Object
}
CIBarsSwipeTransitionObject wraps an existing Objective-C object that conforms to the CIBarsSwipeTransition protocol.
func CIBarsSwipeTransitionObjectFromID ¶
func CIBarsSwipeTransitionObjectFromID(id objc.ID) CIBarsSwipeTransitionObject
CIBarsSwipeTransitionObjectFromID constructs a CIBarsSwipeTransitionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIBarsSwipeTransitionObject) Angle ¶
func (o CIBarsSwipeTransitionObject) Angle() float32
The angle, in radians, of the bars.
See: https://developer.apple.com/documentation/CoreImage/CIBarsSwipeTransition/angle
func (CIBarsSwipeTransitionObject) BarOffset ¶
func (o CIBarsSwipeTransitionObject) BarOffset() float32
The offset of one bar with respect to another.
See: https://developer.apple.com/documentation/CoreImage/CIBarsSwipeTransition/barOffset
func (CIBarsSwipeTransitionObject) BaseObject ¶
func (o CIBarsSwipeTransitionObject) BaseObject() objectivec.Object
func (CIBarsSwipeTransitionObject) InputImage ¶
func (o CIBarsSwipeTransitionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/inputImage
func (CIBarsSwipeTransitionObject) OutputImage ¶
func (o CIBarsSwipeTransitionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIBarsSwipeTransitionObject) SetAngle ¶
func (o CIBarsSwipeTransitionObject) SetAngle(value float32)
func (CIBarsSwipeTransitionObject) SetBarOffset ¶
func (o CIBarsSwipeTransitionObject) SetBarOffset(value float32)
func (CIBarsSwipeTransitionObject) SetInputImage ¶
func (o CIBarsSwipeTransitionObject) SetInputImage(value ICIImage)
func (CIBarsSwipeTransitionObject) SetTargetImage ¶
func (o CIBarsSwipeTransitionObject) SetTargetImage(value ICIImage)
func (CIBarsSwipeTransitionObject) SetTime ¶
func (o CIBarsSwipeTransitionObject) SetTime(value float32)
func (CIBarsSwipeTransitionObject) SetWidth ¶
func (o CIBarsSwipeTransitionObject) SetWidth(value float32)
func (CIBarsSwipeTransitionObject) TargetImage ¶
func (o CIBarsSwipeTransitionObject) TargetImage() ICIImage
The target image for a transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/targetImage
func (CIBarsSwipeTransitionObject) Time ¶
func (o CIBarsSwipeTransitionObject) Time() float32
The parametric time of the transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/time
func (CIBarsSwipeTransitionObject) Width ¶
func (o CIBarsSwipeTransitionObject) Width() float32
The width of each bar.
See: https://developer.apple.com/documentation/CoreImage/CIBarsSwipeTransition/width
type CIBicubicScaleTransform ¶
type CIBicubicScaleTransform interface {
objectivec.IObject
CIFilterProtocol
// The additional horizontal scaling factor to use on the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBicubicScaleTransform/aspectRatio
AspectRatio() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBicubicScaleTransform/inputImage
InputImage() ICIImage
// The value of B to use for the cubic resampling function.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBicubicScaleTransform/parameterB
ParameterB() float32
// The value of C to use for the cubic resampling function.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBicubicScaleTransform/parameterC
ParameterC() float32
// The scaling factor to use on the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBicubicScaleTransform/scale
Scale() float32
// The additional horizontal scaling factor to use on the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBicubicScaleTransform/aspectRatio
SetAspectRatio(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBicubicScaleTransform/inputImage
SetInputImage(value ICIImage)
// The value of B to use for the cubic resampling function.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBicubicScaleTransform/parameterB
SetParameterB(value float32)
// The value of C to use for the cubic resampling function.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBicubicScaleTransform/parameterC
SetParameterC(value float32)
// The scaling factor to use on the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBicubicScaleTransform/scale
SetScale(value float32)
}
The properties you use to configure a bicubic scale transform filter.
See: https://developer.apple.com/documentation/CoreImage/CIBicubicScaleTransform
type CIBicubicScaleTransformObject ¶
type CIBicubicScaleTransformObject struct {
objectivec.Object
}
CIBicubicScaleTransformObject wraps an existing Objective-C object that conforms to the CIBicubicScaleTransform protocol.
func CIBicubicScaleTransformObjectFromID ¶
func CIBicubicScaleTransformObjectFromID(id objc.ID) CIBicubicScaleTransformObject
CIBicubicScaleTransformObjectFromID constructs a CIBicubicScaleTransformObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIBicubicScaleTransformObject) AspectRatio ¶
func (o CIBicubicScaleTransformObject) AspectRatio() float32
The additional horizontal scaling factor to use on the image.
See: https://developer.apple.com/documentation/CoreImage/CIBicubicScaleTransform/aspectRatio
func (CIBicubicScaleTransformObject) BaseObject ¶
func (o CIBicubicScaleTransformObject) BaseObject() objectivec.Object
func (CIBicubicScaleTransformObject) InputImage ¶
func (o CIBicubicScaleTransformObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIBicubicScaleTransform/inputImage
func (CIBicubicScaleTransformObject) OutputImage ¶
func (o CIBicubicScaleTransformObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIBicubicScaleTransformObject) ParameterB ¶
func (o CIBicubicScaleTransformObject) ParameterB() float32
The value of B to use for the cubic resampling function.
See: https://developer.apple.com/documentation/CoreImage/CIBicubicScaleTransform/parameterB
func (CIBicubicScaleTransformObject) ParameterC ¶
func (o CIBicubicScaleTransformObject) ParameterC() float32
The value of C to use for the cubic resampling function.
See: https://developer.apple.com/documentation/CoreImage/CIBicubicScaleTransform/parameterC
func (CIBicubicScaleTransformObject) Scale ¶
func (o CIBicubicScaleTransformObject) Scale() float32
The scaling factor to use on the image.
See: https://developer.apple.com/documentation/CoreImage/CIBicubicScaleTransform/scale
func (CIBicubicScaleTransformObject) SetAspectRatio ¶
func (o CIBicubicScaleTransformObject) SetAspectRatio(value float32)
func (CIBicubicScaleTransformObject) SetInputImage ¶
func (o CIBicubicScaleTransformObject) SetInputImage(value ICIImage)
func (CIBicubicScaleTransformObject) SetParameterB ¶
func (o CIBicubicScaleTransformObject) SetParameterB(value float32)
func (CIBicubicScaleTransformObject) SetParameterC ¶
func (o CIBicubicScaleTransformObject) SetParameterC(value float32)
func (CIBicubicScaleTransformObject) SetScale ¶
func (o CIBicubicScaleTransformObject) SetScale(value float32)
type CIBlendKernel ¶
type CIBlendKernel struct {
CIColorKernel
}
A GPU-based image-processing routine that is optimized for blending two images.
Overview ¶
The blend kernel function has the following characteristics:
- It has two arguments of type `__sample` (Core Image Kernel Language) or `sample_t` (Metal Shading Language), representing the foreground and background images. - Its return type is `vec4` (Core Image Kernel Language) or `float4` (Metal Shading Language); that is, it returns a pixel color for the output image.
A blend kernel routine receives as input single-pixel colors (one sampled from each input image) and computes a final pixel color (output using the return keyword). For example, the Metal Shading Language source below implements a filter that returns the average of its two input images.
Generally, the extent of the output image is the union of the extents of the foreground and background images.
Applying a Kernel to Filter an Image ¶
- CIBlendKernel.ApplyWithForegroundBackground: Creates a new image using the blend kernel and specified foreground and background images.
Instance Methods ¶
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel
func CIBlendKernelFromID ¶
func CIBlendKernelFromID(id objc.ID) CIBlendKernel
CIBlendKernelFromID constructs a CIBlendKernel from an objc.ID.
A GPU-based image-processing routine that is optimized for blending two images.
func NewBlendKernelWithFunctionNameFromMetalLibraryDataError ¶
func NewBlendKernelWithFunctionNameFromMetalLibraryDataError(name string, data foundation.INSData) (CIBlendKernel, error)
Creates a single kernel object using a Metal Shading Language (MSL) kernel function.
Discussion ¶
- name: The name of the function in the Metal shading language. - data: A metallib file compiled with the Core Image Standard Library.
Discussion ¶
This method allows you to use MSL as the shader language for a Core Image kernel. Since MSL based kernels are precompiled, initializing them is faster than their than Core Image Kernel Language (CIKL) counterparts and Xcode can provide error diagnostics during development rather than at runtime. MSL is a more modern language than CIKL, and you can write shader code that uses arrays, structs and matrices.
MSL based kernels still support concatenation and tiling and can work in the same filter graph as traditional CIKL kernels.
Specifying Compiler and Linker Options ¶
To use MSL as the shader language for a CIKernel, you must specify some options in Xcode under the tab of your project’s target. The first option you need to specify is an `-fcikernel` flag in the Other Metal Compiler Flags option. The second is to add a user-defined setting with a key called `MTLLINKER_FLAGS` with a value of `-`
[media-2929842]
Creating a General Kernel in Swift ¶
The following code shows how you can create a general kernel based on a Metal function named `myKernel`.
The first step is to create a [Data] object that represents the default Metal library. If you have built this in Xcode, it will be called `default.Metallib()` and can be loaded using the Bundle type’s `url` method.
Using the representation of the Metal library and the function name `myKernel`, you initialize a CIKernel.
The code to create general, color, warp and blend filters is identical.
Metal Shading Language Extensions ¶
Core Image provides a set of language extensions to MSL in `CIKernelMetalLib.H()`. These extensions include three new data types for working with images: `sampler` (for accessing the input image), `sample_t` (represents a single color sample from the input image), and `destination` (for accessing the output image). The extensions also include convenience functions such as color conversion and premultiply / unpremultiply.
Whereas in CIKL, you typically called global functions when working with, for example, coordinates and samples, these functions are implemented as member functions on the new types.
The following table shows a summary of CIKL global functions and their equivalent MSL functions.
[Table data omitted]
func NewBlendKernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError ¶
func NewBlendKernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError(name string, data foundation.INSData, format int) (CIBlendKernel, error)
Creates a single kernel object using a Metal Shading Language kernel function with optional pixel format.
name: The name of the function in the Metal shading language.
data: A metallib file compiled with the Core Image Standard Library.
format: The pixel format of the output kernel.
Discussion ¶
This method allows you to use MSL as the shader language for a Core Image kernel. Since MSL based kernels are precompiled, initializing them is faster than their than Core Image Kernel Language (CIKL) counterparts and Xcode can provide error diagnostics during development rather than at runtime. MSL is a more modern language than CIKL, and you can write shader code that uses arrays, structs and matrices.
MSL based kernels still support concatenation and tiling and can work in the same filter graph as traditional CIKL kernels.
func NewCIBlendKernel ¶
func NewCIBlendKernel() CIBlendKernel
NewCIBlendKernel creates a new CIBlendKernel instance.
func (CIBlendKernel) ApplyWithForegroundBackground ¶
func (b CIBlendKernel) ApplyWithForegroundBackground(foreground ICIImage, background ICIImage) ICIImage
Creates a new image using the blend kernel and specified foreground and background images.
foreground: The first input image to be blended
background: The second input image to be blended
Return Value ¶
A CIImage blending the foreground and background images. Its extent will be the union of the foreground and background image extents.
Discussion ¶
The foreground and background images are not treated differently in the blending. You can think of them as equivalents A and B; the foreground is not given any precedence over the background.
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/apply(foreground:background:)
func (CIBlendKernel) ApplyWithForegroundBackgroundColorSpace ¶
func (b CIBlendKernel) ApplyWithForegroundBackgroundColorSpace(foreground ICIImage, background ICIImage, colorSpace coregraphics.CGColorSpaceRef) ICIImage
func (CIBlendKernel) Autorelease ¶
func (b CIBlendKernel) Autorelease() CIBlendKernel
Autorelease adds the receiver to the current autorelease pool.
func (CIBlendKernel) Init ¶
func (b CIBlendKernel) Init() CIBlendKernel
Init initializes the instance.
type CIBlendKernelClass ¶
type CIBlendKernelClass struct {
// contains filtered or unexported fields
}
func GetCIBlendKernelClass ¶
func GetCIBlendKernelClass() CIBlendKernelClass
GetCIBlendKernelClass returns the class object for CIBlendKernel.
func (CIBlendKernelClass) Alloc ¶
func (cc CIBlendKernelClass) Alloc() CIBlendKernel
Alloc allocates memory for a new instance of the class.
func (CIBlendKernelClass) Clear ¶
func (_CIBlendKernelClass CIBlendKernelClass) Clear() CIBlendKernel
A blend kernel that returns a clear color.
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/clear
func (CIBlendKernelClass) Color ¶
func (_CIBlendKernelClass CIBlendKernelClass) Color() CIBlendKernel
A blend kernel that uses the luminance values of the background with the hue and saturation values of the foreground image.
Discussion ¶
[media-2926849]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/color
func (CIBlendKernelClass) ColorBurn ¶
func (_CIBlendKernelClass CIBlendKernelClass) ColorBurn() CIBlendKernel
A blend kernel that darkens the background image samples to reflect the foreground image samples.
Discussion ¶
[media-2926850]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/colorBurn
func (CIBlendKernelClass) ColorDodge ¶
func (_CIBlendKernelClass CIBlendKernelClass) ColorDodge() CIBlendKernel
A blend kernel that brightens the background image samples to reflect the foreground image samples.
Discussion ¶
[media-2926851]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/colorDodge
func (CIBlendKernelClass) ComponentAdd ¶
func (_CIBlendKernelClass CIBlendKernelClass) ComponentAdd() CIBlendKernel
A blend kernel that adds color components to achieve a brightening effect.
Discussion ¶
[media-2926853]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/componentAdd
func (CIBlendKernelClass) ComponentMax ¶
func (_CIBlendKernelClass CIBlendKernelClass) ComponentMax() CIBlendKernel
A blend kernel that creates an image using the maximum values of two input images.
Discussion ¶
[media-2926854]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/componentMax
func (CIBlendKernelClass) ComponentMin ¶
func (_CIBlendKernelClass CIBlendKernelClass) ComponentMin() CIBlendKernel
A blend kernel that creates an image using the minimum values of two input images.
Discussion ¶
[media-2926852]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/componentMin
func (CIBlendKernelClass) ComponentMultiply ¶
func (_CIBlendKernelClass CIBlendKernelClass) ComponentMultiply() CIBlendKernel
A blend kernel that multiplies the color components of its input images.
Discussion ¶
[media-2926856]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/componentMultiply
func (CIBlendKernelClass) Darken ¶
func (_CIBlendKernelClass CIBlendKernelClass) Darken() CIBlendKernel
A blend kernel that creates an image using the darker values of two input images.
Discussion ¶
[media-2926855]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/darken
func (CIBlendKernelClass) DarkerColor ¶
func (_CIBlendKernelClass CIBlendKernelClass) DarkerColor() CIBlendKernel
A blend kernel that creates an image using the darker color of two input images.
Discussion ¶
[media-2926857]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/darkerColor
func (CIBlendKernelClass) Destination ¶
func (_CIBlendKernelClass CIBlendKernelClass) Destination() CIBlendKernel
A blend kernel that returns the background input image.
Discussion ¶
[media-2926859]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/destination
func (CIBlendKernelClass) DestinationAtop ¶
func (_CIBlendKernelClass CIBlendKernelClass) DestinationAtop() CIBlendKernel
A blend kernel that places the background over the foreground and crops based on the visibility of the foreground.
Discussion ¶
[media-2926858]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/destinationAtop
func (CIBlendKernelClass) DestinationIn ¶
func (_CIBlendKernelClass CIBlendKernelClass) DestinationIn() CIBlendKernel
A blend kernel that places the background over the foreground and crops based on the visibility of both.
Discussion ¶
[media-2926861]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/destinationIn
func (CIBlendKernelClass) DestinationOut ¶
func (_CIBlendKernelClass CIBlendKernelClass) DestinationOut() CIBlendKernel
A blend kernel that uses the background image to define what to take out of the foreground image.
Discussion ¶
[media-2926862]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/destinationOut
func (CIBlendKernelClass) DestinationOver ¶
func (_CIBlendKernelClass CIBlendKernelClass) DestinationOver() CIBlendKernel
A blend kernel that places the background image over the input foreground image.
Discussion ¶
[media-2926860]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/destinationOver
func (CIBlendKernelClass) Difference ¶
func (_CIBlendKernelClass CIBlendKernelClass) Difference() CIBlendKernel
A blend kernel that creates an image using the difference between the background and foreground images.
Discussion ¶
[media-2926863]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/difference
func (CIBlendKernelClass) Divide ¶
func (_CIBlendKernelClass CIBlendKernelClass) Divide() CIBlendKernel
A blend kernel that divides the background image sample color with the foreground image sample color.
Discussion ¶
[media-2926864]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/divide
func (CIBlendKernelClass) Exclusion ¶
func (_CIBlendKernelClass CIBlendKernelClass) Exclusion() CIBlendKernel
A blend kernel that produces an effect similar to difference blending but with lower contrast.
Discussion ¶
[media-2926865]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/exclusion
func (CIBlendKernelClass) ExclusiveOr ¶
func (_CIBlendKernelClass CIBlendKernelClass) ExclusiveOr() CIBlendKernel
A blend kernel that returns either the foreground or background image if the other contains a clear color.
Discussion ¶
[media-2926866]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/exclusiveOr
func (CIBlendKernelClass) HardLight ¶
func (_CIBlendKernelClass CIBlendKernelClass) HardLight() CIBlendKernel
A blend kernel that either multiplies or screens colors, depending on the source image sample color.
Discussion ¶
[media-2926867]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/hardLight
func (CIBlendKernelClass) HardMix ¶
func (_CIBlendKernelClass CIBlendKernelClass) HardMix() CIBlendKernel
A blend kernel that adds two images together, setting each color channel value to either 0 or 1.
Discussion ¶
[media-2926868]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/hardMix
func (CIBlendKernelClass) Hue ¶
func (_CIBlendKernelClass CIBlendKernelClass) Hue() CIBlendKernel
A blend kernel that uses the luminance and saturation values of the background image with the hue of the foreground image.
Discussion ¶
[media-2926871]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/hue
func (CIBlendKernelClass) Lighten ¶
func (_CIBlendKernelClass CIBlendKernelClass) Lighten() CIBlendKernel
A blend kernel that creates an image using the lighter values of two input images.
Discussion ¶
[media-2926869]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/lighten
func (CIBlendKernelClass) LighterColor ¶
func (_CIBlendKernelClass CIBlendKernelClass) LighterColor() CIBlendKernel
A blend kernel that creates an image using the lighter color of two input images.
Discussion ¶
[media-2926870]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/lighterColor
func (CIBlendKernelClass) LinearBurn ¶
func (_CIBlendKernelClass CIBlendKernelClass) LinearBurn() CIBlendKernel
A blend kernel that darkens the background image samples to reflect the foreground image samples while also increasing contrast.
Discussion ¶
[media-2926872]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/linearBurn
func (CIBlendKernelClass) LinearDodge ¶
func (_CIBlendKernelClass CIBlendKernelClass) LinearDodge() CIBlendKernel
A blend kernel that lightens the background image samples to reflect the foreground image samples while also increasing contrast.
Discussion ¶
[media-2926874]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/linearDodge
func (CIBlendKernelClass) LinearLight ¶
func (_CIBlendKernelClass CIBlendKernelClass) LinearLight() CIBlendKernel
A blend kernel that burns or dodges colors by changing brightness, depending on the blend color.
Discussion ¶
[media-2926873]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/linearLight
func (CIBlendKernelClass) Luminosity ¶
func (_CIBlendKernelClass CIBlendKernelClass) Luminosity() CIBlendKernel
A blend kernel that uses the hue and saturation of the background image with the luminance of the foreground image.
Discussion ¶
[media-2926875]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/luminosity
func (CIBlendKernelClass) Multiply ¶
func (_CIBlendKernelClass CIBlendKernelClass) Multiply() CIBlendKernel
A blend kernel that multiplies the background image sample color with the foreground image sample color.
Discussion ¶
[media-2926879]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/multiply
func (CIBlendKernelClass) Overlay ¶
func (_CIBlendKernelClass CIBlendKernelClass) Overlay() CIBlendKernel
A blend kernel that either multiplies or screens the foreground image samples with the background image samples, depending on the background color.
Discussion ¶
[media-2926878]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/overlay
func (CIBlendKernelClass) PinLight ¶
func (_CIBlendKernelClass CIBlendKernelClass) PinLight() CIBlendKernel
A blend kernel that conditionally replaces background image samples with source image samples depending on the brightness of the source image samples.
Discussion ¶
[media-2926877]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/pinLight
func (CIBlendKernelClass) Saturation ¶
func (_CIBlendKernelClass CIBlendKernelClass) Saturation() CIBlendKernel
A blend kernel that uses the luminance and hue values of the background image with the saturation of the foreground image.
Discussion ¶
[media-2926876]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/saturation
func (CIBlendKernelClass) Screen ¶
func (_CIBlendKernelClass CIBlendKernelClass) Screen() CIBlendKernel
A blend kernel that multiplies the inverse of the foreground image samples with the inverse of the background image samples.
Discussion ¶
[media-2926881]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/screen
func (CIBlendKernelClass) SoftLight ¶
func (_CIBlendKernelClass CIBlendKernelClass) SoftLight() CIBlendKernel
A blend kernel that either darkens or lightens colors, depending on the foreground image sample color.
Discussion ¶
[media-2926882]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/softLight
func (CIBlendKernelClass) Source ¶
func (_CIBlendKernelClass CIBlendKernelClass) Source() CIBlendKernel
A blend kernel that returns the foreground input image.
Discussion ¶
[media-2926885]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/source
func (CIBlendKernelClass) SourceAtop ¶
func (_CIBlendKernelClass CIBlendKernelClass) SourceAtop() CIBlendKernel
A blend kernel that places the foreground over the background and crops based on the visibility of the background.
Discussion ¶
[media-2926887]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/sourceAtop
func (CIBlendKernelClass) SourceIn ¶
func (_CIBlendKernelClass CIBlendKernelClass) SourceIn() CIBlendKernel
A blend kernel that places the foreground over the background and crops based on the visibility of both.
Discussion ¶
[media-2926883]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/sourceIn
func (CIBlendKernelClass) SourceOut ¶
func (_CIBlendKernelClass CIBlendKernelClass) SourceOut() CIBlendKernel
A blend kernel that uses the foreground image to define what to take out of the background image.
Discussion ¶
[media-2926886]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/sourceOut
func (CIBlendKernelClass) SourceOver ¶
func (_CIBlendKernelClass CIBlendKernelClass) SourceOver() CIBlendKernel
A blend kernel that places the foreground image over the input background image.
Discussion ¶
[media-2926884]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/sourceOver
func (CIBlendKernelClass) Subtract ¶
func (_CIBlendKernelClass CIBlendKernelClass) Subtract() CIBlendKernel
A blend kernel that subtracts the background image sample color from the foreground image sample color.
Discussion ¶
[media-2926848]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/subtract
func (CIBlendKernelClass) VividLight ¶
func (_CIBlendKernelClass CIBlendKernelClass) VividLight() CIBlendKernel
A blend kernel that burns or dodges colors by changing contrast, depending on the blend color.
Discussion ¶
[media-2926888]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel/vividLight
type CIBlendWithMask ¶
type CIBlendWithMask interface {
objectivec.IObject
CIFilterProtocol
// The image to use as a background image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlendWithMask/backgroundImage
BackgroundImage() ICIImage
// The image to use as a foreground image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlendWithMask/inputImage
InputImage() ICIImage
// A grayscale mask that defines the blend.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlendWithMask/maskImage
MaskImage() ICIImage
// The image to use as a background image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlendWithMask/backgroundImage
SetBackgroundImage(value ICIImage)
// The image to use as a foreground image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlendWithMask/inputImage
SetInputImage(value ICIImage)
// A grayscale mask that defines the blend.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlendWithMask/maskImage
SetMaskImage(value ICIImage)
}
The properties you use to configure a blend with mask filter.
See: https://developer.apple.com/documentation/CoreImage/CIBlendWithMask
type CIBlendWithMaskObject ¶
type CIBlendWithMaskObject struct {
objectivec.Object
}
CIBlendWithMaskObject wraps an existing Objective-C object that conforms to the CIBlendWithMask protocol.
func CIBlendWithMaskObjectFromID ¶
func CIBlendWithMaskObjectFromID(id objc.ID) CIBlendWithMaskObject
CIBlendWithMaskObjectFromID constructs a CIBlendWithMaskObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIBlendWithMaskObject) BackgroundImage ¶
func (o CIBlendWithMaskObject) BackgroundImage() ICIImage
The image to use as a background image.
See: https://developer.apple.com/documentation/CoreImage/CIBlendWithMask/backgroundImage
func (CIBlendWithMaskObject) BaseObject ¶
func (o CIBlendWithMaskObject) BaseObject() objectivec.Object
func (CIBlendWithMaskObject) InputImage ¶
func (o CIBlendWithMaskObject) InputImage() ICIImage
The image to use as a foreground image.
See: https://developer.apple.com/documentation/CoreImage/CIBlendWithMask/inputImage
func (CIBlendWithMaskObject) MaskImage ¶
func (o CIBlendWithMaskObject) MaskImage() ICIImage
A grayscale mask that defines the blend.
See: https://developer.apple.com/documentation/CoreImage/CIBlendWithMask/maskImage
func (CIBlendWithMaskObject) OutputImage ¶
func (o CIBlendWithMaskObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIBlendWithMaskObject) SetBackgroundImage ¶
func (o CIBlendWithMaskObject) SetBackgroundImage(value ICIImage)
func (CIBlendWithMaskObject) SetInputImage ¶
func (o CIBlendWithMaskObject) SetInputImage(value ICIImage)
func (CIBlendWithMaskObject) SetMaskImage ¶
func (o CIBlendWithMaskObject) SetMaskImage(value ICIImage)
type CIBloom ¶
type CIBloom interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBloom/inputImage
InputImage() ICIImage
// The intensity of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBloom/intensity
Intensity() float32
// The radius, in pixels, of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBloom/radius
Radius() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBloom/inputImage
SetInputImage(value ICIImage)
// The intensity of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBloom/intensity
SetIntensity(value float32)
// The radius, in pixels, of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBloom/radius
SetRadius(value float32)
}
The properties you use to configure a bloom filter.
See: https://developer.apple.com/documentation/CoreImage/CIBloom
type CIBloomObject ¶
type CIBloomObject struct {
objectivec.Object
}
CIBloomObject wraps an existing Objective-C object that conforms to the CIBloom protocol.
func CIBloomObjectFromID ¶
func CIBloomObjectFromID(id objc.ID) CIBloomObject
CIBloomObjectFromID constructs a CIBloomObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIBloomObject) BaseObject ¶
func (o CIBloomObject) BaseObject() objectivec.Object
func (CIBloomObject) InputImage ¶
func (o CIBloomObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIBloom/inputImage
func (CIBloomObject) Intensity ¶
func (o CIBloomObject) Intensity() float32
The intensity of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIBloom/intensity
func (CIBloomObject) OutputImage ¶
func (o CIBloomObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIBloomObject) Radius ¶
func (o CIBloomObject) Radius() float32
The radius, in pixels, of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIBloom/radius
func (CIBloomObject) SetInputImage ¶
func (o CIBloomObject) SetInputImage(value ICIImage)
func (CIBloomObject) SetIntensity ¶
func (o CIBloomObject) SetIntensity(value float32)
func (CIBloomObject) SetRadius ¶
func (o CIBloomObject) SetRadius(value float32)
type CIBlurredRectangleGenerator ¶
type CIBlurredRectangleGenerator interface {
objectivec.IObject
CIFilterProtocol
// Color protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlurredRectangleGenerator/color
Color() ICIColor
// Extent protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlurredRectangleGenerator/extent
Extent() corefoundation.CGRect
// Sigma protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlurredRectangleGenerator/sigma
Sigma() float32
// color protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlurredRectangleGenerator/color
SetColor(value ICIColor)
// extent protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlurredRectangleGenerator/extent
SetExtent(value corefoundation.CGRect)
// sigma protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlurredRectangleGenerator/sigma
SetSigma(value float32)
}
CIBlurredRectangleGenerator protocol.
See: https://developer.apple.com/documentation/CoreImage/CIBlurredRectangleGenerator
type CIBlurredRectangleGeneratorObject ¶
type CIBlurredRectangleGeneratorObject struct {
objectivec.Object
}
CIBlurredRectangleGeneratorObject wraps an existing Objective-C object that conforms to the CIBlurredRectangleGenerator protocol.
func CIBlurredRectangleGeneratorObjectFromID ¶
func CIBlurredRectangleGeneratorObjectFromID(id objc.ID) CIBlurredRectangleGeneratorObject
CIBlurredRectangleGeneratorObjectFromID constructs a CIBlurredRectangleGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIBlurredRectangleGeneratorObject) BaseObject ¶
func (o CIBlurredRectangleGeneratorObject) BaseObject() objectivec.Object
func (CIBlurredRectangleGeneratorObject) Color ¶
func (o CIBlurredRectangleGeneratorObject) Color() ICIColor
See: https://developer.apple.com/documentation/CoreImage/CIBlurredRectangleGenerator/color
func (CIBlurredRectangleGeneratorObject) Extent ¶
func (o CIBlurredRectangleGeneratorObject) Extent() corefoundation.CGRect
See: https://developer.apple.com/documentation/CoreImage/CIBlurredRectangleGenerator/extent
func (CIBlurredRectangleGeneratorObject) OutputImage ¶
func (o CIBlurredRectangleGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIBlurredRectangleGeneratorObject) SetColor ¶
func (o CIBlurredRectangleGeneratorObject) SetColor(value ICIColor)
func (CIBlurredRectangleGeneratorObject) SetExtent ¶
func (o CIBlurredRectangleGeneratorObject) SetExtent(value corefoundation.CGRect)
func (CIBlurredRectangleGeneratorObject) SetSigma ¶
func (o CIBlurredRectangleGeneratorObject) SetSigma(value float32)
func (CIBlurredRectangleGeneratorObject) Sigma ¶
func (o CIBlurredRectangleGeneratorObject) Sigma() float32
See: https://developer.apple.com/documentation/CoreImage/CIBlurredRectangleGenerator/sigma
type CIBlurredRoundedRectangleGenerator ¶
type CIBlurredRoundedRectangleGenerator interface {
objectivec.IObject
CIFilterProtocol
// A color.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlurredRoundedRectangleGenerator/color
Color() ICIColor
// A rectangle that defines the extent of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlurredRoundedRectangleGenerator/extent
Extent() corefoundation.CGRect
// The distance from the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlurredRoundedRectangleGenerator/radius
Radius() float32
// The sigma for a gaussian blur.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlurredRoundedRectangleGenerator/sigma
Sigma() float32
// A value to control the smoothness of the transition between the curved and linear edges of the shape.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlurredRoundedRectangleGenerator/smoothness
Smoothness() float32
// A color.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlurredRoundedRectangleGenerator/color
SetColor(value ICIColor)
// A rectangle that defines the extent of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlurredRoundedRectangleGenerator/extent
SetExtent(value corefoundation.CGRect)
// The distance from the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlurredRoundedRectangleGenerator/radius
SetRadius(value float32)
// The sigma for a gaussian blur.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlurredRoundedRectangleGenerator/sigma
SetSigma(value float32)
// A value to control the smoothness of the transition between the curved and linear edges of the shape.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBlurredRoundedRectangleGenerator/smoothness
SetSmoothness(value float32)
}
The protocol for the Blurred Rounded Rectangle Generator filter.
See: https://developer.apple.com/documentation/CoreImage/CIBlurredRoundedRectangleGenerator
type CIBlurredRoundedRectangleGeneratorObject ¶
type CIBlurredRoundedRectangleGeneratorObject struct {
objectivec.Object
}
CIBlurredRoundedRectangleGeneratorObject wraps an existing Objective-C object that conforms to the CIBlurredRoundedRectangleGenerator protocol.
func CIBlurredRoundedRectangleGeneratorObjectFromID ¶
func CIBlurredRoundedRectangleGeneratorObjectFromID(id objc.ID) CIBlurredRoundedRectangleGeneratorObject
CIBlurredRoundedRectangleGeneratorObjectFromID constructs a CIBlurredRoundedRectangleGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIBlurredRoundedRectangleGeneratorObject) BaseObject ¶
func (o CIBlurredRoundedRectangleGeneratorObject) BaseObject() objectivec.Object
func (CIBlurredRoundedRectangleGeneratorObject) Color ¶
func (o CIBlurredRoundedRectangleGeneratorObject) Color() ICIColor
A color.
See: https://developer.apple.com/documentation/CoreImage/CIBlurredRoundedRectangleGenerator/color
func (CIBlurredRoundedRectangleGeneratorObject) Extent ¶
func (o CIBlurredRoundedRectangleGeneratorObject) Extent() corefoundation.CGRect
A rectangle that defines the extent of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIBlurredRoundedRectangleGenerator/extent
func (CIBlurredRoundedRectangleGeneratorObject) OutputImage ¶
func (o CIBlurredRoundedRectangleGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIBlurredRoundedRectangleGeneratorObject) Radius ¶
func (o CIBlurredRoundedRectangleGeneratorObject) Radius() float32
The distance from the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIBlurredRoundedRectangleGenerator/radius
func (CIBlurredRoundedRectangleGeneratorObject) SetColor ¶
func (o CIBlurredRoundedRectangleGeneratorObject) SetColor(value ICIColor)
func (CIBlurredRoundedRectangleGeneratorObject) SetExtent ¶
func (o CIBlurredRoundedRectangleGeneratorObject) SetExtent(value corefoundation.CGRect)
func (CIBlurredRoundedRectangleGeneratorObject) SetRadius ¶
func (o CIBlurredRoundedRectangleGeneratorObject) SetRadius(value float32)
func (CIBlurredRoundedRectangleGeneratorObject) SetSigma ¶
func (o CIBlurredRoundedRectangleGeneratorObject) SetSigma(value float32)
func (CIBlurredRoundedRectangleGeneratorObject) SetSmoothness ¶
func (o CIBlurredRoundedRectangleGeneratorObject) SetSmoothness(value float32)
func (CIBlurredRoundedRectangleGeneratorObject) Sigma ¶
func (o CIBlurredRoundedRectangleGeneratorObject) Sigma() float32
The sigma for a gaussian blur.
See: https://developer.apple.com/documentation/CoreImage/CIBlurredRoundedRectangleGenerator/sigma
func (CIBlurredRoundedRectangleGeneratorObject) Smoothness ¶
func (o CIBlurredRoundedRectangleGeneratorObject) Smoothness() float32
A value to control the smoothness of the transition between the curved and linear edges of the shape.
See: https://developer.apple.com/documentation/CoreImage/CIBlurredRoundedRectangleGenerator/smoothness
type CIBokehBlur ¶
type CIBokehBlur interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBokehBlur/inputImage
InputImage() ICIImage
// The radius of the blur, in pixels.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBokehBlur/radius
Radius() float32
// The amount of extra emphasis at the ring of the bokeh.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBokehBlur/ringAmount
RingAmount() float32
// The radius of the extra emphasis at the ring of the bokeh.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBokehBlur/ringSize
RingSize() float32
// The softness of the bokeh effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBokehBlur/softness
Softness() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBokehBlur/inputImage
SetInputImage(value ICIImage)
// The radius of the blur, in pixels.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBokehBlur/radius
SetRadius(value float32)
// The amount of extra emphasis at the ring of the bokeh.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBokehBlur/ringAmount
SetRingAmount(value float32)
// The radius of the extra emphasis at the ring of the bokeh.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBokehBlur/ringSize
SetRingSize(value float32)
// The softness of the bokeh effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBokehBlur/softness
SetSoftness(value float32)
}
The properties you use to configure a bokeh blur filter.
See: https://developer.apple.com/documentation/CoreImage/CIBokehBlur
type CIBokehBlurObject ¶
type CIBokehBlurObject struct {
objectivec.Object
}
CIBokehBlurObject wraps an existing Objective-C object that conforms to the CIBokehBlur protocol.
func CIBokehBlurObjectFromID ¶
func CIBokehBlurObjectFromID(id objc.ID) CIBokehBlurObject
CIBokehBlurObjectFromID constructs a CIBokehBlurObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIBokehBlurObject) BaseObject ¶
func (o CIBokehBlurObject) BaseObject() objectivec.Object
func (CIBokehBlurObject) InputImage ¶
func (o CIBokehBlurObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIBokehBlur/inputImage
func (CIBokehBlurObject) OutputImage ¶
func (o CIBokehBlurObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIBokehBlurObject) Radius ¶
func (o CIBokehBlurObject) Radius() float32
The radius of the blur, in pixels.
See: https://developer.apple.com/documentation/CoreImage/CIBokehBlur/radius
func (CIBokehBlurObject) RingAmount ¶
func (o CIBokehBlurObject) RingAmount() float32
The amount of extra emphasis at the ring of the bokeh.
See: https://developer.apple.com/documentation/CoreImage/CIBokehBlur/ringAmount
func (CIBokehBlurObject) RingSize ¶
func (o CIBokehBlurObject) RingSize() float32
The radius of the extra emphasis at the ring of the bokeh.
See: https://developer.apple.com/documentation/CoreImage/CIBokehBlur/ringSize
func (CIBokehBlurObject) SetInputImage ¶
func (o CIBokehBlurObject) SetInputImage(value ICIImage)
func (CIBokehBlurObject) SetRadius ¶
func (o CIBokehBlurObject) SetRadius(value float32)
func (CIBokehBlurObject) SetRingAmount ¶
func (o CIBokehBlurObject) SetRingAmount(value float32)
func (CIBokehBlurObject) SetRingSize ¶
func (o CIBokehBlurObject) SetRingSize(value float32)
func (CIBokehBlurObject) SetSoftness ¶
func (o CIBokehBlurObject) SetSoftness(value float32)
func (CIBokehBlurObject) Softness ¶
func (o CIBokehBlurObject) Softness() float32
The softness of the bokeh effect.
See: https://developer.apple.com/documentation/CoreImage/CIBokehBlur/softness
type CIBoxBlur ¶
type CIBoxBlur interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBoxBlur/inputImage
InputImage() ICIImage
// The radius of the blur, in pixels.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBoxBlur/radius
Radius() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBoxBlur/inputImage
SetInputImage(value ICIImage)
// The radius of the blur, in pixels.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBoxBlur/radius
SetRadius(value float32)
}
The properties you use to configure a box blur filter.
See: https://developer.apple.com/documentation/CoreImage/CIBoxBlur
type CIBoxBlurObject ¶
type CIBoxBlurObject struct {
objectivec.Object
}
CIBoxBlurObject wraps an existing Objective-C object that conforms to the CIBoxBlur protocol.
func CIBoxBlurObjectFromID ¶
func CIBoxBlurObjectFromID(id objc.ID) CIBoxBlurObject
CIBoxBlurObjectFromID constructs a CIBoxBlurObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIBoxBlurObject) BaseObject ¶
func (o CIBoxBlurObject) BaseObject() objectivec.Object
func (CIBoxBlurObject) InputImage ¶
func (o CIBoxBlurObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIBoxBlur/inputImage
func (CIBoxBlurObject) OutputImage ¶
func (o CIBoxBlurObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIBoxBlurObject) Radius ¶
func (o CIBoxBlurObject) Radius() float32
The radius of the blur, in pixels.
See: https://developer.apple.com/documentation/CoreImage/CIBoxBlur/radius
func (CIBoxBlurObject) SetInputImage ¶
func (o CIBoxBlurObject) SetInputImage(value ICIImage)
func (CIBoxBlurObject) SetRadius ¶
func (o CIBoxBlurObject) SetRadius(value float32)
type CIBumpDistortion ¶
type CIBumpDistortion interface {
objectivec.IObject
CIFilterProtocol
// Center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortion/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortion/inputImage
InputImage() ICIImage
// Radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortion/radius
Radius() float32
// Scale protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortion/scale
Scale() float32
// center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortion/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortion/inputImage
SetInputImage(value ICIImage)
// radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortion/radius
SetRadius(value float32)
// scale protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortion/scale
SetScale(value float32)
}
CIBumpDistortion protocol.
See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortion
type CIBumpDistortionLinear ¶
type CIBumpDistortionLinear interface {
objectivec.IObject
CIFilterProtocol
// Angle protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortionLinear/angle
Angle() float32
// Center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortionLinear/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortionLinear/inputImage
InputImage() ICIImage
// Radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortionLinear/radius
Radius() float32
// Scale protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortionLinear/scale
Scale() float32
// angle protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortionLinear/angle
SetAngle(value float32)
// center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortionLinear/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortionLinear/inputImage
SetInputImage(value ICIImage)
// radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortionLinear/radius
SetRadius(value float32)
// scale protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortionLinear/scale
SetScale(value float32)
}
CIBumpDistortionLinear protocol.
See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortionLinear
type CIBumpDistortionLinearObject ¶
type CIBumpDistortionLinearObject struct {
objectivec.Object
}
CIBumpDistortionLinearObject wraps an existing Objective-C object that conforms to the CIBumpDistortionLinear protocol.
func CIBumpDistortionLinearObjectFromID ¶
func CIBumpDistortionLinearObjectFromID(id objc.ID) CIBumpDistortionLinearObject
CIBumpDistortionLinearObjectFromID constructs a CIBumpDistortionLinearObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIBumpDistortionLinearObject) Angle ¶
func (o CIBumpDistortionLinearObject) Angle() float32
See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortionLinear/angle
func (CIBumpDistortionLinearObject) BaseObject ¶
func (o CIBumpDistortionLinearObject) BaseObject() objectivec.Object
func (CIBumpDistortionLinearObject) Center ¶
func (o CIBumpDistortionLinearObject) Center() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortionLinear/center
func (CIBumpDistortionLinearObject) InputImage ¶
func (o CIBumpDistortionLinearObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortionLinear/inputImage
func (CIBumpDistortionLinearObject) OutputImage ¶
func (o CIBumpDistortionLinearObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIBumpDistortionLinearObject) Radius ¶
func (o CIBumpDistortionLinearObject) Radius() float32
See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortionLinear/radius
func (CIBumpDistortionLinearObject) Scale ¶
func (o CIBumpDistortionLinearObject) Scale() float32
See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortionLinear/scale
func (CIBumpDistortionLinearObject) SetAngle ¶
func (o CIBumpDistortionLinearObject) SetAngle(value float32)
func (CIBumpDistortionLinearObject) SetCenter ¶
func (o CIBumpDistortionLinearObject) SetCenter(value corefoundation.CGPoint)
func (CIBumpDistortionLinearObject) SetInputImage ¶
func (o CIBumpDistortionLinearObject) SetInputImage(value ICIImage)
func (CIBumpDistortionLinearObject) SetRadius ¶
func (o CIBumpDistortionLinearObject) SetRadius(value float32)
func (CIBumpDistortionLinearObject) SetScale ¶
func (o CIBumpDistortionLinearObject) SetScale(value float32)
type CIBumpDistortionObject ¶
type CIBumpDistortionObject struct {
objectivec.Object
}
CIBumpDistortionObject wraps an existing Objective-C object that conforms to the CIBumpDistortion protocol.
func CIBumpDistortionObjectFromID ¶
func CIBumpDistortionObjectFromID(id objc.ID) CIBumpDistortionObject
CIBumpDistortionObjectFromID constructs a CIBumpDistortionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIBumpDistortionObject) BaseObject ¶
func (o CIBumpDistortionObject) BaseObject() objectivec.Object
func (CIBumpDistortionObject) Center ¶
func (o CIBumpDistortionObject) Center() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortion/center
func (CIBumpDistortionObject) InputImage ¶
func (o CIBumpDistortionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortion/inputImage
func (CIBumpDistortionObject) OutputImage ¶
func (o CIBumpDistortionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIBumpDistortionObject) Radius ¶
func (o CIBumpDistortionObject) Radius() float32
See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortion/radius
func (CIBumpDistortionObject) Scale ¶
func (o CIBumpDistortionObject) Scale() float32
See: https://developer.apple.com/documentation/CoreImage/CIBumpDistortion/scale
func (CIBumpDistortionObject) SetCenter ¶
func (o CIBumpDistortionObject) SetCenter(value corefoundation.CGPoint)
func (CIBumpDistortionObject) SetInputImage ¶
func (o CIBumpDistortionObject) SetInputImage(value ICIImage)
func (CIBumpDistortionObject) SetRadius ¶
func (o CIBumpDistortionObject) SetRadius(value float32)
func (CIBumpDistortionObject) SetScale ¶
func (o CIBumpDistortionObject) SetScale(value float32)
type CICMYKHalftone ¶
type CICMYKHalftone interface {
objectivec.IObject
CIFilterProtocol
// The angle of the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/angle
Angle() float32
// The x and y position to use as the center of the halftone pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/center
Center() corefoundation.CGPoint
// The gray component replacement value.
//
// See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/grayComponentReplacement
GrayComponentReplacement() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/inputImage
InputImage() ICIImage
// The sharpness of the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/sharpness
Sharpness() float32
// The under color removal value.
//
// See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/underColorRemoval
UnderColorRemoval() float32
// The distance between dots in the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/width
Width() float32
// The angle of the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/angle
SetAngle(value float32)
// The x and y position to use as the center of the halftone pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/center
SetCenter(value corefoundation.CGPoint)
// The gray component replacement value.
//
// See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/grayComponentReplacement
SetGrayComponentReplacement(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/inputImage
SetInputImage(value ICIImage)
// The sharpness of the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/sharpness
SetSharpness(value float32)
// The under color removal value.
//
// See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/underColorRemoval
SetUnderColorRemoval(value float32)
// The distance between dots in the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/width
SetWidth(value float32)
}
The properties you use to configure a CMYK halftone filter.
See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone
type CICMYKHalftoneObject ¶
type CICMYKHalftoneObject struct {
objectivec.Object
}
CICMYKHalftoneObject wraps an existing Objective-C object that conforms to the CICMYKHalftone protocol.
func CICMYKHalftoneObjectFromID ¶
func CICMYKHalftoneObjectFromID(id objc.ID) CICMYKHalftoneObject
CICMYKHalftoneObjectFromID constructs a CICMYKHalftoneObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CICMYKHalftoneObject) Angle ¶
func (o CICMYKHalftoneObject) Angle() float32
The angle of the pattern.
See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/angle
func (CICMYKHalftoneObject) BaseObject ¶
func (o CICMYKHalftoneObject) BaseObject() objectivec.Object
func (CICMYKHalftoneObject) Center ¶
func (o CICMYKHalftoneObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the halftone pattern.
See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/center
func (CICMYKHalftoneObject) GrayComponentReplacement ¶
func (o CICMYKHalftoneObject) GrayComponentReplacement() float32
The gray component replacement value.
See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/grayComponentReplacement
func (CICMYKHalftoneObject) InputImage ¶
func (o CICMYKHalftoneObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/inputImage
func (CICMYKHalftoneObject) OutputImage ¶
func (o CICMYKHalftoneObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CICMYKHalftoneObject) SetAngle ¶
func (o CICMYKHalftoneObject) SetAngle(value float32)
func (CICMYKHalftoneObject) SetCenter ¶
func (o CICMYKHalftoneObject) SetCenter(value corefoundation.CGPoint)
func (CICMYKHalftoneObject) SetGrayComponentReplacement ¶
func (o CICMYKHalftoneObject) SetGrayComponentReplacement(value float32)
func (CICMYKHalftoneObject) SetInputImage ¶
func (o CICMYKHalftoneObject) SetInputImage(value ICIImage)
func (CICMYKHalftoneObject) SetSharpness ¶
func (o CICMYKHalftoneObject) SetSharpness(value float32)
func (CICMYKHalftoneObject) SetUnderColorRemoval ¶
func (o CICMYKHalftoneObject) SetUnderColorRemoval(value float32)
func (CICMYKHalftoneObject) SetWidth ¶
func (o CICMYKHalftoneObject) SetWidth(value float32)
func (CICMYKHalftoneObject) Sharpness ¶
func (o CICMYKHalftoneObject) Sharpness() float32
The sharpness of the pattern.
See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/sharpness
func (CICMYKHalftoneObject) UnderColorRemoval ¶
func (o CICMYKHalftoneObject) UnderColorRemoval() float32
The under color removal value.
See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/underColorRemoval
func (CICMYKHalftoneObject) Width ¶
func (o CICMYKHalftoneObject) Width() float32
The distance between dots in the pattern.
See: https://developer.apple.com/documentation/CoreImage/CICMYKHalftone/width
type CICannyEdgeDetector ¶
type CICannyEdgeDetector interface {
objectivec.IObject
CIFilterProtocol
// GaussianSigma protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector/gaussianSigma
GaussianSigma() float32
// HysteresisPasses protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector/hysteresisPasses
HysteresisPasses() int
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector/inputImage
InputImage() ICIImage
// Perceptual protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector/perceptual
Perceptual() bool
// ThresholdHigh protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector/thresholdHigh
ThresholdHigh() float32
// ThresholdLow protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector/thresholdLow
ThresholdLow() float32
// gaussianSigma protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector/gaussianSigma
SetGaussianSigma(value float32)
// hysteresisPasses protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector/hysteresisPasses
SetHysteresisPasses(value int)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector/inputImage
SetInputImage(value ICIImage)
// perceptual protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector/perceptual
SetPerceptual(value bool)
// thresholdHigh protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector/thresholdHigh
SetThresholdHigh(value float32)
// thresholdLow protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector/thresholdLow
SetThresholdLow(value float32)
}
CICannyEdgeDetector protocol.
See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector
type CICannyEdgeDetectorObject ¶
type CICannyEdgeDetectorObject struct {
objectivec.Object
}
CICannyEdgeDetectorObject wraps an existing Objective-C object that conforms to the CICannyEdgeDetector protocol.
func CICannyEdgeDetectorObjectFromID ¶
func CICannyEdgeDetectorObjectFromID(id objc.ID) CICannyEdgeDetectorObject
CICannyEdgeDetectorObjectFromID constructs a CICannyEdgeDetectorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CICannyEdgeDetectorObject) BaseObject ¶
func (o CICannyEdgeDetectorObject) BaseObject() objectivec.Object
func (CICannyEdgeDetectorObject) GaussianSigma ¶
func (o CICannyEdgeDetectorObject) GaussianSigma() float32
See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector/gaussianSigma
func (CICannyEdgeDetectorObject) HysteresisPasses ¶
func (o CICannyEdgeDetectorObject) HysteresisPasses() int
See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector/hysteresisPasses
func (CICannyEdgeDetectorObject) InputImage ¶
func (o CICannyEdgeDetectorObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector/inputImage
func (CICannyEdgeDetectorObject) OutputImage ¶
func (o CICannyEdgeDetectorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CICannyEdgeDetectorObject) Perceptual ¶
func (o CICannyEdgeDetectorObject) Perceptual() bool
See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector/perceptual
func (CICannyEdgeDetectorObject) SetGaussianSigma ¶
func (o CICannyEdgeDetectorObject) SetGaussianSigma(value float32)
func (CICannyEdgeDetectorObject) SetHysteresisPasses ¶
func (o CICannyEdgeDetectorObject) SetHysteresisPasses(value int)
func (CICannyEdgeDetectorObject) SetInputImage ¶
func (o CICannyEdgeDetectorObject) SetInputImage(value ICIImage)
func (CICannyEdgeDetectorObject) SetPerceptual ¶
func (o CICannyEdgeDetectorObject) SetPerceptual(value bool)
func (CICannyEdgeDetectorObject) SetThresholdHigh ¶
func (o CICannyEdgeDetectorObject) SetThresholdHigh(value float32)
func (CICannyEdgeDetectorObject) SetThresholdLow ¶
func (o CICannyEdgeDetectorObject) SetThresholdLow(value float32)
func (CICannyEdgeDetectorObject) ThresholdHigh ¶
func (o CICannyEdgeDetectorObject) ThresholdHigh() float32
See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector/thresholdHigh
func (CICannyEdgeDetectorObject) ThresholdLow ¶
func (o CICannyEdgeDetectorObject) ThresholdLow() float32
See: https://developer.apple.com/documentation/CoreImage/CICannyEdgeDetector/thresholdLow
type CICheckerboardGenerator ¶
type CICheckerboardGenerator interface {
objectivec.IObject
CIFilterProtocol
// The center of the effect as x and y coordinates.
//
// See: https://developer.apple.com/documentation/CoreImage/CICheckerboardGenerator/center
Center() corefoundation.CGPoint
// A color to use for the first set of squares.
//
// See: https://developer.apple.com/documentation/CoreImage/CICheckerboardGenerator/color0
Color0() ICIColor
// A color to use for the second set of squares.
//
// See: https://developer.apple.com/documentation/CoreImage/CICheckerboardGenerator/color1
Color1() ICIColor
// The sharpness of the edges in the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CICheckerboardGenerator/sharpness
Sharpness() float32
// The width of the squares in the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CICheckerboardGenerator/width
Width() float32
// The center of the effect as x and y coordinates.
//
// See: https://developer.apple.com/documentation/CoreImage/CICheckerboardGenerator/center
SetCenter(value corefoundation.CGPoint)
// A color to use for the first set of squares.
//
// See: https://developer.apple.com/documentation/CoreImage/CICheckerboardGenerator/color0
SetColor0(value ICIColor)
// A color to use for the second set of squares.
//
// See: https://developer.apple.com/documentation/CoreImage/CICheckerboardGenerator/color1
SetColor1(value ICIColor)
// The sharpness of the edges in the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CICheckerboardGenerator/sharpness
SetSharpness(value float32)
// The width of the squares in the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CICheckerboardGenerator/width
SetWidth(value float32)
}
The properties you use to configure a checkerboard generator filter.
See: https://developer.apple.com/documentation/CoreImage/CICheckerboardGenerator
type CICheckerboardGeneratorObject ¶
type CICheckerboardGeneratorObject struct {
objectivec.Object
}
CICheckerboardGeneratorObject wraps an existing Objective-C object that conforms to the CICheckerboardGenerator protocol.
func CICheckerboardGeneratorObjectFromID ¶
func CICheckerboardGeneratorObjectFromID(id objc.ID) CICheckerboardGeneratorObject
CICheckerboardGeneratorObjectFromID constructs a CICheckerboardGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CICheckerboardGeneratorObject) BaseObject ¶
func (o CICheckerboardGeneratorObject) BaseObject() objectivec.Object
func (CICheckerboardGeneratorObject) Center ¶
func (o CICheckerboardGeneratorObject) Center() corefoundation.CGPoint
The center of the effect as x and y coordinates.
See: https://developer.apple.com/documentation/CoreImage/CICheckerboardGenerator/center
func (CICheckerboardGeneratorObject) Color0 ¶
func (o CICheckerboardGeneratorObject) Color0() ICIColor
A color to use for the first set of squares.
See: https://developer.apple.com/documentation/CoreImage/CICheckerboardGenerator/color0
func (CICheckerboardGeneratorObject) Color1 ¶
func (o CICheckerboardGeneratorObject) Color1() ICIColor
A color to use for the second set of squares.
See: https://developer.apple.com/documentation/CoreImage/CICheckerboardGenerator/color1
func (CICheckerboardGeneratorObject) OutputImage ¶
func (o CICheckerboardGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CICheckerboardGeneratorObject) SetCenter ¶
func (o CICheckerboardGeneratorObject) SetCenter(value corefoundation.CGPoint)
func (CICheckerboardGeneratorObject) SetColor0 ¶
func (o CICheckerboardGeneratorObject) SetColor0(value ICIColor)
func (CICheckerboardGeneratorObject) SetColor1 ¶
func (o CICheckerboardGeneratorObject) SetColor1(value ICIColor)
func (CICheckerboardGeneratorObject) SetSharpness ¶
func (o CICheckerboardGeneratorObject) SetSharpness(value float32)
func (CICheckerboardGeneratorObject) SetWidth ¶
func (o CICheckerboardGeneratorObject) SetWidth(value float32)
func (CICheckerboardGeneratorObject) Sharpness ¶
func (o CICheckerboardGeneratorObject) Sharpness() float32
The sharpness of the edges in the pattern.
See: https://developer.apple.com/documentation/CoreImage/CICheckerboardGenerator/sharpness
func (CICheckerboardGeneratorObject) Width ¶
func (o CICheckerboardGeneratorObject) Width() float32
The width of the squares in the pattern.
See: https://developer.apple.com/documentation/CoreImage/CICheckerboardGenerator/width
type CICircleSplashDistortion ¶
type CICircleSplashDistortion interface {
objectivec.IObject
CIFilterProtocol
// Center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircleSplashDistortion/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircleSplashDistortion/inputImage
InputImage() ICIImage
// Radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircleSplashDistortion/radius
Radius() float32
// center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircleSplashDistortion/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircleSplashDistortion/inputImage
SetInputImage(value ICIImage)
// radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircleSplashDistortion/radius
SetRadius(value float32)
}
CICircleSplashDistortion protocol.
See: https://developer.apple.com/documentation/CoreImage/CICircleSplashDistortion
type CICircleSplashDistortionObject ¶
type CICircleSplashDistortionObject struct {
objectivec.Object
}
CICircleSplashDistortionObject wraps an existing Objective-C object that conforms to the CICircleSplashDistortion protocol.
func CICircleSplashDistortionObjectFromID ¶
func CICircleSplashDistortionObjectFromID(id objc.ID) CICircleSplashDistortionObject
CICircleSplashDistortionObjectFromID constructs a CICircleSplashDistortionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CICircleSplashDistortionObject) BaseObject ¶
func (o CICircleSplashDistortionObject) BaseObject() objectivec.Object
func (CICircleSplashDistortionObject) Center ¶
func (o CICircleSplashDistortionObject) Center() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CICircleSplashDistortion/center
func (CICircleSplashDistortionObject) InputImage ¶
func (o CICircleSplashDistortionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CICircleSplashDistortion/inputImage
func (CICircleSplashDistortionObject) OutputImage ¶
func (o CICircleSplashDistortionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CICircleSplashDistortionObject) Radius ¶
func (o CICircleSplashDistortionObject) Radius() float32
See: https://developer.apple.com/documentation/CoreImage/CICircleSplashDistortion/radius
func (CICircleSplashDistortionObject) SetCenter ¶
func (o CICircleSplashDistortionObject) SetCenter(value corefoundation.CGPoint)
func (CICircleSplashDistortionObject) SetInputImage ¶
func (o CICircleSplashDistortionObject) SetInputImage(value ICIImage)
func (CICircleSplashDistortionObject) SetRadius ¶
func (o CICircleSplashDistortionObject) SetRadius(value float32)
type CICircularScreen ¶
type CICircularScreen interface {
objectivec.IObject
CIFilterProtocol
// The x and y position to use as the center of the circular screen pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircularScreen/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircularScreen/inputImage
InputImage() ICIImage
// The sharpness of the circles.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircularScreen/sharpness
Sharpness() float32
// The distance between each circle in the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircularScreen/width
Width() float32
// The x and y position to use as the center of the circular screen pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircularScreen/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircularScreen/inputImage
SetInputImage(value ICIImage)
// The sharpness of the circles.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircularScreen/sharpness
SetSharpness(value float32)
// The distance between each circle in the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircularScreen/width
SetWidth(value float32)
}
The properties you use to configure a circular screen filter.
See: https://developer.apple.com/documentation/CoreImage/CICircularScreen
type CICircularScreenObject ¶
type CICircularScreenObject struct {
objectivec.Object
}
CICircularScreenObject wraps an existing Objective-C object that conforms to the CICircularScreen protocol.
func CICircularScreenObjectFromID ¶
func CICircularScreenObjectFromID(id objc.ID) CICircularScreenObject
CICircularScreenObjectFromID constructs a CICircularScreenObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CICircularScreenObject) BaseObject ¶
func (o CICircularScreenObject) BaseObject() objectivec.Object
func (CICircularScreenObject) Center ¶
func (o CICircularScreenObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the circular screen pattern.
See: https://developer.apple.com/documentation/CoreImage/CICircularScreen/center
func (CICircularScreenObject) InputImage ¶
func (o CICircularScreenObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CICircularScreen/inputImage
func (CICircularScreenObject) OutputImage ¶
func (o CICircularScreenObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CICircularScreenObject) SetCenter ¶
func (o CICircularScreenObject) SetCenter(value corefoundation.CGPoint)
func (CICircularScreenObject) SetInputImage ¶
func (o CICircularScreenObject) SetInputImage(value ICIImage)
func (CICircularScreenObject) SetSharpness ¶
func (o CICircularScreenObject) SetSharpness(value float32)
func (CICircularScreenObject) SetWidth ¶
func (o CICircularScreenObject) SetWidth(value float32)
func (CICircularScreenObject) Sharpness ¶
func (o CICircularScreenObject) Sharpness() float32
The sharpness of the circles.
See: https://developer.apple.com/documentation/CoreImage/CICircularScreen/sharpness
func (CICircularScreenObject) Width ¶
func (o CICircularScreenObject) Width() float32
The distance between each circle in the pattern.
See: https://developer.apple.com/documentation/CoreImage/CICircularScreen/width
type CICircularWrap ¶
type CICircularWrap interface {
objectivec.IObject
CIFilterProtocol
// Angle protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircularWrap/angle
Angle() float32
// Center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircularWrap/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircularWrap/inputImage
InputImage() ICIImage
// Radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircularWrap/radius
Radius() float32
// angle protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircularWrap/angle
SetAngle(value float32)
// center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircularWrap/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircularWrap/inputImage
SetInputImage(value ICIImage)
// radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CICircularWrap/radius
SetRadius(value float32)
}
CICircularWrap protocol.
See: https://developer.apple.com/documentation/CoreImage/CICircularWrap
type CICircularWrapObject ¶
type CICircularWrapObject struct {
objectivec.Object
}
CICircularWrapObject wraps an existing Objective-C object that conforms to the CICircularWrap protocol.
func CICircularWrapObjectFromID ¶
func CICircularWrapObjectFromID(id objc.ID) CICircularWrapObject
CICircularWrapObjectFromID constructs a CICircularWrapObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CICircularWrapObject) Angle ¶
func (o CICircularWrapObject) Angle() float32
See: https://developer.apple.com/documentation/CoreImage/CICircularWrap/angle
func (CICircularWrapObject) BaseObject ¶
func (o CICircularWrapObject) BaseObject() objectivec.Object
func (CICircularWrapObject) Center ¶
func (o CICircularWrapObject) Center() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CICircularWrap/center
func (CICircularWrapObject) InputImage ¶
func (o CICircularWrapObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CICircularWrap/inputImage
func (CICircularWrapObject) OutputImage ¶
func (o CICircularWrapObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CICircularWrapObject) Radius ¶
func (o CICircularWrapObject) Radius() float32
See: https://developer.apple.com/documentation/CoreImage/CICircularWrap/radius
func (CICircularWrapObject) SetAngle ¶
func (o CICircularWrapObject) SetAngle(value float32)
func (CICircularWrapObject) SetCenter ¶
func (o CICircularWrapObject) SetCenter(value corefoundation.CGPoint)
func (CICircularWrapObject) SetInputImage ¶
func (o CICircularWrapObject) SetInputImage(value ICIImage)
func (CICircularWrapObject) SetRadius ¶
func (o CICircularWrapObject) SetRadius(value float32)
type CICode128BarcodeGenerator ¶
type CICode128BarcodeGenerator interface {
objectivec.IObject
CIFilterProtocol
// The height, in pixels, of the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CICode128BarcodeGenerator/barcodeHeight
BarcodeHeight() float32
// The message to encode in the Code 128 barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CICode128BarcodeGenerator/message
Message() foundation.INSData
// The number of empty white pixels that should surround the barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CICode128BarcodeGenerator/quietSpace
QuietSpace() float32
// The height, in pixels, of the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CICode128BarcodeGenerator/barcodeHeight
SetBarcodeHeight(value float32)
// The message to encode in the Code 128 barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CICode128BarcodeGenerator/message
SetMessage(value foundation.INSData)
// The number of empty white pixels that should surround the barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CICode128BarcodeGenerator/quietSpace
SetQuietSpace(value float32)
}
The properties you use to configure a Code 128 barcode generator filter.
See: https://developer.apple.com/documentation/CoreImage/CICode128BarcodeGenerator
type CICode128BarcodeGeneratorObject ¶
type CICode128BarcodeGeneratorObject struct {
objectivec.Object
}
CICode128BarcodeGeneratorObject wraps an existing Objective-C object that conforms to the CICode128BarcodeGenerator protocol.
func CICode128BarcodeGeneratorObjectFromID ¶
func CICode128BarcodeGeneratorObjectFromID(id objc.ID) CICode128BarcodeGeneratorObject
CICode128BarcodeGeneratorObjectFromID constructs a CICode128BarcodeGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CICode128BarcodeGeneratorObject) BarcodeHeight ¶
func (o CICode128BarcodeGeneratorObject) BarcodeHeight() float32
The height, in pixels, of the generated barcode.
See: https://developer.apple.com/documentation/CoreImage/CICode128BarcodeGenerator/barcodeHeight
func (CICode128BarcodeGeneratorObject) BaseObject ¶
func (o CICode128BarcodeGeneratorObject) BaseObject() objectivec.Object
func (CICode128BarcodeGeneratorObject) Message ¶
func (o CICode128BarcodeGeneratorObject) Message() foundation.INSData
The message to encode in the Code 128 barcode.
See: https://developer.apple.com/documentation/CoreImage/CICode128BarcodeGenerator/message
func (CICode128BarcodeGeneratorObject) OutputImage ¶
func (o CICode128BarcodeGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CICode128BarcodeGeneratorObject) QuietSpace ¶
func (o CICode128BarcodeGeneratorObject) QuietSpace() float32
The number of empty white pixels that should surround the barcode.
See: https://developer.apple.com/documentation/CoreImage/CICode128BarcodeGenerator/quietSpace
func (CICode128BarcodeGeneratorObject) SetBarcodeHeight ¶
func (o CICode128BarcodeGeneratorObject) SetBarcodeHeight(value float32)
func (CICode128BarcodeGeneratorObject) SetMessage ¶
func (o CICode128BarcodeGeneratorObject) SetMessage(value foundation.INSData)
func (CICode128BarcodeGeneratorObject) SetQuietSpace ¶
func (o CICode128BarcodeGeneratorObject) SetQuietSpace(value float32)
type CIColor ¶
type CIColor struct {
objectivec.Object
}
The Core Image class that defines a color object.
Overview ¶
Use CIColor instances in conjunction with other Core Image classes, such as CIFilter and CIKernel. Many of the built-in Core Image filters have one or more CIColor inputs that you can set to affect the filter’s behavior.
Color Model ¶
A color is defined as a N-dimensional model where each dimension’s color component is represented by intensity values. A color component may also be referred to as a color channel. An RGB color model, for example, is three-dimensional and the red, green, and blue component intensities define each unique color.
Color Space ¶
A color is also defined by a color space that locates the axes of N-dimensional model within the greater volume of human perceivable colors. Core Image uses CGColorSpace instances to specify a variety of different color spaces such as sRGB, P3, BT.2020, etc. The CGColorSpace also defines if the color space is coded linearly or in a non-linear perceptual curve. (For more information on CGColorSpace see CGColorSpace)
Color Range ¶
Standard dynamic range (SDR) color color component values range from `0.0` to `1.0`, with `0.0` representing an 0% of that component and `1.0` representing 100%. In contrast, high dynamic range (HDR) color values can be less than `0.0` (for more saturation) or greater than `1.0` (for more brightness).
Color Opacity ¶
CIColor instances also have an alpha component, which represents the opacity of the color, with 0.0 meaning completely transparent and 1.0 meaning completely opaque. If a color does not have an explicit alpha component, Core Image assumes that the alpha component equals 1.0. With CIColor that color components values are not premultiplied. So for example, a semi-transparent pure red CIColor is represented by RGB `1.0,0.0,0.0` and A `0.5`. In contrast color components values in CIImage buffers or read in CIKernel samplers are premultiplied by default.
Initializing Color Objects ¶
- CIColor.InitWithCGColor: Create a Core Image color object with a Core Graphics color object.
- CIColor.InitWithColor
- CIColor.InitWithRedGreenBlueAlpha: Initialize a Core Image color object in the sRGB color space with the specified red, green, blue, and alpha component values.
- CIColor.InitWithRedGreenBlueColorSpace: Initialize a Core Image color object with the specified red, green, and blue component values as measured in the specified color space.
- CIColor.InitWithRedGreenBlueAlphaColorSpace: Initialize a Core Image color object with the specified red, green, and blue component values as measured in the specified color space.
Getting Color Components ¶
- CIColor.ColorSpace: Returns the CGColorSpace associated with the color
- CIColor.Components: Return a pointer to an array of [CGFloat] values including alpha.
- CIColor.NumberOfComponents: Returns the color components of the color including alpha.
- CIColor.Red: Returns the unpremultiplied red component of the color.
- CIColor.Green: Returns the unpremultiplied green component of the color.
- CIColor.Blue: Returns the unpremultiplied blue component of the color.
- CIColor.Alpha: Returns the alpha value of the color.
- CIColor.StringRepresentation: Returns a formatted string with the unpremultiplied color and alpha components of the color.
See: https://developer.apple.com/documentation/CoreImage/CIColor
func CIColorFromID ¶
CIColorFromID constructs a CIColor from an objc.ID.
The Core Image class that defines a color object.
func NewColorWithCGColor ¶
func NewColorWithCGColor(color coregraphics.CGColorRef) CIColor
Create a Core Image color object with a Core Graphics color object.
Return Value ¶
An initialized CIColor instance.
See: https://developer.apple.com/documentation/CoreImage/CIColor/init(cgColor:)
func NewColorWithColor ¶
func NewColorWithColor(color objectivec.IObject) CIColor
See: https://developer.apple.com/documentation/CoreImage/CIColor/init(color:)
func NewColorWithRedGreenBlue ¶
Initialize a Core Image color object in the sRGB color space with the specified red, green, and blue component values.
red: The color’s unpremultiplied red component value between 0 and 1.
green: The color’s unpremultiplied green component value between 0 and 1.
blue: The color’s unpremultiplied blue component value between 0 and 1.
Return Value ¶
An initialized CIColor instance.
Discussion ¶
On macOS before 10.10, the CIColor’s color space will be Generic RGB.
See: https://developer.apple.com/documentation/CoreImage/CIColor/initWithRed:green:blue:
func NewColorWithRedGreenBlueAlpha ¶
Initialize a Core Image color object in the sRGB color space with the specified red, green, blue, and alpha component values.
red: The color’s unpremultiplied red component value between 0 and 1.
green: The color’s unpremultiplied green component value between 0 and 1.
blue: The color’s unpremultiplied blue component value between 0 and 1.
alpha: The color’s alpha (opacity) value between 0 and 1.
Return Value ¶
An initialized CIColor instance.
Discussion ¶
On macOS before 10.10, the CIColor’s color space will be Generic RGB.
See: https://developer.apple.com/documentation/CoreImage/CIColor/init(red:green:blue:alpha:)
func NewColorWithRedGreenBlueAlphaColorSpace ¶
func NewColorWithRedGreenBlueAlphaColorSpace(red float64, green float64, blue float64, alpha float64, colorSpace coregraphics.CGColorSpaceRef) CIColor
Initialize a Core Image color object with the specified red, green, and blue component values as measured in the specified color space.
red: The color’s unpremultiplied red component value.
green: The color’s unpremultiplied green component value.
blue: The color’s unpremultiplied blue component value.
alpha: The color’s alpha (opacity) value between 0 and 1.
colorSpace: The color’s [CGColorSpace] which must have `kCGColorSpaceModelRGB`.
Return Value ¶
An initialized CIColor instance.
Discussion ¶
This will return null if the [CGColorSpace] is not `kCGColorSpaceModelRGB`. The RGB values can be outside the `0...1` range if the [CGColorSpace] is unclamped.
See: https://developer.apple.com/documentation/CoreImage/CIColor/init(red:green:blue:alpha:colorSpace:)
func NewColorWithRedGreenBlueColorSpace ¶
func NewColorWithRedGreenBlueColorSpace(red float64, green float64, blue float64, colorSpace coregraphics.CGColorSpaceRef) CIColor
Initialize a Core Image color object with the specified red, green, and blue component values as measured in the specified color space.
red: The color’s unpremultiplied red component value.
green: The color’s unpremultiplied green component value.
blue: The color’s unpremultiplied blue component value.
colorSpace: The color’s [CGColorSpace] which must have `kCGColorSpaceModelRGB`.
Return Value ¶
An initialized CIColor instance.
Discussion ¶
This will return null if the [CGColorSpace] is not `kCGColorSpaceModelRGB`. The RGB values can be outside the `0...1` range if the [CGColorSpace] is unclamped.
See: https://developer.apple.com/documentation/CoreImage/CIColor/init(red:green:blue:colorSpace:)
func NewColorWithString ¶
Create a Core Image color object in the sRGB color space using a string containing the RGBA color component values.
representation: A string that contains color and alpha float values. For example, the string: `"0.5 0.7 0.3 1.0"` indicates an RGB color whose components are 50% red, 70% green, 30% blue, and 100% opaque. If the string contains only 3 float values, the alpha component will be `1.0` If the string contains no float values, then `/CIColor/clearColor` will be returned.
Return Value ¶
An autoreleased CIColor instance.
Discussion ¶
On macOS before 10.10, the CIColor’s color space will be Generic RGB.
See: https://developer.apple.com/documentation/CoreImage/CIColor/init(string:)
func (CIColor) Alpha ¶
Returns the alpha value of the color.
See: https://developer.apple.com/documentation/CoreImage/CIColor/alpha
func (CIColor) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
func (CIColor) Blue ¶
Returns the unpremultiplied blue component of the color.
Discussion ¶
If the CIColor was initialized with a [CGColor] in a non-RGB [CGColorSpace] then it will be converted to sRGB to get the green component.
See: https://developer.apple.com/documentation/CoreImage/CIColor/blue-swift.property
func (CIColor) ColorSpace ¶
func (c CIColor) ColorSpace() coregraphics.CGColorSpaceRef
Returns the [CGColorSpace] associated with the color
See: https://developer.apple.com/documentation/CoreImage/CIColor/colorSpace
func (CIColor) Components ¶
Return a pointer to an array of [CGFloat] values including alpha.
Discussion ¶
Typically this array will contain `4` [CGFloat] values for red, green, blue, and alpha. If the CIColor was initialized with a [CGColor] then returned pointer will be the same as calling `CGColorGetComponents()`
See: https://developer.apple.com/documentation/CoreImage/CIColor/components
func (CIColor) EncodeWithCoder ¶
func (c CIColor) EncodeWithCoder(coder foundation.INSCoder)
func (CIColor) Green ¶
Returns the unpremultiplied green component of the color.
Discussion ¶
If the CIColor was initialized with a [CGColor] in a non-RGB [CGColorSpace] then it will be converted to sRGB to get the green component.
See: https://developer.apple.com/documentation/CoreImage/CIColor/green-swift.property
func (CIColor) InitWithCGColor ¶
func (c CIColor) InitWithCGColor(color coregraphics.CGColorRef) CIColor
Create a Core Image color object with a Core Graphics color object.
Return Value ¶
An initialized CIColor instance.
See: https://developer.apple.com/documentation/CoreImage/CIColor/init(cgColor:)
func (CIColor) InitWithColor ¶
func (c CIColor) InitWithColor(color objectivec.IObject) CIColor
See: https://developer.apple.com/documentation/CoreImage/CIColor/init(color:)
func (CIColor) InitWithRedGreenBlue ¶
Initialize a Core Image color object in the sRGB color space with the specified red, green, and blue component values.
red: The color’s unpremultiplied red component value between 0 and 1.
green: The color’s unpremultiplied green component value between 0 and 1.
blue: The color’s unpremultiplied blue component value between 0 and 1.
Return Value ¶
An initialized CIColor instance.
Discussion ¶
On macOS before 10.10, the CIColor’s color space will be Generic RGB.
See: https://developer.apple.com/documentation/CoreImage/CIColor/initWithRed:green:blue:
func (CIColor) InitWithRedGreenBlueAlpha ¶
func (c CIColor) InitWithRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64) CIColor
Initialize a Core Image color object in the sRGB color space with the specified red, green, blue, and alpha component values.
red: The color’s unpremultiplied red component value between 0 and 1.
green: The color’s unpremultiplied green component value between 0 and 1.
blue: The color’s unpremultiplied blue component value between 0 and 1.
alpha: The color’s alpha (opacity) value between 0 and 1.
Return Value ¶
An initialized CIColor instance.
Discussion ¶
On macOS before 10.10, the CIColor’s color space will be Generic RGB.
See: https://developer.apple.com/documentation/CoreImage/CIColor/init(red:green:blue:alpha:)
func (CIColor) InitWithRedGreenBlueAlphaColorSpace ¶
func (c CIColor) InitWithRedGreenBlueAlphaColorSpace(red float64, green float64, blue float64, alpha float64, colorSpace coregraphics.CGColorSpaceRef) CIColor
Initialize a Core Image color object with the specified red, green, and blue component values as measured in the specified color space.
red: The color’s unpremultiplied red component value.
green: The color’s unpremultiplied green component value.
blue: The color’s unpremultiplied blue component value.
alpha: The color’s alpha (opacity) value between 0 and 1.
colorSpace: The color’s [CGColorSpace] which must have `kCGColorSpaceModelRGB`.
Return Value ¶
An initialized CIColor instance.
Discussion ¶
This will return null if the [CGColorSpace] is not `kCGColorSpaceModelRGB`. The RGB values can be outside the `0...1` range if the [CGColorSpace] is unclamped.
See: https://developer.apple.com/documentation/CoreImage/CIColor/init(red:green:blue:alpha:colorSpace:)
func (CIColor) InitWithRedGreenBlueColorSpace ¶
func (c CIColor) InitWithRedGreenBlueColorSpace(red float64, green float64, blue float64, colorSpace coregraphics.CGColorSpaceRef) CIColor
Initialize a Core Image color object with the specified red, green, and blue component values as measured in the specified color space.
red: The color’s unpremultiplied red component value.
green: The color’s unpremultiplied green component value.
blue: The color’s unpremultiplied blue component value.
colorSpace: The color’s [CGColorSpace] which must have `kCGColorSpaceModelRGB`.
Return Value ¶
An initialized CIColor instance.
Discussion ¶
This will return null if the [CGColorSpace] is not `kCGColorSpaceModelRGB`. The RGB values can be outside the `0...1` range if the [CGColorSpace] is unclamped.
See: https://developer.apple.com/documentation/CoreImage/CIColor/init(red:green:blue:colorSpace:)
func (CIColor) NumberOfComponents ¶
Returns the color components of the color including alpha.
Discussion ¶
This number includes the alpha component if the color contains one.
Typically this number will be `4` for red, green, blue, and alpha. If the CIColor was initialized with a [CGColor] then the number will be the same as calling `CGColorGetNumberOfComponents()`
See: https://developer.apple.com/documentation/CoreImage/CIColor/numberOfComponents
func (CIColor) Red ¶
Returns the unpremultiplied red component of the color.
Discussion ¶
If the CIColor was initialized with a [CGColor] in a non-RGB [CGColorSpace] then it will be converted to sRGB to get the red component.
See: https://developer.apple.com/documentation/CoreImage/CIColor/red-swift.property
func (CIColor) StringRepresentation ¶
Returns a formatted string with the unpremultiplied color and alpha components of the color.
Discussion ¶
The string representation always has four components: red, green, blue, and alpha.
Some example string representations of colors:
[Table data omitted]
To create a CIColor instance from a string representation, use the [ColorWithString] method.
If the CIColor was initialized with a [CGColor] in a non-RGB [CGColorSpace] then it will be converted to sRGB to get the red, green, and blue components.
This property is not KVO-safe because it returns a new [NSString] instance each time. The value of the [NSString] will be the same each time it is called.
See: https://developer.apple.com/documentation/CoreImage/CIColor/stringRepresentation
type CIColorAbsoluteDifference ¶
type CIColorAbsoluteDifference interface {
objectivec.IObject
CIFilterProtocol
// The first image to use for differencing.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorAbsoluteDifference/inputImage
InputImage() ICIImage
// The second image to use for differencing.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorAbsoluteDifference/inputImage2
InputImage2() ICIImage
// The first image to use for differencing.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorAbsoluteDifference/inputImage
SetInputImage(value ICIImage)
// The second image to use for differencing.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorAbsoluteDifference/inputImage2
SetInputImage2(value ICIImage)
}
CIColorAbsoluteDifference protocol.
See: https://developer.apple.com/documentation/CoreImage/CIColorAbsoluteDifference
type CIColorAbsoluteDifferenceObject ¶
type CIColorAbsoluteDifferenceObject struct {
objectivec.Object
}
CIColorAbsoluteDifferenceObject wraps an existing Objective-C object that conforms to the CIColorAbsoluteDifference protocol.
func CIColorAbsoluteDifferenceObjectFromID ¶
func CIColorAbsoluteDifferenceObjectFromID(id objc.ID) CIColorAbsoluteDifferenceObject
CIColorAbsoluteDifferenceObjectFromID constructs a CIColorAbsoluteDifferenceObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIColorAbsoluteDifferenceObject) BaseObject ¶
func (o CIColorAbsoluteDifferenceObject) BaseObject() objectivec.Object
func (CIColorAbsoluteDifferenceObject) InputImage ¶
func (o CIColorAbsoluteDifferenceObject) InputImage() ICIImage
The first image to use for differencing.
See: https://developer.apple.com/documentation/CoreImage/CIColorAbsoluteDifference/inputImage
func (CIColorAbsoluteDifferenceObject) InputImage2 ¶
func (o CIColorAbsoluteDifferenceObject) InputImage2() ICIImage
The second image to use for differencing.
See: https://developer.apple.com/documentation/CoreImage/CIColorAbsoluteDifference/inputImage2
func (CIColorAbsoluteDifferenceObject) OutputImage ¶
func (o CIColorAbsoluteDifferenceObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIColorAbsoluteDifferenceObject) SetInputImage ¶
func (o CIColorAbsoluteDifferenceObject) SetInputImage(value ICIImage)
func (CIColorAbsoluteDifferenceObject) SetInputImage2 ¶
func (o CIColorAbsoluteDifferenceObject) SetInputImage2(value ICIImage)
type CIColorClamp ¶
type CIColorClamp interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorClamp/inputImage
InputImage() ICIImage
// A vector containing the higher clamping values.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorClamp/maxComponents
MaxComponents() ICIVector
// A vector containing the lower clamping values.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorClamp/minComponents
MinComponents() ICIVector
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorClamp/inputImage
SetInputImage(value ICIImage)
// A vector containing the higher clamping values.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorClamp/maxComponents
SetMaxComponents(value ICIVector)
// A vector containing the lower clamping values.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorClamp/minComponents
SetMinComponents(value ICIVector)
}
The properties you use to configure a color clamp filter.
See: https://developer.apple.com/documentation/CoreImage/CIColorClamp
type CIColorClampObject ¶
type CIColorClampObject struct {
objectivec.Object
}
CIColorClampObject wraps an existing Objective-C object that conforms to the CIColorClamp protocol.
func CIColorClampObjectFromID ¶
func CIColorClampObjectFromID(id objc.ID) CIColorClampObject
CIColorClampObjectFromID constructs a CIColorClampObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIColorClampObject) BaseObject ¶
func (o CIColorClampObject) BaseObject() objectivec.Object
func (CIColorClampObject) InputImage ¶
func (o CIColorClampObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIColorClamp/inputImage
func (CIColorClampObject) MaxComponents ¶
func (o CIColorClampObject) MaxComponents() ICIVector
A vector containing the higher clamping values.
See: https://developer.apple.com/documentation/CoreImage/CIColorClamp/maxComponents
func (CIColorClampObject) MinComponents ¶
func (o CIColorClampObject) MinComponents() ICIVector
A vector containing the lower clamping values.
See: https://developer.apple.com/documentation/CoreImage/CIColorClamp/minComponents
func (CIColorClampObject) OutputImage ¶
func (o CIColorClampObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIColorClampObject) SetInputImage ¶
func (o CIColorClampObject) SetInputImage(value ICIImage)
func (CIColorClampObject) SetMaxComponents ¶
func (o CIColorClampObject) SetMaxComponents(value ICIVector)
func (CIColorClampObject) SetMinComponents ¶
func (o CIColorClampObject) SetMinComponents(value ICIVector)
type CIColorClass ¶
type CIColorClass struct {
// contains filtered or unexported fields
}
func GetCIColorClass ¶
func GetCIColorClass() CIColorClass
GetCIColorClass returns the class object for CIColor.
func (CIColorClass) Alloc ¶
func (cc CIColorClass) Alloc() CIColor
Alloc allocates memory for a new instance of the class.
func (CIColorClass) BlackColor ¶
func (_CIColorClass CIColorClass) BlackColor() CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `0,0,0` and alpha value `1`.
See: https://developer.apple.com/documentation/CoreImage/CIColor/black
func (CIColorClass) BlueColor ¶
func (_CIColorClass CIColorClass) BlueColor() CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `0,0,1` and alpha value `1`.
See: https://developer.apple.com/documentation/CoreImage/CIColor/blue-swift.type.property
func (CIColorClass) ClearColor ¶
func (_CIColorClass CIColorClass) ClearColor() CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `0,0,0` and alpha value `0`.
See: https://developer.apple.com/documentation/CoreImage/CIColor/clear
func (CIColorClass) ColorWithCGColor ¶
func (_CIColorClass CIColorClass) ColorWithCGColor(color coregraphics.CGColorRef) CIColor
Create a Core Image color object with a Core Graphics color object.
Return Value ¶
An autoreleased CIColor instance.
See: https://developer.apple.com/documentation/CoreImage/CIColor/colorWithCGColor:
func (CIColorClass) ColorWithRedGreenBlue ¶
func (_CIColorClass CIColorClass) ColorWithRedGreenBlue(red float64, green float64, blue float64) CIColor
Create a Core Image color object in the sRGB color space with the specified red, green, and blue component values.
red: The color’s unpremultiplied red component value between 0 and 1.
green: The color’s unpremultiplied green component value between 0 and 1.
blue: The color’s unpremultiplied blue component value between 0 and 1.
Return Value ¶
An autoreleased CIColor instance.
Discussion ¶
On macOS before 10.10, the CIColor’s color space will be Generic RGB.
See: https://developer.apple.com/documentation/CoreImage/CIColor/init(red:green:blue:)
func (CIColorClass) ColorWithRedGreenBlueAlpha ¶
func (_CIColorClass CIColorClass) ColorWithRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64) CIColor
Create a Core Image color object in the sRGB color space with the specified red, green, blue, and alpha component values.
red: The color’s unpremultiplied red component value between 0 and 1.
green: The color’s unpremultiplied green component value between 0 and 1.
blue: The color’s unpremultiplied blue component value between 0 and 1.
alpha: The color’s alpha (opacity) value between 0 and 1.
Return Value ¶
An autoreleased CIColor instance.
Discussion ¶
On macOS before 10.10, the CIColor’s color space will be Generic RGB.
See: https://developer.apple.com/documentation/CoreImage/CIColor/colorWithRed:green:blue:alpha:
func (CIColorClass) ColorWithRedGreenBlueAlphaColorSpace ¶
func (_CIColorClass CIColorClass) ColorWithRedGreenBlueAlphaColorSpace(red float64, green float64, blue float64, alpha float64, colorSpace coregraphics.CGColorSpaceRef) CIColor
Create a Core Image color object with the specified red, green, blue, and alpha component values as measured in the specified color space.
red: The color’s unpremultiplied red component value.
green: The color’s unpremultiplied green component value.
blue: The color’s unpremultiplied blue component value.
alpha: The color’s alpha (opacity) value between 0 and 1.
colorSpace: The color’s [CGColorSpace] which must have `kCGColorSpaceModelRGB`.
Return Value ¶
An autoreleased CIColor instance.
Discussion ¶
This will return `null` if the [CGColorSpace] is not `kCGColorSpaceModelRGB`.
The RGB values can be outside the `0...1` range if the [CGColorSpace] is unclamped.
See: https://developer.apple.com/documentation/CoreImage/CIColor/colorWithRed:green:blue:alpha:colorSpace:
func (CIColorClass) ColorWithRedGreenBlueColorSpace ¶
func (_CIColorClass CIColorClass) ColorWithRedGreenBlueColorSpace(red float64, green float64, blue float64, colorSpace coregraphics.CGColorSpaceRef) CIColor
Create a Core Image color object with the specified red, green, and blue component values as measured in the specified color space.
red: The color’s unpremultiplied red component value.
green: The color’s unpremultiplied green component value.
blue: The color’s unpremultiplied blue component value.
colorSpace: The color’s [CGColorSpace] which must have `kCGColorSpaceModelRGB`.
Return Value ¶
An autoreleased CIColor instance.
Discussion ¶
This will return `null` if the [CGColorSpace] is not `kCGColorSpaceModelRGB`.
The RGB values can be outside the `0...1` range if the [CGColorSpace] is unclamped.
See: https://developer.apple.com/documentation/CoreImage/CIColor/colorWithRed:green:blue:colorSpace:
func (CIColorClass) CyanColor ¶
func (_CIColorClass CIColorClass) CyanColor() CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `0,1,1` and alpha value `1`.
See: https://developer.apple.com/documentation/CoreImage/CIColor/cyan
func (CIColorClass) GrayColor ¶
func (_CIColorClass CIColorClass) GrayColor() CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `0.5,0.5,0.5` and alpha value `1`.
See: https://developer.apple.com/documentation/CoreImage/CIColor/gray
func (CIColorClass) GreenColor ¶
func (_CIColorClass CIColorClass) GreenColor() CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `0,1,0` and alpha value `1`.
See: https://developer.apple.com/documentation/CoreImage/CIColor/green-swift.type.property
func (CIColorClass) MagentaColor ¶
func (_CIColorClass CIColorClass) MagentaColor() CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `1,0,1` and alpha value `1`.
See: https://developer.apple.com/documentation/CoreImage/CIColor/magenta
func (CIColorClass) RedColor ¶
func (_CIColorClass CIColorClass) RedColor() CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `1,0,0` and alpha value `1`.
See: https://developer.apple.com/documentation/CoreImage/CIColor/red-swift.type.property
func (CIColorClass) WhiteColor ¶
func (_CIColorClass CIColorClass) WhiteColor() CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `1,1,1` and alpha value `1`.
See: https://developer.apple.com/documentation/CoreImage/CIColor/white
func (CIColorClass) YellowColor ¶
func (_CIColorClass CIColorClass) YellowColor() CIColor
Returns a singleton Core Image color instance in the sRGB color space with RGB values `1,1,0` and alpha value `1`.
See: https://developer.apple.com/documentation/CoreImage/CIColor/yellow
type CIColorControls ¶
type CIColorControls interface {
objectivec.IObject
CIFilterProtocol
// The amount of brightness to apply.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorControls/brightness
Brightness() float32
// The amount of contrast to apply.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorControls/contrast
Contrast() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorControls/inputImage
InputImage() ICIImage
// The amount of saturation to apply.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorControls/saturation
Saturation() float32
// The amount of brightness to apply.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorControls/brightness
SetBrightness(value float32)
// The amount of contrast to apply.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorControls/contrast
SetContrast(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorControls/inputImage
SetInputImage(value ICIImage)
// The amount of saturation to apply.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorControls/saturation
SetSaturation(value float32)
}
The properties you use to configure a color controls filter.
See: https://developer.apple.com/documentation/CoreImage/CIColorControls
type CIColorControlsObject ¶
type CIColorControlsObject struct {
objectivec.Object
}
CIColorControlsObject wraps an existing Objective-C object that conforms to the CIColorControls protocol.
func CIColorControlsObjectFromID ¶
func CIColorControlsObjectFromID(id objc.ID) CIColorControlsObject
CIColorControlsObjectFromID constructs a CIColorControlsObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIColorControlsObject) BaseObject ¶
func (o CIColorControlsObject) BaseObject() objectivec.Object
func (CIColorControlsObject) Brightness ¶
func (o CIColorControlsObject) Brightness() float32
The amount of brightness to apply.
See: https://developer.apple.com/documentation/CoreImage/CIColorControls/brightness
func (CIColorControlsObject) Contrast ¶
func (o CIColorControlsObject) Contrast() float32
The amount of contrast to apply.
See: https://developer.apple.com/documentation/CoreImage/CIColorControls/contrast
func (CIColorControlsObject) InputImage ¶
func (o CIColorControlsObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIColorControls/inputImage
func (CIColorControlsObject) OutputImage ¶
func (o CIColorControlsObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIColorControlsObject) Saturation ¶
func (o CIColorControlsObject) Saturation() float32
The amount of saturation to apply.
See: https://developer.apple.com/documentation/CoreImage/CIColorControls/saturation
func (CIColorControlsObject) SetBrightness ¶
func (o CIColorControlsObject) SetBrightness(value float32)
func (CIColorControlsObject) SetContrast ¶
func (o CIColorControlsObject) SetContrast(value float32)
func (CIColorControlsObject) SetInputImage ¶
func (o CIColorControlsObject) SetInputImage(value ICIImage)
func (CIColorControlsObject) SetSaturation ¶
func (o CIColorControlsObject) SetSaturation(value float32)
type CIColorCrossPolynomial ¶
type CIColorCrossPolynomial interface {
objectivec.IObject
CIFilterProtocol
// Polynomial coefficients for the blue channel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCrossPolynomial/blueCoefficients
BlueCoefficients() ICIVector
// Polynomial coefficients for the green channel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCrossPolynomial/greenCoefficients
GreenCoefficients() ICIVector
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCrossPolynomial/inputImage
InputImage() ICIImage
// Polynomial coefficients for the red channel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCrossPolynomial/redCoefficients
RedCoefficients() ICIVector
// Polynomial coefficients for the blue channel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCrossPolynomial/blueCoefficients
SetBlueCoefficients(value ICIVector)
// Polynomial coefficients for the green channel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCrossPolynomial/greenCoefficients
SetGreenCoefficients(value ICIVector)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCrossPolynomial/inputImage
SetInputImage(value ICIImage)
// Polynomial coefficients for the red channel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCrossPolynomial/redCoefficients
SetRedCoefficients(value ICIVector)
}
The properties you use to configure a color cross-polynomial filter.
See: https://developer.apple.com/documentation/CoreImage/CIColorCrossPolynomial
type CIColorCrossPolynomialObject ¶
type CIColorCrossPolynomialObject struct {
objectivec.Object
}
CIColorCrossPolynomialObject wraps an existing Objective-C object that conforms to the CIColorCrossPolynomial protocol.
func CIColorCrossPolynomialObjectFromID ¶
func CIColorCrossPolynomialObjectFromID(id objc.ID) CIColorCrossPolynomialObject
CIColorCrossPolynomialObjectFromID constructs a CIColorCrossPolynomialObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIColorCrossPolynomialObject) BaseObject ¶
func (o CIColorCrossPolynomialObject) BaseObject() objectivec.Object
func (CIColorCrossPolynomialObject) BlueCoefficients ¶
func (o CIColorCrossPolynomialObject) BlueCoefficients() ICIVector
Polynomial coefficients for the blue channel.
See: https://developer.apple.com/documentation/CoreImage/CIColorCrossPolynomial/blueCoefficients
func (CIColorCrossPolynomialObject) GreenCoefficients ¶
func (o CIColorCrossPolynomialObject) GreenCoefficients() ICIVector
Polynomial coefficients for the green channel.
See: https://developer.apple.com/documentation/CoreImage/CIColorCrossPolynomial/greenCoefficients
func (CIColorCrossPolynomialObject) InputImage ¶
func (o CIColorCrossPolynomialObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIColorCrossPolynomial/inputImage
func (CIColorCrossPolynomialObject) OutputImage ¶
func (o CIColorCrossPolynomialObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIColorCrossPolynomialObject) RedCoefficients ¶
func (o CIColorCrossPolynomialObject) RedCoefficients() ICIVector
Polynomial coefficients for the red channel.
See: https://developer.apple.com/documentation/CoreImage/CIColorCrossPolynomial/redCoefficients
func (CIColorCrossPolynomialObject) SetBlueCoefficients ¶
func (o CIColorCrossPolynomialObject) SetBlueCoefficients(value ICIVector)
func (CIColorCrossPolynomialObject) SetGreenCoefficients ¶
func (o CIColorCrossPolynomialObject) SetGreenCoefficients(value ICIVector)
func (CIColorCrossPolynomialObject) SetInputImage ¶
func (o CIColorCrossPolynomialObject) SetInputImage(value ICIImage)
func (CIColorCrossPolynomialObject) SetRedCoefficients ¶
func (o CIColorCrossPolynomialObject) SetRedCoefficients(value ICIVector)
type CIColorCube ¶
type CIColorCube interface {
objectivec.IObject
CIFilterProtocol
// The cube texture data to use as a color lookup table.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCube/cubeData
CubeData() foundation.INSData
// The length, in texels, of each side of the cube texture.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCube/cubeDimension
CubeDimension() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCube/inputImage
InputImage() ICIImage
// If true, then the filter extrapolates the color cube for any RGB component values outside the range 0.0 to 1.0.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCube/extrapolate
Extrapolate() bool
// The cube texture data to use as a color lookup table.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCube/cubeData
SetCubeData(value foundation.INSData)
// The length, in texels, of each side of the cube texture.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCube/cubeDimension
SetCubeDimension(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCube/inputImage
SetInputImage(value ICIImage)
// If true, then the filter extrapolates the color cube for any RGB component values outside the range 0.0 to 1.0.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCube/extrapolate
SetExtrapolate(value bool)
}
The properties you use to configure a color cube filter.
See: https://developer.apple.com/documentation/CoreImage/CIColorCube
type CIColorCubeObject ¶
type CIColorCubeObject struct {
objectivec.Object
}
CIColorCubeObject wraps an existing Objective-C object that conforms to the CIColorCube protocol.
func CIColorCubeObjectFromID ¶
func CIColorCubeObjectFromID(id objc.ID) CIColorCubeObject
CIColorCubeObjectFromID constructs a CIColorCubeObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIColorCubeObject) BaseObject ¶
func (o CIColorCubeObject) BaseObject() objectivec.Object
func (CIColorCubeObject) CubeData ¶
func (o CIColorCubeObject) CubeData() foundation.INSData
The cube texture data to use as a color lookup table.
See: https://developer.apple.com/documentation/CoreImage/CIColorCube/cubeData
func (CIColorCubeObject) CubeDimension ¶
func (o CIColorCubeObject) CubeDimension() float32
The length, in texels, of each side of the cube texture.
See: https://developer.apple.com/documentation/CoreImage/CIColorCube/cubeDimension
func (CIColorCubeObject) Extrapolate ¶
func (o CIColorCubeObject) Extrapolate() bool
If true, then the filter extrapolates the color cube for any RGB component values outside the range 0.0 to 1.0.
See: https://developer.apple.com/documentation/CoreImage/CIColorCube/extrapolate
func (CIColorCubeObject) InputImage ¶
func (o CIColorCubeObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIColorCube/inputImage
func (CIColorCubeObject) OutputImage ¶
func (o CIColorCubeObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIColorCubeObject) SetCubeData ¶
func (o CIColorCubeObject) SetCubeData(value foundation.INSData)
func (CIColorCubeObject) SetCubeDimension ¶
func (o CIColorCubeObject) SetCubeDimension(value float32)
func (CIColorCubeObject) SetExtrapolate ¶
func (o CIColorCubeObject) SetExtrapolate(value bool)
func (CIColorCubeObject) SetInputImage ¶
func (o CIColorCubeObject) SetInputImage(value ICIImage)
type CIColorCubeWithColorSpace ¶
type CIColorCubeWithColorSpace interface {
objectivec.IObject
CIFilterProtocol
// The working color space.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubeWithColorSpace/colorSpace
ColorSpace() coregraphics.CGColorSpaceRef
// The cube texture data to use as a color lookup table.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubeWithColorSpace/cubeData
CubeData() foundation.INSData
// The length, in texels, of each side of the cube texture.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubeWithColorSpace/cubeDimension
CubeDimension() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubeWithColorSpace/inputImage
InputImage() ICIImage
// If true, then the filter extrapolates the color cube for any RGB component values outside the range 0.0 to 1.0.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubeWithColorSpace/extrapolate
Extrapolate() bool
// The working color space.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubeWithColorSpace/colorSpace
SetColorSpace(value coregraphics.CGColorSpaceRef)
// The cube texture data to use as a color lookup table.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubeWithColorSpace/cubeData
SetCubeData(value foundation.INSData)
// The length, in texels, of each side of the cube texture.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubeWithColorSpace/cubeDimension
SetCubeDimension(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubeWithColorSpace/inputImage
SetInputImage(value ICIImage)
// If true, then the filter extrapolates the color cube for any RGB component values outside the range 0.0 to 1.0.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubeWithColorSpace/extrapolate
SetExtrapolate(value bool)
}
The properties you use to configure a color cube with color space filter.
See: https://developer.apple.com/documentation/CoreImage/CIColorCubeWithColorSpace
type CIColorCubeWithColorSpaceObject ¶
type CIColorCubeWithColorSpaceObject struct {
objectivec.Object
}
CIColorCubeWithColorSpaceObject wraps an existing Objective-C object that conforms to the CIColorCubeWithColorSpace protocol.
func CIColorCubeWithColorSpaceObjectFromID ¶
func CIColorCubeWithColorSpaceObjectFromID(id objc.ID) CIColorCubeWithColorSpaceObject
CIColorCubeWithColorSpaceObjectFromID constructs a CIColorCubeWithColorSpaceObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIColorCubeWithColorSpaceObject) BaseObject ¶
func (o CIColorCubeWithColorSpaceObject) BaseObject() objectivec.Object
func (CIColorCubeWithColorSpaceObject) ColorSpace ¶
func (o CIColorCubeWithColorSpaceObject) ColorSpace() coregraphics.CGColorSpaceRef
The working color space.
See: https://developer.apple.com/documentation/CoreImage/CIColorCubeWithColorSpace/colorSpace
func (CIColorCubeWithColorSpaceObject) CubeData ¶
func (o CIColorCubeWithColorSpaceObject) CubeData() foundation.INSData
The cube texture data to use as a color lookup table.
See: https://developer.apple.com/documentation/CoreImage/CIColorCubeWithColorSpace/cubeData
func (CIColorCubeWithColorSpaceObject) CubeDimension ¶
func (o CIColorCubeWithColorSpaceObject) CubeDimension() float32
The length, in texels, of each side of the cube texture.
See: https://developer.apple.com/documentation/CoreImage/CIColorCubeWithColorSpace/cubeDimension
func (CIColorCubeWithColorSpaceObject) Extrapolate ¶
func (o CIColorCubeWithColorSpaceObject) Extrapolate() bool
If true, then the filter extrapolates the color cube for any RGB component values outside the range 0.0 to 1.0.
See: https://developer.apple.com/documentation/CoreImage/CIColorCubeWithColorSpace/extrapolate
func (CIColorCubeWithColorSpaceObject) InputImage ¶
func (o CIColorCubeWithColorSpaceObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIColorCubeWithColorSpace/inputImage
func (CIColorCubeWithColorSpaceObject) OutputImage ¶
func (o CIColorCubeWithColorSpaceObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIColorCubeWithColorSpaceObject) SetColorSpace ¶
func (o CIColorCubeWithColorSpaceObject) SetColorSpace(value coregraphics.CGColorSpaceRef)
func (CIColorCubeWithColorSpaceObject) SetCubeData ¶
func (o CIColorCubeWithColorSpaceObject) SetCubeData(value foundation.INSData)
func (CIColorCubeWithColorSpaceObject) SetCubeDimension ¶
func (o CIColorCubeWithColorSpaceObject) SetCubeDimension(value float32)
func (CIColorCubeWithColorSpaceObject) SetExtrapolate ¶
func (o CIColorCubeWithColorSpaceObject) SetExtrapolate(value bool)
func (CIColorCubeWithColorSpaceObject) SetInputImage ¶
func (o CIColorCubeWithColorSpaceObject) SetInputImage(value ICIImage)
type CIColorCubesMixedWithMask ¶
type CIColorCubesMixedWithMask interface {
objectivec.IObject
CIFilterProtocol
// The working color space.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/colorSpace
ColorSpace() coregraphics.CGColorSpaceRef
// The cube texture data to use as a color lookup table.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/cube0Data
Cube0Data() foundation.INSData
// The cube texture data to use as a color lookup table.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/cube1Data
Cube1Data() foundation.INSData
// The length, in texels, of each side of the cube texture.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/cubeDimension
CubeDimension() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/inputImage
InputImage() ICIImage
// A masking image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/maskImage
MaskImage() ICIImage
// If true, then the filter extrapolates the color cube for any RGB component values outside the range 0.0 to 1.0.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/extrapolate
Extrapolate() bool
// The working color space.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/colorSpace
SetColorSpace(value coregraphics.CGColorSpaceRef)
// The cube texture data to use as a color lookup table.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/cube0Data
SetCube0Data(value foundation.INSData)
// The cube texture data to use as a color lookup table.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/cube1Data
SetCube1Data(value foundation.INSData)
// The length, in texels, of each side of the cube texture.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/cubeDimension
SetCubeDimension(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/inputImage
SetInputImage(value ICIImage)
// A masking image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/maskImage
SetMaskImage(value ICIImage)
// If true, then the filter extrapolates the color cube for any RGB component values outside the range 0.0 to 1.0.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/extrapolate
SetExtrapolate(value bool)
}
The properties you use to configure a color cube mixed with mask filter.
See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask
type CIColorCubesMixedWithMaskObject ¶
type CIColorCubesMixedWithMaskObject struct {
objectivec.Object
}
CIColorCubesMixedWithMaskObject wraps an existing Objective-C object that conforms to the CIColorCubesMixedWithMask protocol.
func CIColorCubesMixedWithMaskObjectFromID ¶
func CIColorCubesMixedWithMaskObjectFromID(id objc.ID) CIColorCubesMixedWithMaskObject
CIColorCubesMixedWithMaskObjectFromID constructs a CIColorCubesMixedWithMaskObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIColorCubesMixedWithMaskObject) BaseObject ¶
func (o CIColorCubesMixedWithMaskObject) BaseObject() objectivec.Object
func (CIColorCubesMixedWithMaskObject) ColorSpace ¶
func (o CIColorCubesMixedWithMaskObject) ColorSpace() coregraphics.CGColorSpaceRef
The working color space.
See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/colorSpace
func (CIColorCubesMixedWithMaskObject) Cube0Data ¶
func (o CIColorCubesMixedWithMaskObject) Cube0Data() foundation.INSData
The cube texture data to use as a color lookup table.
See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/cube0Data
func (CIColorCubesMixedWithMaskObject) Cube1Data ¶
func (o CIColorCubesMixedWithMaskObject) Cube1Data() foundation.INSData
The cube texture data to use as a color lookup table.
See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/cube1Data
func (CIColorCubesMixedWithMaskObject) CubeDimension ¶
func (o CIColorCubesMixedWithMaskObject) CubeDimension() float32
The length, in texels, of each side of the cube texture.
See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/cubeDimension
func (CIColorCubesMixedWithMaskObject) Extrapolate ¶
func (o CIColorCubesMixedWithMaskObject) Extrapolate() bool
If true, then the filter extrapolates the color cube for any RGB component values outside the range 0.0 to 1.0.
See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/extrapolate
func (CIColorCubesMixedWithMaskObject) InputImage ¶
func (o CIColorCubesMixedWithMaskObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/inputImage
func (CIColorCubesMixedWithMaskObject) MaskImage ¶
func (o CIColorCubesMixedWithMaskObject) MaskImage() ICIImage
A masking image.
See: https://developer.apple.com/documentation/CoreImage/CIColorCubesMixedWithMask/maskImage
func (CIColorCubesMixedWithMaskObject) OutputImage ¶
func (o CIColorCubesMixedWithMaskObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIColorCubesMixedWithMaskObject) SetColorSpace ¶
func (o CIColorCubesMixedWithMaskObject) SetColorSpace(value coregraphics.CGColorSpaceRef)
func (CIColorCubesMixedWithMaskObject) SetCube0Data ¶
func (o CIColorCubesMixedWithMaskObject) SetCube0Data(value foundation.INSData)
func (CIColorCubesMixedWithMaskObject) SetCube1Data ¶
func (o CIColorCubesMixedWithMaskObject) SetCube1Data(value foundation.INSData)
func (CIColorCubesMixedWithMaskObject) SetCubeDimension ¶
func (o CIColorCubesMixedWithMaskObject) SetCubeDimension(value float32)
func (CIColorCubesMixedWithMaskObject) SetExtrapolate ¶
func (o CIColorCubesMixedWithMaskObject) SetExtrapolate(value bool)
func (CIColorCubesMixedWithMaskObject) SetInputImage ¶
func (o CIColorCubesMixedWithMaskObject) SetInputImage(value ICIImage)
func (CIColorCubesMixedWithMaskObject) SetMaskImage ¶
func (o CIColorCubesMixedWithMaskObject) SetMaskImage(value ICIImage)
type CIColorCurves ¶
type CIColorCurves interface {
objectivec.IObject
CIFilterProtocol
// The working color space.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCurves/colorSpace
ColorSpace() coregraphics.CGColorSpaceRef
// Color values that determine the color curves transform.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCurves/curvesData
CurvesData() foundation.INSData
// A two-element vector that defines the minimum and maximum values of the curve data.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCurves/curvesDomain
CurvesDomain() ICIVector
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCurves/inputImage
InputImage() ICIImage
// The working color space.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCurves/colorSpace
SetColorSpace(value coregraphics.CGColorSpaceRef)
// Color values that determine the color curves transform.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCurves/curvesData
SetCurvesData(value foundation.INSData)
// A two-element vector that defines the minimum and maximum values of the curve data.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCurves/curvesDomain
SetCurvesDomain(value ICIVector)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorCurves/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a color curves filter.
See: https://developer.apple.com/documentation/CoreImage/CIColorCurves
type CIColorCurvesObject ¶
type CIColorCurvesObject struct {
objectivec.Object
}
CIColorCurvesObject wraps an existing Objective-C object that conforms to the CIColorCurves protocol.
func CIColorCurvesObjectFromID ¶
func CIColorCurvesObjectFromID(id objc.ID) CIColorCurvesObject
CIColorCurvesObjectFromID constructs a CIColorCurvesObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIColorCurvesObject) BaseObject ¶
func (o CIColorCurvesObject) BaseObject() objectivec.Object
func (CIColorCurvesObject) ColorSpace ¶
func (o CIColorCurvesObject) ColorSpace() coregraphics.CGColorSpaceRef
The working color space.
See: https://developer.apple.com/documentation/CoreImage/CIColorCurves/colorSpace
func (CIColorCurvesObject) CurvesData ¶
func (o CIColorCurvesObject) CurvesData() foundation.INSData
Color values that determine the color curves transform.
See: https://developer.apple.com/documentation/CoreImage/CIColorCurves/curvesData
func (CIColorCurvesObject) CurvesDomain ¶
func (o CIColorCurvesObject) CurvesDomain() ICIVector
A two-element vector that defines the minimum and maximum values of the curve data.
See: https://developer.apple.com/documentation/CoreImage/CIColorCurves/curvesDomain
func (CIColorCurvesObject) InputImage ¶
func (o CIColorCurvesObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIColorCurves/inputImage
func (CIColorCurvesObject) OutputImage ¶
func (o CIColorCurvesObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIColorCurvesObject) SetColorSpace ¶
func (o CIColorCurvesObject) SetColorSpace(value coregraphics.CGColorSpaceRef)
func (CIColorCurvesObject) SetCurvesData ¶
func (o CIColorCurvesObject) SetCurvesData(value foundation.INSData)
func (CIColorCurvesObject) SetCurvesDomain ¶
func (o CIColorCurvesObject) SetCurvesDomain(value ICIVector)
func (CIColorCurvesObject) SetInputImage ¶
func (o CIColorCurvesObject) SetInputImage(value ICIImage)
type CIColorInvert ¶
type CIColorInvert interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorInvert/inputImage
InputImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorInvert/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a color invert filter.
See: https://developer.apple.com/documentation/CoreImage/CIColorInvert
type CIColorInvertObject ¶
type CIColorInvertObject struct {
objectivec.Object
}
CIColorInvertObject wraps an existing Objective-C object that conforms to the CIColorInvert protocol.
func CIColorInvertObjectFromID ¶
func CIColorInvertObjectFromID(id objc.ID) CIColorInvertObject
CIColorInvertObjectFromID constructs a CIColorInvertObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIColorInvertObject) BaseObject ¶
func (o CIColorInvertObject) BaseObject() objectivec.Object
func (CIColorInvertObject) InputImage ¶
func (o CIColorInvertObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIColorInvert/inputImage
func (CIColorInvertObject) OutputImage ¶
func (o CIColorInvertObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIColorInvertObject) SetInputImage ¶
func (o CIColorInvertObject) SetInputImage(value ICIImage)
type CIColorKernel ¶
type CIColorKernel struct {
CIKernel
}
A GPU-based image-processing routine that processes only the color information in images, used to create custom Core Image filters.
Overview ¶
The kernel language routine for a color kernel has the following characteristics:
- Its return type is `vec4` (Core Image Kernel Language) or `float4` (Metal Shading Language); that is, it returns a pixel color for the output image. - It may use zero or more input images. Each input image is represented by a parameter of type `__sample` (Core Image Kernel Language) or `sample_t` (Metal Shading Language), which can be treated as a single pixel color of type `vec4` (Core Image Kernel Language) or `float4` (Metal Shading Language);.
A color kernel routine receives as input single-pixel colors (one sampled from each input image) and computes a final pixel color (output using the `return` keyword). For example, the Metal Shading Language source below implements a filter that passes through its input image unchanged.
The equivalent code in Core Image Kernel Language is:
The Core Image Kernel Language is a dialect of the OpenGL Shading Language. See Core Image Kernel Language Reference and Core Image Programming Guide for more details.
Applying a Kernel to Filter an Image ¶
- CIColorKernel.ApplyWithExtentArguments: Creates a new image using the kernel and specified arguments.
See: https://developer.apple.com/documentation/CoreImage/CIColorKernel
func CIColorKernelFromID ¶
func CIColorKernelFromID(id objc.ID) CIColorKernel
CIColorKernelFromID constructs a CIColorKernel from an objc.ID.
A GPU-based image-processing routine that processes only the color information in images, used to create custom Core Image filters.
func NewCIColorKernel ¶
func NewCIColorKernel() CIColorKernel
NewCIColorKernel creates a new CIColorKernel instance.
func NewColorKernelWithFunctionNameFromMetalLibraryDataError ¶
func NewColorKernelWithFunctionNameFromMetalLibraryDataError(name string, data foundation.INSData) (CIColorKernel, error)
Creates a single kernel object using a Metal Shading Language (MSL) kernel function.
Discussion ¶
- name: The name of the function in the Metal shading language. - data: A metallib file compiled with the Core Image Standard Library.
Discussion ¶
This method allows you to use MSL as the shader language for a Core Image kernel. Since MSL based kernels are precompiled, initializing them is faster than their than Core Image Kernel Language (CIKL) counterparts and Xcode can provide error diagnostics during development rather than at runtime. MSL is a more modern language than CIKL, and you can write shader code that uses arrays, structs and matrices.
MSL based kernels still support concatenation and tiling and can work in the same filter graph as traditional CIKL kernels.
Specifying Compiler and Linker Options ¶
To use MSL as the shader language for a CIKernel, you must specify some options in Xcode under the tab of your project’s target. The first option you need to specify is an `-fcikernel` flag in the Other Metal Compiler Flags option. The second is to add a user-defined setting with a key called `MTLLINKER_FLAGS` with a value of `-`
[media-2929842]
Creating a General Kernel in Swift ¶
The following code shows how you can create a general kernel based on a Metal function named `myKernel`.
The first step is to create a [Data] object that represents the default Metal library. If you have built this in Xcode, it will be called `default.Metallib()` and can be loaded using the Bundle type’s `url` method.
Using the representation of the Metal library and the function name `myKernel`, you initialize a CIKernel.
The code to create general, color, warp and blend filters is identical.
Metal Shading Language Extensions ¶
Core Image provides a set of language extensions to MSL in `CIKernelMetalLib.H()`. These extensions include three new data types for working with images: `sampler` (for accessing the input image), `sample_t` (represents a single color sample from the input image), and `destination` (for accessing the output image). The extensions also include convenience functions such as color conversion and premultiply / unpremultiply.
Whereas in CIKL, you typically called global functions when working with, for example, coordinates and samples, these functions are implemented as member functions on the new types.
The following table shows a summary of CIKL global functions and their equivalent MSL functions.
[Table data omitted]
func NewColorKernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError ¶
func NewColorKernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError(name string, data foundation.INSData, format int) (CIColorKernel, error)
Creates a single kernel object using a Metal Shading Language kernel function with optional pixel format.
name: The name of the function in the Metal shading language.
data: A metallib file compiled with the Core Image Standard Library.
format: The pixel format of the output kernel.
Discussion ¶
This method allows you to use MSL as the shader language for a Core Image kernel. Since MSL based kernels are precompiled, initializing them is faster than their than Core Image Kernel Language (CIKL) counterparts and Xcode can provide error diagnostics during development rather than at runtime. MSL is a more modern language than CIKL, and you can write shader code that uses arrays, structs and matrices.
MSL based kernels still support concatenation and tiling and can work in the same filter graph as traditional CIKL kernels.
func (CIColorKernel) ApplyWithExtentArguments ¶
func (c CIColorKernel) ApplyWithExtentArguments(extent corefoundation.CGRect, args []objectivec.IObject) ICIImage
Creates a new image using the kernel and specified arguments.
extent: The extent of the output image.
args: An array of arguments to pass to the kernel routine. The type of each object in the array must be compatible with the corresponding parameter declared in the kernel routine source code. For details, see [Core Image Kernel Language Reference]. // [Core Image Kernel Language Reference]: https://developer.apple.com/library/archive/documentation/GraphicsImaging/Reference/CIKernelLangRef/Introduction/Introduction.html#//apple_ref/doc/uid/TP40004397
Return Value ¶
A new image object describing the result of applying the kernel.
Discussion ¶
This method is analogous to the CIFilter method [ApplyArgumentsOptions], but it does not require construction of a CIFilter object, and it allows you to specify a callback for determining the kernel’s region of interest as a block or closure. As with the similar CIFilter method, calling this method does not execute the kernel code—filters and their kernel code are evaluated only when rendering a final output image.
See: https://developer.apple.com/documentation/CoreImage/CIColorKernel/apply(extent:arguments:)
func (CIColorKernel) Autorelease ¶
func (c CIColorKernel) Autorelease() CIColorKernel
Autorelease adds the receiver to the current autorelease pool.
func (CIColorKernel) Init ¶
func (c CIColorKernel) Init() CIColorKernel
Init initializes the instance.
type CIColorKernelClass ¶
type CIColorKernelClass struct {
// contains filtered or unexported fields
}
func GetCIColorKernelClass ¶
func GetCIColorKernelClass() CIColorKernelClass
GetCIColorKernelClass returns the class object for CIColorKernel.
func (CIColorKernelClass) Alloc ¶
func (cc CIColorKernelClass) Alloc() CIColorKernel
Alloc allocates memory for a new instance of the class.
type CIColorMap ¶
type CIColorMap interface {
objectivec.IObject
CIFilterProtocol
// The image data that transforms the source image values.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMap/gradientImage
GradientImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMap/inputImage
InputImage() ICIImage
// The image data that transforms the source image values.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMap/gradientImage
SetGradientImage(value ICIImage)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMap/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a color map filter.
See: https://developer.apple.com/documentation/CoreImage/CIColorMap
type CIColorMapObject ¶
type CIColorMapObject struct {
objectivec.Object
}
CIColorMapObject wraps an existing Objective-C object that conforms to the CIColorMap protocol.
func CIColorMapObjectFromID ¶
func CIColorMapObjectFromID(id objc.ID) CIColorMapObject
CIColorMapObjectFromID constructs a CIColorMapObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIColorMapObject) BaseObject ¶
func (o CIColorMapObject) BaseObject() objectivec.Object
func (CIColorMapObject) GradientImage ¶
func (o CIColorMapObject) GradientImage() ICIImage
The image data that transforms the source image values.
See: https://developer.apple.com/documentation/CoreImage/CIColorMap/gradientImage
func (CIColorMapObject) InputImage ¶
func (o CIColorMapObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIColorMap/inputImage
func (CIColorMapObject) OutputImage ¶
func (o CIColorMapObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIColorMapObject) SetGradientImage ¶
func (o CIColorMapObject) SetGradientImage(value ICIImage)
func (CIColorMapObject) SetInputImage ¶
func (o CIColorMapObject) SetInputImage(value ICIImage)
type CIColorMatrix ¶
type CIColorMatrix interface {
objectivec.IObject
CIFilterProtocol
// The amount of alpha to multiply the source color values by.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix/aVector
AVector() ICIVector
// The amount of blue to multiply the source color values by.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix/bVector
BVector() ICIVector
// The amount of green to multiply the source color values by.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix/gVector
GVector() ICIVector
// The amount of red to multiply the source color values by.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix/rVector
RVector() ICIVector
// A vector that’s added to each color component.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix/biasVector
BiasVector() ICIVector
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix/inputImage
InputImage() ICIImage
// The amount of alpha to multiply the source color values by.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix/aVector
SetAVector(value ICIVector)
// The amount of blue to multiply the source color values by.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix/bVector
SetBVector(value ICIVector)
// The amount of green to multiply the source color values by.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix/gVector
SetGVector(value ICIVector)
// The amount of red to multiply the source color values by.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix/rVector
SetRVector(value ICIVector)
// A vector that’s added to each color component.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix/biasVector
SetBiasVector(value ICIVector)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a color matrix filter.
See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix
type CIColorMatrixObject ¶
type CIColorMatrixObject struct {
objectivec.Object
}
CIColorMatrixObject wraps an existing Objective-C object that conforms to the CIColorMatrix protocol.
func CIColorMatrixObjectFromID ¶
func CIColorMatrixObjectFromID(id objc.ID) CIColorMatrixObject
CIColorMatrixObjectFromID constructs a CIColorMatrixObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIColorMatrixObject) AVector ¶
func (o CIColorMatrixObject) AVector() ICIVector
The amount of alpha to multiply the source color values by.
See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix/aVector
func (CIColorMatrixObject) BVector ¶
func (o CIColorMatrixObject) BVector() ICIVector
The amount of blue to multiply the source color values by.
See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix/bVector
func (CIColorMatrixObject) BaseObject ¶
func (o CIColorMatrixObject) BaseObject() objectivec.Object
func (CIColorMatrixObject) BiasVector ¶
func (o CIColorMatrixObject) BiasVector() ICIVector
A vector that’s added to each color component.
See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix/biasVector
func (CIColorMatrixObject) GVector ¶
func (o CIColorMatrixObject) GVector() ICIVector
The amount of green to multiply the source color values by.
See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix/gVector
func (CIColorMatrixObject) InputImage ¶
func (o CIColorMatrixObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix/inputImage
func (CIColorMatrixObject) OutputImage ¶
func (o CIColorMatrixObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIColorMatrixObject) RVector ¶
func (o CIColorMatrixObject) RVector() ICIVector
The amount of red to multiply the source color values by.
See: https://developer.apple.com/documentation/CoreImage/CIColorMatrix/rVector
func (CIColorMatrixObject) SetAVector ¶
func (o CIColorMatrixObject) SetAVector(value ICIVector)
func (CIColorMatrixObject) SetBVector ¶
func (o CIColorMatrixObject) SetBVector(value ICIVector)
func (CIColorMatrixObject) SetBiasVector ¶
func (o CIColorMatrixObject) SetBiasVector(value ICIVector)
func (CIColorMatrixObject) SetGVector ¶
func (o CIColorMatrixObject) SetGVector(value ICIVector)
func (CIColorMatrixObject) SetInputImage ¶
func (o CIColorMatrixObject) SetInputImage(value ICIImage)
func (CIColorMatrixObject) SetRVector ¶
func (o CIColorMatrixObject) SetRVector(value ICIVector)
type CIColorMonochrome ¶
type CIColorMonochrome interface {
objectivec.IObject
CIFilterProtocol
// The monochrome color to apply to the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMonochrome/color
Color() ICIColor
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMonochrome/inputImage
InputImage() ICIImage
// The intensity of the monochrome effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMonochrome/intensity
Intensity() float32
// The monochrome color to apply to the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMonochrome/color
SetColor(value ICIColor)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMonochrome/inputImage
SetInputImage(value ICIImage)
// The intensity of the monochrome effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorMonochrome/intensity
SetIntensity(value float32)
}
The properties you use to configure a color monochrome filter.
See: https://developer.apple.com/documentation/CoreImage/CIColorMonochrome
type CIColorMonochromeObject ¶
type CIColorMonochromeObject struct {
objectivec.Object
}
CIColorMonochromeObject wraps an existing Objective-C object that conforms to the CIColorMonochrome protocol.
func CIColorMonochromeObjectFromID ¶
func CIColorMonochromeObjectFromID(id objc.ID) CIColorMonochromeObject
CIColorMonochromeObjectFromID constructs a CIColorMonochromeObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIColorMonochromeObject) BaseObject ¶
func (o CIColorMonochromeObject) BaseObject() objectivec.Object
func (CIColorMonochromeObject) Color ¶
func (o CIColorMonochromeObject) Color() ICIColor
The monochrome color to apply to the image.
See: https://developer.apple.com/documentation/CoreImage/CIColorMonochrome/color
func (CIColorMonochromeObject) InputImage ¶
func (o CIColorMonochromeObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIColorMonochrome/inputImage
func (CIColorMonochromeObject) Intensity ¶
func (o CIColorMonochromeObject) Intensity() float32
The intensity of the monochrome effect.
See: https://developer.apple.com/documentation/CoreImage/CIColorMonochrome/intensity
func (CIColorMonochromeObject) OutputImage ¶
func (o CIColorMonochromeObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIColorMonochromeObject) SetColor ¶
func (o CIColorMonochromeObject) SetColor(value ICIColor)
func (CIColorMonochromeObject) SetInputImage ¶
func (o CIColorMonochromeObject) SetInputImage(value ICIImage)
func (CIColorMonochromeObject) SetIntensity ¶
func (o CIColorMonochromeObject) SetIntensity(value float32)
type CIColorPolynomial ¶
type CIColorPolynomial interface {
objectivec.IObject
CIFilterProtocol
// Polynomial coefficients for the alpha channel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorPolynomial/alphaCoefficients
AlphaCoefficients() ICIVector
// Polynomial coefficients for the blue channel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorPolynomial/blueCoefficients
BlueCoefficients() ICIVector
// Polynomial coefficients for the green channel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorPolynomial/greenCoefficients
GreenCoefficients() ICIVector
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorPolynomial/inputImage
InputImage() ICIImage
// Polynomial coefficients for the red channel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorPolynomial/redCoefficients
RedCoefficients() ICIVector
// Polynomial coefficients for the alpha channel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorPolynomial/alphaCoefficients
SetAlphaCoefficients(value ICIVector)
// Polynomial coefficients for the blue channel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorPolynomial/blueCoefficients
SetBlueCoefficients(value ICIVector)
// Polynomial coefficients for the green channel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorPolynomial/greenCoefficients
SetGreenCoefficients(value ICIVector)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorPolynomial/inputImage
SetInputImage(value ICIImage)
// Polynomial coefficients for the red channel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorPolynomial/redCoefficients
SetRedCoefficients(value ICIVector)
}
The properties you use to configure a color polynomial filter.
See: https://developer.apple.com/documentation/CoreImage/CIColorPolynomial
type CIColorPolynomialObject ¶
type CIColorPolynomialObject struct {
objectivec.Object
}
CIColorPolynomialObject wraps an existing Objective-C object that conforms to the CIColorPolynomial protocol.
func CIColorPolynomialObjectFromID ¶
func CIColorPolynomialObjectFromID(id objc.ID) CIColorPolynomialObject
CIColorPolynomialObjectFromID constructs a CIColorPolynomialObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIColorPolynomialObject) AlphaCoefficients ¶
func (o CIColorPolynomialObject) AlphaCoefficients() ICIVector
Polynomial coefficients for the alpha channel.
See: https://developer.apple.com/documentation/CoreImage/CIColorPolynomial/alphaCoefficients
func (CIColorPolynomialObject) BaseObject ¶
func (o CIColorPolynomialObject) BaseObject() objectivec.Object
func (CIColorPolynomialObject) BlueCoefficients ¶
func (o CIColorPolynomialObject) BlueCoefficients() ICIVector
Polynomial coefficients for the blue channel.
See: https://developer.apple.com/documentation/CoreImage/CIColorPolynomial/blueCoefficients
func (CIColorPolynomialObject) GreenCoefficients ¶
func (o CIColorPolynomialObject) GreenCoefficients() ICIVector
Polynomial coefficients for the green channel.
See: https://developer.apple.com/documentation/CoreImage/CIColorPolynomial/greenCoefficients
func (CIColorPolynomialObject) InputImage ¶
func (o CIColorPolynomialObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIColorPolynomial/inputImage
func (CIColorPolynomialObject) OutputImage ¶
func (o CIColorPolynomialObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIColorPolynomialObject) RedCoefficients ¶
func (o CIColorPolynomialObject) RedCoefficients() ICIVector
Polynomial coefficients for the red channel.
See: https://developer.apple.com/documentation/CoreImage/CIColorPolynomial/redCoefficients
func (CIColorPolynomialObject) SetAlphaCoefficients ¶
func (o CIColorPolynomialObject) SetAlphaCoefficients(value ICIVector)
func (CIColorPolynomialObject) SetBlueCoefficients ¶
func (o CIColorPolynomialObject) SetBlueCoefficients(value ICIVector)
func (CIColorPolynomialObject) SetGreenCoefficients ¶
func (o CIColorPolynomialObject) SetGreenCoefficients(value ICIVector)
func (CIColorPolynomialObject) SetInputImage ¶
func (o CIColorPolynomialObject) SetInputImage(value ICIImage)
func (CIColorPolynomialObject) SetRedCoefficients ¶
func (o CIColorPolynomialObject) SetRedCoefficients(value ICIVector)
type CIColorPosterize ¶
type CIColorPosterize interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorPosterize/inputImage
InputImage() ICIImage
// The number of brightness levels to use for each color component.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorPosterize/levels
Levels() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorPosterize/inputImage
SetInputImage(value ICIImage)
// The number of brightness levels to use for each color component.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorPosterize/levels
SetLevels(value float32)
}
The properties you use to configure a color posterize filter.
See: https://developer.apple.com/documentation/CoreImage/CIColorPosterize
type CIColorPosterizeObject ¶
type CIColorPosterizeObject struct {
objectivec.Object
}
CIColorPosterizeObject wraps an existing Objective-C object that conforms to the CIColorPosterize protocol.
func CIColorPosterizeObjectFromID ¶
func CIColorPosterizeObjectFromID(id objc.ID) CIColorPosterizeObject
CIColorPosterizeObjectFromID constructs a CIColorPosterizeObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIColorPosterizeObject) BaseObject ¶
func (o CIColorPosterizeObject) BaseObject() objectivec.Object
func (CIColorPosterizeObject) InputImage ¶
func (o CIColorPosterizeObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIColorPosterize/inputImage
func (CIColorPosterizeObject) Levels ¶
func (o CIColorPosterizeObject) Levels() float32
The number of brightness levels to use for each color component.
See: https://developer.apple.com/documentation/CoreImage/CIColorPosterize/levels
func (CIColorPosterizeObject) OutputImage ¶
func (o CIColorPosterizeObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIColorPosterizeObject) SetInputImage ¶
func (o CIColorPosterizeObject) SetInputImage(value ICIImage)
func (CIColorPosterizeObject) SetLevels ¶
func (o CIColorPosterizeObject) SetLevels(value float32)
type CIColorThreshold ¶
type CIColorThreshold interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorThreshold/inputImage
InputImage() ICIImage
// The threshold to use.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorThreshold/threshold
Threshold() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorThreshold/inputImage
SetInputImage(value ICIImage)
// The threshold to use.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorThreshold/threshold
SetThreshold(value float32)
}
CIColorThreshold protocol.
See: https://developer.apple.com/documentation/CoreImage/CIColorThreshold
type CIColorThresholdObject ¶
type CIColorThresholdObject struct {
objectivec.Object
}
CIColorThresholdObject wraps an existing Objective-C object that conforms to the CIColorThreshold protocol.
func CIColorThresholdObjectFromID ¶
func CIColorThresholdObjectFromID(id objc.ID) CIColorThresholdObject
CIColorThresholdObjectFromID constructs a CIColorThresholdObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIColorThresholdObject) BaseObject ¶
func (o CIColorThresholdObject) BaseObject() objectivec.Object
func (CIColorThresholdObject) InputImage ¶
func (o CIColorThresholdObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIColorThreshold/inputImage
func (CIColorThresholdObject) OutputImage ¶
func (o CIColorThresholdObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIColorThresholdObject) SetInputImage ¶
func (o CIColorThresholdObject) SetInputImage(value ICIImage)
func (CIColorThresholdObject) SetThreshold ¶
func (o CIColorThresholdObject) SetThreshold(value float32)
func (CIColorThresholdObject) Threshold ¶
func (o CIColorThresholdObject) Threshold() float32
The threshold to use.
See: https://developer.apple.com/documentation/CoreImage/CIColorThreshold/threshold
type CIColorThresholdOtsu ¶
type CIColorThresholdOtsu interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorThresholdOtsu/inputImage
InputImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIColorThresholdOtsu/inputImage
SetInputImage(value ICIImage)
}
CIColorThresholdOtsu protocol.
See: https://developer.apple.com/documentation/CoreImage/CIColorThresholdOtsu
type CIColorThresholdOtsuObject ¶
type CIColorThresholdOtsuObject struct {
objectivec.Object
}
CIColorThresholdOtsuObject wraps an existing Objective-C object that conforms to the CIColorThresholdOtsu protocol.
func CIColorThresholdOtsuObjectFromID ¶
func CIColorThresholdOtsuObjectFromID(id objc.ID) CIColorThresholdOtsuObject
CIColorThresholdOtsuObjectFromID constructs a CIColorThresholdOtsuObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIColorThresholdOtsuObject) BaseObject ¶
func (o CIColorThresholdOtsuObject) BaseObject() objectivec.Object
func (CIColorThresholdOtsuObject) InputImage ¶
func (o CIColorThresholdOtsuObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIColorThresholdOtsu/inputImage
func (CIColorThresholdOtsuObject) OutputImage ¶
func (o CIColorThresholdOtsuObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIColorThresholdOtsuObject) SetInputImage ¶
func (o CIColorThresholdOtsuObject) SetInputImage(value ICIImage)
type CIColumnAverage ¶
type CIColumnAverage interface {
objectivec.IObject
CIAreaReductionFilter
CIFilterProtocol
}
CIColumnAverage protocol.
See: https://developer.apple.com/documentation/CoreImage/CIColumnAverage
type CIColumnAverageObject ¶
type CIColumnAverageObject struct {
objectivec.Object
}
CIColumnAverageObject wraps an existing Objective-C object that conforms to the CIColumnAverage protocol.
func CIColumnAverageObjectFromID ¶
func CIColumnAverageObjectFromID(id objc.ID) CIColumnAverageObject
CIColumnAverageObjectFromID constructs a CIColumnAverageObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIColumnAverageObject) BaseObject ¶
func (o CIColumnAverageObject) BaseObject() objectivec.Object
func (CIColumnAverageObject) Extent ¶
func (o CIColumnAverageObject) Extent() corefoundation.CGRect
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/extent
func (CIColumnAverageObject) InputImage ¶
func (o CIColumnAverageObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/inputImage
func (CIColumnAverageObject) OutputImage ¶
func (o CIColumnAverageObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIColumnAverageObject) SetExtent ¶
func (o CIColumnAverageObject) SetExtent(value corefoundation.CGRect)
func (CIColumnAverageObject) SetInputImage ¶
func (o CIColumnAverageObject) SetInputImage(value ICIImage)
type CIComicEffect ¶
type CIComicEffect interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIComicEffect/inputImage
InputImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIComicEffect/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a comic effect filter.
See: https://developer.apple.com/documentation/CoreImage/CIComicEffect
type CIComicEffectObject ¶
type CIComicEffectObject struct {
objectivec.Object
}
CIComicEffectObject wraps an existing Objective-C object that conforms to the CIComicEffect protocol.
func CIComicEffectObjectFromID ¶
func CIComicEffectObjectFromID(id objc.ID) CIComicEffectObject
CIComicEffectObjectFromID constructs a CIComicEffectObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIComicEffectObject) BaseObject ¶
func (o CIComicEffectObject) BaseObject() objectivec.Object
func (CIComicEffectObject) InputImage ¶
func (o CIComicEffectObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIComicEffect/inputImage
func (CIComicEffectObject) OutputImage ¶
func (o CIComicEffectObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIComicEffectObject) SetInputImage ¶
func (o CIComicEffectObject) SetInputImage(value ICIImage)
type CICompositeOperation ¶
type CICompositeOperation interface {
objectivec.IObject
CIFilterProtocol
// The image to use as a background image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICompositeOperation/backgroundImage
BackgroundImage() ICIImage
// The image to use as a foreground image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICompositeOperation/inputImage
InputImage() ICIImage
// The image to use as a background image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICompositeOperation/backgroundImage
SetBackgroundImage(value ICIImage)
// The image to use as a foreground image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICompositeOperation/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a composite operation filter.
See: https://developer.apple.com/documentation/CoreImage/CICompositeOperation
type CICompositeOperationObject ¶
type CICompositeOperationObject struct {
objectivec.Object
}
CICompositeOperationObject wraps an existing Objective-C object that conforms to the CICompositeOperation protocol.
func CICompositeOperationObjectFromID ¶
func CICompositeOperationObjectFromID(id objc.ID) CICompositeOperationObject
CICompositeOperationObjectFromID constructs a CICompositeOperationObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CICompositeOperationObject) BackgroundImage ¶
func (o CICompositeOperationObject) BackgroundImage() ICIImage
The image to use as a background image.
See: https://developer.apple.com/documentation/CoreImage/CICompositeOperation/backgroundImage
func (CICompositeOperationObject) BaseObject ¶
func (o CICompositeOperationObject) BaseObject() objectivec.Object
func (CICompositeOperationObject) InputImage ¶
func (o CICompositeOperationObject) InputImage() ICIImage
The image to use as a foreground image.
See: https://developer.apple.com/documentation/CoreImage/CICompositeOperation/inputImage
func (CICompositeOperationObject) OutputImage ¶
func (o CICompositeOperationObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CICompositeOperationObject) SetBackgroundImage ¶
func (o CICompositeOperationObject) SetBackgroundImage(value ICIImage)
func (CICompositeOperationObject) SetInputImage ¶
func (o CICompositeOperationObject) SetInputImage(value ICIImage)
type CIContext ¶
type CIContext struct {
objectivec.Object
}
The Core Image context class provides an evaluation context for Core Image processing with Metal, OpenGL, or OpenCL.
Overview ¶
You use a CIContext instance to render a CIImage instance which represents a graph of image processing operations which are built using other Core Image classes, such as CIFilter, CIKernel, CIColor and CIImage. You can also use a CIContext with the CIDetector class to analyze images — for example, to detect faces or barcodes.
Contexts support automatic color management by performing all processing operations in a working color space. This means that unless told otherwise:
- All input images are color matched from the input’s color space to the working space. - All renders are color matched from the working space to the destination space. (For more information on CGColorSpace see CGColorSpace)
CIContext and CIImage instances are immutable, so multiple threads can use the same CIContext instance to render CIImage instances. However, CIFilter instances are mutable and thus cannot be shared safely among threads. Each thread must take case not to access or modify a CIFilter instance while it is being used by another thread.
The CIContext manages various internal state such as [MTLCommandQueue] and caches for compiled kernels and intermediate buffers. For this reason it is not recommended to create many CIContext instances. As a rule, it recommended that you create one CIContext instance for each view that renders CIImage or each background task.
Rendering Images ¶
- CIContext.CreateCGImageFromRect: Creates a Core Graphics image from a region of a Core Image image instance.
- CIContext.CreateCGImageFromRectFormatColorSpace: Creates a Core Graphics image from a region of a Core Image image instance with an option for controlling the pixel format and color space of the [CGImage].
- CIContext.CreateCGImageFromRectFormatColorSpaceDeferred: Creates a Core Graphics image from a region of a Core Image image instance with an option for controlling when the image is rendered.
- CIContext.RenderToBitmapRowBytesBoundsFormatColorSpace: Renders to the given bitmap.
- CIContext.RenderToCVPixelBuffer: Renders an image into a pixel buffer.
- CIContext.RenderToCVPixelBufferBoundsColorSpace: Renders a region of an image into a pixel buffer.
- CIContext.RenderToIOSurfaceBoundsColorSpace: Renders a region of an image into an IOSurface object.
- CIContext.RenderToMTLTextureCommandBufferBoundsColorSpace: Renders a region of an image to a Metal texture.
Drawing Images ¶
- CIContext.DrawImageInRectFromRect: Renders a region of an image to a rectangle in the context destination.
Managing Resources ¶
- CIContext.ClearCaches: Frees any cached data, such as temporary images, associated with the context and runs the garbage collector.
- CIContext.ReclaimResources: Runs the garbage collector to reclaim any resources that the context no longer requires.
- CIContext.WorkingColorSpace: The working color space of the Core Image context.
- CIContext.WorkingFormat: The working pixel format of the Core Image context.
Rendering Images for Data or File Export ¶
- CIContext.TIFFRepresentationOfImageFormatColorSpaceOptions: Renders the image and exports the resulting image data in TIFF format.
- CIContext.JPEGRepresentationOfImageColorSpaceOptions: Renders the image and exports the resulting image data in JPEG format.
- CIContext.PNGRepresentationOfImageFormatColorSpaceOptions: Renders the image and exports the resulting image data in PNG format.
- CIContext.HEIFRepresentationOfImageFormatColorSpaceOptions: Renders the image and exports the resulting image data in HEIF format.
- CIContext.HEIF10RepresentationOfImageColorSpaceOptionsError: Renders the image and exports the resulting image data in HEIF10 format.
- CIContext.OpenEXRRepresentationOfImageOptionsError: Renders the image and exports the resulting image data in open EXR format.
- CIContext.WriteTIFFRepresentationOfImageToURLFormatColorSpaceOptionsError: Renders the image and exports the resulting image data as a file in TIFF format.
- CIContext.WriteJPEGRepresentationOfImageToURLColorSpaceOptionsError: Renders the image and exports the resulting image data as a file in JPEG format.
- CIContext.WritePNGRepresentationOfImageToURLFormatColorSpaceOptionsError: Renders the image and exports the resulting image data as a file in PNG format.
- CIContext.WriteHEIFRepresentationOfImageToURLFormatColorSpaceOptionsError: Renders the image and exports the resulting image data as a file in HEIF format.
- CIContext.WriteHEIF10RepresentationOfImageToURLColorSpaceOptionsError: Renders the image and exports the resulting image data as a file in HEIF10 format.
- CIContext.WriteOpenEXRRepresentationOfImageToURLOptionsError: Renders the image and exports the resulting image data as a file in open EXR format.
Creating Depth Blur Filters ¶
- CIContext.DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteHairSemanticSegmentationGlassesMatteGainMapOrientationOptions
- CIContext.DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteHairSemanticSegmentationOrientationOptions
- CIContext.DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteOrientationOptions
- CIContext.DepthBlurEffectFilterForImageDataOptions
- CIContext.DepthBlurEffectFilterForImageURLOptions
Customizing Render Destination ¶
- CIContext.PrepareRenderFromRectToDestinationAtPointError: An optional call to warm up a CIContext(<doc://com.apple.coreimage/documentation/CoreImage/CIContext>) so that subsequent calls to render with the same arguments run more efficiently.
- CIContext.StartTaskToClearError: Fills the entire destination with black or clear depending on its [alphaMode](<doc://com.apple.coreimage/documentation/CoreImage/CIRenderDestination/alphaMode>).
- CIContext.StartTaskToRenderFromRectToDestinationAtPointError: Renders a portion of an image to a point in the destination.
- CIContext.StartTaskToRenderToDestinationError: Renders an image to a destination so that point (0, 0) of the image maps to point (0, 0) of the destination.
Initializers ¶
- CIContext.InitWithOptions: Initializes a context without a specific rendering destination, using the specified options.
Instance Methods ¶
- CIContext.CalculateHDRStatsForCGImage: Given a Core Graphics image, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then return a new Core Graphics image that has the calculated values.
- CIContext.CalculateHDRStatsForIOSurface: Given an IOSurface, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then update the surface’s attachments to store the values.
- CIContext.CalculateHDRStatsForCVPixelBuffer: Given a CVPixelBuffer, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then update the buffers’s attachments to store the values.
- CIContext.CalculateHDRStatsForImage: Given a Core Image image, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then return a new Core Image image that has the calculated values.
- CIContext.CreateCGImageFromRectFormatColorSpaceDeferredCalculateHDRStats: Creates a Core Graphics image from a region of a Core Image image instance with an option for calculating HDR statistics.
See: https://developer.apple.com/documentation/CoreImage/CIContext
func CIContextFromID ¶
CIContextFromID constructs a CIContext from an objc.ID.
The Core Image context class provides an evaluation context for Core Image processing with Metal, OpenGL, or OpenCL.
func NewContextWithCGContextOptions ¶
func NewContextWithCGContextOptions(cgctx coregraphics.CGContextRef, options foundation.INSDictionary) CIContext
Creates a Core Image context from a Quartz context, using the specified options.
cgctx: A Quartz graphics context.
options: A dictionary that contains color space information. You can pass any of the keys defined in `Context Options` along with the appropriate value.
Discussion ¶
After calling this method, Core Image draws content to the specified Quartz graphics context.
When you create a CIContext object using a Quartz graphics context, any transformations that are already set on the Quartz graphics context affect drawing to that context.
See: https://developer.apple.com/documentation/CoreImage/CIContext/init(cgContext:options:)
func NewContextWithEAGLContext ¶
func NewContextWithEAGLContext(eaglContext objectivec.IObject) CIContext
Creates a Core Image context from an EAGL context.
eaglContext: The EAGL context to render to.
Return Value ¶
A Core Image context that targets OpenGL ES.
Discussion ¶
The OpenGL ES context must support OpenGL ES 2.0. All drawing performed using the methods listed in Drawing Images is rendered directly into the context.
See: https://developer.apple.com/documentation/CoreImage/CIContext/init(eaglContext:) eaglContext is a [opengles.EAGLContext].
func NewContextWithEAGLContextOptions ¶
func NewContextWithEAGLContextOptions(eaglContext objectivec.IObject, options foundation.INSDictionary) CIContext
Creates a Core Image context from an EAGL context using the specified options.
eaglContext: The EAGL context to render to.
options: A dictionary that contains options for creating a CIContext object. You can pass any of the keys defined in `Context Options` along with the appropriate value.
Return Value ¶
A Core Image context that targets OpenGL ES.
Discussion ¶
The OpenGL ES context must support OpenGL ES 2.0. All drawing performed using the methods listed in Drawing Images is rendered directly into the context.
See: https://developer.apple.com/documentation/CoreImage/CIContext/init(eaglContext:options:) eaglContext is a [opengles.EAGLContext].
func NewContextWithMTLCommandQueue ¶
func NewContextWithMTLCommandQueue(commandQueue objectivec.IObject) CIContext
See: https://developer.apple.com/documentation/CoreImage/CIContext/init(mtlCommandQueue:)
func NewContextWithMTLCommandQueueOptions ¶
func NewContextWithMTLCommandQueueOptions(commandQueue objectivec.IObject, options foundation.INSDictionary) CIContext
See: https://developer.apple.com/documentation/CoreImage/CIContext/init(mtlCommandQueue:options:)
func NewContextWithMTLDevice ¶
func NewContextWithMTLDevice(device objectivec.IObject) CIContext
Creates a Core Image context using the specified Metal device.
device: The Metal device object to use for rendering.
Return Value ¶
A Core Image context.
Discussion ¶
Use this method to choose a specific Metal device for rendering when a system contains multiple Metal devices. To create a Metal-based context using the system’s default Metal device, use the [ContextWithOptions] method.
See: https://developer.apple.com/documentation/CoreImage/CIContext/init(mtlDevice:)
func NewContextWithMTLDeviceOptions ¶
func NewContextWithMTLDeviceOptions(device objectivec.IObject, options foundation.INSDictionary) CIContext
Creates a Core Image context using the specified Metal device and options.
device: The Metal device object to use for rendering.
options: A dictionary that contains options for creating a CIContext object. You can pass any of the keys defined in `Context Options` along with the appropriate value.
Return Value ¶
A Core Image context.
Discussion ¶
Use this method to choose a specific Metal device for rendering when a system contains multiple Metal devices. To create a Metal-based context using the system’s default Metal device, use the [ContextWithOptions] method.
See: https://developer.apple.com/documentation/CoreImage/CIContext/init(mtlDevice:options:)
func NewContextWithOptions ¶
func NewContextWithOptions(options foundation.INSDictionary) CIContext
Initializes a context without a specific rendering destination, using the specified options.
options: A dictionary containing options for the context. For applicable keys and values, see `Context Options`.
Return Value ¶
An initialized Core Image context.
Discussion ¶
If you create a context without specifying a rendering destination, Core Image automatically chooses and internally manages a rendering destination based on the current device’s capabilities and your settings in the `options` dictionary. You cannot use a context without an explicit destination for the methods listed in Drawing Images. Instead, use the methods listed in Rendering Images.
The `options` dictionary defines behaviors for the context, such as color space and rendering quality. For example, to create a CPU-based context, use the useSoftwareRenderer key.
See: https://developer.apple.com/documentation/CoreImage/CIContext/init(options:)
func (CIContext) AlphaMode ¶
func (c CIContext) AlphaMode() CIRenderDestinationAlphaMode
The render destination’s representation of alpha (transparency) values.
See: https://developer.apple.com/documentation/coreimage/cirenderdestination/alphamode
func (CIContext) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
func (CIContext) CalculateHDRStatsForCGImage ¶
func (c CIContext) CalculateHDRStatsForCGImage(cgimage coregraphics.CGImageRef) coregraphics.CGImageRef
Given a Core Graphics image, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then return a new Core Graphics image that has the calculated values.
cgimage: An immutable [CGImage] for which to calculate statistics.
Return Value ¶
Returns a new [CGImage] instance that has the calculated statistics attached.
See: https://developer.apple.com/documentation/CoreImage/CIContext/calculateHDRStats(for:)-3ia7r
func (CIContext) CalculateHDRStatsForCVPixelBuffer ¶
func (c CIContext) CalculateHDRStatsForCVPixelBuffer(buffer corevideo.CVImageBufferRef)
Given a CVPixelBuffer, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then update the buffers’s attachments to store the values.
buffer: A mutable [CVPixelBuffer] for which to calculate and attach statistics.
Discussion ¶
If the [CVPixelBuffer] has a Clean Aperture rectangle then only pixels within that rectangle are considered.
See: https://developer.apple.com/documentation/CoreImage/CIContext/calculateHDRStats(for:)-7bcki
func (CIContext) CalculateHDRStatsForIOSurface ¶
func (c CIContext) CalculateHDRStatsForIOSurface(surface iosurface.IOSurfaceRef)
Given an IOSurface, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then update the surface’s attachments to store the values.
surface: A mutable [IOSurfaceRef] for which to calculate and attach statistics.
Discussion ¶
If the [IOSurface] has a Clean Aperture rectangle then only pixels within that rectangle are considered.
See: https://developer.apple.com/documentation/CoreImage/CIContext/calculateHDRStats(for:)-6lwmz
func (CIContext) CalculateHDRStatsForImage ¶
Given a Core Image image, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then return a new Core Image image that has the calculated values.
image: An immutable CIImage for which to calculate statistics.
Return Value ¶
Returns a new CIImage instance that has the calculated statistics attached.
Discussion ¶
If the image extent is not finite, then nil will be returned.
See: https://developer.apple.com/documentation/CoreImage/CIContext/calculateHDRStats(for:)-l1rj
func (CIContext) ClearCaches ¶
func (c CIContext) ClearCaches()
Frees any cached data, such as temporary images, associated with the context and runs the garbage collector.
Discussion ¶
You can use this method to remove textures from the texture cache that reference deleted images.
See: https://developer.apple.com/documentation/CoreImage/CIContext/clearCaches()
func (CIContext) CreateCGImageFromRect ¶
func (c CIContext) CreateCGImageFromRect(image ICIImage, fromRect corefoundation.CGRect) coregraphics.CGImageRef
Creates a Core Graphics image from a region of a Core Image image instance.
image: A CIImage image instance for which to create a [CGImage].
fromRect: The [CGRect] region of the `image` to use. This region relative to the cartesean coordinate system of `image`. This region will be intersected with integralized and intersected with `image.Extent()`.
Return Value ¶
Returns a new [CGImage] instance. You are responsible for releasing the returned image when you no longer need it. The returned value will be `null` if the extent is empty or too big.
Discussion ¶
The color space of the created [CGImage] will be sRGB unless the receiving CIContext was created with a `kCIContextOutputColorSpace` option.
Normally the pixel format of the created CGImage will be 8 bits-per-component. It will be 16 bits-per-component float if the above color space is HDR.
See: https://developer.apple.com/documentation/CoreImage/CIContext/createCGImage(_:from:)
func (CIContext) CreateCGImageFromRectFormatColorSpace ¶
func (c CIContext) CreateCGImageFromRectFormatColorSpace(image ICIImage, fromRect corefoundation.CGRect, format int, colorSpace coregraphics.CGColorSpaceRef) coregraphics.CGImageRef
Creates a Core Graphics image from a region of a Core Image image instance with an option for controlling the pixel format and color space of the [CGImage].
image: A CIImage image instance for which to create a [CGImage].
fromRect: The [CGRect] region of the `image` to use. This region relative to the cartesean coordinate system of `image`. This region will be intersected with integralized and intersected with `image.Extent()`.
format: A CIFormat to specify the pixel format of the created [CGImage]. For example, if `kCIFormatRGBX16` is specified, then the created [CGImage] will be 16 bits-per-component and opaque.
colorSpace: The [CGColorSpace] for the output image. This color space must have either `CGColorSpaceModel.Rgb()` or `CGColorSpaceModel.Monochrome()` and be compatible with the specified pixel format.
Return Value ¶
Returns a new [CGImage] instance. You are responsible for releasing the returned image when you no longer need it. The returned value will be `null` if the extent is empty or too big.
func (CIContext) CreateCGImageFromRectFormatColorSpaceDeferred ¶
func (c CIContext) CreateCGImageFromRectFormatColorSpaceDeferred(image ICIImage, fromRect corefoundation.CGRect, format int, colorSpace coregraphics.CGColorSpaceRef, deferred bool) coregraphics.CGImageRef
Creates a Core Graphics image from a region of a Core Image image instance with an option for controlling when the image is rendered.
image: A CIImage image instance for which to create a [CGImage].
fromRect: The [CGRect] region of the `image` to use. This region relative to the cartesean coordinate system of `image`. This region will be intersected with integralized and intersected with `image.Extent()`.
format: A CIFormat to specify the pixel format of the created [CGImage]. For example, if `kCIFormatRGBX16` is specified, then the created [CGImage] will be 16 bits-per-component and opaque.
colorSpace: The [CGColorSpace] for the output image. This color space must have either `CGColorSpaceModel.Rgb()` or `CGColorSpaceModel.Monochrome()` and be compatible with the specified pixel format.
deferred: Controls when Core Image renders `image`.
- True: rendering of `image` is deferred until the created [CGImage] rendered. - False: the `image` is rendered immediately.
Return Value ¶
Returns a new [CGImage] instance. You are responsible for releasing the returned image when you no longer need it. The returned value will be `null` if the extent is empty or too big.
func (CIContext) CreateCGImageFromRectFormatColorSpaceDeferredCalculateHDRStats ¶
func (c CIContext) CreateCGImageFromRectFormatColorSpaceDeferredCalculateHDRStats(image ICIImage, fromRect corefoundation.CGRect, format int, colorSpace coregraphics.CGColorSpaceRef, deferred bool, calculateHDRStats bool) coregraphics.CGImageRef
Creates a Core Graphics image from a region of a Core Image image instance with an option for calculating HDR statistics.
image: A CIImage image instance for which to create a [CGImage].
fromRect: The [CGRect] region of the `image` to use. This region relative to the cartesean coordinate system of `image`. This region will be intersected with integralized and intersected with `image.Extent()`.
format: A CIFormat to specify the pixel format of the created [CGImage]. For example, if `kCIFormatRGBX16` is specified, then the created [CGImage] will be 16 bits-per-component and opaque.
colorSpace: The [CGColorSpace] for the output image. This color space must have either `CGColorSpaceModel.Rgb()` or `CGColorSpaceModel.Monochrome()` and be compatible with the specified pixel format.
deferred: Controls when Core Image renders `image`.
- True: rendering of `image` is deferred until the created [CGImage] rendered. - False: the `image` is rendered immediately.
calculateHDRStats: Controls if Core Image calculates HDR statistics.
- True: Core Image will immediately render `image`, calculate the HDR statistics and create a [CGImage] that has the calculated values. - False: the created [CGImage] will not have any HDR statistics.
Return Value ¶
Returns a new [CGImage] instance. You are responsible for releasing the returned image when you no longer need it. The returned value will be `null` if the extent is empty or too big.
func (CIContext) DepthBlurEffectFilterForImageDataOptions ¶
func (c CIContext) DepthBlurEffectFilterForImageDataOptions(data foundation.INSData, options foundation.INSDictionary) CIFilter
func (CIContext) DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteHairSemanticSegmentationGlassesMatteGainMapOrientationOptions ¶
func (c CIContext) DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteHairSemanticSegmentationGlassesMatteGainMapOrientationOptions(image ICIImage, disparityImage ICIImage, portraitEffectsMatte ICIImage, hairSemanticSegmentation ICIImage, glassesMatte ICIImage, gainMap ICIImage, orientation objectivec.IObject, options foundation.INSDictionary) CIFilter
orientation is a [imageio.CGImagePropertyOrientation].
func (CIContext) DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteHairSemanticSegmentationOrientationOptions ¶
func (c CIContext) DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteHairSemanticSegmentationOrientationOptions(image ICIImage, disparityImage ICIImage, portraitEffectsMatte ICIImage, hairSemanticSegmentation ICIImage, orientation objectivec.IObject, options foundation.INSDictionary) CIFilter
orientation is a [imageio.CGImagePropertyOrientation].
func (CIContext) DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteOrientationOptions ¶
func (c CIContext) DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteOrientationOptions(image ICIImage, disparityImage ICIImage, portraitEffectsMatte ICIImage, orientation objectivec.IObject, options foundation.INSDictionary) CIFilter
orientation is a [imageio.CGImagePropertyOrientation].
func (CIContext) DepthBlurEffectFilterForImageURLOptions ¶
func (c CIContext) DepthBlurEffectFilterForImageURLOptions(url foundation.INSURL, options foundation.INSDictionary) CIFilter
func (CIContext) DrawImageInRectFromRect ¶
func (c CIContext) DrawImageInRectFromRect(image ICIImage, inRect corefoundation.CGRect, fromRect corefoundation.CGRect)
Renders a region of an image to a rectangle in the context destination.
image: A Core Image image object.
inRect: The rectangle in the context destination to draw into. The image is scaled to fill the destination rectangle.
fromRect: The subregion of the image that you want to draw into the context, with the origin and target size defined by the `dest` parameter. This rectangle is always in pixel dimensions.
Discussion ¶
In iOS, this method draws the CIImage object into a renderbuffer for the OpenGL ES context. Use this method only if the CIContext object is created with “ and if you are rendering to a CAEAGLayer. This method is asynchronous for apps linked against the iOS 6 or later SDK.
In macOS, you need to be aware of whether the CIContext object is created with a [CGContextRef] or a [CGLContext] object. If you create the CIContext object with a [CGContextRef], the dimensions of the destination rectangle are in points. If you create the CIContext object with a [CGLContext] object, the dimensions are in pixels.
See: https://developer.apple.com/documentation/CoreImage/CIContext/draw(_:in:from:)
func (CIContext) HEIF10RepresentationOfImageColorSpaceOptionsError ¶
func (c CIContext) HEIF10RepresentationOfImageColorSpaceOptionsError(image ICIImage, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) (foundation.INSData, error)
func (CIContext) HEIFRepresentationOfImageFormatColorSpaceOptions ¶
func (c CIContext) HEIFRepresentationOfImageFormatColorSpaceOptions(image ICIImage, format int, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) foundation.INSData
Renders the image and exports the resulting image data in HEIF format.
image: The image object to render.
format: The pixel format for the output image.
colorSpace: The color space in which to render the output image. This color space must conform to either the [CGColorSpaceModel.rgb] or [CGColorSpaceModel.monochrome] model and must be compatible with the specified pixel format. // [CGColorSpaceModel.monochrome]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpaceModel/monochrome [CGColorSpaceModel.rgb]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpaceModel/rgb
options: A dictionary with additional options for export. Supported keys include [kCGImageDestinationLossyCompressionQuality], [avDepthData], [depthImage], and [disparityImage]. // [avDepthData]: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/avDepthData [depthImage]: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/depthImage [disparityImage]: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/disparityImage [kCGImageDestinationLossyCompressionQuality]: https://developer.apple.com/documentation/ImageIO/kCGImageDestinationLossyCompressionQuality
Return Value ¶
A data representation of the rendered image in HEIF format, or `nil` if the image could not be rendered.
Discussion ¶
To render an image for export, the image’s contents must not be empty and its [Extent] dimensions must be finite. To export after applying a filter whose output has infinite extent, see the [ImageByClampingToExtent] method.
func (CIContext) InitWithOptions ¶
func (c CIContext) InitWithOptions(options foundation.INSDictionary) CIContext
Initializes a context without a specific rendering destination, using the specified options.
options: A dictionary containing options for the context. For applicable keys and values, see `Context Options`.
Return Value ¶
An initialized Core Image context.
Discussion ¶
If you create a context without specifying a rendering destination, Core Image automatically chooses and internally manages a rendering destination based on the current device’s capabilities and your settings in the `options` dictionary. You cannot use a context without an explicit destination for the methods listed in Drawing Images. Instead, use the methods listed in Rendering Images.
The `options` dictionary defines behaviors for the context, such as color space and rendering quality. For example, to create a CPU-based context, use the useSoftwareRenderer key.
See: https://developer.apple.com/documentation/CoreImage/CIContext/init(options:)
func (CIContext) JPEGRepresentationOfImageColorSpaceOptions ¶
func (c CIContext) JPEGRepresentationOfImageColorSpaceOptions(image ICIImage, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) foundation.INSData
Renders the image and exports the resulting image data in JPEG format.
image: The image object to render.
colorSpace: The color space in which to render the output image. This color space must conform to either the [CGColorSpaceModel.rgb] or [CGColorSpaceModel.monochrome] model and must be compatible with the specified pixel format. // [CGColorSpaceModel.monochrome]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpaceModel/monochrome [CGColorSpaceModel.rgb]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpaceModel/rgb
options: A dictionary with additional options for export. Use the [kCGImageDestinationLossyCompressionQuality] key to specify JPEG compression level. Other supported keys include [avDepthData], [depthImage], and [disparityImage]. // [avDepthData]: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/avDepthData [depthImage]: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/depthImage [disparityImage]: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/disparityImage [kCGImageDestinationLossyCompressionQuality]: https://developer.apple.com/documentation/ImageIO/kCGImageDestinationLossyCompressionQuality
Return Value ¶
A data representation of the rendered image in JPEG format, or `nil` if the image could not be rendered.
Discussion ¶
To render an image for export, the image’s contents must not be empty and its [Extent] dimensions must be finite. To export after applying a filter whose output has infinite extent, see the [ImageByClampingToExtent] method.
func (CIContext) OpenEXRRepresentationOfImageOptionsError ¶
func (c CIContext) OpenEXRRepresentationOfImageOptionsError(image ICIImage, options foundation.INSDictionary) (foundation.INSData, error)
Renders the image and exports the resulting image data in open EXR format.
image: The image object to render.
options: A dictionary with additional options for export.
See: https://developer.apple.com/documentation/CoreImage/CIContext/openEXRRepresentation(of:options:)
func (CIContext) PNGRepresentationOfImageFormatColorSpaceOptions ¶
func (c CIContext) PNGRepresentationOfImageFormatColorSpaceOptions(image ICIImage, format int, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) foundation.INSData
Renders the image and exports the resulting image data in PNG format.
image: The image object to render.
format: The pixel format for the output image.
colorSpace: The color space in which to render the output image. This color space must conform to either the [CGColorSpaceModel.rgb] or [CGColorSpaceModel.monochrome] model and must be compatible with the specified pixel format. // [CGColorSpaceModel.monochrome]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpaceModel/monochrome [CGColorSpaceModel.rgb]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpaceModel/rgb
options: No options keys are supported at this time.
Return Value ¶
A data representation of the rendered image in PNG format, or `nil` if the image could not be rendered.
Discussion ¶
To render an image for export, the image’s contents must not be empty and its [Extent] dimensions must be finite. To export after applying a filter whose output has infinite extent, see the [ImageByClampingToExtent] method.
func (CIContext) PrepareRenderFromRectToDestinationAtPointError ¶
func (c CIContext) PrepareRenderFromRectToDestinationAtPointError(image ICIImage, fromRect corefoundation.CGRect, destination ICIRenderDestination, atPoint corefoundation.CGPoint) (bool, error)
An optional call to warm up a CIContext so that subsequent calls to render with the same arguments run more efficiently.
image: CIImage to prepare to render.
fromRect: A [CGRect] defining the region to render. // [CGRect]: https://developer.apple.com/documentation/CoreFoundation/CGRect
destination: The CIRenderDestination to which you are preparing to render.
atPoint: The [CGPoint] at which you are preparing to render. // [CGPoint]: https://developer.apple.com/documentation/CoreFoundation/CGPoint
Discussion ¶
By making this call, the Core Image framework ensures that any needed kernels are compiled, and any intermediate buffers are allocated and marked volatile up front.
See: https://developer.apple.com/documentation/CoreImage/CIContext/prepareRender(_:from:to:at:)
func (CIContext) ReclaimResources ¶
func (c CIContext) ReclaimResources()
Runs the garbage collector to reclaim any resources that the context no longer requires.
Discussion ¶
The system calls this method automatically after every rendering operation. You can use this method to remove textures from the texture cache that reference deleted images.
See: https://developer.apple.com/documentation/CoreImage/CIContext/reclaimResources()
func (CIContext) RenderToBitmapRowBytesBoundsFormatColorSpace ¶
func (c CIContext) RenderToBitmapRowBytesBoundsFormatColorSpace(image ICIImage, data unsafe.Pointer, rowBytes int, bounds corefoundation.CGRect, format int, colorSpace coregraphics.CGColorSpaceRef)
Renders to the given bitmap.
image: A Core Image image object.
data: Storage for the bitmap data.
rowBytes: The bytes per row.
bounds: The bounds of the bitmap data.
format: The format of the bitmap data.
colorSpace: The color space for the data. Pass [NULL] if you want to use the output color space of the context.
func (CIContext) RenderToCVPixelBuffer ¶
func (c CIContext) RenderToCVPixelBuffer(image ICIImage, buffer corevideo.CVImageBufferRef)
Renders an image into a pixel buffer.
image: A Core Image image object.
buffer: The destination pixel buffer.
See: https://developer.apple.com/documentation/CoreImage/CIContext/render(_:to:)
func (CIContext) RenderToCVPixelBufferBoundsColorSpace ¶
func (c CIContext) RenderToCVPixelBufferBoundsColorSpace(image ICIImage, buffer corevideo.CVImageBufferRef, bounds corefoundation.CGRect, colorSpace coregraphics.CGColorSpaceRef)
Renders a region of an image into a pixel buffer.
image: A Core Image image object.
buffer: The destination pixel buffer.
bounds: The rectangle in the destination pixel buffer to draw into.
colorSpace: The color space of the destination pixel buffer.
See: https://developer.apple.com/documentation/CoreImage/CIContext/render(_:to:bounds:colorSpace:)-2k8l2
func (CIContext) RenderToIOSurfaceBoundsColorSpace ¶
func (c CIContext) RenderToIOSurfaceBoundsColorSpace(image ICIImage, surface iosurface.IOSurfaceRef, bounds corefoundation.CGRect, colorSpace coregraphics.CGColorSpaceRef)
Renders a region of an image into an IOSurface object.
image: A Core Image image object.
surface: The destination IOSurface object.
bounds: The rectangle in the destination IOSurface object to draw into.
colorSpace: The color space of the destination IOSurface object.
See: https://developer.apple.com/documentation/CoreImage/CIContext/render(_:to:bounds:colorSpace:)-54b9l
func (CIContext) RenderToMTLTextureCommandBufferBoundsColorSpace ¶
func (c CIContext) RenderToMTLTextureCommandBufferBoundsColorSpace(image ICIImage, texture objectivec.IObject, commandBuffer objectivec.IObject, bounds corefoundation.CGRect, colorSpace coregraphics.CGColorSpaceRef)
Renders a region of an image to a Metal texture.
image: A Core Image image object.
texture: The destination Metal texture object.
commandBuffer: The Metal command buffer into which to schedule Core Image rendering tasks.
bounds: The rectangle in the destination texture to draw into.
colorSpace: The color space of the destination texture.
Discussion ¶
If you specify `nil` for the `commandBuffer` parameter, Core Image manages its own Metal command buffer. To combine Core Image rendering with other Metal rendering tasks—for example, to use Core Image filters on textures whose content is generated by a Metal render-to-texture operation, or to use Core Image output later in the same Metal rendering pass—pass the same MTLCommandBuffer object you use for those tasks.
Rendering to a Metal texture requires a Metal-based context created with the [ContextWithMTLDevice] or [ContextWithMTLDeviceOptions] method. Calling this method on any other context raises an exception. This method renders only to Metal textures whose texture type is MTLTextureType.type2D and whose sampleCount value is 1.
func (CIContext) SetAlphaMode ¶
func (c CIContext) SetAlphaMode(value CIRenderDestinationAlphaMode)
func (CIContext) StartTaskToClearError ¶
func (c CIContext) StartTaskToClearError(destination ICIRenderDestination) (ICIRenderTask, error)
Fills the entire destination with black or clear depending on its [AlphaMode].
destination: The CIRenderDestination to clear.
Return Value ¶
The asynchronous CIRenderTask for clearing the destination.
Discussion ¶
If the destination’s [AlphaMode] is [RenderDestinationAlphaNone], this command fills the entire destination with black `(0, 0, 0, 1)`.
If the destination’s [AlphaMode] is [RenderDestinationAlphaPremultiplied] or [RenderDestinationAlphaUnpremultiplied], this command fills the entire destination with clear `(0, 0, 0, 0)`.
See: https://developer.apple.com/documentation/CoreImage/CIContext/startTask(toClear:)
func (CIContext) StartTaskToRenderFromRectToDestinationAtPointError ¶
func (c CIContext) StartTaskToRenderFromRectToDestinationAtPointError(image ICIImage, fromRect corefoundation.CGRect, destination ICIRenderDestination, atPoint corefoundation.CGPoint) (ICIRenderTask, error)
Renders a portion of an image to a point in the destination.
image: A CIImage to render.
fromRect: The part of the image to render, as if cropped.
destination: A CIRenderDestination into which to render the image.
atPoint: An origin point in the destination at which to place the image.
Return Value ¶
An asynchronous CIRenderTask to render the image to the specified destination.
Discussion ¶
This method crops the image to the specified rectangle and renders the result at the indicated origin point. If the image’s [Extent] property and `fromRect` argument values are infinite, this call renders the image’s (0, 0) point starting from the origin `atPoint`.
You must use an MTLTexture-backed CIContext to support an MTLTexture-backed CIRenderDestination. Similarly, you must use [GLContext]-backed CIContext to support a [GLTexture]-backed CIRenderDestination.
This call returns as soon as it enqueues all work required to render the image on the context’s device. In many situations, after issuing a render, you may need to wait for it to complete. In these cases, use the returned CIRenderTask as follows:
See: https://developer.apple.com/documentation/CoreImage/CIContext/startTask(toRender:from:to:at:)
func (CIContext) StartTaskToRenderToDestinationError ¶
func (c CIContext) StartTaskToRenderToDestinationError(image ICIImage, destination ICIRenderDestination) (ICIRenderTask, error)
Renders an image to a destination so that point (0, 0) of the image maps to point (0, 0) of the destination.
image: CIImage to prepare to render.
destination: The CIRenderDestination to which to render.
Return Value ¶
The asynchronous CIRenderTask to render the image to the specified destination.
See: https://developer.apple.com/documentation/CoreImage/CIContext/startTask(toRender:to:)
func (CIContext) TIFFRepresentationOfImageFormatColorSpaceOptions ¶
func (c CIContext) TIFFRepresentationOfImageFormatColorSpaceOptions(image ICIImage, format int, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) foundation.INSData
Renders the image and exports the resulting image data in TIFF format.
image: The image object to render.
format: The pixel format for the output image.
colorSpace: The color space in which to render the output image. This color space must conform to either the [CGColorSpaceModel.rgb] or [CGColorSpaceModel.monochrome] model and must be compatible with the specified pixel format. // [CGColorSpaceModel.monochrome]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpaceModel/monochrome [CGColorSpaceModel.rgb]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpaceModel/rgb
options: A dictionary with additional options for export.
Return Value ¶
A data representation of the rendered image in TIFF format, or `nil` if the image could not be rendered.
Discussion ¶
To render an image for export, the image’s contents must not be empty and its [Extent] dimensions must be finite. To export after applying a filter whose output has infinite extent, see the [ImageByClampingToExtent] method.
func (CIContext) WorkingColorSpace ¶
func (c CIContext) WorkingColorSpace() coregraphics.CGColorSpaceRef
The working color space of the Core Image context.
Discussion ¶
The working color space determines the color space used when executing filter kernels; Core Image automatically converts to and from the source and destination color spaces of input images and output contexts. You specify a working color space using the workingColorSpace key in the `options` dictionary when creating a Core Image context.
See: https://developer.apple.com/documentation/CoreImage/CIContext/workingColorSpace
func (CIContext) WorkingFormat ¶
The working pixel format of the Core Image context.
Discussion ¶
The working format determines the pixel format that Core Image uses to create intermediate buffers for executing filter kernels. Core Image automatically converts to and from the source and destination pixel formats of input images and output contexts. You specify a working pixel format using the workingFormat key in the `options` dictionary when creating a Core Image context.
See: https://developer.apple.com/documentation/CoreImage/CIContext/workingFormat
func (CIContext) WriteHEIF10RepresentationOfImageToURLColorSpaceOptionsError ¶
func (c CIContext) WriteHEIF10RepresentationOfImageToURLColorSpaceOptionsError(image ICIImage, url foundation.INSURL, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) (bool, error)
Renders the image and exports the resulting image data as a file in HEIF10 format.
image: The image object to render.
url: The file URL at which to write the output HEIF file.
colorSpace: The color space in which to render the output image.
options: A dictionary with additional options for export.
func (CIContext) WriteHEIFRepresentationOfImageToURLFormatColorSpaceOptionsError ¶
func (c CIContext) WriteHEIFRepresentationOfImageToURLFormatColorSpaceOptionsError(image ICIImage, url foundation.INSURL, format int, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) (bool, error)
Renders the image and exports the resulting image data as a file in HEIF format.
image: The image object to render.
url: The file URL at which to write the output HEIF file.
format: The pixel format for the output image.
colorSpace: The color space in which to render the output image. This color space must conform to either the [CGColorSpaceModel.rgb] or [CGColorSpaceModel.monochrome] model and must be compatible with the specified pixel format. // [CGColorSpaceModel.monochrome]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpaceModel/monochrome [CGColorSpaceModel.rgb]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpaceModel/rgb
options: A dictionary with additional options for export.
Discussion ¶
To render an image for export, the image’s contents must not be empty and its [Extent] dimensions must be finite. To export after applying a filter whose output has infinite extent, see the [ImageByClampingToExtent] method.
In Objective-C `writeHEIFRepresentationOfImage` returns true if the file export succeeded. If false, examine the `errorPtr` parameter for possible failure reasons.
func (CIContext) WriteJPEGRepresentationOfImageToURLColorSpaceOptionsError ¶
func (c CIContext) WriteJPEGRepresentationOfImageToURLColorSpaceOptionsError(image ICIImage, url foundation.INSURL, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) (bool, error)
Renders the image and exports the resulting image data as a file in JPEG format.
image: The image object to render.
url: The file URL at which to write the output JPEG file.
colorSpace: The color space in which to render the output image. This color space must conform to either the [CGColorSpaceModel.rgb] or [CGColorSpaceModel.monochrome] model and must be compatible with the specified pixel format. // [CGColorSpaceModel.monochrome]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpaceModel/monochrome [CGColorSpaceModel.rgb]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpaceModel/rgb
options: A dictionary with additional options for export. Use the [kCGImageDestinationLossyCompressionQuality] key to specify JPEG compression level. // [kCGImageDestinationLossyCompressionQuality]: https://developer.apple.com/documentation/ImageIO/kCGImageDestinationLossyCompressionQuality
Discussion ¶
To render an image for export, the image’s contents must not be empty and its [Extent] dimensions must be finite. To export after applying a filter whose output has infinite extent, see the [ImageByClampingToExtent] method.
func (CIContext) WriteOpenEXRRepresentationOfImageToURLOptionsError ¶
func (c CIContext) WriteOpenEXRRepresentationOfImageToURLOptionsError(image ICIImage, url foundation.INSURL, options foundation.INSDictionary) (bool, error)
Renders the image and exports the resulting image data as a file in open EXR format.
image: The image object to render.
url: The file URL at which to write the output HEIF file.
options: A dictionary with additional options for export.
func (CIContext) WritePNGRepresentationOfImageToURLFormatColorSpaceOptionsError ¶
func (c CIContext) WritePNGRepresentationOfImageToURLFormatColorSpaceOptionsError(image ICIImage, url foundation.INSURL, format int, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) (bool, error)
Renders the image and exports the resulting image data as a file in PNG format.
image: The image object to render.
url: The file URL at which to write the output PNG file.
format: The pixel format for the output image.
colorSpace: The color space in which to render the output image. This color space must conform to either the [CGColorSpaceModel.rgb] or [CGColorSpaceModel.monochrome] model and must be compatible with the specified pixel format. // [CGColorSpaceModel.monochrome]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpaceModel/monochrome [CGColorSpaceModel.rgb]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpaceModel/rgb
options: A dictionary with additional options for export.
Discussion ¶
To render an image for export, the image’s contents must not be empty and its [Extent] dimensions must be finite. To export after applying a filter whose output has infinite extent, see the [ImageByClampingToExtent] method.
func (CIContext) WriteTIFFRepresentationOfImageToURLFormatColorSpaceOptionsError ¶
func (c CIContext) WriteTIFFRepresentationOfImageToURLFormatColorSpaceOptionsError(image ICIImage, url foundation.INSURL, format int, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) (bool, error)
Renders the image and exports the resulting image data as a file in TIFF format.
image: The image object to render.
url: The file URL at which to write the output TIFF file.
format: The pixel format for the output image.
colorSpace: The color space in which to render the output image. This color space must conform to either the [CGColorSpaceModel.rgb] or [CGColorSpaceModel.monochrome] model and must be compatible with the specified pixel format. // [CGColorSpaceModel.monochrome]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpaceModel/monochrome [CGColorSpaceModel.rgb]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpaceModel/rgb
options: A dictionary with additional options for export.
Discussion ¶
To render an image for export, the image’s contents must not be empty and its [Extent] dimensions must be finite. To export after applying a filter whose output has infinite extent, see the [ImageByClampingToExtent] method.
type CIContextClass ¶
type CIContextClass struct {
// contains filtered or unexported fields
}
func GetCIContextClass ¶
func GetCIContextClass() CIContextClass
GetCIContextClass returns the class object for CIContext.
func (CIContextClass) Alloc ¶
func (cc CIContextClass) Alloc() CIContext
Alloc allocates memory for a new instance of the class.
func (CIContextClass) Context ¶
func (_CIContextClass CIContextClass) Context() CIContext
Creates a context without a specific rendering destination, using default options.
Return Value ¶
A new Core Image context.
Discussion ¶
If you create a context without specifying a rendering destination, Core Image automatically chooses and internally manages a rendering destination based on the current device’s capabilities. You cannot use a context without an explicit destination for the methods listed in Drawing Images. Instead, use the methods listed in Rendering Images.
To specify additional options for the context, use the [ContextWithOptions] method instead.
See: https://developer.apple.com/documentation/CoreImage/CIContext/context
func (CIContextClass) ContextWithOptions ¶
func (_CIContextClass CIContextClass) ContextWithOptions(options foundation.INSDictionary) CIContext
Initializes a context without a specific rendering destination, using the specified options.
options: A dictionary containing options for the context. For applicable keys and values, see `Context Options`.
Return Value ¶
An initialized Core Image context.
Discussion ¶
If you create a context without specifying a rendering destination, Core Image automatically chooses and internally manages a rendering destination based on the current device’s capabilities and your settings in the `options` dictionary. You cannot use a context without an explicit destination for the methods listed in Drawing Images. Instead, use the methods listed in Rendering Images.
The `options` dictionary defines behaviors for the context, such as color space and rendering quality. For example, to create a CPU-based context, use the useSoftwareRenderer key.
See: https://developer.apple.com/documentation/CoreImage/CIContext/contextWithOptions:
func (CIContextClass) OfflineGPUCount ¶
func (_CIContextClass CIContextClass) OfflineGPUCount() uint32
Returns the number of GPUs not currently driving a display.
Return Value ¶
The number of offline GPU devices.
Discussion ¶
If this count is greater than zero, the system has attached GPU devices that are not currently driving a display. You can use these devices for Core Image rendering by creating a context with the init(forOfflineGPUAtIndex:) orinit(forOfflineGPUAtIndex:colorSpace:options:sharedContext:) method.
See: https://developer.apple.com/documentation/CoreImage/CIContext/offlineGPUCount()
type CIContextOption ¶
type CIContextOption = string
CIContextOption is an enum string type that your code can use to select different options when creating a Core Image context.
See: https://developer.apple.com/documentation/CoreImage/CIContextOption
var ( // KCIContextAllowLowPower is a Boolean value to control the power level of Core Image context renders. // // See: https://developer.apple.com/documentation/CoreImage/CIContextOption/allowLowPower KCIContextAllowLowPower CIContextOption // KCIContextCVMetalTextureCache is a Core Video Metal texture cache object to improve the performance of Core Image context renders that use Core Video pixel buffers. // // See: https://developer.apple.com/documentation/CoreImage/CIContextOption/cvMetalTextureCache KCIContextCVMetalTextureCache CIContextOption // KCIContextCacheIntermediates is a Boolean value to control how a Core Image context caches the contents of any intermediate image buffers it uses during rendering. // // See: https://developer.apple.com/documentation/CoreImage/CIContextOption/cacheIntermediates KCIContextCacheIntermediates CIContextOption // KCIContextHighQualityDownsample is a Boolean value to control the quality of image downsampling operations performed by the Core Image context. // // See: https://developer.apple.com/documentation/CoreImage/CIContextOption/highQualityDownsample KCIContextHighQualityDownsample CIContextOption // KCIContextMemoryLimit is a number value to control the maximum memory in megabytes that the context allocates for render tasks. // // See: https://developer.apple.com/documentation/CoreImage/CIContextOption/memoryTarget KCIContextMemoryLimit CIContextOption // KCIContextName is a Boolean value to specify a client-provided name for a context. // // See: https://developer.apple.com/documentation/CoreImage/CIContextOption/name KCIContextName CIContextOption // KCIContextOutputColorSpace is a Core Image context option key to specify the default destination color space for rendering. // // See: https://developer.apple.com/documentation/CoreImage/CIContextOption/outputColorSpace KCIContextOutputColorSpace CIContextOption // KCIContextOutputPremultiplied is a Boolean value to control how a Core Image context render produces alpha-premultiplied pixels. // // See: https://developer.apple.com/documentation/CoreImage/CIContextOption/outputPremultiplied KCIContextOutputPremultiplied CIContextOption // KCIContextPriorityRequestLow is a Boolean value to control the priority Core Image context renders. // // See: https://developer.apple.com/documentation/CoreImage/CIContextOption/priorityRequestLow KCIContextPriorityRequestLow CIContextOption // KCIContextUseSoftwareRenderer is a Boolean value to control if a Core Image context will use a software renderer. // // See: https://developer.apple.com/documentation/CoreImage/CIContextOption/useSoftwareRenderer KCIContextUseSoftwareRenderer CIContextOption // KCIContextWorkingColorSpace is a Core Image context option key to specify the working color space for rendering. // // See: https://developer.apple.com/documentation/CoreImage/CIContextOption/workingColorSpace KCIContextWorkingColorSpace CIContextOption // KCIContextWorkingFormat is a Core Image context option key to specify the pixel format to for intermediate results when rendering. // // See: https://developer.apple.com/documentation/CoreImage/CIContextOption/workingFormat KCIContextWorkingFormat CIContextOption )
type CIConvertLab ¶
type CIConvertLab interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIConvertLab/inputImage
InputImage() ICIImage
// Normalize protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIConvertLab/normalize
Normalize() bool
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIConvertLab/inputImage
SetInputImage(value ICIImage)
// normalize protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIConvertLab/normalize
SetNormalize(value bool)
}
CIConvertLab protocol.
See: https://developer.apple.com/documentation/CoreImage/CIConvertLab
type CIConvertLabObject ¶
type CIConvertLabObject struct {
objectivec.Object
}
CIConvertLabObject wraps an existing Objective-C object that conforms to the CIConvertLab protocol.
func CIConvertLabObjectFromID ¶
func CIConvertLabObjectFromID(id objc.ID) CIConvertLabObject
CIConvertLabObjectFromID constructs a CIConvertLabObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIConvertLabObject) BaseObject ¶
func (o CIConvertLabObject) BaseObject() objectivec.Object
func (CIConvertLabObject) InputImage ¶
func (o CIConvertLabObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIConvertLab/inputImage
func (CIConvertLabObject) Normalize ¶
func (o CIConvertLabObject) Normalize() bool
See: https://developer.apple.com/documentation/CoreImage/CIConvertLab/normalize
func (CIConvertLabObject) OutputImage ¶
func (o CIConvertLabObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIConvertLabObject) SetInputImage ¶
func (o CIConvertLabObject) SetInputImage(value ICIImage)
func (CIConvertLabObject) SetNormalize ¶
func (o CIConvertLabObject) SetNormalize(value bool)
type CIConvolution ¶
type CIConvolution interface {
objectivec.IObject
CIFilterProtocol
// A value that’s added to each output pixel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIConvolution/bias
Bias() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIConvolution/inputImage
InputImage() ICIImage
// The convolution kernel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIConvolution/weights
Weights() ICIVector
// A value that’s added to each output pixel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIConvolution/bias
SetBias(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIConvolution/inputImage
SetInputImage(value ICIImage)
// The convolution kernel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIConvolution/weights
SetWeights(value ICIVector)
}
The properties you use to configure a convolution filter.
See: https://developer.apple.com/documentation/CoreImage/CIConvolution
type CIConvolutionObject ¶
type CIConvolutionObject struct {
objectivec.Object
}
CIConvolutionObject wraps an existing Objective-C object that conforms to the CIConvolution protocol.
func CIConvolutionObjectFromID ¶
func CIConvolutionObjectFromID(id objc.ID) CIConvolutionObject
CIConvolutionObjectFromID constructs a CIConvolutionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIConvolutionObject) BaseObject ¶
func (o CIConvolutionObject) BaseObject() objectivec.Object
func (CIConvolutionObject) Bias ¶
func (o CIConvolutionObject) Bias() float32
A value that’s added to each output pixel.
See: https://developer.apple.com/documentation/CoreImage/CIConvolution/bias
func (CIConvolutionObject) InputImage ¶
func (o CIConvolutionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIConvolution/inputImage
func (CIConvolutionObject) OutputImage ¶
func (o CIConvolutionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIConvolutionObject) SetBias ¶
func (o CIConvolutionObject) SetBias(value float32)
func (CIConvolutionObject) SetInputImage ¶
func (o CIConvolutionObject) SetInputImage(value ICIImage)
func (CIConvolutionObject) SetWeights ¶
func (o CIConvolutionObject) SetWeights(value ICIVector)
func (CIConvolutionObject) Weights ¶
func (o CIConvolutionObject) Weights() ICIVector
The convolution kernel.
See: https://developer.apple.com/documentation/CoreImage/CIConvolution/weights
type CICopyMachineTransition ¶
type CICopyMachineTransition interface {
objectivec.IObject
CIFilterProtocol
CITransitionFilter
// The angle of the copier light.
//
// See: https://developer.apple.com/documentation/CoreImage/CICopyMachineTransition/angle
Angle() float32
// The color of the copier light.
//
// See: https://developer.apple.com/documentation/CoreImage/CICopyMachineTransition/color
Color() ICIColor
// A rectangle that defines the extent of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CICopyMachineTransition/extent
Extent() corefoundation.CGRect
// The opacity of the copier light.
//
// See: https://developer.apple.com/documentation/CoreImage/CICopyMachineTransition/opacity
Opacity() float32
// The width of the copier light.
//
// See: https://developer.apple.com/documentation/CoreImage/CICopyMachineTransition/width
Width() float32
// The angle of the copier light.
//
// See: https://developer.apple.com/documentation/CoreImage/CICopyMachineTransition/angle
SetAngle(value float32)
// The color of the copier light.
//
// See: https://developer.apple.com/documentation/CoreImage/CICopyMachineTransition/color
SetColor(value ICIColor)
// A rectangle that defines the extent of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CICopyMachineTransition/extent
SetExtent(value corefoundation.CGRect)
// The opacity of the copier light.
//
// See: https://developer.apple.com/documentation/CoreImage/CICopyMachineTransition/opacity
SetOpacity(value float32)
// The width of the copier light.
//
// See: https://developer.apple.com/documentation/CoreImage/CICopyMachineTransition/width
SetWidth(value float32)
}
The properties you use to configure a copy machine transition filter.
See: https://developer.apple.com/documentation/CoreImage/CICopyMachineTransition
type CICopyMachineTransitionObject ¶
type CICopyMachineTransitionObject struct {
objectivec.Object
}
CICopyMachineTransitionObject wraps an existing Objective-C object that conforms to the CICopyMachineTransition protocol.
func CICopyMachineTransitionObjectFromID ¶
func CICopyMachineTransitionObjectFromID(id objc.ID) CICopyMachineTransitionObject
CICopyMachineTransitionObjectFromID constructs a CICopyMachineTransitionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CICopyMachineTransitionObject) Angle ¶
func (o CICopyMachineTransitionObject) Angle() float32
The angle of the copier light.
See: https://developer.apple.com/documentation/CoreImage/CICopyMachineTransition/angle
func (CICopyMachineTransitionObject) BaseObject ¶
func (o CICopyMachineTransitionObject) BaseObject() objectivec.Object
func (CICopyMachineTransitionObject) Color ¶
func (o CICopyMachineTransitionObject) Color() ICIColor
The color of the copier light.
See: https://developer.apple.com/documentation/CoreImage/CICopyMachineTransition/color
func (CICopyMachineTransitionObject) Extent ¶
func (o CICopyMachineTransitionObject) Extent() corefoundation.CGRect
A rectangle that defines the extent of the effect.
See: https://developer.apple.com/documentation/CoreImage/CICopyMachineTransition/extent
func (CICopyMachineTransitionObject) InputImage ¶
func (o CICopyMachineTransitionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/inputImage
func (CICopyMachineTransitionObject) Opacity ¶
func (o CICopyMachineTransitionObject) Opacity() float32
The opacity of the copier light.
See: https://developer.apple.com/documentation/CoreImage/CICopyMachineTransition/opacity
func (CICopyMachineTransitionObject) OutputImage ¶
func (o CICopyMachineTransitionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CICopyMachineTransitionObject) SetAngle ¶
func (o CICopyMachineTransitionObject) SetAngle(value float32)
func (CICopyMachineTransitionObject) SetColor ¶
func (o CICopyMachineTransitionObject) SetColor(value ICIColor)
func (CICopyMachineTransitionObject) SetExtent ¶
func (o CICopyMachineTransitionObject) SetExtent(value corefoundation.CGRect)
func (CICopyMachineTransitionObject) SetInputImage ¶
func (o CICopyMachineTransitionObject) SetInputImage(value ICIImage)
func (CICopyMachineTransitionObject) SetOpacity ¶
func (o CICopyMachineTransitionObject) SetOpacity(value float32)
func (CICopyMachineTransitionObject) SetTargetImage ¶
func (o CICopyMachineTransitionObject) SetTargetImage(value ICIImage)
func (CICopyMachineTransitionObject) SetTime ¶
func (o CICopyMachineTransitionObject) SetTime(value float32)
func (CICopyMachineTransitionObject) SetWidth ¶
func (o CICopyMachineTransitionObject) SetWidth(value float32)
func (CICopyMachineTransitionObject) TargetImage ¶
func (o CICopyMachineTransitionObject) TargetImage() ICIImage
The target image for a transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/targetImage
func (CICopyMachineTransitionObject) Time ¶
func (o CICopyMachineTransitionObject) Time() float32
The parametric time of the transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/time
func (CICopyMachineTransitionObject) Width ¶
func (o CICopyMachineTransitionObject) Width() float32
The width of the copier light.
See: https://developer.apple.com/documentation/CoreImage/CICopyMachineTransition/width
type CICoreMLModel ¶
type CICoreMLModel interface {
objectivec.IObject
CIFilterProtocol
// A number that specifies which output of a multihead Core ML model applies the effect on the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICoreMLModel/headIndex
HeadIndex() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICoreMLModel/inputImage
InputImage() ICIImage
// The Core ML model used to apply the effect on the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICoreMLModel/model
Model() coreml.MLModel
// A Boolean value that specifies whether to apply Softmax normalization to the output of the model.
//
// See: https://developer.apple.com/documentation/CoreImage/CICoreMLModel/softmaxNormalization
SoftmaxNormalization() bool
// A number that specifies which output of a multihead Core ML model applies the effect on the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICoreMLModel/headIndex
SetHeadIndex(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICoreMLModel/inputImage
SetInputImage(value ICIImage)
// The Core ML model used to apply the effect on the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICoreMLModel/model
SetModel(value coreml.MLModel)
// A Boolean value that specifies whether to apply Softmax normalization to the output of the model.
//
// See: https://developer.apple.com/documentation/CoreImage/CICoreMLModel/softmaxNormalization
SetSoftmaxNormalization(value bool)
}
The properties you use to configure a Core ML model filter.
See: https://developer.apple.com/documentation/CoreImage/CICoreMLModel
type CICoreMLModelObject ¶
type CICoreMLModelObject struct {
objectivec.Object
}
CICoreMLModelObject wraps an existing Objective-C object that conforms to the CICoreMLModel protocol.
func CICoreMLModelObjectFromID ¶
func CICoreMLModelObjectFromID(id objc.ID) CICoreMLModelObject
CICoreMLModelObjectFromID constructs a CICoreMLModelObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CICoreMLModelObject) BaseObject ¶
func (o CICoreMLModelObject) BaseObject() objectivec.Object
func (CICoreMLModelObject) HeadIndex ¶
func (o CICoreMLModelObject) HeadIndex() float32
A number that specifies which output of a multihead Core ML model applies the effect on the image.
See: https://developer.apple.com/documentation/CoreImage/CICoreMLModel/headIndex
func (CICoreMLModelObject) InputImage ¶
func (o CICoreMLModelObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CICoreMLModel/inputImage
func (CICoreMLModelObject) Model ¶
func (o CICoreMLModelObject) Model() coreml.MLModel
The Core ML model used to apply the effect on the image.
See: https://developer.apple.com/documentation/CoreImage/CICoreMLModel/model
func (CICoreMLModelObject) OutputImage ¶
func (o CICoreMLModelObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CICoreMLModelObject) SetHeadIndex ¶
func (o CICoreMLModelObject) SetHeadIndex(value float32)
func (CICoreMLModelObject) SetInputImage ¶
func (o CICoreMLModelObject) SetInputImage(value ICIImage)
func (CICoreMLModelObject) SetModel ¶
func (o CICoreMLModelObject) SetModel(value coreml.MLModel)
func (CICoreMLModelObject) SetSoftmaxNormalization ¶
func (o CICoreMLModelObject) SetSoftmaxNormalization(value bool)
func (CICoreMLModelObject) SoftmaxNormalization ¶
func (o CICoreMLModelObject) SoftmaxNormalization() bool
A Boolean value that specifies whether to apply Softmax normalization to the output of the model.
See: https://developer.apple.com/documentation/CoreImage/CICoreMLModel/softmaxNormalization
type CICrystallize ¶
type CICrystallize interface {
objectivec.IObject
CIFilterProtocol
// The center of the effect as x and y coordinates.
//
// See: https://developer.apple.com/documentation/CoreImage/CICrystallize/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICrystallize/inputImage
InputImage() ICIImage
// The radius, in pixels, of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CICrystallize/radius
Radius() float32
// The center of the effect as x and y coordinates.
//
// See: https://developer.apple.com/documentation/CoreImage/CICrystallize/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CICrystallize/inputImage
SetInputImage(value ICIImage)
// The radius, in pixels, of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CICrystallize/radius
SetRadius(value float32)
}
The properties you use to configure a crystalize filter.
See: https://developer.apple.com/documentation/CoreImage/CICrystallize
type CICrystallizeObject ¶
type CICrystallizeObject struct {
objectivec.Object
}
CICrystallizeObject wraps an existing Objective-C object that conforms to the CICrystallize protocol.
func CICrystallizeObjectFromID ¶
func CICrystallizeObjectFromID(id objc.ID) CICrystallizeObject
CICrystallizeObjectFromID constructs a CICrystallizeObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CICrystallizeObject) BaseObject ¶
func (o CICrystallizeObject) BaseObject() objectivec.Object
func (CICrystallizeObject) Center ¶
func (o CICrystallizeObject) Center() corefoundation.CGPoint
The center of the effect as x and y coordinates.
See: https://developer.apple.com/documentation/CoreImage/CICrystallize/center
func (CICrystallizeObject) InputImage ¶
func (o CICrystallizeObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CICrystallize/inputImage
func (CICrystallizeObject) OutputImage ¶
func (o CICrystallizeObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CICrystallizeObject) Radius ¶
func (o CICrystallizeObject) Radius() float32
The radius, in pixels, of the effect.
See: https://developer.apple.com/documentation/CoreImage/CICrystallize/radius
func (CICrystallizeObject) SetCenter ¶
func (o CICrystallizeObject) SetCenter(value corefoundation.CGPoint)
func (CICrystallizeObject) SetInputImage ¶
func (o CICrystallizeObject) SetInputImage(value ICIImage)
func (CICrystallizeObject) SetRadius ¶
func (o CICrystallizeObject) SetRadius(value float32)
type CIDataMatrixCodeDescriptor ¶
type CIDataMatrixCodeDescriptor struct {
CIBarcodeDescriptor
}
A concrete subclass the Core Image Barcode Descriptor that represents an Data Matrix code symbol.
Overview ¶
A Data Matrix code symbol is a 2D barcode format defined by the ISO/IEC 16022:2006(E) standard. It encodes data in square or rectangular symbol with solid lines on the left and bottom sides
Creating a Descriptor ¶
- CIDataMatrixCodeDescriptor.InitWithPayloadRowCountColumnCountEccVersion: Initializes a Data Matrix code descriptor for the given payload and parameters.
Examining a Descriptor ¶
- CIDataMatrixCodeDescriptor.ErrorCorrectedPayload: The error-corrected payload containing the data encoded in the Data Matrix code symbol.
- CIDataMatrixCodeDescriptor.RowCount: The number of rows in the Data Matrix code symbol.
- CIDataMatrixCodeDescriptor.ColumnCount: The number of columns in the Data Matrix code symbol.
- CIDataMatrixCodeDescriptor.EccVersion: The error correction version of the Data Matrix code symbol.
See: https://developer.apple.com/documentation/CoreImage/CIDataMatrixCodeDescriptor
func CIDataMatrixCodeDescriptorFromID ¶
func CIDataMatrixCodeDescriptorFromID(id objc.ID) CIDataMatrixCodeDescriptor
CIDataMatrixCodeDescriptorFromID constructs a CIDataMatrixCodeDescriptor from an objc.ID.
A concrete subclass the Core Image Barcode Descriptor that represents an Data Matrix code symbol.
func NewCIDataMatrixCodeDescriptor ¶
func NewCIDataMatrixCodeDescriptor() CIDataMatrixCodeDescriptor
NewCIDataMatrixCodeDescriptor creates a new CIDataMatrixCodeDescriptor instance.
func NewDataMatrixCodeDescriptorWithPayloadRowCountColumnCountEccVersion ¶
func NewDataMatrixCodeDescriptorWithPayloadRowCountColumnCountEccVersion(errorCorrectedPayload foundation.INSData, rowCount int, columnCount int, eccVersion CIDataMatrixCodeECCVersion) CIDataMatrixCodeDescriptor
Initializes a Data Matrix code descriptor for the given payload and parameters.
errorCorrectedPayload: The data to encode in the Data Matrix code symbol.
rowCount: The number of rows in the Data Matrix code symbol.
columnCount: The number of columns in the Data Matrix code symbol.
eccVersion: The [CIDataMatrixCodeDescriptor.ECCVersion] for the Data Matrix code symbol. // [CIDataMatrixCodeDescriptor.ECCVersion]: https://developer.apple.com/documentation/CoreImage/CIDataMatrixCodeDescriptor/ECCVersion-swift.enum
Return Value ¶
An initialized CIAztecCodeDescriptor instance or `nil` if the parameters are invalid
func (CIDataMatrixCodeDescriptor) Autorelease ¶
func (d CIDataMatrixCodeDescriptor) Autorelease() CIDataMatrixCodeDescriptor
Autorelease adds the receiver to the current autorelease pool.
func (CIDataMatrixCodeDescriptor) ColumnCount ¶
func (d CIDataMatrixCodeDescriptor) ColumnCount() int
The number of columns in the Data Matrix code symbol.
Discussion ¶
Refer to ISO/IEC 16022:2006(E) for valid module row and column count combinations.
func (CIDataMatrixCodeDescriptor) EccVersion ¶
func (d CIDataMatrixCodeDescriptor) EccVersion() CIDataMatrixCodeECCVersion
The error correction version of the Data Matrix code symbol.
Discussion ¶
The possible error correction version are enumerated in CIDataMatrixCodeDescriptor.ECCVersion. Any symbol with an even number of rows and columns will be ECC 200.
func (CIDataMatrixCodeDescriptor) ErrorCorrectedPayload ¶
func (d CIDataMatrixCodeDescriptor) ErrorCorrectedPayload() foundation.INSData
The error-corrected payload containing the data encoded in the Data Matrix code symbol.
Discussion ¶
DataMatrix symbols are specified bn ISO/IEC 16022:2006(E). ECC 200-type symbols will always have an even number of rows and columns.
For ECC 200-type symbols, the phases of encoding data into a symbol are described in section 5.1 – Encode procedure overview. The error corrected payload comprises the de-interleaved bits of the message described at the end of Step 1: Data encodation.
func (CIDataMatrixCodeDescriptor) Init ¶
func (d CIDataMatrixCodeDescriptor) Init() CIDataMatrixCodeDescriptor
Init initializes the instance.
func (CIDataMatrixCodeDescriptor) InitWithPayloadRowCountColumnCountEccVersion ¶
func (d CIDataMatrixCodeDescriptor) InitWithPayloadRowCountColumnCountEccVersion(errorCorrectedPayload foundation.INSData, rowCount int, columnCount int, eccVersion CIDataMatrixCodeECCVersion) CIDataMatrixCodeDescriptor
Initializes a Data Matrix code descriptor for the given payload and parameters.
errorCorrectedPayload: The data to encode in the Data Matrix code symbol.
rowCount: The number of rows in the Data Matrix code symbol.
columnCount: The number of columns in the Data Matrix code symbol.
eccVersion: The [CIDataMatrixCodeDescriptor.ECCVersion] for the Data Matrix code symbol. // [CIDataMatrixCodeDescriptor.ECCVersion]: https://developer.apple.com/documentation/CoreImage/CIDataMatrixCodeDescriptor/ECCVersion-swift.enum
Return Value ¶
An initialized CIAztecCodeDescriptor instance or `nil` if the parameters are invalid
func (CIDataMatrixCodeDescriptor) RowCount ¶
func (d CIDataMatrixCodeDescriptor) RowCount() int
The number of rows in the Data Matrix code symbol.
Discussion ¶
Refer to ISO/IEC 16022:2006(E) for valid module row and column count combinations.
type CIDataMatrixCodeDescriptorClass ¶
type CIDataMatrixCodeDescriptorClass struct {
// contains filtered or unexported fields
}
func GetCIDataMatrixCodeDescriptorClass ¶
func GetCIDataMatrixCodeDescriptorClass() CIDataMatrixCodeDescriptorClass
GetCIDataMatrixCodeDescriptorClass returns the class object for CIDataMatrixCodeDescriptor.
func (CIDataMatrixCodeDescriptorClass) Alloc ¶
func (cc CIDataMatrixCodeDescriptorClass) Alloc() CIDataMatrixCodeDescriptor
Alloc allocates memory for a new instance of the class.
func (CIDataMatrixCodeDescriptorClass) DescriptorWithPayloadRowCountColumnCountEccVersion ¶
func (_CIDataMatrixCodeDescriptorClass CIDataMatrixCodeDescriptorClass) DescriptorWithPayloadRowCountColumnCountEccVersion(errorCorrectedPayload foundation.INSData, rowCount int, columnCount int, eccVersion CIDataMatrixCodeECCVersion) CIDataMatrixCodeDescriptor
Creates a Data Matrix code descriptor for the given payload and parameters.
errorCorrectedPayload: The data to encode in the Data Matrix code symbol.
rowCount: The number of rows in the Data Matrix code symbol.
columnCount: The number of columns in the Data Matrix code symbol.
eccVersion: The [CIDataMatrixCodeDescriptor.ECCVersion] for the Data Matrix code symbol. // [CIDataMatrixCodeDescriptor.ECCVersion]: https://developer.apple.com/documentation/CoreImage/CIDataMatrixCodeDescriptor/ECCVersion-swift.enum
Return Value ¶
An autoreleased CIAztecCodeDescriptor instance or `nil` if the parameters are invalid
type CIDataMatrixCodeECCVersion ¶
type CIDataMatrixCodeECCVersion int
See: https://developer.apple.com/documentation/CoreImage/CIDataMatrixCodeDescriptor/ECCVersion-swift.enum
const ( // CIDataMatrixCodeECCVersion000: Indicates error correction using convolutional code error correction with no data protection. CIDataMatrixCodeECCVersion000 CIDataMatrixCodeECCVersion = 0 // CIDataMatrixCodeECCVersion050: Indicates 1/4 of the symbol is dedicated to convolutional code error correction. CIDataMatrixCodeECCVersion050 CIDataMatrixCodeECCVersion = 50 // CIDataMatrixCodeECCVersion080: Indicates 1/3 of the symbol is dedicated to convolutional code error correction. CIDataMatrixCodeECCVersion080 CIDataMatrixCodeECCVersion = 80 // CIDataMatrixCodeECCVersion100: Indicates 1/2 of the symbol is dedicated to convolutional code error correction. CIDataMatrixCodeECCVersion100 CIDataMatrixCodeECCVersion = 100 // CIDataMatrixCodeECCVersion140: Indicates 3/4 of the symbol is dedicated to convolutional code error correction. CIDataMatrixCodeECCVersion140 CIDataMatrixCodeECCVersion = 140 // CIDataMatrixCodeECCVersion200: Indicates error correction using Reed-Solomon error correction. CIDataMatrixCodeECCVersion200 CIDataMatrixCodeECCVersion = 200 )
func (CIDataMatrixCodeECCVersion) String ¶
func (e CIDataMatrixCodeECCVersion) String() string
type CIDepthOfField ¶
type CIDepthOfField interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/inputImage
InputImage() ICIImage
// The first point in the focused region of the output image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/point0
Point0() corefoundation.CGPoint
// The second point in the focused region of the output image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/point1
Point1() corefoundation.CGPoint
// The distance from the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/radius
Radius() float32
// The amount to adjust the saturation by.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/saturation
Saturation() float32
// The intensity of the unsharp mask effect applied to the in-focus area.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/unsharpMaskIntensity
UnsharpMaskIntensity() float32
// The radius of the unsharp mask effect applied to the in-focus area.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/unsharpMaskRadius
UnsharpMaskRadius() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/inputImage
SetInputImage(value ICIImage)
// The first point in the focused region of the output image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/point0
SetPoint0(value corefoundation.CGPoint)
// The second point in the focused region of the output image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/point1
SetPoint1(value corefoundation.CGPoint)
// The distance from the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/radius
SetRadius(value float32)
// The amount to adjust the saturation by.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/saturation
SetSaturation(value float32)
// The intensity of the unsharp mask effect applied to the in-focus area.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/unsharpMaskIntensity
SetUnsharpMaskIntensity(value float32)
// The radius of the unsharp mask effect applied to the in-focus area.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/unsharpMaskRadius
SetUnsharpMaskRadius(value float32)
}
The properties you use to configure a depth-of-field filter.
See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField
type CIDepthOfFieldObject ¶
type CIDepthOfFieldObject struct {
objectivec.Object
}
CIDepthOfFieldObject wraps an existing Objective-C object that conforms to the CIDepthOfField protocol.
func CIDepthOfFieldObjectFromID ¶
func CIDepthOfFieldObjectFromID(id objc.ID) CIDepthOfFieldObject
CIDepthOfFieldObjectFromID constructs a CIDepthOfFieldObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIDepthOfFieldObject) BaseObject ¶
func (o CIDepthOfFieldObject) BaseObject() objectivec.Object
func (CIDepthOfFieldObject) InputImage ¶
func (o CIDepthOfFieldObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/inputImage
func (CIDepthOfFieldObject) OutputImage ¶
func (o CIDepthOfFieldObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIDepthOfFieldObject) Point0 ¶
func (o CIDepthOfFieldObject) Point0() corefoundation.CGPoint
The first point in the focused region of the output image.
See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/point0
func (CIDepthOfFieldObject) Point1 ¶
func (o CIDepthOfFieldObject) Point1() corefoundation.CGPoint
The second point in the focused region of the output image.
See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/point1
func (CIDepthOfFieldObject) Radius ¶
func (o CIDepthOfFieldObject) Radius() float32
The distance from the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/radius
func (CIDepthOfFieldObject) Saturation ¶
func (o CIDepthOfFieldObject) Saturation() float32
The amount to adjust the saturation by.
See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/saturation
func (CIDepthOfFieldObject) SetInputImage ¶
func (o CIDepthOfFieldObject) SetInputImage(value ICIImage)
func (CIDepthOfFieldObject) SetPoint0 ¶
func (o CIDepthOfFieldObject) SetPoint0(value corefoundation.CGPoint)
func (CIDepthOfFieldObject) SetPoint1 ¶
func (o CIDepthOfFieldObject) SetPoint1(value corefoundation.CGPoint)
func (CIDepthOfFieldObject) SetRadius ¶
func (o CIDepthOfFieldObject) SetRadius(value float32)
func (CIDepthOfFieldObject) SetSaturation ¶
func (o CIDepthOfFieldObject) SetSaturation(value float32)
func (CIDepthOfFieldObject) SetUnsharpMaskIntensity ¶
func (o CIDepthOfFieldObject) SetUnsharpMaskIntensity(value float32)
func (CIDepthOfFieldObject) SetUnsharpMaskRadius ¶
func (o CIDepthOfFieldObject) SetUnsharpMaskRadius(value float32)
func (CIDepthOfFieldObject) UnsharpMaskIntensity ¶
func (o CIDepthOfFieldObject) UnsharpMaskIntensity() float32
The intensity of the unsharp mask effect applied to the in-focus area.
See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/unsharpMaskIntensity
func (CIDepthOfFieldObject) UnsharpMaskRadius ¶
func (o CIDepthOfFieldObject) UnsharpMaskRadius() float32
The radius of the unsharp mask effect applied to the in-focus area.
See: https://developer.apple.com/documentation/CoreImage/CIDepthOfField/unsharpMaskRadius
type CIDepthToDisparity ¶
type CIDepthToDisparity interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDepthToDisparity/inputImage
InputImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDepthToDisparity/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a depth-to-disparity filter.
See: https://developer.apple.com/documentation/CoreImage/CIDepthToDisparity
type CIDepthToDisparityObject ¶
type CIDepthToDisparityObject struct {
objectivec.Object
}
CIDepthToDisparityObject wraps an existing Objective-C object that conforms to the CIDepthToDisparity protocol.
func CIDepthToDisparityObjectFromID ¶
func CIDepthToDisparityObjectFromID(id objc.ID) CIDepthToDisparityObject
CIDepthToDisparityObjectFromID constructs a CIDepthToDisparityObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIDepthToDisparityObject) BaseObject ¶
func (o CIDepthToDisparityObject) BaseObject() objectivec.Object
func (CIDepthToDisparityObject) InputImage ¶
func (o CIDepthToDisparityObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIDepthToDisparity/inputImage
func (CIDepthToDisparityObject) OutputImage ¶
func (o CIDepthToDisparityObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIDepthToDisparityObject) SetInputImage ¶
func (o CIDepthToDisparityObject) SetInputImage(value ICIImage)
type CIDetector ¶
type CIDetector struct {
objectivec.Object
}
An image processor that identifies notable features, such as faces and barcodes, in a still image or video.
Overview ¶
A CIDetector object uses image processing to search for and identify notable features (faces, rectangles, and barcodes) in a still image or video. Detected features are represented by CIFeature objects that provide more information about each feature.
This class can maintain many state variables that can impact performance. So for best performance, reuse CIDetector instances instead of creating new ones.
Using a Detector Object to Find Features ¶
- CIDetector.FeaturesInImage: Searches for features in an image.
- CIDetector.FeaturesInImageOptions: Searches for features in an image based on the specified image orientation.
See: https://developer.apple.com/documentation/CoreImage/CIDetector
func CIDetectorFromID ¶
func CIDetectorFromID(id objc.ID) CIDetector
CIDetectorFromID constructs a CIDetector from an objc.ID.
An image processor that identifies notable features, such as faces and barcodes, in a still image or video.
func NewCIDetector ¶
func NewCIDetector() CIDetector
NewCIDetector creates a new CIDetector instance.
func NewDetectorOfTypeContextOptions ¶
func NewDetectorOfTypeContextOptions(type_ string, context ICIContext, options foundation.INSDictionary) CIDetector
Creates and returns a configured detector.
type: A string indicating the kind of detector you are interested in. See [Detector Types]. // [Detector Types]: https://developer.apple.com/documentation/CoreImage/detector-types
context: A Core Image context that the detector can use when analyzing an image.
options: A dictionary containing details on how you want the detector to be configured. See [Detector Configuration Keys]. // [Detector Configuration Keys]: https://developer.apple.com/documentation/CoreImage/detector-configuration-keys
Return Value ¶
A configured detector.
Discussion ¶
A CIDetector object can potentially create and hold a significant amount of resources. Where possible, reuse the same CIDetector instance. Also, when processing images with a detector object, your application performs better if the CIContext used to initialize the detector is the same context used to process the ciImage objects.
See: https://developer.apple.com/documentation/CoreImage/CIDetector/init(ofType:context:options:)
func (CIDetector) Autorelease ¶
func (d CIDetector) Autorelease() CIDetector
Autorelease adds the receiver to the current autorelease pool.
func (CIDetector) FeaturesInImage ¶
func (d CIDetector) FeaturesInImage(image ICIImage) []CIFeature
Searches for features in an image.
image: The image you want to examine.
Return Value ¶
An array of CIFeature objects. Each object represents a feature detected in the image.
See: https://developer.apple.com/documentation/CoreImage/CIDetector/features(in:)
func (CIDetector) FeaturesInImageOptions ¶
func (d CIDetector) FeaturesInImageOptions(image ICIImage, options foundation.INSDictionary) []CIFeature
Searches for features in an image based on the specified image orientation.
image: The image you want to examine.
options: A dictionary that specifies feature detection options. See [Feature Detection Keys] for allowed keys and their possible values. // [Feature Detection Keys]: https://developer.apple.com/documentation/CoreImage/feature-detection-keys
Return Value ¶
An array of CIFeature objects. Each object represents a feature detected in the image.
See: https://developer.apple.com/documentation/CoreImage/CIDetector/features(in:options:)
type CIDetectorClass ¶
type CIDetectorClass struct {
// contains filtered or unexported fields
}
func GetCIDetectorClass ¶
func GetCIDetectorClass() CIDetectorClass
GetCIDetectorClass returns the class object for CIDetector.
func (CIDetectorClass) Alloc ¶
func (cc CIDetectorClass) Alloc() CIDetector
Alloc allocates memory for a new instance of the class.
type CIDiscBlur ¶
type CIDiscBlur interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDiscBlur/inputImage
InputImage() ICIImage
// The radius of the blur, in pixels.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDiscBlur/radius
Radius() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDiscBlur/inputImage
SetInputImage(value ICIImage)
// The radius of the blur, in pixels.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDiscBlur/radius
SetRadius(value float32)
}
The properties you use to configure a disc blur filter.
See: https://developer.apple.com/documentation/CoreImage/CIDiscBlur
type CIDiscBlurObject ¶
type CIDiscBlurObject struct {
objectivec.Object
}
CIDiscBlurObject wraps an existing Objective-C object that conforms to the CIDiscBlur protocol.
func CIDiscBlurObjectFromID ¶
func CIDiscBlurObjectFromID(id objc.ID) CIDiscBlurObject
CIDiscBlurObjectFromID constructs a CIDiscBlurObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIDiscBlurObject) BaseObject ¶
func (o CIDiscBlurObject) BaseObject() objectivec.Object
func (CIDiscBlurObject) InputImage ¶
func (o CIDiscBlurObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIDiscBlur/inputImage
func (CIDiscBlurObject) OutputImage ¶
func (o CIDiscBlurObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIDiscBlurObject) Radius ¶
func (o CIDiscBlurObject) Radius() float32
The radius of the blur, in pixels.
See: https://developer.apple.com/documentation/CoreImage/CIDiscBlur/radius
func (CIDiscBlurObject) SetInputImage ¶
func (o CIDiscBlurObject) SetInputImage(value ICIImage)
func (CIDiscBlurObject) SetRadius ¶
func (o CIDiscBlurObject) SetRadius(value float32)
type CIDisintegrateWithMaskTransition ¶
type CIDisintegrateWithMaskTransition interface {
objectivec.IObject
CIFilterProtocol
CITransitionFilter
// An image that defines the shape to use when disintegrating from the source to the target image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDisintegrateWithMaskTransition/maskImage
MaskImage() ICIImage
// The density of the shadow the mask creates.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDisintegrateWithMaskTransition/shadowDensity
ShadowDensity() float32
// The offset of the shadow the mask creates.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDisintegrateWithMaskTransition/shadowOffset
ShadowOffset() corefoundation.CGPoint
// The radius of the shadow the mask creates.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDisintegrateWithMaskTransition/shadowRadius
ShadowRadius() float32
// An image that defines the shape to use when disintegrating from the source to the target image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDisintegrateWithMaskTransition/maskImage
SetMaskImage(value ICIImage)
// The density of the shadow the mask creates.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDisintegrateWithMaskTransition/shadowDensity
SetShadowDensity(value float32)
// The offset of the shadow the mask creates.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDisintegrateWithMaskTransition/shadowOffset
SetShadowOffset(value corefoundation.CGPoint)
// The radius of the shadow the mask creates.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDisintegrateWithMaskTransition/shadowRadius
SetShadowRadius(value float32)
}
The properties you use to configure a disintegrate-with-mask transition filter.
See: https://developer.apple.com/documentation/CoreImage/CIDisintegrateWithMaskTransition
type CIDisintegrateWithMaskTransitionObject ¶
type CIDisintegrateWithMaskTransitionObject struct {
objectivec.Object
}
CIDisintegrateWithMaskTransitionObject wraps an existing Objective-C object that conforms to the CIDisintegrateWithMaskTransition protocol.
func CIDisintegrateWithMaskTransitionObjectFromID ¶
func CIDisintegrateWithMaskTransitionObjectFromID(id objc.ID) CIDisintegrateWithMaskTransitionObject
CIDisintegrateWithMaskTransitionObjectFromID constructs a CIDisintegrateWithMaskTransitionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIDisintegrateWithMaskTransitionObject) BaseObject ¶
func (o CIDisintegrateWithMaskTransitionObject) BaseObject() objectivec.Object
func (CIDisintegrateWithMaskTransitionObject) InputImage ¶
func (o CIDisintegrateWithMaskTransitionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/inputImage
func (CIDisintegrateWithMaskTransitionObject) MaskImage ¶
func (o CIDisintegrateWithMaskTransitionObject) MaskImage() ICIImage
An image that defines the shape to use when disintegrating from the source to the target image.
See: https://developer.apple.com/documentation/CoreImage/CIDisintegrateWithMaskTransition/maskImage
func (CIDisintegrateWithMaskTransitionObject) OutputImage ¶
func (o CIDisintegrateWithMaskTransitionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIDisintegrateWithMaskTransitionObject) SetInputImage ¶
func (o CIDisintegrateWithMaskTransitionObject) SetInputImage(value ICIImage)
func (CIDisintegrateWithMaskTransitionObject) SetMaskImage ¶
func (o CIDisintegrateWithMaskTransitionObject) SetMaskImage(value ICIImage)
func (CIDisintegrateWithMaskTransitionObject) SetShadowDensity ¶
func (o CIDisintegrateWithMaskTransitionObject) SetShadowDensity(value float32)
func (CIDisintegrateWithMaskTransitionObject) SetShadowOffset ¶
func (o CIDisintegrateWithMaskTransitionObject) SetShadowOffset(value corefoundation.CGPoint)
func (CIDisintegrateWithMaskTransitionObject) SetShadowRadius ¶
func (o CIDisintegrateWithMaskTransitionObject) SetShadowRadius(value float32)
func (CIDisintegrateWithMaskTransitionObject) SetTargetImage ¶
func (o CIDisintegrateWithMaskTransitionObject) SetTargetImage(value ICIImage)
func (CIDisintegrateWithMaskTransitionObject) SetTime ¶
func (o CIDisintegrateWithMaskTransitionObject) SetTime(value float32)
func (CIDisintegrateWithMaskTransitionObject) ShadowDensity ¶
func (o CIDisintegrateWithMaskTransitionObject) ShadowDensity() float32
The density of the shadow the mask creates.
See: https://developer.apple.com/documentation/CoreImage/CIDisintegrateWithMaskTransition/shadowDensity
func (CIDisintegrateWithMaskTransitionObject) ShadowOffset ¶
func (o CIDisintegrateWithMaskTransitionObject) ShadowOffset() corefoundation.CGPoint
The offset of the shadow the mask creates.
See: https://developer.apple.com/documentation/CoreImage/CIDisintegrateWithMaskTransition/shadowOffset
func (CIDisintegrateWithMaskTransitionObject) ShadowRadius ¶
func (o CIDisintegrateWithMaskTransitionObject) ShadowRadius() float32
The radius of the shadow the mask creates.
See: https://developer.apple.com/documentation/CoreImage/CIDisintegrateWithMaskTransition/shadowRadius
func (CIDisintegrateWithMaskTransitionObject) TargetImage ¶
func (o CIDisintegrateWithMaskTransitionObject) TargetImage() ICIImage
The target image for a transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/targetImage
func (CIDisintegrateWithMaskTransitionObject) Time ¶
func (o CIDisintegrateWithMaskTransitionObject) Time() float32
The parametric time of the transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/time
type CIDisparityToDepth ¶
type CIDisparityToDepth interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDisparityToDepth/inputImage
InputImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDisparityToDepth/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a disparity-to-depth filter.
See: https://developer.apple.com/documentation/CoreImage/CIDisparityToDepth
type CIDisparityToDepthObject ¶
type CIDisparityToDepthObject struct {
objectivec.Object
}
CIDisparityToDepthObject wraps an existing Objective-C object that conforms to the CIDisparityToDepth protocol.
func CIDisparityToDepthObjectFromID ¶
func CIDisparityToDepthObjectFromID(id objc.ID) CIDisparityToDepthObject
CIDisparityToDepthObjectFromID constructs a CIDisparityToDepthObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIDisparityToDepthObject) BaseObject ¶
func (o CIDisparityToDepthObject) BaseObject() objectivec.Object
func (CIDisparityToDepthObject) InputImage ¶
func (o CIDisparityToDepthObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIDisparityToDepth/inputImage
func (CIDisparityToDepthObject) OutputImage ¶
func (o CIDisparityToDepthObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIDisparityToDepthObject) SetInputImage ¶
func (o CIDisparityToDepthObject) SetInputImage(value ICIImage)
type CIDisplacementDistortion ¶
type CIDisplacementDistortion interface {
objectivec.IObject
CIFilterProtocol
// DisplacementImage protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDisplacementDistortion/displacementImage
DisplacementImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDisplacementDistortion/inputImage
InputImage() ICIImage
// Scale protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDisplacementDistortion/scale
Scale() float32
// displacementImage protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDisplacementDistortion/displacementImage
SetDisplacementImage(value ICIImage)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDisplacementDistortion/inputImage
SetInputImage(value ICIImage)
// scale protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDisplacementDistortion/scale
SetScale(value float32)
}
CIDisplacementDistortion protocol.
See: https://developer.apple.com/documentation/CoreImage/CIDisplacementDistortion
type CIDisplacementDistortionObject ¶
type CIDisplacementDistortionObject struct {
objectivec.Object
}
CIDisplacementDistortionObject wraps an existing Objective-C object that conforms to the CIDisplacementDistortion protocol.
func CIDisplacementDistortionObjectFromID ¶
func CIDisplacementDistortionObjectFromID(id objc.ID) CIDisplacementDistortionObject
CIDisplacementDistortionObjectFromID constructs a CIDisplacementDistortionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIDisplacementDistortionObject) BaseObject ¶
func (o CIDisplacementDistortionObject) BaseObject() objectivec.Object
func (CIDisplacementDistortionObject) DisplacementImage ¶
func (o CIDisplacementDistortionObject) DisplacementImage() ICIImage
See: https://developer.apple.com/documentation/CoreImage/CIDisplacementDistortion/displacementImage
func (CIDisplacementDistortionObject) InputImage ¶
func (o CIDisplacementDistortionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIDisplacementDistortion/inputImage
func (CIDisplacementDistortionObject) OutputImage ¶
func (o CIDisplacementDistortionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIDisplacementDistortionObject) Scale ¶
func (o CIDisplacementDistortionObject) Scale() float32
See: https://developer.apple.com/documentation/CoreImage/CIDisplacementDistortion/scale
func (CIDisplacementDistortionObject) SetDisplacementImage ¶
func (o CIDisplacementDistortionObject) SetDisplacementImage(value ICIImage)
func (CIDisplacementDistortionObject) SetInputImage ¶
func (o CIDisplacementDistortionObject) SetInputImage(value ICIImage)
func (CIDisplacementDistortionObject) SetScale ¶
func (o CIDisplacementDistortionObject) SetScale(value float32)
type CIDissolveTransition ¶
type CIDissolveTransition interface {
objectivec.IObject
CIFilterProtocol
CITransitionFilter
}
The properties you use to configure a dissolve transition filter.
See: https://developer.apple.com/documentation/CoreImage/CIDissolveTransition
type CIDissolveTransitionObject ¶
type CIDissolveTransitionObject struct {
objectivec.Object
}
CIDissolveTransitionObject wraps an existing Objective-C object that conforms to the CIDissolveTransition protocol.
func CIDissolveTransitionObjectFromID ¶
func CIDissolveTransitionObjectFromID(id objc.ID) CIDissolveTransitionObject
CIDissolveTransitionObjectFromID constructs a CIDissolveTransitionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIDissolveTransitionObject) BaseObject ¶
func (o CIDissolveTransitionObject) BaseObject() objectivec.Object
func (CIDissolveTransitionObject) InputImage ¶
func (o CIDissolveTransitionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/inputImage
func (CIDissolveTransitionObject) OutputImage ¶
func (o CIDissolveTransitionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIDissolveTransitionObject) SetInputImage ¶
func (o CIDissolveTransitionObject) SetInputImage(value ICIImage)
func (CIDissolveTransitionObject) SetTargetImage ¶
func (o CIDissolveTransitionObject) SetTargetImage(value ICIImage)
func (CIDissolveTransitionObject) SetTime ¶
func (o CIDissolveTransitionObject) SetTime(value float32)
func (CIDissolveTransitionObject) TargetImage ¶
func (o CIDissolveTransitionObject) TargetImage() ICIImage
The target image for a transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/targetImage
func (CIDissolveTransitionObject) Time ¶
func (o CIDissolveTransitionObject) Time() float32
The parametric time of the transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/time
type CIDistanceGradientFromRedMask ¶
type CIDistanceGradientFromRedMask interface {
objectivec.IObject
CIFilterProtocol
// The input image whose red channel defines a mask. If the red channel pixel value is greater than 0.5 then the point is considered in the mask and output pixel will be zero. Otherwise the output pixel will be a value between zero and one.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDistanceGradientFromRedMask/inputImage
InputImage() ICIImage
// Determines the maximum distance to the mask that can be measured. Distances between zero and the maximum will be normalized to zero and one.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDistanceGradientFromRedMask/maximumDistance
MaximumDistance() float32
// The input image whose red channel defines a mask. If the red channel pixel value is greater than 0.5 then the point is considered in the mask and output pixel will be zero. Otherwise the output pixel will be a value between zero and one.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDistanceGradientFromRedMask/inputImage
SetInputImage(value ICIImage)
// Determines the maximum distance to the mask that can be measured. Distances between zero and the maximum will be normalized to zero and one.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDistanceGradientFromRedMask/maximumDistance
SetMaximumDistance(value float32)
}
The protocol for the Distance Gradient From Red Mask filter.
See: https://developer.apple.com/documentation/CoreImage/CIDistanceGradientFromRedMask
type CIDistanceGradientFromRedMaskObject ¶
type CIDistanceGradientFromRedMaskObject struct {
objectivec.Object
}
CIDistanceGradientFromRedMaskObject wraps an existing Objective-C object that conforms to the CIDistanceGradientFromRedMask protocol.
func CIDistanceGradientFromRedMaskObjectFromID ¶
func CIDistanceGradientFromRedMaskObjectFromID(id objc.ID) CIDistanceGradientFromRedMaskObject
CIDistanceGradientFromRedMaskObjectFromID constructs a CIDistanceGradientFromRedMaskObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIDistanceGradientFromRedMaskObject) BaseObject ¶
func (o CIDistanceGradientFromRedMaskObject) BaseObject() objectivec.Object
func (CIDistanceGradientFromRedMaskObject) InputImage ¶
func (o CIDistanceGradientFromRedMaskObject) InputImage() ICIImage
The input image whose red channel defines a mask. If the red channel pixel value is greater than 0.5 then the point is considered in the mask and output pixel will be zero. Otherwise the output pixel will be a value between zero and one.
See: https://developer.apple.com/documentation/CoreImage/CIDistanceGradientFromRedMask/inputImage
func (CIDistanceGradientFromRedMaskObject) MaximumDistance ¶
func (o CIDistanceGradientFromRedMaskObject) MaximumDistance() float32
Determines the maximum distance to the mask that can be measured. Distances between zero and the maximum will be normalized to zero and one.
See: https://developer.apple.com/documentation/CoreImage/CIDistanceGradientFromRedMask/maximumDistance
func (CIDistanceGradientFromRedMaskObject) OutputImage ¶
func (o CIDistanceGradientFromRedMaskObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIDistanceGradientFromRedMaskObject) SetInputImage ¶
func (o CIDistanceGradientFromRedMaskObject) SetInputImage(value ICIImage)
func (CIDistanceGradientFromRedMaskObject) SetMaximumDistance ¶
func (o CIDistanceGradientFromRedMaskObject) SetMaximumDistance(value float32)
type CIDither ¶
type CIDither interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDither/inputImage
InputImage() ICIImage
// The intensity of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDither/intensity
Intensity() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDither/inputImage
SetInputImage(value ICIImage)
// The intensity of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDither/intensity
SetIntensity(value float32)
}
The properties you use to configure a dither filter.
See: https://developer.apple.com/documentation/CoreImage/CIDither
type CIDitherObject ¶
type CIDitherObject struct {
objectivec.Object
}
CIDitherObject wraps an existing Objective-C object that conforms to the CIDither protocol.
func CIDitherObjectFromID ¶
func CIDitherObjectFromID(id objc.ID) CIDitherObject
CIDitherObjectFromID constructs a CIDitherObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIDitherObject) BaseObject ¶
func (o CIDitherObject) BaseObject() objectivec.Object
func (CIDitherObject) InputImage ¶
func (o CIDitherObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIDither/inputImage
func (CIDitherObject) Intensity ¶
func (o CIDitherObject) Intensity() float32
The intensity of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIDither/intensity
func (CIDitherObject) OutputImage ¶
func (o CIDitherObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIDitherObject) SetInputImage ¶
func (o CIDitherObject) SetInputImage(value ICIImage)
func (CIDitherObject) SetIntensity ¶
func (o CIDitherObject) SetIntensity(value float32)
type CIDocumentEnhancer ¶
type CIDocumentEnhancer interface {
objectivec.IObject
CIFilterProtocol
// The amount of enhancement.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDocumentEnhancer/amount
Amount() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDocumentEnhancer/inputImage
InputImage() ICIImage
// The amount of enhancement.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDocumentEnhancer/amount
SetAmount(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDocumentEnhancer/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a document enhancer filter.
See: https://developer.apple.com/documentation/CoreImage/CIDocumentEnhancer
type CIDocumentEnhancerObject ¶
type CIDocumentEnhancerObject struct {
objectivec.Object
}
CIDocumentEnhancerObject wraps an existing Objective-C object that conforms to the CIDocumentEnhancer protocol.
func CIDocumentEnhancerObjectFromID ¶
func CIDocumentEnhancerObjectFromID(id objc.ID) CIDocumentEnhancerObject
CIDocumentEnhancerObjectFromID constructs a CIDocumentEnhancerObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIDocumentEnhancerObject) Amount ¶
func (o CIDocumentEnhancerObject) Amount() float32
The amount of enhancement.
See: https://developer.apple.com/documentation/CoreImage/CIDocumentEnhancer/amount
func (CIDocumentEnhancerObject) BaseObject ¶
func (o CIDocumentEnhancerObject) BaseObject() objectivec.Object
func (CIDocumentEnhancerObject) InputImage ¶
func (o CIDocumentEnhancerObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIDocumentEnhancer/inputImage
func (CIDocumentEnhancerObject) OutputImage ¶
func (o CIDocumentEnhancerObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIDocumentEnhancerObject) SetAmount ¶
func (o CIDocumentEnhancerObject) SetAmount(value float32)
func (CIDocumentEnhancerObject) SetInputImage ¶
func (o CIDocumentEnhancerObject) SetInputImage(value ICIImage)
type CIDotScreen ¶
type CIDotScreen interface {
objectivec.IObject
CIFilterProtocol
// The angle of the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDotScreen/angle
Angle() float32
// The x and y position to use as the center of the dot screen pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDotScreen/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDotScreen/inputImage
InputImage() ICIImage
// The sharpness of the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDotScreen/sharpness
Sharpness() float32
// The distance between dots in the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDotScreen/width
Width() float32
// The angle of the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDotScreen/angle
SetAngle(value float32)
// The x and y position to use as the center of the dot screen pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDotScreen/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDotScreen/inputImage
SetInputImage(value ICIImage)
// The sharpness of the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDotScreen/sharpness
SetSharpness(value float32)
// The distance between dots in the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDotScreen/width
SetWidth(value float32)
}
The properties you use to configure a dot screen filter.
See: https://developer.apple.com/documentation/CoreImage/CIDotScreen
type CIDotScreenObject ¶
type CIDotScreenObject struct {
objectivec.Object
}
CIDotScreenObject wraps an existing Objective-C object that conforms to the CIDotScreen protocol.
func CIDotScreenObjectFromID ¶
func CIDotScreenObjectFromID(id objc.ID) CIDotScreenObject
CIDotScreenObjectFromID constructs a CIDotScreenObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIDotScreenObject) Angle ¶
func (o CIDotScreenObject) Angle() float32
The angle of the pattern.
See: https://developer.apple.com/documentation/CoreImage/CIDotScreen/angle
func (CIDotScreenObject) BaseObject ¶
func (o CIDotScreenObject) BaseObject() objectivec.Object
func (CIDotScreenObject) Center ¶
func (o CIDotScreenObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the dot screen pattern.
See: https://developer.apple.com/documentation/CoreImage/CIDotScreen/center
func (CIDotScreenObject) InputImage ¶
func (o CIDotScreenObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIDotScreen/inputImage
func (CIDotScreenObject) OutputImage ¶
func (o CIDotScreenObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIDotScreenObject) SetAngle ¶
func (o CIDotScreenObject) SetAngle(value float32)
func (CIDotScreenObject) SetCenter ¶
func (o CIDotScreenObject) SetCenter(value corefoundation.CGPoint)
func (CIDotScreenObject) SetInputImage ¶
func (o CIDotScreenObject) SetInputImage(value ICIImage)
func (CIDotScreenObject) SetSharpness ¶
func (o CIDotScreenObject) SetSharpness(value float32)
func (CIDotScreenObject) SetWidth ¶
func (o CIDotScreenObject) SetWidth(value float32)
func (CIDotScreenObject) Sharpness ¶
func (o CIDotScreenObject) Sharpness() float32
The sharpness of the pattern.
See: https://developer.apple.com/documentation/CoreImage/CIDotScreen/sharpness
func (CIDotScreenObject) Width ¶
func (o CIDotScreenObject) Width() float32
The distance between dots in the pattern.
See: https://developer.apple.com/documentation/CoreImage/CIDotScreen/width
type CIDroste ¶
type CIDroste interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDroste/inputImage
InputImage() ICIImage
// InsetPoint0 protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDroste/insetPoint0
InsetPoint0() corefoundation.CGPoint
// InsetPoint1 protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDroste/insetPoint1
InsetPoint1() corefoundation.CGPoint
// Periodicity protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDroste/periodicity
Periodicity() float32
// Rotation protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDroste/rotation
Rotation() float32
// Strands protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDroste/strands
Strands() float32
// Zoom protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDroste/zoom
Zoom() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDroste/inputImage
SetInputImage(value ICIImage)
// insetPoint0 protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDroste/insetPoint0
SetInsetPoint0(value corefoundation.CGPoint)
// insetPoint1 protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDroste/insetPoint1
SetInsetPoint1(value corefoundation.CGPoint)
// periodicity protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDroste/periodicity
SetPeriodicity(value float32)
// rotation protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDroste/rotation
SetRotation(value float32)
// strands protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDroste/strands
SetStrands(value float32)
// zoom protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIDroste/zoom
SetZoom(value float32)
}
CIDroste protocol.
See: https://developer.apple.com/documentation/CoreImage/CIDroste
type CIDrosteObject ¶
type CIDrosteObject struct {
objectivec.Object
}
CIDrosteObject wraps an existing Objective-C object that conforms to the CIDroste protocol.
func CIDrosteObjectFromID ¶
func CIDrosteObjectFromID(id objc.ID) CIDrosteObject
CIDrosteObjectFromID constructs a CIDrosteObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIDrosteObject) BaseObject ¶
func (o CIDrosteObject) BaseObject() objectivec.Object
func (CIDrosteObject) InputImage ¶
func (o CIDrosteObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIDroste/inputImage
func (CIDrosteObject) InsetPoint0 ¶
func (o CIDrosteObject) InsetPoint0() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIDroste/insetPoint0
func (CIDrosteObject) InsetPoint1 ¶
func (o CIDrosteObject) InsetPoint1() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIDroste/insetPoint1
func (CIDrosteObject) OutputImage ¶
func (o CIDrosteObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIDrosteObject) Periodicity ¶
func (o CIDrosteObject) Periodicity() float32
See: https://developer.apple.com/documentation/CoreImage/CIDroste/periodicity
func (CIDrosteObject) Rotation ¶
func (o CIDrosteObject) Rotation() float32
See: https://developer.apple.com/documentation/CoreImage/CIDroste/rotation
func (CIDrosteObject) SetInputImage ¶
func (o CIDrosteObject) SetInputImage(value ICIImage)
func (CIDrosteObject) SetInsetPoint0 ¶
func (o CIDrosteObject) SetInsetPoint0(value corefoundation.CGPoint)
func (CIDrosteObject) SetInsetPoint1 ¶
func (o CIDrosteObject) SetInsetPoint1(value corefoundation.CGPoint)
func (CIDrosteObject) SetPeriodicity ¶
func (o CIDrosteObject) SetPeriodicity(value float32)
func (CIDrosteObject) SetRotation ¶
func (o CIDrosteObject) SetRotation(value float32)
func (CIDrosteObject) SetStrands ¶
func (o CIDrosteObject) SetStrands(value float32)
func (CIDrosteObject) SetZoom ¶
func (o CIDrosteObject) SetZoom(value float32)
func (CIDrosteObject) Strands ¶
func (o CIDrosteObject) Strands() float32
See: https://developer.apple.com/documentation/CoreImage/CIDroste/strands
func (CIDrosteObject) Zoom ¶
func (o CIDrosteObject) Zoom() float32
See: https://developer.apple.com/documentation/CoreImage/CIDroste/zoom
type CIDynamicRangeOption ¶
type CIDynamicRangeOption = string
CIDynamicRangeOption is an enum string type that your code can use to select different System Tone Mapping modes.
See: https://developer.apple.com/documentation/CoreImage/CIDynamicRangeOption
var ( // KCIDynamicRangeConstrainedHigh is use extended dynamic range, but brightness is modulated to optimize for co-existence with other composited content. // // See: https://developer.apple.com/documentation/CoreImage/CIDynamicRangeOption/constrainedHigh KCIDynamicRangeConstrainedHigh CIDynamicRangeOption // KCIDynamicRangeHigh is use High dynamic range. // // See: https://developer.apple.com/documentation/CoreImage/CIDynamicRangeOption/high KCIDynamicRangeHigh CIDynamicRangeOption // KCIDynamicRangeStandard is use Standard dynamic range. // // See: https://developer.apple.com/documentation/CoreImage/CIDynamicRangeOption/standard KCIDynamicRangeStandard CIDynamicRangeOption )
type CIEdgePreserveUpsample ¶
type CIEdgePreserveUpsample interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEdgePreserveUpsample/inputImage
InputImage() ICIImage
// A value that specifies the influence of the input image’s luma information on the upsampling operation.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEdgePreserveUpsample/lumaSigma
LumaSigma() float32
// The image that the filter upsamples.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEdgePreserveUpsample/smallImage
SmallImage() ICIImage
// A value that specifies the influence of the input image’s spatial information on the upsampling operation.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEdgePreserveUpsample/spatialSigma
SpatialSigma() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEdgePreserveUpsample/inputImage
SetInputImage(value ICIImage)
// A value that specifies the influence of the input image’s luma information on the upsampling operation.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEdgePreserveUpsample/lumaSigma
SetLumaSigma(value float32)
// The image that the filter upsamples.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEdgePreserveUpsample/smallImage
SetSmallImage(value ICIImage)
// A value that specifies the influence of the input image’s spatial information on the upsampling operation.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEdgePreserveUpsample/spatialSigma
SetSpatialSigma(value float32)
}
The properties you use to configure an edge preserve upsample filter.
See: https://developer.apple.com/documentation/CoreImage/CIEdgePreserveUpsample
type CIEdgePreserveUpsampleObject ¶
type CIEdgePreserveUpsampleObject struct {
objectivec.Object
}
CIEdgePreserveUpsampleObject wraps an existing Objective-C object that conforms to the CIEdgePreserveUpsample protocol.
func CIEdgePreserveUpsampleObjectFromID ¶
func CIEdgePreserveUpsampleObjectFromID(id objc.ID) CIEdgePreserveUpsampleObject
CIEdgePreserveUpsampleObjectFromID constructs a CIEdgePreserveUpsampleObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIEdgePreserveUpsampleObject) BaseObject ¶
func (o CIEdgePreserveUpsampleObject) BaseObject() objectivec.Object
func (CIEdgePreserveUpsampleObject) InputImage ¶
func (o CIEdgePreserveUpsampleObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIEdgePreserveUpsample/inputImage
func (CIEdgePreserveUpsampleObject) LumaSigma ¶
func (o CIEdgePreserveUpsampleObject) LumaSigma() float32
A value that specifies the influence of the input image’s luma information on the upsampling operation.
See: https://developer.apple.com/documentation/CoreImage/CIEdgePreserveUpsample/lumaSigma
func (CIEdgePreserveUpsampleObject) OutputImage ¶
func (o CIEdgePreserveUpsampleObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIEdgePreserveUpsampleObject) SetInputImage ¶
func (o CIEdgePreserveUpsampleObject) SetInputImage(value ICIImage)
func (CIEdgePreserveUpsampleObject) SetLumaSigma ¶
func (o CIEdgePreserveUpsampleObject) SetLumaSigma(value float32)
func (CIEdgePreserveUpsampleObject) SetSmallImage ¶
func (o CIEdgePreserveUpsampleObject) SetSmallImage(value ICIImage)
func (CIEdgePreserveUpsampleObject) SetSpatialSigma ¶
func (o CIEdgePreserveUpsampleObject) SetSpatialSigma(value float32)
func (CIEdgePreserveUpsampleObject) SmallImage ¶
func (o CIEdgePreserveUpsampleObject) SmallImage() ICIImage
The image that the filter upsamples.
See: https://developer.apple.com/documentation/CoreImage/CIEdgePreserveUpsample/smallImage
func (CIEdgePreserveUpsampleObject) SpatialSigma ¶
func (o CIEdgePreserveUpsampleObject) SpatialSigma() float32
A value that specifies the influence of the input image’s spatial information on the upsampling operation.
See: https://developer.apple.com/documentation/CoreImage/CIEdgePreserveUpsample/spatialSigma
type CIEdgeWork ¶
type CIEdgeWork interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEdgeWork/inputImage
InputImage() ICIImage
// The thickness of the edges.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEdgeWork/radius
Radius() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEdgeWork/inputImage
SetInputImage(value ICIImage)
// The thickness of the edges.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEdgeWork/radius
SetRadius(value float32)
}
The properties you use to configure an edge-work filter.
See: https://developer.apple.com/documentation/CoreImage/CIEdgeWork
type CIEdgeWorkObject ¶
type CIEdgeWorkObject struct {
objectivec.Object
}
CIEdgeWorkObject wraps an existing Objective-C object that conforms to the CIEdgeWork protocol.
func CIEdgeWorkObjectFromID ¶
func CIEdgeWorkObjectFromID(id objc.ID) CIEdgeWorkObject
CIEdgeWorkObjectFromID constructs a CIEdgeWorkObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIEdgeWorkObject) BaseObject ¶
func (o CIEdgeWorkObject) BaseObject() objectivec.Object
func (CIEdgeWorkObject) InputImage ¶
func (o CIEdgeWorkObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIEdgeWork/inputImage
func (CIEdgeWorkObject) OutputImage ¶
func (o CIEdgeWorkObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIEdgeWorkObject) Radius ¶
func (o CIEdgeWorkObject) Radius() float32
The thickness of the edges.
See: https://developer.apple.com/documentation/CoreImage/CIEdgeWork/radius
func (CIEdgeWorkObject) SetInputImage ¶
func (o CIEdgeWorkObject) SetInputImage(value ICIImage)
func (CIEdgeWorkObject) SetRadius ¶
func (o CIEdgeWorkObject) SetRadius(value float32)
type CIEdges ¶
type CIEdges interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEdges/inputImage
InputImage() ICIImage
// The intensity of the edges.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEdges/intensity
Intensity() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEdges/inputImage
SetInputImage(value ICIImage)
// The intensity of the edges.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEdges/intensity
SetIntensity(value float32)
}
The properties you use to configure an edges filter.
See: https://developer.apple.com/documentation/CoreImage/CIEdges
type CIEdgesObject ¶
type CIEdgesObject struct {
objectivec.Object
}
CIEdgesObject wraps an existing Objective-C object that conforms to the CIEdges protocol.
func CIEdgesObjectFromID ¶
func CIEdgesObjectFromID(id objc.ID) CIEdgesObject
CIEdgesObjectFromID constructs a CIEdgesObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIEdgesObject) BaseObject ¶
func (o CIEdgesObject) BaseObject() objectivec.Object
func (CIEdgesObject) InputImage ¶
func (o CIEdgesObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIEdges/inputImage
func (CIEdgesObject) Intensity ¶
func (o CIEdgesObject) Intensity() float32
The intensity of the edges.
See: https://developer.apple.com/documentation/CoreImage/CIEdges/intensity
func (CIEdgesObject) OutputImage ¶
func (o CIEdgesObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIEdgesObject) SetInputImage ¶
func (o CIEdgesObject) SetInputImage(value ICIImage)
func (CIEdgesObject) SetIntensity ¶
func (o CIEdgesObject) SetIntensity(value float32)
type CIEightfoldReflectedTile ¶
type CIEightfoldReflectedTile interface {
objectivec.IObject
CIFilterProtocol
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEightfoldReflectedTile/angle
Angle() float32
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEightfoldReflectedTile/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEightfoldReflectedTile/inputImage
InputImage() ICIImage
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEightfoldReflectedTile/width
Width() float32
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEightfoldReflectedTile/angle
SetAngle(value float32)
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEightfoldReflectedTile/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEightfoldReflectedTile/inputImage
SetInputImage(value ICIImage)
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIEightfoldReflectedTile/width
SetWidth(value float32)
}
The properties you use to configure an eightfold reflected tile filter.
See: https://developer.apple.com/documentation/CoreImage/CIEightfoldReflectedTile
type CIEightfoldReflectedTileObject ¶
type CIEightfoldReflectedTileObject struct {
objectivec.Object
}
CIEightfoldReflectedTileObject wraps an existing Objective-C object that conforms to the CIEightfoldReflectedTile protocol.
func CIEightfoldReflectedTileObjectFromID ¶
func CIEightfoldReflectedTileObjectFromID(id objc.ID) CIEightfoldReflectedTileObject
CIEightfoldReflectedTileObjectFromID constructs a CIEightfoldReflectedTileObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIEightfoldReflectedTileObject) Angle ¶
func (o CIEightfoldReflectedTileObject) Angle() float32
The angle, in radians, of the tiled pattern.
See: https://developer.apple.com/documentation/CoreImage/CIEightfoldReflectedTile/angle
func (CIEightfoldReflectedTileObject) BaseObject ¶
func (o CIEightfoldReflectedTileObject) BaseObject() objectivec.Object
func (CIEightfoldReflectedTileObject) Center ¶
func (o CIEightfoldReflectedTileObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIEightfoldReflectedTile/center
func (CIEightfoldReflectedTileObject) InputImage ¶
func (o CIEightfoldReflectedTileObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIEightfoldReflectedTile/inputImage
func (CIEightfoldReflectedTileObject) OutputImage ¶
func (o CIEightfoldReflectedTileObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIEightfoldReflectedTileObject) SetAngle ¶
func (o CIEightfoldReflectedTileObject) SetAngle(value float32)
func (CIEightfoldReflectedTileObject) SetCenter ¶
func (o CIEightfoldReflectedTileObject) SetCenter(value corefoundation.CGPoint)
func (CIEightfoldReflectedTileObject) SetInputImage ¶
func (o CIEightfoldReflectedTileObject) SetInputImage(value ICIImage)
func (CIEightfoldReflectedTileObject) SetWidth ¶
func (o CIEightfoldReflectedTileObject) SetWidth(value float32)
func (CIEightfoldReflectedTileObject) Width ¶
func (o CIEightfoldReflectedTileObject) Width() float32
The width of a tile.
See: https://developer.apple.com/documentation/CoreImage/CIEightfoldReflectedTile/width
type CIExposureAdjust ¶
type CIExposureAdjust interface {
objectivec.IObject
CIFilterProtocol
// The amount to adjust the exposure of the image by.
//
// See: https://developer.apple.com/documentation/CoreImage/CIExposureAdjust/ev
EV() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIExposureAdjust/inputImage
InputImage() ICIImage
// The amount to adjust the exposure of the image by.
//
// See: https://developer.apple.com/documentation/CoreImage/CIExposureAdjust/ev
SetEV(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIExposureAdjust/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure an exposure adjust filter.
See: https://developer.apple.com/documentation/CoreImage/CIExposureAdjust
type CIExposureAdjustObject ¶
type CIExposureAdjustObject struct {
objectivec.Object
}
CIExposureAdjustObject wraps an existing Objective-C object that conforms to the CIExposureAdjust protocol.
func CIExposureAdjustObjectFromID ¶
func CIExposureAdjustObjectFromID(id objc.ID) CIExposureAdjustObject
CIExposureAdjustObjectFromID constructs a CIExposureAdjustObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIExposureAdjustObject) BaseObject ¶
func (o CIExposureAdjustObject) BaseObject() objectivec.Object
func (CIExposureAdjustObject) EV ¶
func (o CIExposureAdjustObject) EV() float32
The amount to adjust the exposure of the image by.
See: https://developer.apple.com/documentation/CoreImage/CIExposureAdjust/ev
func (CIExposureAdjustObject) InputImage ¶
func (o CIExposureAdjustObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIExposureAdjust/inputImage
func (CIExposureAdjustObject) OutputImage ¶
func (o CIExposureAdjustObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIExposureAdjustObject) SetEV ¶
func (o CIExposureAdjustObject) SetEV(value float32)
func (CIExposureAdjustObject) SetInputImage ¶
func (o CIExposureAdjustObject) SetInputImage(value ICIImage)
type CIFaceFeature ¶
type CIFaceFeature struct {
CIFeature
}
Information about a face detected in a still or video image.
Overview ¶
The properties of a CIFaceFeature object provide information about the face’s eyes and mouth. A face object in a video can also have properties that track its location over time, tracking ID and frame count.
Locating Faces ¶
- CIFaceFeature.HasFaceAngle: A Boolean value that indicates whether information about face rotation is available.
- CIFaceFeature.FaceAngle: The rotation of the face.
Identifying Facial Features ¶
- CIFaceFeature.HasLeftEyePosition: A Boolean value that indicates whether the detector found the face’s left eye.
- CIFaceFeature.HasRightEyePosition: A Boolean value that indicates whether the detector found the face’s right eye.
- CIFaceFeature.HasMouthPosition: A Boolean value that indicates whether the detector found the face’s mouth.
- CIFaceFeature.LeftEyePosition: The image coordinate of the center of the left eye.
- CIFaceFeature.RightEyePosition: The image coordinate of the center of the right eye.
- CIFaceFeature.MouthPosition: The image coordinate of the center of the mouth.
- CIFaceFeature.HasSmile: A Boolean value that indicates whether a smile is detected in the face.
- CIFaceFeature.LeftEyeClosed: A Boolean value that indicates whether a closed left eye is detected in the face.
- CIFaceFeature.RightEyeClosed: A Boolean value that indicates whether a closed right eye is detected in the face.
Tracking Distinct Faces in Video ¶
- CIFaceFeature.HasTrackingID: A Boolean value that indicates whether the face object has a tracking ID.
- CIFaceFeature.TrackingID: The tracking identifier of the face object.
- CIFaceFeature.HasTrackingFrameCount: A Boolean value that indicates the face object has a tracking frame count.
- CIFaceFeature.TrackingFrameCount: The tracking frame count of the face.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature
func CIFaceFeatureFromID ¶
func CIFaceFeatureFromID(id objc.ID) CIFaceFeature
CIFaceFeatureFromID constructs a CIFaceFeature from an objc.ID.
Information about a face detected in a still or video image.
func NewCIFaceFeature ¶
func NewCIFaceFeature() CIFaceFeature
NewCIFaceFeature creates a new CIFaceFeature instance.
func (CIFaceFeature) Autorelease ¶
func (f CIFaceFeature) Autorelease() CIFaceFeature
Autorelease adds the receiver to the current autorelease pool.
func (CIFaceFeature) FaceAngle ¶
func (f CIFaceFeature) FaceAngle() float32
The rotation of the face.
Discussion ¶
Rotation is measured counterclockwise in degrees, with zero indicating that a line drawn between the eyes is horizontal relative to the image orientation.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/faceAngle-swift.property
func (CIFaceFeature) HasFaceAngle ¶
func (f CIFaceFeature) HasFaceAngle() bool
A Boolean value that indicates whether information about face rotation is available.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasFaceAngle-swift.property
func (CIFaceFeature) HasLeftEyePosition ¶
func (f CIFaceFeature) HasLeftEyePosition() bool
A Boolean value that indicates whether the detector found the face’s left eye.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasLeftEyePosition-swift.property
func (CIFaceFeature) HasMouthPosition ¶
func (f CIFaceFeature) HasMouthPosition() bool
A Boolean value that indicates whether the detector found the face’s mouth.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasMouthPosition-swift.property
func (CIFaceFeature) HasRightEyePosition ¶
func (f CIFaceFeature) HasRightEyePosition() bool
A Boolean value that indicates whether the detector found the face’s right eye.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasRightEyePosition-swift.property
func (CIFaceFeature) HasSmile ¶
func (f CIFaceFeature) HasSmile() bool
A Boolean value that indicates whether a smile is detected in the face.
Discussion ¶
To detect smiles, `/CIDetector/` needs to be called with the CIDetectorSmile option set to true.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasSmile-swift.property
func (CIFaceFeature) HasTrackingFrameCount ¶
func (f CIFaceFeature) HasTrackingFrameCount() bool
A Boolean value that indicates the face object has a tracking frame count.
func (CIFaceFeature) HasTrackingID ¶
func (f CIFaceFeature) HasTrackingID() bool
A Boolean value that indicates whether the face object has a tracking ID.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasTrackingID-swift.property
func (CIFaceFeature) Init ¶
func (f CIFaceFeature) Init() CIFaceFeature
Init initializes the instance.
func (CIFaceFeature) LeftEyeClosed ¶
func (f CIFaceFeature) LeftEyeClosed() bool
A Boolean value that indicates whether a closed left eye is detected in the face.
Discussion ¶
To detect closed eyes, `/CIDetector/` needs to be called with the CIDetectorEyeBlink option set to true.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/leftEyeClosed-swift.property
func (CIFaceFeature) LeftEyePosition ¶
func (f CIFaceFeature) LeftEyePosition() corefoundation.CGPoint
The image coordinate of the center of the left eye.
Discussion ¶
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/leftEyePosition-swift.property
func (CIFaceFeature) MouthPosition ¶
func (f CIFaceFeature) MouthPosition() corefoundation.CGPoint
The image coordinate of the center of the mouth.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/mouthPosition-swift.property
func (CIFaceFeature) RightEyeClosed ¶
func (f CIFaceFeature) RightEyeClosed() bool
A Boolean value that indicates whether a closed right eye is detected in the face.
Discussion ¶
To detect closed eyes, `/CIDetector/` needs to be called with the CIDetectorEyeBlink option set to true.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/rightEyeClosed-swift.property
func (CIFaceFeature) RightEyePosition ¶
func (f CIFaceFeature) RightEyePosition() corefoundation.CGPoint
The image coordinate of the center of the right eye.
Discussion ¶
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/rightEyePosition-swift.property
func (CIFaceFeature) TrackingFrameCount ¶
func (f CIFaceFeature) TrackingFrameCount() int
The tracking frame count of the face.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/trackingFrameCount-swift.property
func (CIFaceFeature) TrackingID ¶
func (f CIFaceFeature) TrackingID() int
The tracking identifier of the face object.
Discussion ¶
Core Image provides a tracking identifier for faces it detects in a video stream, which you can use to identify when a CIFaceFeature objects detected in one video frame is the same face detected in a previous video frame.
This identifier persists only as long as a face is in the frame and is not associated with a specific face. In other words, if a face moves out of the video frame and comes back into the frame later, another ID is assigned. (Core Image detects faces, but does not recognize specific faces.)
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/trackingID-swift.property
type CIFaceFeatureClass ¶
type CIFaceFeatureClass struct {
// contains filtered or unexported fields
}
func GetCIFaceFeatureClass ¶
func GetCIFaceFeatureClass() CIFaceFeatureClass
GetCIFaceFeatureClass returns the class object for CIFaceFeature.
func (CIFaceFeatureClass) Alloc ¶
func (cc CIFaceFeatureClass) Alloc() CIFaceFeature
Alloc allocates memory for a new instance of the class.
type CIFalseColor ¶
type CIFalseColor interface {
objectivec.IObject
CIFilterProtocol
// The first color to use for the color ramp.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFalseColor/color0
Color0() ICIColor
// The second color to use for the color ramp.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFalseColor/color1
Color1() ICIColor
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFalseColor/inputImage
InputImage() ICIImage
// The first color to use for the color ramp.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFalseColor/color0
SetColor0(value ICIColor)
// The second color to use for the color ramp.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFalseColor/color1
SetColor1(value ICIColor)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFalseColor/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a false color filter.
See: https://developer.apple.com/documentation/CoreImage/CIFalseColor
type CIFalseColorObject ¶
type CIFalseColorObject struct {
objectivec.Object
}
CIFalseColorObject wraps an existing Objective-C object that conforms to the CIFalseColor protocol.
func CIFalseColorObjectFromID ¶
func CIFalseColorObjectFromID(id objc.ID) CIFalseColorObject
CIFalseColorObjectFromID constructs a CIFalseColorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIFalseColorObject) BaseObject ¶
func (o CIFalseColorObject) BaseObject() objectivec.Object
func (CIFalseColorObject) Color0 ¶
func (o CIFalseColorObject) Color0() ICIColor
The first color to use for the color ramp.
See: https://developer.apple.com/documentation/CoreImage/CIFalseColor/color0
func (CIFalseColorObject) Color1 ¶
func (o CIFalseColorObject) Color1() ICIColor
The second color to use for the color ramp.
See: https://developer.apple.com/documentation/CoreImage/CIFalseColor/color1
func (CIFalseColorObject) InputImage ¶
func (o CIFalseColorObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIFalseColor/inputImage
func (CIFalseColorObject) OutputImage ¶
func (o CIFalseColorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIFalseColorObject) SetColor0 ¶
func (o CIFalseColorObject) SetColor0(value ICIColor)
func (CIFalseColorObject) SetColor1 ¶
func (o CIFalseColorObject) SetColor1(value ICIColor)
func (CIFalseColorObject) SetInputImage ¶
func (o CIFalseColorObject) SetInputImage(value ICIImage)
type CIFeature ¶
type CIFeature struct {
objectivec.Object
}
The abstract superclass for objects representing notable features detected in an image.
Overview ¶
A CIFeature object represents a portion of an image that a detector believes matches its criteria. Subclasses of CIFeature holds additional information specific to the detector that discovered the feature.
Feature Properties ¶
- CIFeature.Bounds: The rectangle that holds discovered feature.
- CIFeature.Type: The type of feature that was discovered.
Feature Types ¶
- CIFeature.CIFeatureTypeFace: A Core Image feature type for person’s face.
- CIFeature.CIFeatureTypeRectangle: A Core Image feature type for rectangular object.
- CIFeature.CIFeatureTypeQRCode: A Core Image feature type for QR code object.
- CIFeature.CIFeatureTypeText: A Core Image feature type for text.
See: https://developer.apple.com/documentation/CoreImage/CIFeature
func CIFeatureFromID ¶
CIFeatureFromID constructs a CIFeature from an objc.ID.
The abstract superclass for objects representing notable features detected in an image.
func (CIFeature) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
func (CIFeature) Bounds ¶
func (f CIFeature) Bounds() corefoundation.CGRect
The rectangle that holds discovered feature.
Discussion ¶
The rectangle is in the coordinate system of the image.
See: https://developer.apple.com/documentation/CoreImage/CIFeature/bounds
func (CIFeature) CIFeatureTypeFace ¶
A Core Image feature type for person’s face.
See: https://developer.apple.com/documentation/coreimage/cifeaturetypeface
func (CIFeature) CIFeatureTypeQRCode ¶
A Core Image feature type for QR code object.
See: https://developer.apple.com/documentation/coreimage/cifeaturetypeqrcode
func (CIFeature) CIFeatureTypeRectangle ¶
A Core Image feature type for rectangular object.
See: https://developer.apple.com/documentation/coreimage/cifeaturetyperectangle
func (CIFeature) CIFeatureTypeText ¶
A Core Image feature type for text.
See: https://developer.apple.com/documentation/coreimage/cifeaturetypetext
func (CIFeature) Type ¶
The type of feature that was discovered.
See: https://developer.apple.com/documentation/CoreImage/CIFeature/type
type CIFeatureClass ¶
type CIFeatureClass struct {
// contains filtered or unexported fields
}
func GetCIFeatureClass ¶
func GetCIFeatureClass() CIFeatureClass
GetCIFeatureClass returns the class object for CIFeature.
func (CIFeatureClass) Alloc ¶
func (cc CIFeatureClass) Alloc() CIFeature
Alloc allocates memory for a new instance of the class.
type CIFilter ¶
type CIFilter struct {
objectivec.Object
}
An image processor that produces an image by manipulating one or more input images or by generating new image data.
Overview ¶
The CIFilter class produces a CIImage object as output. Typically, a filter takes one or more images as input. Some filters, however, generate an image based on other types of input parameters. The par[CIFilter] swift.class` object are set and retrieved through the use of key-value pairs.
You use the CIFilter object in conjunction with other Core Image classes, such as CIImage, CIContext, and CIColor, to take advantage of the built-in Core Image filters when processing images, creating filter generators, or writing custom filters.
CIFilter objects are mutable, and thus cannot be shared safely among threads. Each thread must create its own CIFilter objects, but you can pass a filter’s immutable input and output CIImage objects between threads.
To get a quick overview of how to set up and use Core Image filters, see Core Image Programming Guide.
Create type-safe filters ¶
Core Image provides methods that create type-safe CIFilter instances. Use these filters to avoid run-time errors that can occur when relying on Core Image’s string-based API.
To use the type-safe API, import `CoreImage.CIFilterBuiltins`:
The type-safe approach returns a non-optional filter. Because the returned filter conforms to the relevant protocol—for example, CIFalseColor in the case of [CIFilter.FalseColorFilter]—the parameters are available as properties. The following creates and applies a false color filter:
The false color filter maps luminance to a color ramp of two colors:
[media-4336877]
Subclassing notes ¶
You can subclass CIFilter in order to create custom filter effects:
- By chaining together two or more built-in Core Image filters - By using an image-processing kernel that you write
Regardless of whether your subclass provides its effect by chaining filters or implementing its own kernel, you should:
- Declare any input parameters as properties whose names are prefixed with `input`, such as `inputImage`. - Override the CIFilter.SetDefaults methods to provide default values for any input parameters you’ve declared. - Implement an `outputImage` method to create a new CIImage with your filter’s effect.
The CIFilter class automatically manages input parameters when archiving, copying, and deallocating filters. For this reason, your subclass must obey the following guidelines to ensure proper behavior:
- Store input parameters in instance variables whose names are prefixed with `input`.
Don’t use auto-synthesized instance variables, because their names are automatically prefixed with an underscore. Instead, synthesize the property manually. For example:
`@synthesize inputMyParameter;`
- If using manual reference counting, don’t release input parameter instance variables in your dealloc method implementation. The dealloc implementation in the CIFilter class uses Key-value coding to automatically set the values of all input parameters to `nil`.
Getting filter parameters and attributes ¶
- CIFilter.Name: A name associated with a filter.
- CIFilter.SetName
- CIFilter.Enabled: A Boolean value that determines whether the filter is enabled. Animatable.
- CIFilter.SetEnabled
- CIFilter.Attributes: A dictionary of key-value pairs that describe the filter.
- CIFilter.InputKeys: The names of all input parameters to the filter.
- CIFilter.OutputKeys: The names of all output parameters from the filter.
- CIFilter.OutputImage: Returns a CIImage(<doc://com.apple.coreimage/documentation/CoreImage/CIImage>) object that encapsulates the operations configured in the filter.
Setting default values ¶
- CIFilter.SetDefaults: Sets all input values for a filter to default values.
Applying a filter ¶
- CIFilter.ApplyArgumentsOptions: Produces a CIImage(<doc://com.apple.coreimage/documentation/CoreImage/CIImage>) object by applying arguments to a kernel function and using options to control how the kernel function is evaluated.
Creating a configuration view for a filter ¶
- CIFilter.ViewForUIConfigurationExcludedKeys: Returns a filter view for the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class
func CIFilterFromID ¶
CIFilterFromID constructs a CIFilter from an objc.ID.
An image processor that produces an image by manipulating one or more input images or by generating new image data.
func NewFilterWithName ¶
Creates a CIFilter object for a specific kind of filter.
name: The name of the filter. You must make sure the name is spelled correctly, otherwise your app will run but not produce any output images. For that reason, you should check for the existence of the filter after calling this method.
Return Value ¶
A CIFilter object whose input values are undefined.
Discussion ¶
In macOS, after creating a filter with this method you must call [SetDefaults] or set parameters individually by calling setValue(_:forKey:). In iOS, the filter’s parameters are automatically set to default values.
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/init(name:)
func NewFilterWithNameWithInputParameters ¶
func NewFilterWithNameWithInputParameters(name string, params foundation.INSDictionary) CIFilter
Creates a CIFilter object for a specific kind of filter and initializes the input values.
name: The name of the filter. You must make sure the name is spelled correctly, otherwise your app will run but not produce any output images. For that reason, you should check for the existence of the filter after calling this method.
params: A list of key-value pairs to set as input values to the filter. Each key is a constant that specifies the name of an input parameter for the filter, and the corresponding value is the value for that parameter. See [Core Image Filter Reference] for built-in filters and their allowed parameters. // [Core Image Filter Reference]: https://developer.apple.com/library/archive/documentation/GraphicsImaging/Reference/CoreImageFilterReference/index.html#//apple_ref/doc/uid/TP40004346
Return Value ¶
A CIFilter object whose input values are initialized.
Discussion ¶
Use this method to quickly create and configure a CIFilter instance, as in the example below.
func (CIFilter) Apply ¶
Produces a CIImage object by applying a kernel function.
k: A CIKernel object that contains a kernel function.
Discussion ¶
If you are implementing a custom filter, this method needs to be called from within the [OutputImage] method in order to apply your kernel function to the CIImage object. For example, if the kernel function has this signature:
You would supply two arguments after the `k` argument to the `k, ...` method. In this case, the first argument must be a sampler and the second a floating-point value. For more information on kernels, see Core Image Kernel Language Reference.
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/apply:
func (CIFilter) ApplyArgumentsOptions ¶
func (f CIFilter) ApplyArgumentsOptions(k ICIKernel, args foundation.INSArray, dict foundation.INSDictionary) ICIImage
Produces a CIImage object by applying arguments to a kernel function and using options to control how the kernel function is evaluated.
k: A CIKernel object that contains a kernel function.
args: The arguments that are type compatible with the function signature of the kernel function.
dict: A dictionary that contains options (key-value pairs) to control how the kernel function is evaluated.
Return Value ¶
The CIImage object produced by a filter.
Discussion ¶
If you are implementing a custom filter, this method needs to be called from within the [OutputImage] method in order to apply your kernel function to the CIImage object. You can pass any of the keys defined in Options for Applying a Filter, along with appropriate values, into the options dictionary.
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/apply(_:arguments:options:)
func (CIFilter) Attributes ¶
func (f CIFilter) Attributes() foundation.INSDictionary
A dictionary of key-value pairs that describe the filter.
Discussion ¶
This dictionary contains two kinds of key-value pairs:
- Keys listed in Filter Attribute Keys describe the filter, providing information such as a human-readable name and categories you can use to organize filters in your app’s UI. - Other keys, including those listed in Filter Parameter Keys and those starting with “input” or “output”, describe parameters that control the filter’s behavior. For each parameter key, the corresponding value is another dictionary describing possible values for that parameter, such as the value class and minimum/maximum values. You can use this information to build a UI to control the filter.
For example, the attributes dictionary for the CIColorControls filter contains the following information:
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/attributes
func (CIFilter) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
func (CIFilter) Enabled ¶
A Boolean value that determines whether the filter is enabled. Animatable.
Discussion ¶
The filter is applied to its input when this property is set to true (the default).
Use this property in conjunction with the [Name] property when attaching filters to Core Animation layers and accessing or animating filter properties through key-value animations. Core Animation can animate this property on a layer.
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/isEnabled
func (CIFilter) EncodeWithCoder ¶
func (f CIFilter) EncodeWithCoder(coder foundation.INSCoder)
func (CIFilter) InputKeys ¶
The names of all input parameters to the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/inputKeys
func (CIFilter) Name ¶
A name associated with a filter.
Discussion ¶
You use a filter’s name to construct key paths to its attributes when the filter is attached to a Core Animation layer. For example, if a CALayer object has an attached CIFilter instance whose name is `myExposureFilter`, you can refer to attributes of the filter using a key path such as `filters.MyExposureFilterXCUIElementTypeInputEV()`. Layer animations may also access filter attributes via these key paths.
Core Animation can animate this property on a layer.
The default value for this property is `nil`.
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/name
func (CIFilter) OutputImage ¶
Returns a CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/outputImage
func (CIFilter) OutputKeys ¶
The names of all output parameters from the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/outputKeys
func (CIFilter) SetDefaults ¶
func (f CIFilter) SetDefaults()
Sets all input values for a filter to default values.
Discussion ¶
Input values whose default values are not defined are left unchanged.
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/setDefaults()
func (CIFilter) SetEnabled ¶
func (CIFilter) SetValueForKey ¶
func (f CIFilter) SetValueForKey(value objectivec.IObject, key string)
Sets the value of the property identified by the given key. [Full Topic]
func (CIFilter) ValueForKey ¶
func (f CIFilter) ValueForKey(key string) objectivec.IObject
Returns the value of the property identified by the given key. [Full Topic]
func (CIFilter) ViewForUIConfigurationExcludedKeys ¶
func (f CIFilter) ViewForUIConfigurationExcludedKeys(inUIConfiguration foundation.INSDictionary, inKeys foundation.INSArray) objectivec.IObject
Returns a filter view for the filter.
inUIConfiguration: A dictionary that contains values for the [IKUISizeFlavor] and [kCIUIParameterSet] keys. For allowed values for the [IKUISizeFlavor] key, see [User Interface Options]. For allowed values for the [kCIUIParameterSet] key, see [User Interface Control Options]. // [IKUISizeFlavor]: https://developer.apple.com/documentation/Quartz/IKUISizeFlavor [User Interface Control Options]: https://developer.apple.com/documentation/CoreImage/user-interface-control-options [User Interface Options]: https://developer.apple.com/documentation/CoreImage/user-interface-options [kCIUIParameterSet]: https://developer.apple.com/documentation/CoreImage/kCIUIParameterSet
inKeys: An array of the input keys for which you do want to provide a user interface. Pass `nil` if you want all input keys to be represented in the user interface.
Return Value ¶
An IKFilterUIView object.
Discussion ¶
Calling this method to receive a view for a filter causes the CIFilter class to invoke the provideView(forUIConfiguration:excludedKeys:) method. If you override provideView(forUIConfiguration:excludedKeys:) the user interface is created by your filter subclass. Otherwise, Core Image automatically generates the user interface based on the filter keys and attributes.
Your app can retrieve a view whose control sizes complement the size of user interface elements already used in the application. It is also possible to choose which filter input parameters appear in the view. Consumer applications, for example, may want to show a small, basic set of input parameters whereas professional applications may want to provide access to all input parameters.
When you request a user interface for a parameter set, all keys for that set and below are included. For example, the advanced set consists of all parameters in the basic, intermediate and advanced sets. The development set should contain parameters that are either experimental or for debugging purposes. You should use them only during the development of filters and client applications, and not in a shipping product.
The controls in the view use bindings to set the values of the filter. See Cocoa Bindings Programming Topics if you are unfamiliar with bindings.
type CIFilterClass ¶
type CIFilterClass struct {
// contains filtered or unexported fields
}
func GetCIFilterClass ¶
func GetCIFilterClass() CIFilterClass
GetCIFilterClass returns the class object for CIFilter.
func (CIFilterClass) AccordionFoldTransitionFilter ¶
func (_CIFilterClass CIFilterClass) AccordionFoldTransitionFilter() CIFilter
Transitions by folding and crossfading an image to reveal the target image.
Return Value ¶
The transition image.
Discussion ¶
This method applies the accordion fold transition filter to an image. The effect transitions from one image to another by unfolding and crossfading.
The accordion fold transition filter uses the following properties:
`inputImage`: The starting image with the type CIImage. `targetImage`: The ending image with the type CIImage. `time`: A `float` representing the parametric time of the transition from start (at time 0) to end (at time 1) as an NSNumber. `numberOfFolds`: A `float` representing the number of accordion folds as a NSNumber. `foldShadowAmount`: A `float` representing the strength of the shadow as a NSNumber.
The following code creates a filter that produces folds in the input image and fades to the target image:
[media-3616429]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/accordionFoldTransition()
func (CIFilterClass) AdditionCompositingFilter ¶
func (_CIFilterClass CIFilterClass) AdditionCompositingFilter() CIFilter
Blends colors from two images by addition.
Return Value ¶
The modified image.
Discussion ¶
The filter calculates the sum of color components in the two input images to produce a brightening effect. People typically use this filter to add highlights and lens flares.
The addition compositing filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image that the filter applies the effect on with the type CIImage.
The following code creates a filter that combines the images’ colors to produce one image:
[media-3546408]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/additionCompositing()
func (CIFilterClass) AffineClampFilter ¶
func (_CIFilterClass CIFilterClass) AffineClampFilter() CIFilter
Performs a transform on the image and extends the image edges to infinity.
Return Value ¶
The tiled image.
Discussion ¶
This method applies the affine clamp filter to an image. This effect performs similarly to the affine transform filter except that it produces an infinite image. You can use this filter when you need to blur an image but you want to avoid a soft, black fringe along the edges.
The affine clamp filter uses the following properties:
`inputImage`: An image with the type CIImage. `transform`: A CGAffineTransform to constrain to the image.
The following code creates a filter that produces a cropped image with colored edges to fill the rest of the image:
[media-3624745]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/affineClamp()
func (CIFilterClass) AffineTileFilter ¶
func (_CIFilterClass CIFilterClass) AffineTileFilter() CIFilter
Performs a transform on the image and tiles the result.
Return Value ¶
The tiled image.
Discussion ¶
This method applies the affine tile filter to an image. This effect performs an CGAffineTransform and then tiles the transformed image.
The affine tile filter uses the following properties:
`inputImage`: An image with the type CIImage. `transform`: A CGAffineTransform to apply to the image.
The following code creates a filter that results in the image becoming tiled:
[media-3624744]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/affineTile()
func (CIFilterClass) Alloc ¶
func (cc CIFilterClass) Alloc() CIFilter
Alloc allocates memory for a new instance of the class.
func (CIFilterClass) AreaAlphaWeightedHistogramFilter ¶
func (_CIFilterClass CIFilterClass) AreaAlphaWeightedHistogramFilter() CIFilter
func (CIFilterClass) AreaAverageFilter ¶
func (_CIFilterClass CIFilterClass) AreaAverageFilter() CIFilter
Returns a 1 x 1 pixel image that contains the average color for the region of interest.
Return Value ¶
A 1 x 1 pixel image containing the average color for the region of interest.
Discussion ¶
This filter calculates the average color of the area defined by `extent` and creates a 1 x 1 pixel image with the result. The filter processes each color component (red, green, blue, alpha) of the input image independently.
The area average filter uses the following properties:
`inputImage`: The CIImage containing the image you want to process. `extent`: A CGRect that specifies the region of the image that you want to process.
The following code creates a filter that calculates the average color of a 500 x 500 set of pixels from the center of the image:
[media-4331783]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/areaAverage()
func (CIFilterClass) AreaAverageMaximumRedFilter ¶
func (_CIFilterClass CIFilterClass) AreaAverageMaximumRedFilter() CIFilter
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/areaAverageMaximumRed()
func (CIFilterClass) AreaBoundsRedFilter ¶
func (_CIFilterClass CIFilterClass) AreaBoundsRedFilter() CIFilter
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/areaBoundsRed()
func (CIFilterClass) AreaHistogramFilter ¶
func (_CIFilterClass CIFilterClass) AreaHistogramFilter() CIFilter
Returns a histogram of a specified area of the image.
Return Value ¶
A 1 pixel high image containing the calculated histogram`.`
Discussion ¶
This filter calculates histograms of the red, green, blue, and alpha colors in the region defined by `extent`. The `count` property controls the number of bins (or width) of the histogram. The filter scales the histogram so that the total of all the counts in the bins equals `scale`.
The area histogram filter uses the following properties:
`inputImage`: An image with the type CIImage. `extent`: A CGRect that specifies the subregion of the image that you want to process. `scale`: The scale value to use for the histogram values. If the scale is 1, then the total of all the counts in the histogram equals 1. `count`: The number of bins for the histogram. This value determines the width of the output image. Minimum value 1, maximum value 2048.
The following code creates a filter that results in an image that has a height of 1 pixel and a width of 256 pixels. The pixel color components contain the histogram values.
To display the histogram, you can use the [HistogramDisplayFilter] filter:
[media-4332392]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/areaHistogram()
func (CIFilterClass) AreaLogarithmicHistogramFilter ¶
func (_CIFilterClass CIFilterClass) AreaLogarithmicHistogramFilter() CIFilter
Returns a logarithmic histogram of a specified area of the image.
Return Value ¶
A 1-pixel-high image containing the calculated histogram`.`
Discussion ¶
This filter calculates histograms of the `red,“green,“blue,` and `alpha` colors for the specified area of an image. A base two-logarithm function is applied to the values before binning. The `count` property controls the number of bins (or width) of the histogram. The histogram is scaled so that all the values sum to `scale`.
`inputImage`: An image with the type CIImage. `extent`: A CGRect that specifies the subregion of the image you want to process. `scale`: The scale value for the histogram values. If the scale is `1`, then the bins in the resulting image sum to `1`. `count`: The number of bins for the histogram. This value determines the width of the output image. Minimum value `1`, and maximum value `2048`. `minimumStop`: The minimum of the range of color channel values in the logarithmic histogram image. Defaults to `-10`. `maximumStop`: The maximum of the range of color channel values in the logarithmic histogram image. Defaults to 4.
The following code creates a filter that results in a 1-pixel-tall image with a width of 256. The pixel color components contain the logarithmic histogram values:
Use the [HistogramDisplayFilter] filter to display the histogram:
[media-4407281]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/areaLogarithmicHistogram()
func (CIFilterClass) AreaMaximumAlphaFilter ¶
func (_CIFilterClass CIFilterClass) AreaMaximumAlphaFilter() CIFilter
Finds the pixel with the highest alpha value.
Return Value ¶
A 1 x 1 size image containing the pixel with the maximum alpha value.
Discussion ¶
This filter returns the pixel with highest alpha value in the region defined by `extent`.
The area maximum alpha filter uses the following properties:
`inputImage`: An image with the type CIImage. `extent`: A CGRect that specifies the subregion of the image that you want to process.
The following code creates a filter that results in a single pixel image containing the pixel with the highest alpha value:
[media-4332167]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/areaMaximumAlpha()
func (CIFilterClass) AreaMaximumFilter ¶
func (_CIFilterClass CIFilterClass) AreaMaximumFilter() CIFilter
Calculates the maximum color components of a specified area of the image.
Return Value ¶
A 1 x 1 size image containing the maximum color components.
Discussion ¶
This filter returns the maximum color components in the region defined by `extent`.
The area maximum filter uses the following properties:.
`inputImage`: An image with the type CIImage. `extent`: A CGRect that specifies the subregion of the image that you want to process.
The following code creates a filter that calculates the maximum color components of a 500 x 500 set of pixels from the center of the image:
[media-4331784]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/areaMaximum()
func (CIFilterClass) AreaMinMaxFilter ¶
func (_CIFilterClass CIFilterClass) AreaMinMaxFilter() CIFilter
Calculates minimum and maximum color components for a specified area of the image.
Return Value ¶
A 2 x 1 pixel image containing the minimum and maximum color components.
Discussion ¶
This filter returns the maximum and minimum color components in the region defined by `extent`. The result is a 2 x 1 pixel image with the left pixel containing the minimum components and the right pixel containing the maximum components.
The area min max filter uses the following properties:
`inputImage`: An image with the type CIImage. `extent`: A CGRect that specifies the subregion of the image that you want to process.
The following code creates a filter that results in a 2 x 1 image where the minimum components are in the left pixel and the maximum components are in the right pixel.
[media-4331786]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/areaMinMax()
func (CIFilterClass) AreaMinMaxRedFilter ¶
func (_CIFilterClass CIFilterClass) AreaMinMaxRedFilter() CIFilter
Calculates the minimum and maximum red component value.
Return Value ¶
The generated image.
Discussion ¶
This method applies the area-minimum-maximum-red filter to an image. This effect calculates the darkest and lightest red color value in the region defined by `extent`. The red and green components of the 1 x 1 pixel output image contain the result.
The area-minimum-maximum-red filter uses the following properties:
`inputImage`: An image with the type CIImage. `extent`: A CGRect that specifies the subregion of the image that you want to process.
The following code creates a filter that results in a 1 x 1 pixel image with the red and green color components populated:
[media-4331787]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/areaMinMaxRed()
func (CIFilterClass) AreaMinimumAlphaFilter ¶
func (_CIFilterClass CIFilterClass) AreaMinimumAlphaFilter() CIFilter
Calculates the pixel within a specified area that has the smallest alpha value.
Return Value ¶
A 1 x 1 pixel image containing the color with the smallest alpha value.
Discussion ¶
This method applies the area minimum alpha filter to an image. This effect finds and returns the pixel with the lowest alpha value in the region defined by `extent`.
The area minimum alpha filter uses the following properties:
`inputImage`: An image with the type CIImage. `extent`: A CGRect that specifies the subregion of the image that you want to process.
The following code creates a filter that results in a 1 x 1 pixel image containing the color with the lowest alpha value:
[media-4332169]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/areaMinimumAlpha()
func (CIFilterClass) AreaMinimumFilter ¶
func (_CIFilterClass CIFilterClass) AreaMinimumFilter() CIFilter
Calculates the minimum color component values for a specified area of the image.
Return Value ¶
A 1 x 1 size image containing the minimum color component values.
Discussion ¶
This filter returns the minimum color components in the region defined by `extent`.
The area minimum filter uses the following properties:
`inputImage`: An image with the type CIImage. `extent`: A CGRect that specifies the subregion of the image that you want to process.
The following code creates a filter that calculates the minimum color components of a 500 x 500 set of pixels from the center of the image:
[media-4331785]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/areaMinimum()
func (CIFilterClass) AttributedTextImageGeneratorFilter ¶
func (_CIFilterClass CIFilterClass) AttributedTextImageGeneratorFilter() CIFilter
Generates an attributed-text image.
Return Value ¶
The generated image.
Discussion ¶
This method generates an attributed-text image. The effect takes the input string property and the scale factor to scale up the text. You commonly combine this filter with other filters to create a watermark on images.
The attributed-text image generator filter uses the following properties:
`text`: An NSAttributedString. `scaleFactor`: A `float` representing the scale of the font to use for the generated text. padding: A `float` representing the value for an additional number of pixels to pad around the text’s bounding box.
The following code creates a filter that generates an attributed-text image:
[media-3546317]
func (CIFilterClass) AztecCodeGeneratorFilter ¶
func (_CIFilterClass CIFilterClass) AztecCodeGeneratorFilter() CIFilter
Generates a low-density barcode.
Return Value ¶
The generated image.
Discussion ¶
This method generates an Aztec code as an image. The Aztec barcode code is a low-density barcode defined in the ISO/IEC 24778:2008 standard. This code is commonly used for transport ticketing or boarding passes.
The Aztec code generator filter uses the following properties:
`message`: The data to be encoded as an Aztec code. An NSData object whose display name is Message. `correctionLevel`: A `float` representing the percentage of redundancy to add to the message data. A higher correction level allows the barcode to be correctly read even when partially damaged. `layers`: A `float` representing the number of concentric squares encoding the barcode data. When the value is zero, Core Image automatically determines the appropriate number of layers to encode the message data at the specified correction level. `compactStyle`: A `float` determining the use of compact or full-size Aztec barcode format. The compact format can store up to 44 bytes of message data in up to 4 layers. The full-size format can store up to 1914 bytes of message data in up to 32 layers. Leave unset, or set to 0 for automatic.
The following code creates a filter that generates an Aztec barcode:
[media-3546310]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/aztecCodeGenerator()
func (CIFilterClass) BarcodeGeneratorFilter ¶
func (_CIFilterClass CIFilterClass) BarcodeGeneratorFilter() CIFilter
Generates a barcode as an image from the descriptor.
Return Value ¶
The generated image.
Discussion ¶
This method generates a custom barcode as an image. The effect uses barcode descriptors to specify properties of the generated barcode.
The barcode generator uses the following property:
`barcodeDescriptor`: An instance of CIBarcodeDescriptor with the input parameters supplied.
The following code creates a filter that generates a QR code containing the text
[media-4327881]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/barcodeGenerator()
func (CIFilterClass) BarsSwipeTransitionFilter ¶
func (_CIFilterClass CIFilterClass) BarsSwipeTransitionFilter() CIFilter
Transitions between two images by removing rectangular portions of an image.
Return Value ¶
The transition image.
Discussion ¶
This method applies the bar swipe transition filter to an image. The effect transitions from one image to another by a series of moving bars passing over the target image.
The bar swipe transition filter uses the following properties:
`inputImage`: The starting image with the type CIImage. `targetImage`: The ending image with the type CIImage. `time`: A `float` representing the parametric time of the transition from start (at time 0) to end (at time 1) as an NSNumber. `angle`: A `float` representing the angle of the motion as an NSNumber. `width`: A `float` representing the width of the bars in pixels as an NSNumber. `barOffset`: A `float` representing the offset of one bar in relation to others as a NSNumber.
The following code creates a filter that produces falling bars from the input image to transition to the target image:
[media-3616431]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/barsSwipeTransition()
func (CIFilterClass) BicubicScaleTransformFilter ¶
func (_CIFilterClass CIFilterClass) BicubicScaleTransformFilter() CIFilter
Produces a high-quality scaled version of an image.
Return Value ¶
The adjusted image.
Discussion ¶
This method applies the bicubic scale transform filter to an image. The effect produces a high-quality, scaled version of the input image. The parameters of [B] and [C] determine the sharpness and softness of the resampling.
The bicubic scale transform filter uses the following properties:
`inputImage`: An image with the type CIImage. `aspectRatio`: A `float` representing the aspect ratio as an NSNumber. `parameterB`: A `float` representing the value of B used for cubic resampling as an NSNumber. `parameterC`: A `float` representing the value of C used for cubic resampling as an NSNumber.
The following code creates a filter that results in the image becoming square:
[media-3582224]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/bicubicScaleTransform()
func (CIFilterClass) BlendWithAlphaMaskFilter ¶
func (_CIFilterClass CIFilterClass) BlendWithAlphaMaskFilter() CIFilter
Blends two images by using an alpha mask image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the blend with alpha mask filter to an image. The effect uses values from the grayscale mask image to interpolate between the input and background images. The mask image consists of shades of gray that define the strength of the interpolation from zero (where the mask image is black) to the specified `radius` (where the mask image is white).
The blend with alpha mask filter uses the following properties:
`inputImage`: An image with the type CIImage. `maskImage`: An image that masks an area on the background image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in the replacement of white in the mask image with the detail of the input image:
[media-3624591]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/blendWithAlphaMask()
func (CIFilterClass) BlendWithBlueMaskFilter ¶
func (_CIFilterClass CIFilterClass) BlendWithBlueMaskFilter() CIFilter
Blends two images by using a blue mask image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the blend with blue mask filter to an image. The effect uses values from the blue mask image to interpolate between the input and background images. The mask image is made of shades of blue that define the strength of the interpolation from zero (where the mask image is black) to the specified `radius` (where the mask image is blue).
The blend with blue mask filter uses the following properties:
`inputImage`: An image with the type CIImage. `maskImage`: An image that masks an area on the background image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in the replacement of blue in the mask image with the detail of the input image:
[media-3624592]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/blendWithBlueMask()
func (CIFilterClass) BlendWithMaskFilter ¶
func (_CIFilterClass CIFilterClass) BlendWithMaskFilter() CIFilter
Blends two images by using a mask image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the blend with mask filter to an image. The effect uses values from the green mask image to interpolate between the input and background images. The mask image consists of shades of green that define the strength of the interpolation from zero (where the mask image is black) to the specified `radius` (where the mask image is green).
The blend with mask filter uses the following properties:
`inputImage`: An image with the type CIImage. `maskImage`: An image that masks an area on the background image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in the replacement of green in the mask image with the detail of the input image:
[media-3624594]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/blendWithMask()
func (CIFilterClass) BlendWithRedMaskFilter ¶
func (_CIFilterClass CIFilterClass) BlendWithRedMaskFilter() CIFilter
Blends two images by using a red mask image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the blend with red mask filter to an image. The effect uses values from the red mask image to interpolate between the input and background images. The mask image consists of shades of red that define the strength of the interpolation from zero (where the mask image is black) to the specified `radius` (where the mask image is red).
The blend with red mask filter uses the following properties:
`inputImage`: An image with the type CIImage. `maskImage`: An image that masks an area on the background image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in the replacement of green in the mask image with the detail of the input image:
[media-3624593]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/blendWithRedMask()
func (CIFilterClass) BloomFilter ¶
func (_CIFilterClass CIFilterClass) BloomFilter() CIFilter
Adjusts an image’s colors by applying a blur effect.
Return Value ¶
The modified image.
Discussion ¶
This method applies the bloom filter to an image. The effect softens edges and adds a slight blur effect.
The bloom filter uses the following properties:
`inputImage`: An image with the type CIImage. `radius`: A `float` representing the area of effect as an NSNumber. `intensity`: A `float` representing the desired strength of the effect as an NSNumber.
The following code creates a filter that results in a hazy effect on the image:
[media-3599995]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/bloom()
func (CIFilterClass) BlurredRectangleGeneratorFilter ¶
func (_CIFilterClass CIFilterClass) BlurredRectangleGeneratorFilter() CIFilter
Generates a blurred rectangle.
Return Value ¶
A CIImage containing a blurred rectangle.
Discussion ¶
Creates a CIImage containing a blurred rectangle. The resulting image size is the extent of the rectangle plus any additional space required for the blur effect.
The blurred rectangle filter uses the following properties:
`extent`: A CGRect that defines the extent of the effect. `color`: A CIColor specifying the color of the rectangle. `sigma`: A `float` specifying the sigma for the Gaussian blur.
The following code creates a filter that generates a blurred red rectangle with a width of 200 x 100 pixels.
[media-4407302]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/blurredRectangleGenerator()
func (CIFilterClass) BlurredRoundedRectangleGeneratorFilter ¶
func (_CIFilterClass CIFilterClass) BlurredRoundedRectangleGeneratorFilter() CIFilter
func (CIFilterClass) BokehBlurFilter ¶
func (_CIFilterClass CIFilterClass) BokehBlurFilter() CIFilter
Applies a bokeh effect to an image.
Return Value ¶
The blurred image.
Discussion ¶
This method applies the bokeh blur filter to an image. The effect targets a circular area of pixels defined by the `radius` and blurs the area. The filter adds smaller intense blur rings.
The bokeh blur filter uses the following properties:
`radius`: A `float` representing the area of effect as an NSNumber. `ringSize`: A `float` representing the ring size of the bokeh as an NSNumber. `ringAmount`: A `float` representing the emphasis at the ring of the bokeh as an NSNumber. `softness`: A `float` representing the softness of the bokeh effect as an NSNumber. `inputImage`: A CIImage representing the input image to apply the filter to.
The following code creates a filter that adds a softer blur to the input image:
[media-3544959]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/bokehBlur()
func (CIFilterClass) BoxBlurFilter ¶
func (_CIFilterClass CIFilterClass) BoxBlurFilter() CIFilter
Applies a square-shaped blur to an area of an image.
Return Value ¶
The blurred image.
Discussion ¶
This method applies the box blur filter to an image. The effect targets a square area and calculates the median color value of the pixels to create the output image. The `radius` is the width of a square area with a larger area, resulting in a stronger blur effect on the output image.
The box blur filter uses the following properties:
`radius`: A `float` representing the area of effect as a NSNumber. `inputImage`: A CIImage representing the input image to apply the filter to.
The following code creates a filter that results in less detail in the input image:
[media-3544956]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/boxBlur()
func (CIFilterClass) BumpDistortionFilter ¶
func (_CIFilterClass CIFilterClass) BumpDistortionFilter() CIFilter
Distorts an image with a concave or convex bump.
Return Value ¶
The distorted image.
Discussion ¶
This method applies the bump distortion filter to an image. This effect creates a concave or convex bump defined by the `scale`. A value of 0.0 has no effect, while a positive value creates an outward curvature and a negative value creates an inward curvature.
The bump distortion filter uses the following properties:
`inputImage`: An image with the type CIImage. `radius`: A `float` representing the amount of pixels the filter uses to create the distortion as an NSNumber. `center`: A CGPoint representing the center of the effect. `scale`: A `float` representing the curvature of the bump effect as an NSNumber.
The following code creates a filter that results in a concave bump distorting the image:
[media-4407303]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/bumpDistortion()
func (CIFilterClass) BumpDistortionLinearFilter ¶
func (_CIFilterClass CIFilterClass) BumpDistortionLinearFilter() CIFilter
Linearly distorts an image with a concave or convex bump.
Return Value ¶
The distorted image.
Discussion ¶
This method applies the bump distortion linear filter to an image. This effect creates a concave or convex bump to a linear portion of the image. The curvature of the bump is defined by the `scale` property. A value of 0.0 has no effect, while a positive value creates an outward curvature and a negative value creates an inward curvature.
The bump distortion linear filter uses the following properties:
`inputImage`: An image with the type CIImage. `radius`: A `float` representing the amount of pixels the filter uses to create the distortion as an NSNumber. `center`: A set of coordinates marking the center of the image as a CGPoint. `scale`: A `float` representing the curvature of the bump effect as an NSNumber. `angle`: A `float` representing the angle of the distortion, in radians, as an NSNumber.
The following code creates a filter that results in a vertical bump distorting the image:
[media-4407320]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/bumpDistortionLinear()
func (CIFilterClass) CMYKHalftone ¶
func (_CIFilterClass CIFilterClass) CMYKHalftone() CIFilter
Adds a series of colorful dots to an image.
Return Value ¶
The modified image.
Discussion ¶
This method applies a CMYK halftone filter to an image. The effect generates an image containing a series of dots. The dots contain only cyan, magenta, yellow, and black colors. Halftone effect is a set of lines, dots, or circles that contain detail. When viewing the image from a distance, the markings blend together creating the illusion of continuous lines and shapes. Print media commonly uses this effect.
The CMYK halftone filter uses the following properties:
`inputImage`: An image with the type CIImage. `angle`: A `float` representing the angle of the pattern as an NSNumber. `width`: A `float` representing the distance between dots in the pattern as an NSNumber. `sharpness`: A `float` representing the sharpness of the pattern as an NSNumber. `center`: A set of coordinates marking the center of the image as a CGPoint. `grayComponentReplacement`: A `float` representing the grey component to be replaced as an NSNumber. `underColorRemoval`: A `float` representing the under-color removal value as an NSNumber.
The following code produces an image with visible dots and less color:
[media-3595920]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/cmykHalftone()
func (CIFilterClass) CannyEdgeDetectorFilter ¶
func (_CIFilterClass CIFilterClass) CannyEdgeDetectorFilter() CIFilter
Applies the Canny edge-detection algorithm to an image.
Return Value ¶
A CIImage with the detected edges.
Discussion ¶
This filter performs a Canny edge-detection on the input image, producing a black-and-white image with the detected edges. White pixels indicate an edge, and black pixels indicate no edge.
The Canny edge-detection filter uses the following properties:
`inputImage`: The CIImage to use as an input for the effect. `gaussianSigma`: A `float` specifying the sigma of the Gaussian blur to apply, reducing high-frequency noise. Defaults to `1.6`. `perceptual`: A [Boolean] specifying whether to use a perceptual color space to compute the edge thresholds. Defaults to `false`. `thresholdLow`: A `float` specifying the threshold for weak edges. Defaults to `0.02`. `thresholdHigh`: A `float` specifying the threshold for strong edges. Defaults to `0.05`. `hysteresisPasses`: The number of hysteresis passes to apply to promote weak edge pixels. Minimum value is `0`, maximum value is `20`, and defaults to `1`.
The following code applies Canny edge-detection to an image:
[media-4407284]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/cannyEdgeDetector()
func (CIFilterClass) CheckerboardGeneratorFilter ¶
func (_CIFilterClass CIFilterClass) CheckerboardGeneratorFilter() CIFilter
Generates a checkerboard image.
Return Value ¶
The generated image.
Discussion ¶
This method generates a checkerboard pattern as an image. The effect requires the size, sharpness, and color properties to create the pattern.
The checkerboard generator filter uses the following properties:
`center`: A `vector` representing the center of the image as a CIVector. `color0`: A CIColor representing the first color of the pattern. `color1`: A CIColor representing the second color of the pattern. `sharpness`: A `float` representing the sharpness of the pattern as an NSNumber. `width`: A `float` representing the width of the checkerboard squares as an NSNumber.
The following code creates a filter that generates a black-and-white checkered pattern:
[media-3590970]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/checkerboardGenerator()
func (CIFilterClass) CircleSplashDistortionFilter ¶
func (_CIFilterClass CIFilterClass) CircleSplashDistortionFilter() CIFilter
Distorts an image with radiating circles to the periphery of the image.
Return Value ¶
The distorted image.
Discussion ¶
This method applies the circle splash distortion filter to an image. This effect distorts the pixels starting at the circumference of a circle and emanating outward.
The circle splash distortion filter uses the following properties:
`inputImage`: An image with the type CIImage. `radius`: A `float` representing the amount in pixels the filter uses to create the distortion as an NSNumber. `center`: A CGPoint representing the center of the image.
The following code creates a filter that results in a ripple effect applied to the image:
[media-4407306]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/circleSplashDistortion()
func (CIFilterClass) CircularScreenFilter ¶
func (_CIFilterClass CIFilterClass) CircularScreenFilter() CIFilter
Adds a circular overlay to an image.
Return Value ¶
The modified image.
Discussion ¶
This method applies a circular screen filter to an image. The effect generates a monochrome image containing a series of circular rings. The halftone effect is a set of lines, dots, or circles that contain detail. When viewing the image from a distance, the markings blend together, creating the illusion of continuous lines and shapes. Print media commonly uses this effect.
The circular screen filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `width`: A `float` representing the distance between each circle in the pattern as an NSNumber. `sharpness`: A `float` representing the sharpness of the circles in the pattern as an NSNumber.
The following code creates a filter that results in a monochrome image with a large circular pattern overlaying the image:
[media-3595914]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/circularScreen()
func (CIFilterClass) CircularWrapFilter ¶
func (_CIFilterClass CIFilterClass) CircularWrapFilter() CIFilter
Distorts an image by increasing the distance of the center of the image.
Return Value ¶
The distorted image.
Discussion ¶
This method applies the circular wrap filter to an image. This effect wraps an image around a transparent circle. The distortion of the image increases with the distance from the center of the circle.
The circular wrap filter uses the following properties:
`inputImage`: An image with the type CIImage. `angle`: A `float` representing the angle of the wrap, in radians, as an NSNumber. `radius`: A `float` representing the amount of pixels the filter uses to create the distortion as an NSNumber. `center`: A set of coordinates marking the center of the image as a CGPoint.
The following code creates a filter that results in a circular image generated from the input image:
[media-4407319]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/circularWrap()
func (CIFilterClass) Code128BarcodeGeneratorFilter ¶
func (_CIFilterClass CIFilterClass) Code128BarcodeGeneratorFilter() CIFilter
Generates a high-density, linear barcode.
Return Value ¶
The generated image.
Discussion ¶
This method generates a Code 128 barcode as an image. Code 128 is a high-density linear barcode defined in the ISO/IEC 15417:2007 standard. Use this filter to generate alphanumeric or numeric-only barcodes. The barcode can contain any of the 128 ASCII characters.
The Code 128 barcode filter uses the following properties:
`message`: NSData containing the message to encode in the Code 128 barcode. `quietSpace`: NSNumber containing the number of empty white pixels that should surround the barcode. `barcodeHeight`: NSNumber containing the height of the generated barcode in pixels.
The following code creates a filter that generates a Code 128 barcode:
[media-3546314]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/code128BarcodeGenerator()
func (CIFilterClass) ColorAbsoluteDifferenceFilter ¶
func (_CIFilterClass CIFilterClass) ColorAbsoluteDifferenceFilter() CIFilter
Calculates the absolute difference between each color component in the input images.
Return Value ¶
An image containing the absolute color difference between the two input images.
Discussion ¶
This method applies the color absolute difference filter to an image. This filter calculates the absolute color difference of the red, green, and blue values between the two input images. The alpha channel is the product of the alpha channels from the two input images.
The absolute difference filter uses the following properties:
`inputImage`: The first CIImage for differencing. `inputImage2`: The second CIImage for differencing.
The following code creates a filter that results in the color difference between two images:
[media-4332166]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorAbsoluteDifference()
func (CIFilterClass) ColorBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) ColorBlendModeFilter() CIFilter
Blends color from two images using the luminance values from the background image and the hue and saturation values from the input image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the color-blend mode filter to an image. The effect creates the output image by using the luminance values of the background image, while using the hue and saturation values of the input image. The effect preserves gray levels from the background image.
The color-blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that replaces the colors the image:
[media-3546407]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorBlendMode()
func (CIFilterClass) ColorBurnBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) ColorBurnBlendModeFilter() CIFilter
Blends color from two images while darkening the image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the color-burn blend mode filter to an image. The effect darkens the background image to reflect the input image’s color.
The color-burn blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that darkens the background image:
[media-3546399]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorBurnBlendMode()
func (CIFilterClass) ColorClampFilter ¶
func (_CIFilterClass CIFilterClass) ColorClampFilter() CIFilter
Alters the colors in an image based on color components.
Return Value ¶
The modified image.
Discussion ¶
This method applies the color clamp filter to an image. The effect calculates each pixel’s color component value. Using this calculation, the effect adjusts the values that are outside the range of the `minComponents` or `maxComponents` properties and clamps them within the range.
The color clamp filter uses the following properties:
`minComponents`: [RGBA] values for the lower end of the range as a CIVector. `maxComponents`: [RGBA] values for the upper end of the range as a CIVector. `inputImage`: An image with the type CIImage.
The following code creates a filter that adds a red hue to the input image:
[media-3545003]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorClamp()
func (CIFilterClass) ColorControlsFilter ¶
func (_CIFilterClass CIFilterClass) ColorControlsFilter() CIFilter
Alters the brightness, contrast, and saturation of an image’s colors.
Return Value ¶
The modified image.
Discussion ¶
This method applies the color controls filter to an image. The effect calculates saturation by linearly interpolating between a grayscale image with a saturation of `0.0` and the original image saturation of `1.0.`
The color controls filter uses the following properties:
`brightness`: A `float` representing the amount of brightness applied as a NSNumber. `contrast`: A `float` `r`epresenting the amount of contrast applied as a NSNumber. `saturation`: A float representing the amount of saturation applied as a NSNumber. `inputImage`: An image with the type CIImage.
The following code creates a filter that results in a darker image:
[media-3545002]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorControls()
func (CIFilterClass) ColorCrossPolynomialFilter ¶
func (_CIFilterClass CIFilterClass) ColorCrossPolynomialFilter() CIFilter
Adjusts an image’s color by applying polynomial cross-products.
Return Value ¶
The modified image.
Discussion ¶
This method applies the color cross polynomial filter to an image. The effect targets each pixel individually and calculates the coefficients for the r`ed`, `green`, and `blue` channels according to the polynomial cross product.
The color cross-polynomial filter uses the following properties:
`redCoefficients`: A CIVector representing the polynomial coefficients for the red channel. `blueCoefficients`: A CIVector representing the polynomial coefficients for the blue channel. `greenCoefficients`: A CIVector representing polynomial coefficients for the green channel. `inputImage`: An image with the type CIImage.
The following code creates a filter that adds a green hue to the input image:
[media-3545029]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorCrossPolynomial()
func (CIFilterClass) ColorCubeFilter ¶
func (_CIFilterClass CIFilterClass) ColorCubeFilter() CIFilter
Adjusts an image’s pixels using a three-dimensional color table.
Return Value ¶
The modified image.
Discussion ¶
This method applies the color cube filter to an image. The effect maps color values in the input image to new color values using a three-dimensional color look-up table, also called a color cube. For each [RGBA] pixel in the input image, the filter uses the pixel’s `red`, `green`, and `blue` component values to identify a location in the table. The [RGBA] value at that location becomes the [RGBA] value of the output pixel.
The color cube filter uses the following properties:
`inputImage`: An image with the type CIImage. `cubeData`: Data containing a 3-dimensional color table of floating-point premultiplied RGBA values. The cells are organized in a standard ordering. The columns and rows of the data are indexed by red and green, respectively. Each data plane is followed by the next higher plane in the data, with planes indexed by blue. `extrapolate`: If `true`, then the filter extrapolates the color cube for any RGB component values outside the range 0.0 to 1.0. `cubeDimension`: The dimension of the color cube.
The following code creates a filter that adds a blue hue to the input image:
[media-3545026]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorCube()
func (CIFilterClass) ColorCubeWithColorSpaceFilter ¶
func (_CIFilterClass CIFilterClass) ColorCubeWithColorSpaceFilter() CIFilter
Adjusts an image’s pixels using a three-dimensional color table in specified color space.
Return Value ¶
The modified image.
Discussion ¶
This method applies the color cube with color space filter to an image. The effect applies a mapping from `rgb` space within the color space defined to color values the cubeData defines. For each pixel, it matches the data and adjusts the color on the output image.
The color cube with color space filter uses the following properties:
`cubeData`: Data containing a 3-dimensional color table of floating-point premultiplied RGBA values. The cells are organized in a standard ordering. The columns and rows of the data are indexed by red and green, respectively. Each data plane is followed by the next higher plane in the data, with planes indexed by blue. `colorSpace`: A CGColorSpace representing the color space for the color cube. `cubeDimension`: The dimension of the color cube. `inputImage`: An image with the type CIImage.
The following code creates a filter that adds brightness to the input image:
[media-3545016]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorCubeWithColorSpace()
func (CIFilterClass) ColorCubesMixedWithMaskFilter ¶
func (_CIFilterClass CIFilterClass) ColorCubesMixedWithMaskFilter() CIFilter
Alters an image’s pixels using a three-dimensional color tables and a mask image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the color cubes mixed with mask filter to an image. The effect uses two color cube tables to modify the input image. The filter uses the mask image to interpolate between the two color cubes.
The color cubes mixed with mask filter uses the following properties:
`inputImage`: An image with the type CIImage. `maskImage`: A mask image with the type CIImage. `cube0Data`: Data containing a 3-dimensional color table of floating-point premultiplied RGBA values. The cells are organized in a standard ordering. The columns and rows of the data are indexed by red and green, respectively. Each data plane is followed by the next higher plane in the data, with planes indexed by blue. `cube1Data`: Data containing a 3-dimensional color table of floating-point premultiplied RGBA values. The cells are organized in a standard ordering. The columns and rows of the data are indexed by red and green, respectively. Each data plane is followed by the next higher plane in the data, with planes indexed by blue. `colorSpace`: A CGColorSpace representing the color space for the color cubes. `cubeDimension`: The dimension of the color cubes
The following code creates a filter that adds colors from the mask image and brightness to the input image:
[media-3546428]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorCubesMixedWithMask()
func (CIFilterClass) ColorCurvesFilter ¶
func (_CIFilterClass CIFilterClass) ColorCurvesFilter() CIFilter
Adjusts an image’s color curves.
Return Value ¶
The modified image.
Discussion ¶
This method applies the color curves filter to an image. The effect uses a three-channel one-dimensional color table to transform the source image pixels. The color table must be comprised of floating-point RGB value.
The color curves filter uses the following properties:
`colorSpace`: A CGColorSpace representing the color space for the color curve. `curvesData`: Data containing a color table of floating-point RGB values as NSData. `curvesDomain`: A two-element vector that defines the minimum and maximum values of the curve data as a CIVector. `inputImage`: An image with the type CIImage.
The following code creates a filter that adds brightness to the input image:
[media-3545017]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorCurves()
func (CIFilterClass) ColorDodgeBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) ColorDodgeBlendModeFilter() CIFilter
Blends color from two images using dodging.
Return Value ¶
The modified image.
Discussion ¶
This method applies the color-dodge blend mode filter to an image. The effect divides the background image color values by the inverted color values of the input image. The effect then decreases contrast between the input image and the background image.
The color-dodge mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that darkens the background image:
[media-3546418]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorDodgeBlendMode()
func (CIFilterClass) ColorInvertFilter ¶
func (_CIFilterClass CIFilterClass) ColorInvertFilter() CIFilter
Inverts an image’s colors.
Return Value ¶
The modified image.
Discussion ¶
This method applies a preconfigured set of effects that invert the colors of an image.
The color-invert filter uses the following property:
`inputImage`: An image with the type CIImage.
The following code creates a filter that inverts the colors of the input image:
[media-3545010]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorInvert()
func (CIFilterClass) ColorMapFilter ¶
func (_CIFilterClass CIFilterClass) ColorMapFilter() CIFilter
Performs a transformation of the input image colors to colors from a gradient image.
Return Value ¶
The modified image.
Discussion ¶
This method applies a color map filter to an image. The effect transforms source color values by converting the unpremultiplied RGB values to luma using the weighting `(0.2125, 0.7154, 0.0721)`. The luma value is then used to look up the new color from the gradient image.
The color map filter uses the following properties:
`inputImage`: An image with the type CIImage. `gradientImage`: An image representing the gradient of colors to be mapped to the input image colors with the type CIImage.
The following code creates a filter that adds the gradient image colors to the input image:
[media-3558775]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorMap()
func (CIFilterClass) ColorMatrixFilter ¶
func (_CIFilterClass CIFilterClass) ColorMatrixFilter() CIFilter
Alters the colors in an image based on vectors provided.
Return Value ¶
The modified image.
Discussion ¶
This method applies the color matrix filter to an image. The effect calculates the color matrix by multiplying the vector properties with the color values from the input image.
The color matrix filter uses the following properties:
`rVector`: A CIVector representing the amount of red to multiply the source color values by. `gVector`: A CIVector representing the amount of green to multiply the source color values by. `bVector`: A CIVector representing the amount of blue to multiply the source color values by. `aVector`: A CIVector representing the amount of alpha to multiply the source color values by. `biasVector`: A CIVector representing the amount of each vector that’s added to each color component. `inputImage`: An image with the type CIImage.
The following code creates a filter that adds a green hue to the input image:
[media-3544998]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorMatrix()
func (CIFilterClass) ColorMonochromeFilter ¶
func (_CIFilterClass CIFilterClass) ColorMonochromeFilter() CIFilter
Adjusts an image’s colors to shades of a single color.
Return Value ¶
The modified image.
Discussion ¶
This method applies the color monochrome filter to an image. The effect remaps the colors of the image to shades of the specified color.
The color monochrome filter uses the following properties:
`inputImage`: An image with the type CIImage. `color`: The color to map the input image colors to, as a CIColor. `intensity`: A `float` representing the desired strength of the effect as an NSNumber.
The following code creates a filter that results in the colors of the image becoming shades of red:
[media-3545012]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorMonochrome()
func (CIFilterClass) ColorPolynomialFilter ¶
func (_CIFilterClass CIFilterClass) ColorPolynomialFilter() CIFilter
Alters an image’s colors.
Return Value ¶
The modified image.
Discussion ¶
This method applies the color polynomial filter to an image. The effect calculates the sum of each pixel’s color component value and the coefficient properties together to produce the output image.
The color polynomial filter uses the following properties:
`redCoefficients`: A vector representing the polynomial coefficients for the red channel as a CIVector. `greenCoefficients`: A vector representing the polynomial coefficients for the green channel as a CIVector. `blueCoefficients`: A vector representing the polynomial coefficients for the blue channel as a CIVector. `alphaCoefficients`: A vector representing the polynomial coefficients for the alpha channel as a CIVector. `inputImage`: An image with the type CIImage.
The following code creates a filter that adds a lighter contrast to the input image:
[media-3545009]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorPolynomial()
func (CIFilterClass) ColorPosterizeFilter ¶
func (_CIFilterClass CIFilterClass) ColorPosterizeFilter() CIFilter
Flattens an image’s colors.
Return Value ¶
The modified image.
Discussion ¶
This method applies the color posterize filter to an image. The effect remaps red, green, and blue color components to a specified brightness value. The effect mimics the look of a silk-screened poster.
The color posterize filter uses the following properties:
`inputImage`: An image with the type CIImage. levels: A `float` representing the brightness level as an NSNumber.
The following code creates a filter that flattens the colors in the input image:
[media-3545025]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorPosterize()
func (CIFilterClass) ColorThresholdFilter ¶
func (_CIFilterClass CIFilterClass) ColorThresholdFilter() CIFilter
Compares the red, green, and blue components of the input image to a threshold and sets them to 1 or 0.
Return Value ¶
An image containing pixels with color components that are either 1 or 0.
Discussion ¶
This method applies the color threshold filter to an image. The filter compares the value of each color component (red, green, and blue) in the image against the threshold value. Any component higher than the threshold becomes 1 and any component lower becomes 0. The alpha component remains unchanged.
The color threshold filter uses the following properties:
`inputImage`: An image with the type CIImage. `threshold`: A `float` representing the threshold of color values as an NSNumber.
The following code creates a filter that results in an image where each color component is either 1 or 0.
[media-4331780]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorThreshold()
func (CIFilterClass) ColorThresholdOtsuFilter ¶
func (_CIFilterClass CIFilterClass) ColorThresholdOtsuFilter() CIFilter
Compares the red, green, and blue components of the input image against a threshold calculated using Otsu’s algorithm.
Return Value ¶
An image containing pixels with color components that are either 1 or 0.
Discussion ¶
The filter applies Otsu’s algorithm to the reg, green, and blue color components. The filter uses these thresholds to set the color to components to 1 or 0. The alpha component remains unchanged.
The color threshold Otsu filter uses the following property:
`inputImage`: An image with the type CIImage.
The following code creates a filter that results in an image where each color component is either 1 or 0:
[media-4407336]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/colorThresholdOtsu()
func (CIFilterClass) ColumnAverageFilter ¶
func (_CIFilterClass CIFilterClass) ColumnAverageFilter() CIFilter
Calculates the average color for a specified column of an image.
Return Value ¶
The generated image.
Discussion ¶
This method applies the column average filter to an image. This effect calculates the average color for a vertical column over a region defined by `extent`. The width of the resulting image is set by the width of the `extent`. The height of the resulting image is always 1 pixel.
The column average filter uses the following properties:
`inputImage`: An image with the type CIImage. `extent`: A CGRect that specifies the subregion of the image that you want to process.
The following code creates an image containing the average values in the columns from the middle of the image:
[media-4331782]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/columnAverage()
func (CIFilterClass) ComicEffectFilter ¶
func (_CIFilterClass CIFilterClass) ComicEffectFilter() CIFilter
Creates an image with a comic book effect.
Return Value ¶
The modified image.
Discussion ¶
This method applies the comic effect filter to an image. The effect simulates a comic book drawing by outlining edges and applying a color halftone effect.
The comic effect filter uses the following property:
`inputImage`: An image with the type CIImage.
The following code creates a filter that results in the image appearing image in comic book style.
[media-3601088]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/comicEffect()
func (CIFilterClass) ConvertLabToRGBFilter ¶
func (_CIFilterClass CIFilterClass) ConvertLabToRGBFilter() CIFilter
Converts an image from CIELAB to RGB color space.
Return Value ¶
The converted CIImage.
Discussion ¶
This filter converts an image from CIELAB color space to RGB. The CIELAB color space expresses color as three values: L* for the perceptual lightness, and a*b* for the colors red, green, blue, and yellow. The RGB color space expresses colors using the intensities of the three primary colors: red, green, and blue.
`inputImage`: A CIImage containing the [RGB] image. `normalize`: If true, the three input channels are in the range 0 to 1. If false, the L* channel is in the range 0 to 100, and the a*b* channels are in the range -128 to 128.
The following code applies the `convertLabToRGBFilter` to an image with the `normalize` flag set to the `true`:
[media-4407298]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/convertLabToRGB()
func (CIFilterClass) ConvertRGBtoLabFilter ¶
func (_CIFilterClass CIFilterClass) ConvertRGBtoLabFilter() CIFilter
Converts an image from RGB to CIELAB color space.
Return Value ¶
The converted CIImage.
Discussion ¶
This filter converts an image from RGB to CIELAB color space. The CIELAB color space expresses color as three values: L* for the perceptual lightness, and a*b* for the colors red, green, blue, and yellow. The RGB color space expresses colors using the intensities of the three primary colors: red, green, and blue.
`inputImage`: A CIImage containing the [RGB] image. `normalize`: If true, the three output channels are in the range 0 to 1. If false, the L* channel is in the range 0 to 100 and the a*b* channels are in the range -128 to 128.
The following code applies the `convertRGBToLabFilter` to an image with the `normalize` flag set to the `true`:
[media-4407334]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/convertRGBtoLab()
func (CIFilterClass) Convolution3X3Filter ¶
func (_CIFilterClass CIFilterClass) Convolution3X3Filter() CIFilter
Applies a convolution 3 x 3 filter to the [RGBA] components of an image.
Return Value ¶
The modified image.
Discussion ¶
This method applies a 3 x 3 convolution to the [RGBA] components of an image. The effect uses a 3 x 3 area surrounding an input pixel, the pixel itself, and those within a distance of 1 pixel horizontally and vertically. The effect repeats this for every pixel within the image. The work area is then combined with the weight property vector to produce the processed image. This filter differs from the [ConvolutionRGB3X3Filter], which only processes the [RGB] color components.
The convolution 3 x 3 filter uses the following properties:
`bias`: A `float` representing the value that’s added to each output pixel as a NSNumber. `weights`: A CIVector representing the convolution kernel. `inputImage`: An image with the type CIImage.
The following code creates a filter that sharpens the input image:
[media-4334869]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/convolution3X3()
func (CIFilterClass) Convolution5X5Filter ¶
func (_CIFilterClass CIFilterClass) Convolution5X5Filter() CIFilter
Applies a convolution 5 x 5 filter to the [RGBA] components image.
Return Value ¶
The modified image.
Discussion ¶
This method applies a 5 x 5 convolution to the [RGBA] components of an image. The effect uses a 5 x 5 area surrounding an input pixel, the pixel itself, and those within a distance of 2 pixels horizontally and vertically. The effect repeats this for every pixel within the image. The work area is then combined with the weight property vector to produce the processed image. This filter differs from the [ConvolutionRGB5X5Filter] filter, which only processes the RGB components.
The convolution 5 x 5 filter uses the following properties:
`bias`: A `float` representing the value that’s added to each output pixel as a NSNumber. `weights`: A CIVector representing the convolution kernel. `inputImage`: An image with the type CIImage.
The following code creates a filter that blurs the input image:
[media-4334867]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/convolution5X5()
func (CIFilterClass) Convolution7X7Filter ¶
func (_CIFilterClass CIFilterClass) Convolution7X7Filter() CIFilter
Applies a convolution 7 x 7 filter to the [RGBA] color components of an image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the convolution 7 x 7 filter to an image. The effect uses a 7 x 7 area surrounding an input pixel, the pixel itself, and those within a distance of 3 pixels horizontally and vertically. The effect repeats this for every pixel within the image. The work area is then combined with the weight property vector to produce the processed image. This filter differs from the [ConvolutionRGB7X7Filter] filter, which only processes the RGB components.
The convolution 7 x 7 filter uses the following properties:
`bias`: A `float` representing the value that’s added to each output pixel as a NSNumber. `weights`: A CIVector representing the convolution kernel. `inputImage`: An image with the type CIImage.
The following code creates a filter that highlights edges in the input image:
[media-4334871]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/convolution7X7()
func (CIFilterClass) Convolution9HorizontalFilter ¶
func (_CIFilterClass CIFilterClass) Convolution9HorizontalFilter() CIFilter
Applies a convolution-9 horizontal filter to the [RGBA] components of an image.
Return Value ¶
The modified image.
Discussion ¶
This method applies a 9 x 1 convolution to the [RGBA] components of an image. The effect uses a 9 x 1 area surrounding an input pixel, the pixel itself, and those within a distance of 4 pixels horizontally. The effect repeats this for every pixel within the image. Unlike the convolution filters, which use square matrices, this filter can only produce effects along a horizontal axis. You can combine this filter with the [Convolution9VerticalFilter] to apply separable 9 x 9 convolutions.
The convolution 9-horizontal filter uses the following properties:
`bias`: A `float` representing the value that’s added to each output pixel as a NSNumber. `weights`: A CIVector representing the convolution kernel. `inputImage`: An image with the type CIImage.
The following code creates a filter that detects edges in the input image:
[media-4334870]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/convolution9Horizontal()
func (CIFilterClass) Convolution9VerticalFilter ¶
func (_CIFilterClass CIFilterClass) Convolution9VerticalFilter() CIFilter
Applies a convolution-9 vertical filter to the [RGBA] components of an image.
Return Value ¶
The modified image.
Discussion ¶
This method applies a 1 x 9 convolution filter to the [RGBA] components of an image. The effect uses a 1 x 9 area surrounding an input pixel, the pixel itself, and those within a distance of 4 pixels vertically. The effect repeats this for every pixel within the image. Unlike the convolution filters, which use square matrices, this filter can only produce effects along a vertical axis. You can combine this filter with the [Convolution9HorizontalFilter] to apply separable 9 x 9 convolutions.
The convolution-9-vertical filter uses the following properties:
`bias`: A `float` representing the value that’s added to each output pixel as a NSNumber. `weights`: A CIVector representing the convolution kernel. `inputImage`: An image with the type CIImage.
The following code creates a filter that detects edges in the input image:
[media-4334868]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/convolution9Vertical()
func (CIFilterClass) ConvolutionRGB3X3Filter ¶
func (_CIFilterClass CIFilterClass) ConvolutionRGB3X3Filter() CIFilter
Applies a convolution 3 x 3 filter to the [RGB] components of an image.
Return Value ¶
The convolved image.
Discussion ¶
This method applies a 3 x 3 convolution to the [RGB] components of an image. The effect uses a 3 x 3 area surrounding an input pixel, the pixel itself, and those within a distance of 1 pixel horizontally and vertically. This filter differs from the [Convolution3X3Filter] filter, which processes all of the color components including the alpha component.
The convolution-RGB 3 x 3 filter uses the following properties:
`bias`: A `float` representing the value that’s added to each output pixel. `weights`: A CIVector representing the convolution kernel. `inputImage`: A CIImage containing the image to process.
The following code creates a filter that sharpens the input image:
[media-4407321]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/convolutionRGB3X3()
func (CIFilterClass) ConvolutionRGB5X5Filter ¶
func (_CIFilterClass CIFilterClass) ConvolutionRGB5X5Filter() CIFilter
Applies a convolution 5 x 5 filter to the [RGB] components of an image.
Return Value ¶
This method applies a 5 x 5 convolution to the [RGB] components image. The effect uses a 5 x 5 area surrounding an input pixel, the pixel itself, and those within a distance of two pixels horizontally and vertically. The effect repeats this for every pixel within the image. The work area is then combined with the weight property vector to produce the processed image. This filter differs from the [Convolution5X5Filter] filter, which processes all of the color components including the alpha component.
Discussion ¶
The convolution-RGB 5 x 5 filter uses the following properties:
`inputImage`: A CIImage containing the image to process. `weights`: A CIVector representing the convolution kernel. `bias`: A `float` representing the value that’s added to each output pixel.
The following code creates a filter that applies an unsharp kernel to the input image:
[media-4407325]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/convolutionRGB5X5()
func (CIFilterClass) ConvolutionRGB7X7Filter ¶
func (_CIFilterClass CIFilterClass) ConvolutionRGB7X7Filter() CIFilter
Applies a convolution 7 x 7 filter to the RGB components of an image.
Return Value ¶
The convolved image.
Discussion ¶
This method applies a 7 x 7 convolution to the [RGB] components image. The effect uses a 7 x 7 area surrounding an input pixel, the pixel itself, and those within a distance of 3 pixels horizontally and vertically. The effect repeats this for every pixel within the image. The work area is then combined with the weight property vector to produce the processed image. This filter differs from the [Convolution7X7Filter] filter, which processes all of the color components including the alpha component.
The convolution-RGB 7 x 7 filter uses the following properties:
`inputImage`: A CIImage containing the image to process. `weights`: A CIVector representing the convolution kernel. `bias`: A `float` representing the value that’s added to each output pixel.
The following code creates a filter that highlights edges in the input image:
[media-4407333]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/convolutionRGB7X7()
func (CIFilterClass) ConvolutionRGB9HorizontalFilter ¶
func (_CIFilterClass CIFilterClass) ConvolutionRGB9HorizontalFilter() CIFilter
Applies a convolution 9 x 1 filter to the RGB components of an image.
Return Value ¶
The convolved image.
Discussion ¶
This method applies a 9 x 1 convolution to the [RGB] components of an image. The effect uses a 9 x 1 area surrounding an input pixel, the pixel itself, and those within a distance of 4 pixels horizontally. The effect repeats this for every pixel within the image. Unlike the convolution filters, which use square matrices, this filter can only produce effects along a vertical axis. You can combine this filter with the [ConvolutionRGB9VerticalFilter] to apply separable 9 x 9 convolutions. This filter differs from the [Convolution9HorizontalFilter] filter, which processes all of the color components including the alpha component.
The convolution-RGB-9-vertical filter uses the following properties:
`inputImage`: A CIImage containing the image to process. `weights`: A CIVector representing the convolution kernel. `bias`: A `float` representing the value that’s added to each output pixel.
The following code creates a filter that blurs the image in the horizontal direction:
[media-4407285]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/convolutionRGB9Horizontal()
func (CIFilterClass) ConvolutionRGB9VerticalFilter ¶
func (_CIFilterClass CIFilterClass) ConvolutionRGB9VerticalFilter() CIFilter
Applies a convolution 1 x 9 filter to the RGB components of an image.
Return Value ¶
This method applies a 1 x 9 convolution to the [RGB] components of an image. The effect uses a 1 x 9 area surrounding an input pixel, the pixel itself, and those within a distance of 4 pixels vertically. The effect repeats this for every pixel within the image. Unlike the convolution filters, which use square matrices, this filter can only produce effects along a vertical axis. You can combine this filter with the [ConvolutionRGB9HorizontalFilter] to apply separable 9 x 9 convolutions. This filter differs from the [Convolution9VerticalFilter] filter, which processes all of the color components including the alpha component.
Discussion ¶
The convolution-RGB-9-vertical filter uses the following properties:
`inputImage`: A CIImage containing the image to process. `weights`: A CIVector representing the convolution kernel. `bias`: A `float` representing the value that’s added to each output pixel.
The following code creates a filter that blurs the image in the vertical direction:
[media-4407305]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/convolutionRGB9Vertical()
func (CIFilterClass) CopyMachineTransitionFilter ¶
func (_CIFilterClass CIFilterClass) CopyMachineTransitionFilter() CIFilter
Simulates the effect of a copy machine scanner light to transiton between two images.
Return Value ¶
The transition image.
Discussion ¶
This method applies the copy machine transition filter to an image. The effect transitions from one image to another by simulating the scanning light effect of a copy machine.
The copy machine transition filter uses the following properties:
`inputImage`: The starting image with the type CIImage. `targetImage`: The ending image with the type CIImage. `time`: A `float` representing the parametric time of the transition from start (at time 0) to end (at time 1) as an NSNumber. `angle`: A `float` representing the angle of the copier light, in radians as an NSNumber. `width`: A `float` representing the width of the effect as a NSNumber. `extent`: A CGRect representing the area of the copy machine effect. `color`: A CIColor representing the color of the light. `opacity`: A `float` representing the transparency of the copier light as an NSNumber.
The following code creates a filter that produces a light bar that glides across the input image revealing the target image:
[media-3616432]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/copyMachineTransition()
func (CIFilterClass) CoreMLModelFilter ¶
func (_CIFilterClass CIFilterClass) CoreMLModelFilter() CIFilter
Filters an image with a Core ML model.
Return Value ¶
The modified image.
Discussion ¶
This method applies the Core ML model filter to an image. The effect filters the image using a trained Core ML model to produce the result. Specifying the head index allows you to produce a result from various components of a multiheaded coreML model.
The Core ML model filter uses the following properties:
`inputImage`: An image with the type CIImage. `headIndex`: A `float` representing which output of a multihead Core ML model should be used for applying the effect to an image. `softmaxNormalization`: A [Boolean] value representing the softmax normalization to be applied to the output image created by the model. `inputModel`: The Core ML model to be used for applying effect on the image.
The following code creates a filter that results in the flowers appearing to be glass panes:
[media-3600002]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/coreMLModel()
func (CIFilterClass) CrystallizeFilter ¶
func (_CIFilterClass CIFilterClass) CrystallizeFilter() CIFilter
Creates an image made with a series of colorful polygons.
Return Value ¶
The modified image.
Discussion ¶
This method applies the crystallize filter to an image. The effect creates polygon-shaped color blocks by aggregating pixel-color values.
The crystallize filter uses the following properties:
`inputImage`: An image with the type CIImage. `radius`: A `float` representing the area of effect as an NSNumber. `center`: A set of coordinates marking the center of the image as a CGPoint.
The following code creates a filter that results in an image made of small polygons:
[media-3599996]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/crystallize()
func (CIFilterClass) DarkenBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) DarkenBlendModeFilter() CIFilter
Blends colors from two images while darkening lighter pixels.
Return Value ¶
The modified image.
Discussion ¶
This method applies the darken-blend mode filter to an image. The effect targets lighter colors in the background image and darkens them, while darker colors remain unchanged. The result is the sum of the adjusted color values from both images.
The darken-blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that darkens the image:
[media-3546416]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/darkenBlendMode()
func (CIFilterClass) DepthOfFieldFilter ¶
func (_CIFilterClass CIFilterClass) DepthOfFieldFilter() CIFilter
Simulates a depth of field effect.
Return Value ¶
The modified image.
Discussion ¶
This method applies the depth of field filter to an image. The effect simulates changing the focus of the camera before taking a photograph.
The depth of field filter uses the following properties:
`inputImage`: An image with the type CIImage. `radius`: A `float` representing the area of effect as an NSNumber. `point0`: A set of coordinates marking the first point to be focused on as a CGPoint. `point1`: A set of coordinates marking the second point to be focused on as a CGPoint. `unsharpMaskRadius`: A `float` representing the radius of the unsharpened mask effect applied to the in-focus area of effect as an NSNumber. `unsharpMaskIntensity`: A `float` representing the intensity of the unsharp mask effect as an NSNumber.
The following code creates a filter that results in the center cilantro being in focus while gradually blurring to the top and bottom of the image:
[media-3599997]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/depthOfField()
func (CIFilterClass) DepthToDisparityFilter ¶
func (_CIFilterClass CIFilterClass) DepthToDisparityFilter() CIFilter
Converts from an image containing depth data to an image containing disparity data.
Return Value ¶
An image containing the disparity data.
Discussion ¶
This method applies the depth-to-disparity filter. The filter takes depth data as an input and produces disparity data in the output image. You can use the output of this filter to create a stereo image.
The depth-to-disparity filter uses the following property:
`inputImage`: An image with the type CIImage.
The following code creates a filter that generates a depth map image:
[media-3598060]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/depthToDisparity()
func (CIFilterClass) DifferenceBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) DifferenceBlendModeFilter() CIFilter
Subtracts color values to blend colors.
Return Value ¶
The modified image.
Discussion ¶
This method applies the difference-blend mode filter to an image. The effect calculates the brightness value for both images and subtracts the smaller value, resulting in a slightly darker image. This effect doesn’t modify images that are black.
The difference-blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that blends colors in the background image and input image:
[media-3546397]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/differenceBlendMode()
func (CIFilterClass) DiscBlurFilter ¶
func (_CIFilterClass CIFilterClass) DiscBlurFilter() CIFilter
Applies a circle-shaped blur to an area of an image.
Return Value ¶
The blurred image.
Discussion ¶
This method applies the disc blur filter to an image. The effect targets the pixels within a circle defined by a `radius` and calculates the median color value to create to the output image.
The disc blur filter uses the following properties:
`radius`: A `float` representing the area of effect as an NSNumber. `inputImage`: A CIImage representing the input image to apply the filter to.
The following code creates a filter that adds a strong blur to the input image:
[media-3544964]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/discBlur()
func (CIFilterClass) DisintegrateWithMaskTransitionFilter ¶
func (_CIFilterClass CIFilterClass) DisintegrateWithMaskTransitionFilter() CIFilter
Transitions between two images using a mask image.
Return Value ¶
The transition image.
Discussion ¶
This method applies the disintegrate with mask transition filter to an image. The effect transitions from one image to another using the shapes defined by the mask image.
The disintegrate with mask transition filter uses the following properties:
`inputImage`: The starting image with the type CIImage. `targetImage`: The ending image with the type CIImage. `maskImage`: An image with the type CIImage. `time`: A `float` representing the parametric time of the transition from start (at time 0) to end (at time 1) as an NSNumber. `shadowRadius`: A `float` representing the size of the shadow as a NSNumber. `shadowDensity`: A `float` representing the strength of the shadow as a NSNumber. `shadowOffset`: A CGPoint representing the size of the shadow from the mask image.
The following code creates a filter that produces a transition between the input and target images starting in the area’s outline in the mask image:
[media-3616430]
func (CIFilterClass) DisparityToDepthFilter ¶
func (_CIFilterClass CIFilterClass) DisparityToDepthFilter() CIFilter
Creates depth data from an image containing disparity data.
Return Value ¶
The modified image.
Discussion ¶
The method generates the disparity-to-depth filter. The filter converts a depth data image to disparity data. You can combine with other filters to create more sophisticated images.
The disparity-to-depth filter uses the following property:
`inputImage`: An image with the type CIImage.
The following code creates a filter that generates a disparity depth map image:
[media-3598059]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/disparityToDepth()
func (CIFilterClass) DisplacementDistortionFilter ¶
func (_CIFilterClass CIFilterClass) DisplacementDistortionFilter() CIFilter
Applies the grayscale values of the second image to the first image.
Return Value ¶
The distorted image.
Discussion ¶
This method applies the displacement distortion filter to an image. This effect distorts an image by applying the grayscale color values of the texture image.
The displacement distortion filter uses the following properties:
`inputImage`: An image with the type CIImage. `displacementImage`: An image with the type CIImage. `scale`: A `float` representing the scaling the filter uses to apply the texture to the input image as an NSNumber.
The following code creates a filter that applies the grayscale values of the displacement image to the input image:
[media-4407313]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/displacementDistortion()
func (CIFilterClass) DissolveTransitionFilter ¶
func (_CIFilterClass CIFilterClass) DissolveTransitionFilter() CIFilter
Transitions between two images with a fade effect.
Return Value ¶
The transition image.
Discussion ¶
This method applies the disintegrate transition filter to an image. The effect transitions from one image to another by using a fade effect.
The dissolve transition filter uses the following properties:
`inputImage`: The starting image with the type CIImage. `targetImage`: The ending image with the type CIImage. `time`: A `float` representing the parametric time of the transition from start (at time 0) to end (at time 1) as an NSNumber.
The following code creates a filter that produces a fade transition from the input image and the target image:
[media-3616426]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/dissolveTransition()
func (CIFilterClass) DistanceGradientFromRedMaskFilter ¶
func (_CIFilterClass CIFilterClass) DistanceGradientFromRedMaskFilter() CIFilter
func (CIFilterClass) DitherFilter ¶
func (_CIFilterClass CIFilterClass) DitherFilter() CIFilter
Applies randomized noise to produce a processed look.
Return Value ¶
The modified image.
Discussion ¶
The effect applies a dithering effect to the input image. The effect applies randomized noise to the input image to produce a processed look.
The dither filter uses the following properties:
`inputImage`: An image with the type CIImage. `intensity`: A `float` representing the desired strength of the effect as an NSNumber.
The following code creates a filter that adds desaturation to the input image:
[media-3545020]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/dither()
func (CIFilterClass) DivideBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) DivideBlendModeFilter() CIFilter
Divides color values to blend colors.
Return Value ¶
The modified image.
Discussion ¶
This method applies the divide-blend mode filter to an image. The effect divides the background image color values by the color values of the input image, resulting in the output image.
The divide-blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that brightens and inverts colors in the background image:
[media-3546405]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/divideBlendMode()
func (CIFilterClass) DocumentEnhancerFilter ¶
func (_CIFilterClass CIFilterClass) DocumentEnhancerFilter() CIFilter
Adjusts an image’s shadows and contrast.
Return Value ¶
The modified image.
Discussion ¶
This method applies the document enhancer filter to an image. The effect removes unwanted shadows while whitening the background and enhancing contrast. The filter is commonly used to enhance scanned documents.
The document enhancer filter uses the following properties:
`inputImage`: An image with the type CIImage. `amount`: A `float` representing the desired strength of the effect as an NSNumber.
The following code creates a filter that adds brightness to the input image:
[media-3545030]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/documentEnhancer()
func (CIFilterClass) DotScreenFilter ¶
func (_CIFilterClass CIFilterClass) DotScreenFilter() CIFilter
Creates a monochrome image with a series of dots to add detail.
Return Value ¶
The modified image.
Discussion ¶
This method applies a dot screen filter to an image. The effect generates a monochrome image containing a series of dots creating detail. The halftone effect is a set of lines, dots, or circles that contain detail. When viewing the image from a distance, the markings blend together, creating the illusion of continuous lines and shapes. Print media commonly uses this effect.
The dot screen filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `width`: A `float` representing the distance between dots in the pattern as an NSNumber. `sharpness`: A `float` representing the sharpness of the pattern as an NSNumber.
The following code creates a filter that produces an image containing monochrome dots of detail on a black background:
[media-3595912]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/dotScreen()
func (CIFilterClass) DrosteFilter ¶
func (_CIFilterClass CIFilterClass) DrosteFilter() CIFilter
Stylizes an image with the Droste effect.
Return Value ¶
The distorted image.
Discussion ¶
This method applies the Droste filter to an image. This effect creates a Droste effect that distorts the image by repeating smaller versions of the same image within itself.
The Droste filter uses the following properties:
`inputImage`: An image with the type CIImage. `rotation`: A `float` representing the angle of the rotation, in radians, as an NSNumber. `zoom`: A `float` representing the zoom of the effect as an NSNumber. `periodicity`: A float representing the amount of intervals as an NSNumber. `inputInsetPoint1`: A CGPoint representing the x and y position that defines the first inset point. `inputInsetPoint0`: A CGPoint representing the x and y position that defines the second inset point. `inputStrands`: A float representing the amount of strands as an NSNumber.
The following code creates a filter that results in the image becoming a repeated, scaled pattern:
[media-4407275]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/droste()
func (CIFilterClass) EdgePreserveUpsampleFilter ¶
func (_CIFilterClass CIFilterClass) EdgePreserveUpsampleFilter() CIFilter
Creates a high-quality upscaled image.
Return Value ¶
The adjusted image.
Discussion ¶
This method applies the edge preserve upsample filter to an image. The effect upsamples a small input image to be the size of the scale image using the luminance of the input image to preserve detail.
The edge preserve upsample filter uses the following properties:
`inputImage`: An image representing the image to upscale with the type CIImage. `scaleImage`: An image representing the reference for scaling the input image with the type CIImage. `spatialSigma`: A float representing the influence of the input image’s spatial information on the upsampling operation as an NSNumber. `lumaSimga`: A float representing influence of the input image’s luma information on the upsampling operation as an NSNumber.
The following code creates a filter that upscales the smaller image to the size of the scale image:
[media-3582220]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/edgePreserveUpsample()
func (CIFilterClass) EdgeWorkFilter ¶
func (_CIFilterClass CIFilterClass) EdgeWorkFilter() CIFilter
Produces a black-and-white image that looks similar to a woodblock print.
Return Value ¶
The modified image.
Discussion ¶
This method applies the edge work filter to an image. The effect creates a stylized black-and-white rendition of the image that looks similar to a woodblock print.
The edge work filter uses the following properties:
`inputImage`: An image with the type CIImage. `radius`: A `float` representing the area of effect as an NSNumber.
The following code creates a filter that results in a monochrome image with the edges of objects highlighted:
[media-3600010]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/edgeWork()
func (CIFilterClass) EdgesFilter ¶
func (_CIFilterClass CIFilterClass) EdgesFilter() CIFilter
Hilghlights edges of objects found within an image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the edges filter to an image. The effect uses the `intensity` to compute and highlight edges of items within the image.
The edges filter uses the following property:
`inputImage`: An image with the type CIImage. `intensity`: A `float` representing the desired strength of the effect as an NSNumber.
The following code creates a filter that results in a darker image with the edges of objects highlighted with the colors of the input image:
[media-3600007]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/edges()
func (CIFilterClass) EightfoldReflectedTileFilter ¶
func (_CIFilterClass CIFilterClass) EightfoldReflectedTileFilter() CIFilter
Creates an eight-way reflected pattern.
Return Value ¶
The tiled image.
Discussion ¶
This method applies the eight-fold reflected tile filter to an image. The effect creates an eight-way symmetry from the input image and tiles it to create the output image.
The eight-fold reflected tile filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `angle`: A `float` representing the direction of distortion, in radians as an NSNumber. `width`: A `float` representing the set width of each tile as an NSNumber.
The following code creates a filter that results in small symmetrical repeated tiles:
[media-4333630]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/eightfoldReflectedTile()
func (CIFilterClass) ExclusionBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) ExclusionBlendModeFilter() CIFilter
Subtracts color values to blend colors with less contrast.
Return Value ¶
The modified image.
Discussion ¶
This method applies the exclusion-blend mode filter to an image. The effect calculates the brightness value for both images and subtracts the smaller value, resulting in a darker image.
The exclusion-blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that mixes the colors and results in an output image that’s less saturated:
[media-3546411]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/exclusionBlendMode()
func (CIFilterClass) ExposureAdjustFilter ¶
func (_CIFilterClass CIFilterClass) ExposureAdjustFilter() CIFilter
Adjusts an image’s exposure.
Return Value ¶
The modified image.
Discussion ¶
This method applies the exposure-adjust filter to an image. The effect uses multiplication of color values to simulate the change of exposure within the photo.
The exposure-adjust filter uses the following properties:
`ev`: A `float` representing the amount to adjust the exposure as an NSNumber. `inputImage`: An image with the type CIImage.
The following code creates a filter that adds brightness to the input image:
[media-3545001]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/exposureAdjust()
func (CIFilterClass) FalseColorFilter ¶
func (_CIFilterClass CIFilterClass) FalseColorFilter() CIFilter
Replaces an image’s colors with specified colors.
Return Value ¶
The modified image.
Discussion ¶
This method applies the false color filter to an image. The effect maps the luminance to a color ramp from `color0` to `color1`. People use this effect to process astronomical and other scientific data, such as ultraviolet and X-ray images.
The false color filter uses the following properties:
`inputImage`: An image with the type CIImage. `color0`: A CIColor representing the first color to use for the color ramp. `color1`: A CIColor representing the second color to use for the color ramp.
The following code creates a filter that replaces the colors of the input image resulting in blue and yellow colors:
[media-3545024]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/falseColor()
func (CIFilterClass) FilterNamesInCategories ¶
func (_CIFilterClass CIFilterClass) FilterNamesInCategories(categories []string) []string
Returns an array of all published filter names that match all the specified categories.
categories: One or more of the filter category keys defined in [Filter Category Keys]. Pass `nil` to get all filters in all categories. // [Filter Category Keys]: https://developer.apple.com/documentation/CoreImage/filter-category-keys
Return Value ¶
An array that contains all published filter names that match all the categories specified by the `categories` argument.
Discussion ¶
When you pass more than one filter category, this method returns the intersection of the filters in the categories. For example, if you pass the categories kCICategoryBuiltIn and kCICategoryColorAdjustment, you obtain all the filters that are members of both the built-in and color adjustment categories. But if you pass in `kCICategoryGenerator` and kCICategoryStylize, you will not get any filters returned to you because there are no filters that are members of both the generator and stylize categories. If you want to obtain all stylize and generator filters, you must call the “ method for each category separately and then merge the results.
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/filterNames(inCategories:)
func (CIFilterClass) FilterNamesInCategory ¶
func (_CIFilterClass CIFilterClass) FilterNamesInCategory(category string) []string
Returns an array of all published filter names in the specified category.
category: A string object that specifies one of the filter categories defined in [Filter Category Keys]. // [Filter Category Keys]: https://developer.apple.com/documentation/CoreImage/filter-category-keys
Return Value ¶
An array that contains all published names of the filter in a category.
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/filterNames(inCategory:)
func (CIFilterClass) FilterWithNameKeysAndValues ¶
func (_CIFilterClass CIFilterClass) FilterWithNameKeysAndValues(name string, key0 objectivec.IObject) CIFilter
Creates a CIFilter object for a specific kind of filter and initializes the input values with a `nil`-terminated list of arguments.
name: The name of the filter. You must make sure the name is spelled correctly, otherwise your app will run but not produce any output images. For that reason, you should check for the existence of the filter after calling this method.
key0: A list of key-value pairs to set as input values to the filter. Each key is a constant that specifies the name of the input value to set, and must be followed by a value. You signal the end of the list by passing a `nil` value.
Return Value ¶
A CIFilter object whose input values are initialized.
Discussion ¶
As with all Objective-C methods that accept `nil`-terminated argument lists, to prevent unintended behavior you must take take care not to pass a `nil` value before the intended end of the argument list. You can avoid such issues by using the [FilterWithNameWithInputParameters] method to create a filter, expressing the parameter list as a dictionary literal.
func (CIFilterClass) FlashTransitionFilter ¶
func (_CIFilterClass CIFilterClass) FlashTransitionFilter() CIFilter
Creates a flash of light to transition between two images.
Return Value ¶
The transition image.
Discussion ¶
This method applies the flash transition filter to an image. The effect transitions from the input image to the target image by creating a flash that fills the image and fades to the target image.
The flash transition filter uses the following properties:
`inputImage`: The starting image with the type CIImage. `targetImage`: The ending image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `extent`: A CGRect representing the size of the rounded rectangle. `color`: A CIColor representing the color of the flash effect. `time`: A `float` representing the parametric time of the transition from start (at time 0) to end (at time 1) as an NSNumber. `maxStiriationRadius`: A `float` representing the radius of the light rays emanating from the flash as a NSNumber. `striationStrength`: A `float` representing the strength of the light rays emanating from the flash as a NSNumber. `striationContrast`: A `float` representing the contrast that’s added to each output pixel as a NSNumber. `fadeThreshold`: A `float` representing the amount of fade between the flash and the target image as a NSNumber.
The following code creates a filter that transitions from the input image with a large flash of light and fades to the target image.
[media-3616427]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/flashTransition()
func (CIFilterClass) FourfoldReflectedTileFilter ¶
func (_CIFilterClass CIFilterClass) FourfoldReflectedTileFilter() CIFilter
Creates a four-way reflected pattern.
Return Value ¶
The tiled image.
Discussion ¶
This method applies the four-fold reflected tile filter to an image. The effect produces a four-way reflected tile image.
The four-fold reflected tile filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `angle`: A `float` representing the direction of distortion, in radians as an NSNumber. `width`: A `float` representing the set width of each tile as an NSNumber. `acute angle`: A `float` representing the primary angle for the repeating parallelogram tile as an NSNumber.
The following code creates a filter that results in a four-fold pattern:
[media-3599880]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/fourfoldReflectedTile()
func (CIFilterClass) FourfoldRotatedTileFilter ¶
func (_CIFilterClass CIFilterClass) FourfoldRotatedTileFilter() CIFilter
Creates a tiled image by rotating a tile in increments of 90 degrees.
Return Value ¶
The tiled image.
Discussion ¶
This method applies the four-fold rotated tile filter to an image. The effect produces a tiled image by rotating a tile from the iput image in increments of 90 degrees.
The four-fold rotated tile filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `angle`: A `float` representing the direction of distortion, in radians as an NSNumber. `width`: A `float` representing the set width of each tile as an NSNumber.
The following code creates a filter that results in the flowers in the input image becoming rotated by 90 degrees and tiled:
[media-3599888]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/fourfoldRotatedTile()
func (CIFilterClass) FourfoldTranslatedTileFilter ¶
func (_CIFilterClass CIFilterClass) FourfoldTranslatedTileFilter() CIFilter
Creates a tiled image by applying four translation operations.
Return Value ¶
The tiled image.
Discussion ¶
This method applies the four-fold translated tile filter to an image. The effect produces a four-way tiled image by applying four translation operations. Translation operations map the position of each element in the photo to a new position in the output image.
The four-fold translated tile filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. This controls the source of the tile contents. `angle`: A `float` representing the direction of the tiled patten, in radians as an NSNumber. `width`: A `float` representing the set width of each tile as an NSNumber. `acuteAngle`: A `float` representing the primary angle for the repeating translated tile as an NSNumber.
The following code creates a filter that performs a four-fold translated tile operation on the image:
[media-4333629]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/fourfoldTranslatedTile()
func (CIFilterClass) GaborGradientsFilter ¶
func (_CIFilterClass CIFilterClass) GaborGradientsFilter() CIFilter
Highlights textures in an image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the Gabor gradients filter to an image. The effect targets the texture of objects within the frame, and is frequently used to find detail in photographs of fingerprints.
The gabor gradients filter uses the following property:
`inputImage`: An image with the type CIImage.
The following code creates a filter that results in a darker image with shades of green and red outlining the texture of objects:
[media-3600000]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/gaborGradients()
func (CIFilterClass) GammaAdjustFilter ¶
func (_CIFilterClass CIFilterClass) GammaAdjustFilter() CIFilter
Alters an image’s transition between black and white.
Return Value ¶
The modified image.
Discussion ¶
This method applies the gamma-adjust filter to an image. The effect adjusts the image’s mid-tone brightness. This filter is typically used to compensate for distortion caused by displays.
The gamma-adjust filter uses the following properties:
`inputImage`: An image with the type CIImage.
The following code creates a filter that adds darker colors to the input image:
[media-3545006]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/gammaAdjust()
func (CIFilterClass) GaussianBlurFilter ¶
func (_CIFilterClass CIFilterClass) GaussianBlurFilter() CIFilter
Blurs an image with a Gaussian distribution pattern.
Return Value ¶
The blurred image.
Discussion ¶
This method applies a Gaussian blur filter to an image. The effect targets the pixels within a circle defined by a `radius` and uses Gaussian ditribution to blur the image from the center out.
The Gaussian blur filter uses the following properties:
`radius`: A `float` representing the area of effect as an NSNumber. `inputImage`: A CIImage representing the input image to apply the filter to.
The following code creates a filter that adds a heavy blur to the input image:
[media-3544963]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/gaussianBlur()
func (CIFilterClass) GaussianGradientFilter ¶
func (_CIFilterClass CIFilterClass) GaussianGradientFilter() CIFilter
Generates a gradient that varies from one color to another using a Gaussian distribution.
Return Value ¶
The generated image.
Discussion ¶
This method generates a Gaussian gradient image. The effect uses the Gaussian kernel to calculate the even dispersal of the first color in the center to the second color in the image’s periphery.
The Gaussian gradient filter uses the following properties:
`center`: A CGPoint representing the center of the effect as x and y coordinates. `color0`: A CIColor representing the first color to use in the gradient. `color1`: A CIColor representing the second color to use in the gradient. `radius`: A `float` representing the radius of the Gaussian distribution as an NSNumber.
The following code creates a filter that generates a gradient image:
[media-3558795]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/gaussianGradient()
func (CIFilterClass) GlassDistortionFilter ¶
func (_CIFilterClass CIFilterClass) GlassDistortionFilter() CIFilter
Distorts an image by applying a glass-like texture.
Return Value ¶
The distorted image.
Discussion ¶
This method applies the glass distortion filter to an image. This effect distorts an image by applying a glass texture from the raised portions of the texture map image.
The glass distortion filter uses the following properties:
`inputImage`: An image with the type CIImage. `texture`: An image with the type CIImage. `scale`: The amount of texturing to apply. Larger values increase the effect. Defaults to 200. `center`: A set of coordinates marking the center of the image as a CGPoint.
The following code creates a filter that results in a glass-like distortion applied to the image:
[media-4407314]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/glassDistortion()
func (CIFilterClass) GlassLozengeFilter ¶
func (_CIFilterClass CIFilterClass) GlassLozengeFilter() CIFilter
Creates a lozenge-shaped lens and distorts the image.
Return Value ¶
The distorted image.
Discussion ¶
This method applies the glass lozenge filter to an image. This effect distorts an image by creating a lozenge shape placed over the input image.
The absolute threshold filter uses the following properties:
`inputImage`: An image with the type CIImage. `radius`: A `float` representing the radius of the lozenge distortion as an NSNumber. `refraction`: A `float` representing the refraction of the glass as an NSNumber. `inputPoint1`: A CGPoint representing the x and y positions that define the center of the circle at the first end of the lozenge. `inputPoint2`: A CGPoint representing the x and y positions that define the center of the circle at the second end of the lozenge.
The following code creates a filter that results in a large glass lozenge distorting the image:
[media-4407280]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/glassLozenge()
func (CIFilterClass) GlideReflectedTileFilter ¶
func (_CIFilterClass CIFilterClass) GlideReflectedTileFilter() CIFilter
Tiles an image by rotating and reflecting a tile from the image.
Return Value ¶
The tiled image.
Discussion ¶
This method applies the glide reflected tile filter to an image. The effect produces a tiled image by rotating and reflecting a tile from the input image.
The glide reflected tile filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `angle`: A `float` representing the direction of distortion, in radians as an NSNumber. `width`: A `float` representing the set width of each tile as an NSNumber.
The following code creates a filter that results in flipping the image and then tiling the result:
[media-3599883]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/glideReflectedTile()
func (CIFilterClass) GloomFilter ¶
func (_CIFilterClass CIFilterClass) GloomFilter() CIFilter
Adjusts an image’s color by applying a gloom filter.
Return Value ¶
The modified image.
Discussion ¶
This method applies the gloom filter to an image. The effect reduces the highlights of the image resulting in the image looking dull.
The gloom filter uses the following properties:
`inputImage`: An image with the type CIImage. radius: A `float` representing the area of effect as an NSNumber. intensity: A `float` representing the desired strength of the effect as an NSNumber.
The following code creates a filter that results in a darker image with a slight blur:
[media-3599998]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/gloom()
func (CIFilterClass) HardLightBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) HardLightBlendModeFilter() CIFilter
Blends colors of two images by screening and multiplying.
Return Value ¶
The modified image.
Discussion ¶
This method applies the hard-light blend mode filter to an image. The effect calculates the brightness of the colors in the background image. Colors that are lighter than 50 percent gray become lighter. If the brightness of the colors in the input image are darker then 50 percent gray, the effect darkens the colors. The filter then uses the calculated results to create the output image.
The hard-light blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that mixes the colors and results in an output image that’s darker and more saturated:
[media-3546419]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/hardLightBlendMode()
func (CIFilterClass) HatchedScreenFilter ¶
func (_CIFilterClass CIFilterClass) HatchedScreenFilter() CIFilter
Creates a monochrome image with a series of lines to add detail.
Return Value ¶
The modified image.
Discussion ¶
This method applies a hatched screen filter to an image. The effect generates a monochrome image containing a series of lines in hatched pattern to create detail. The halftone effect is a set of lines, dots, or circles that contain detail. When viewing the image from a distance, the markings blend together, creating the illusion of continuous lines and shapes. The effect is often used in print media for more efficient printing.
The hatched screen filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `angle`: A `float` representing the angle of the pattern as an NSNumber. `width`: A `float` representing the distance between lines in the pattern as an NSNumber. `sharpness`: A `float` representing the sharpness of the pattern as an NSNumber.
The following code creates a filter that produces a monochrome image containing lines of detail on a black background:
[media-3595917]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/hatchedScreen()
func (CIFilterClass) HeightFieldFromMaskFilter ¶
func (_CIFilterClass CIFilterClass) HeightFieldFromMaskFilter() CIFilter
Creates a realistic shaded height-field image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the height-field from the mask filter to an image. The effect targets the white in the input image and creates realistic shading.
The height field from mask filter uses the following properties:
`inputImage`: An image with the type CIImage. `radius`: A `float` representing the area of effect as an NSNumber.
The following code creates a filter that results in the text having a shading effect:
[media-3600011]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/heightFieldFromMask()
func (CIFilterClass) HexagonalPixellateFilter ¶
func (_CIFilterClass CIFilterClass) HexagonalPixellateFilter() CIFilter
Creates an image made of a series of colorful hexagons.
Return Value ¶
The modified image.
Discussion ¶
This method applies the hexagonal pixelate filter to an image. The effect creates an image containing colored hexagons.
The hexagonal pixelate filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `scale`: A `float` representing the scale of the hexagons as an NSNumber.
The following code creates a filter that results in an image made up of hexagons:
[media-3600003]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/hexagonalPixellate()
func (CIFilterClass) HighlightShadowAdjustFilter ¶
func (_CIFilterClass CIFilterClass) HighlightShadowAdjustFilter() CIFilter
Adjusts the highlights of colors to reduce shadows.
Return Value ¶
The modified image.
Discussion ¶
This method applies the highlight-shadow adjust filter to an image. The effect adjusts shadows, while preserving spatial detail in the image.
The highlight-shadow adjust filter uses the following properties:
`inputImage`: An image with the type CIImage. `shadowAmount`: A `float` representing the amount of generated shadow as an NSNumber. `radius`: A `float` representing the radius of the shadow as an NSNumber. `highlightAmount`: A `float` representing the strength of the shadow as an NSNumber.
The following code creates a filter that results in a brighter image with reduced shadows:
[media-3600012]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/highlightShadowAdjust()
func (CIFilterClass) HistogramDisplayFilter ¶
func (_CIFilterClass CIFilterClass) HistogramDisplayFilter() CIFilter
Generates a histogram map from the image.
Return Value ¶
The generated image.
Discussion ¶
This method applies the histogram display filter to the result of the output from the [AreaHistogramFilter] filter. This effect shows a graphical representation of the tonal distribution of colors in the image.
The histogram display filter uses the following properties:
`inputImage`: An image with the type CIImage. Typically this is the output from the area histogram filter. `height`: A `float` representing the height of the generated histogram image as an NSNumber. `lowLimit`: A `float` representing the fraction of the left portion of the histogram image to make darker as an NSNumber. `hightLimit`: A `float` representing the fraction of the right portion of the histogram to make lighter as an NSNumber.
The following code creates a filter that results in a histogram diagram generated from the input image:
[media-4332168]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/histogramDisplay()
func (CIFilterClass) HoleDistortionFilter ¶
func (_CIFilterClass CIFilterClass) HoleDistortionFilter() CIFilter
Distorts an image with a circular area that pushes the image outward.
Return Value ¶
The distorted image.
Discussion ¶
This method applies the hole distortion filter to an image. This effect distorts the image by generating a circular area that displaces pixels in the image by pushing them outward from the hole defined by the radius.
The absolute threshold filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `radius`: A `float` representing the amount of pixels the filter uses to create the distortion as an NSNumber.
The following code creates a filter that results in an image becoming distorted from the center outward:
[media-4407309]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/holeDistortion()
func (CIFilterClass) HueAdjustFilter ¶
func (_CIFilterClass CIFilterClass) HueAdjustFilter() CIFilter
Modifies an image’s hue.
Return Value ¶
The modified image.
Discussion ¶
This method applies the hue-adjust filter to an image. The effect changes the hue or color of the pixels by using the angle to modify the image’s color data.
The hue-adjust filter uses the following properties:
`angle`: A `float` representing the angle in radians to adjust the current hue of the image as an NSNumber. `inputImage`: An image with the type CIImage.
The following code creates a filter that shifts the hue of the image by 5 radians.
[media-3544999]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/hueAdjust()
func (CIFilterClass) HueBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) HueBlendModeFilter() CIFilter
Blends colors of two images by computing the sum of image color values.
Return Value ¶
The modified image.
Discussion ¶
This method applies the hue-blend mode filter to an image. The effect uses the values of the saturation and luminance from the background image with the hue of the input image to produce the output.
The hue-blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that applies the hue-blend mode filter.
[media-3546412]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/hueBlendMode()
func (CIFilterClass) HueSaturationValueGradientFilter ¶
func (_CIFilterClass CIFilterClass) HueSaturationValueGradientFilter() CIFilter
Generates a gradient representing a specified color space.
Return Value ¶
The generated image.
Discussion ¶
This method generates a hue-saturation-value gradient image. The filter creates a color wheel that shows the hues and saturations for a specified CGColorSpace.
The hue-saturation-value gradient uses the following properties:
`colorSpace`: A CGColorSpace representing the color space for the generated color wheel. `dither`: A `boolean` value specifying whether the distort the generated output. `radius`: A `float` representing the distance from the center of the effect as an NSNumber. `softness`: A `float` representing the softness of the generated color wheel as an NSNumber. `value`: A `float` representing the lightness of the hue-saturation gradient as an NSNumber.
The following code creates a filter that generates a color-space image:
[media-3558798]
func (CIFilterClass) KMeansFilter ¶
func (_CIFilterClass CIFilterClass) KMeansFilter() CIFilter
Applies the k-means algorithm to find the most common colors in an image.
Return Value ¶
A one-dimensional CIImage containing the colors.
Discussion ¶
This filter uses the k-means clustering algorithm to find the most common colors in an input image. The result is a CIImage with `count` x 1 dimensions. Each [RGBA] pixel in the result image represents the center of a k-means cluster. The [RGB] components contain the color and the alpha component represents the weight of the color. You typically use the [KMeansFilter] filter in conjunction with the [PalettizeFilter] filter to produce an image with a reduced number of colors.
`inputImage`: A CIImage to process. `extent`: A CGRect specifying the area of the image to analyze. `means`: An optional CIImage containing a set of colors to use as seeds for the k-means clustering. `count`: The number of k-means color clusters that should be created. Maximum is `128`, and default is `8`. `passes`: The number of k-means passes that should run. Maximum is `20`, and default is `5`. `perceptual`: Whether the k-means color palette should use a perceptual color space.
The following code example uses the [KMeansFilter] filter followed by the [PalettizeFilter] filter to reduce the colors in the image to four:
[media-4332587]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/kMeans()
func (CIFilterClass) KaleidoscopeFilter ¶
func (_CIFilterClass CIFilterClass) KaleidoscopeFilter() CIFilter
Creates a 12-way kaleidoscopic image from an image.
Return Value ¶
The tiled image.
Discussion ¶
This method applies the kaleidoscope tile filter to an image. The effect produces a complex 12-way symmetrical reflected pattern from the input image.
The kaleidoscope tile filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `angle`: A `float` representing the direction of distortion, in radians as an NSNumber. `count`: A `float` representing the number of reflections in the pattern as an NSNumber.
The following code creates a filter that results in the creation of a kaleidoscope effect from the input image:
[media-3599884]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/kaleidoscope()
func (CIFilterClass) KeystoneCorrectionCombinedFilter ¶
func (_CIFilterClass CIFilterClass) KeystoneCorrectionCombinedFilter() CIFilter
Adjusts the image vertically and horizontally to remove distortion.
Return Value ¶
The adjusted image.
Discussion ¶
This method applies the keystone correction combined filter to an image. The effect applies a combined set of horizontal and vertical guides to adjust the shape of the input image. This effect is commonly used when cropping an image to correct distortion. In the figure below, both vertical and horizontal adjustments are made, resulting in a trapezoid-shaped image.
The keystone correction filter uses the following properties:
`inputImage`: An image with the type CIImage. `topLeft`: A CGPoint in the input image mapped to the top-left corner of the output image. `topRight`: A CGPoint in the input image mapped to the top-right corner of the output image. `bottomLeft`: A CGPoint in the input image mapped to the bottom-left corner of the output image. `bottomRight`: A CGPoint in the input image mapped to the bottom-right corner of the output image. `focalLength`: A `float` representing the simulated focal length as an NSNumber.
The following code creates a filter that distorts the image:
[media-3582223]
func (CIFilterClass) KeystoneCorrectionHorizontalFilter ¶
func (_CIFilterClass CIFilterClass) KeystoneCorrectionHorizontalFilter() CIFilter
Horizontally adjusts an image to remove distortion.
Return Value ¶
The adjusted image.
Discussion ¶
This method applies the keystone correction horizontal filter to an image. The effect applies a set of horizontal guides and simulated focal length to adjust the shape of the input image. This effect is commonly used when cropping an image to correct distortion. In the figure below, both vertical and horizontal adjustments are made, resulting in a trapezoid-shaped image.
The keystone correction horizontal filter uses the following properties:
`inputImage`: An image with the type CIImage. `topLeft`: A CGPoint in the input image mapped to the top-left corner of the output image. `topRight`: A CGPoint in the input image mapped to the top-right corner of the output image. `bottomLeft`: A CGPoint in the input image mapped to the bottom-left corner of the output image. `bottomRight`: A CGPoint in the input image mapped to the bottom-right corner of the output image. `focalLength`: A `float` representing the simulated focal length as an NSNumber.
The following code creates a filter that distorts the image:
[media-3582230]
func (CIFilterClass) KeystoneCorrectionVerticalFilter ¶
func (_CIFilterClass CIFilterClass) KeystoneCorrectionVerticalFilter() CIFilter
Vertically adjusts an image to remove distortion.
Return Value ¶
The adjusted image.
Discussion ¶
This method applies the keystone correction vertical. The effect performs vertical adjustment of the image to shape the image to be rectangular. This effect is commonly used with multimedia projectors to correct the distortion caused by the projector being lower or higher than the projected screen.
The keystone vertical filter uses the following properties:
`inputImage`: An image with the type CIImage. `topLeft`: A CGPoint in the input image mapped to the top-left corner of the output image. `topRight`: A CGPoint in the input image mapped to the top-right corner of the output image. `bottomLeft`: A CGPoint in the input image mapped to the bottom-left corner of the output image. `bottomRight`: A CGPoint in the input image mapped to the bottom-right corner of the output image. `focalLength`: A `float` representing the simulated focal length as an NSNumber.
The following code creates a filter that distorts the image:
[media-3582222]
func (CIFilterClass) LabDeltaE ¶
func (_CIFilterClass CIFilterClass) LabDeltaE() CIFilter
Compares an image’s color values.
Return Value ¶
The modified image.
Discussion ¶
This method applies the Lab ΔE filter to an image. The effect creates an image based on the visual color differences between the two input images. The resulting image contains ΔE 1994 values between 0.0 and 100.0.
The Lab ΔE filter uses the following properties:
`inputImage`: An image with the type CIImage. `image2`: An image with the type CIImage the system uses for comparison.
The following code creates a filter that removes the background from the input image:
[media-3546476]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/labDeltaE()
func (CIFilterClass) LanczosScaleTransformFilter ¶
func (_CIFilterClass CIFilterClass) LanczosScaleTransformFilter() CIFilter
Creates a high-quality, scaled version of a source image.
Return Value ¶
The adjusted image.
Discussion ¶
This method applies the Lanczos scale transform filter to an image. The effect creates the output image by scaling the input image based on the scale and aspect ratio properties provided.
The Lanczos scale filter uses the following properties:
`inputImage`: An image with the type CIImage. `scale`: A `float` representing the scaling factor used on the image as an NSNumber. Values less than `1.0` scale down the images. Values greater than `1.0` scale up the image. `aspectRatio`: A `float` representing the additional horizontal scaling factor used on the image as an NSNumber.
The following code creates a filter that results in a smaller scaled image with high quality:
[media-3582221]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/lanczosScaleTransform()
func (CIFilterClass) LenticularHaloGeneratorFilter ¶
func (_CIFilterClass CIFilterClass) LenticularHaloGeneratorFilter() CIFilter
Generates a lenticular halo image.
Return Value ¶
The generated image.
Discussion ¶
This method generates a lenticular halo image. You commonly combine this effect with an image to simulate a halo generated by the spread of light on a lens.
The lenticular halo generator filter uses the following properties:
`center`: A `vector` representing the center of the lens flare as a CIVector. `color`: A CIColor controlling the proportion of red, green, and blue halos. `haloWidth`: A `float` representing the halo width as an NSNumber. `haloRadius`: A `float` representing the halo radius as an NSNumber. `haloOverlap`: A `float` representing the overlap of red, green, and blue halos as an NSNumber. A value of 1 results in a full overlap. `striationStrength`: A `float` representing the brightness of the rainbow-colored halo area as an NSNumber. `striationContrast`: A `float` representing the contrast of the rainbow-colored halo area as an NSNumber. `time`: A `float` representing the addition of brightness to the halo as an NSNumber.
The following code creates a filter that generates a lenticular halo image:
[media-3592392]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/lenticularHaloGenerator()
func (CIFilterClass) LightTunnelFilter ¶
func (_CIFilterClass CIFilterClass) LightTunnelFilter() CIFilter
Distorts an image by generating a light tunnel.
Return Value ¶
The distorted image.
Discussion ¶
This method applies the light tunnel filter to an image. This effect distorts the input image by warping the image to cylinder shape.
The light tunnel filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the light tunnel as a CGPoint. `radius`: A `float` representing the amount of pixels the filter uses to create the light tunnel as an NSNumber. rotation: A `float` representing the rotation angle of the light tunnel as an NSNumber.
The following code creates a filter that generates a swirling pattern from the input image:
[media-4407304]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/lightTunnel()
func (CIFilterClass) LightenBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) LightenBlendModeFilter() CIFilter
Blends colors from two images by brightening colors.
Return Value ¶
The modified image.
Discussion ¶
This method applies the lighten-blend mode filter to an image. The effect replaces any samples in the background image that are darker than input image.
The lighten-blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in the image that blends the input and background image colors:
[media-3546398]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/lightenBlendMode()
func (CIFilterClass) LineOverlayFilter ¶
func (_CIFilterClass CIFilterClass) LineOverlayFilter() CIFilter
Creates an image that resembles a sketch of the outlines of objects.
Return Value ¶
The modified image.
Discussion ¶
This method applies the line overlay filter to an image. The effect creats a sketch that outlines the edges of the image in black, leaving the non-outlined portion of the image transparent.
The line overlay filter uses the following properties:
`inputImage`: An image with the type CIImage. `nrNoiseLevel`: A `float` representing the desired level of noise as an NSNumber. `nrSharpness`: A `float` representing the desired level of sharpness as an NSNumber. `edgeIntensity`: A `float` representing the Sobel gradient information for edge tracing as an NSNumber. `threshold`: A `float` representing the threshold of edge visibilty as an NSNumber. `contrast`: A `float` representing the desired contrast as an NSNumber.
The following code creates a filter that results in a monochrome image with lines outlining the edges of objects:
[media-3600001]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/lineOverlay()
func (CIFilterClass) LineScreenFilter ¶
func (_CIFilterClass CIFilterClass) LineScreenFilter() CIFilter
Creates a monochrome image with a series of small lines to add detail.
Return Value ¶
The modified image.
Discussion ¶
This method applies a line screen filter to an image. The effect generates a monochrome image containing a series of lines creating detail. The halftone effect is a set of lines, dots, or circles that contain detail. When viewing the image from a distance, the markings blend together, creating the illusion of continuous lines and shapes. Print media commonly uses this effect.
The line screen filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `angle`: A `float` representing the angle of the pattern as an NSNumber. `width`: A `float` representing the distance between lines in the pattern as an NSNumber. `sharpness`: A `float` representing the sharpness of the pattern as an NSNumber.
The following code creates a filter that creates a monochrome image containing small lines of detail on a black background:
[media-3595915]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/lineScreen()
func (CIFilterClass) LinearBurnBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) LinearBurnBlendModeFilter() CIFilter
Blends color from two images while increasing contrast.
Return Value ¶
The modified image.
Discussion ¶
This method applies the linear-burn blend mode filter to an image. The effect calculates the brightness value for the background image then darkens it to reflect the brightness of the input image. The effect then decreases the contrast in the output image.
The linear-burn blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in an output image that’s much darker with very little visible detail:
[media-3546415]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/linearBurnBlendMode()
func (CIFilterClass) LinearDodgeBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) LinearDodgeBlendModeFilter() CIFilter
Blends colors of two images with dodging.
Return Value ¶
The modified image.
Discussion ¶
This method applies the linear-dodge-blend mode filter to an image. The effect calculates the brightness value for the background image then brightens it to reflect the brightness of the input image. The effect then increases the contrast in the output image.
The linear-dodge-blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in the image becoming brighter with both images’ colors:
[media-3546417]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/linearDodgeBlendMode()
func (CIFilterClass) LinearGradientFilter ¶
func (_CIFilterClass CIFilterClass) LinearGradientFilter() CIFilter
Generates a color gradient that varies along a linear axis between two defined endpoints.
Return Value ¶
The generated image.
Discussion ¶
This method generates a linear-gradient image. The effect creates a gradient that varies linearly between the two input properties of `point0` and `point1`.
The linear-gradient filter uses the following properties:
`point0`: A CGPoint representing the starting position of the gradient. `point1`: A CGPoint representing the ending position of the gradient. `color0`: A CIColor representing the first color to use in the gradient. `color1`: A CIColor representing the second color to use the gradient.
The following code creates a filter that generates a gradient image:
[media-3558797]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/linearGradient()
func (CIFilterClass) LinearLightBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) LinearLightBlendModeFilter() CIFilter
A combination of linear burn and linear dodge blend modes.
Return Value ¶
The blended image as a CIImage.
Discussion ¶
The linear-light blend mode combines the linear-dodge and linear-burn blend modes (rescaled so that neutral colors become middle gray). If the input image’s values are lighter than middle gray, the filter uses dodge; for darker values, the filter uses burn.
`inputImage`: A CIImage containing the input image `backgroundImage`: A CIImage containing the background image.
The following code sample applies the linear-light blend mode filter to two images:
[media-4407310]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/linearLightBlendMode()
func (CIFilterClass) LinearToSRGBToneCurveFilter ¶
func (_CIFilterClass CIFilterClass) LinearToSRGBToneCurveFilter() CIFilter
Alters an image’s color intensity.
Return Value ¶
The modified image.
Discussion ¶
This method applies the linear-to-sRGB tone curve filter to an image. The effect converts an image in linear color space to sRGB.
The linear-to-sRGB tone curve filter uses the following properties:
`inputImage`: An image with the type CIImage.
The following code creates a filter that adds brightness to the input image:
[media-3545000]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/linearToSRGBToneCurve()
func (CIFilterClass) LocalizedDescriptionForFilterName ¶
func (_CIFilterClass CIFilterClass) LocalizedDescriptionForFilterName(filterName string) string
Returns the localized description of a filter for display in the user interface.
filterName: The filter name.
Return Value ¶
The localized description of the filter.
func (CIFilterClass) LocalizedNameForCategory ¶
func (_CIFilterClass CIFilterClass) LocalizedNameForCategory(category string) string
Returns the localized name for the specified filter category.
category: A filter category.
Return Value ¶
The localized name for the filter category.
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/localizedName(forCategory:)
func (CIFilterClass) LocalizedNameForFilterName ¶
func (_CIFilterClass CIFilterClass) LocalizedNameForFilterName(filterName string) string
Returns the localized name for the specified filter name.
filterName: A filter name.
Return Value ¶
The localized name for the filter.
func (CIFilterClass) LocalizedReferenceDocumentationForFilterName ¶
func (_CIFilterClass CIFilterClass) LocalizedReferenceDocumentationForFilterName(filterName string) foundation.NSURL
Returns the location of the localized reference documentation that describes the filter.
filterName: The filter name.
Return Value ¶
A URL that specifies the location of the localized documentation, or `nil` if the filter does not provide localized reference documentation.
Discussion ¶
The URL can be a local file or a remote document on a web server. Because filters created prior to OS X v10.5 could return `nil`, you should be make sure that your code handles this case gracefully.
func (CIFilterClass) LuminosityBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) LuminosityBlendModeFilter() CIFilter
Blends color from two images by calculating the color, hue, and saturation.
Return Value ¶
The modified image.
Discussion ¶
This method applies the luminosity-blend mode filter to an image. The effect creates the output image by using the hue and saturation values of the background image while using the luminance values of the input image.
The luminosity-blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in the image having accurate gray colors while other colors are added from the background image:
[media-3546410]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/luminosityBlendMode()
func (CIFilterClass) MaskToAlphaFilter ¶
func (_CIFilterClass CIFilterClass) MaskToAlphaFilter() CIFilter
Converts an image to a white image with an alpha component.
Return Value ¶
The modified image.
Discussion ¶
This method applies the mask-to-alpha filter to an image. The value of the alpha component is determined by the grayscale value of the input image. Black pixels become completely transparent, white pixels are completely solid.
The mask-to-alpha filter uses the following properties:
`inputImage`: An image with the type CIImage.
The following code creates a filter that makes the input image’s background transparent:
[media-3545058]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/maskToAlpha()
func (CIFilterClass) MaskedVariableBlurFilter ¶
func (_CIFilterClass CIFilterClass) MaskedVariableBlurFilter() CIFilter
Blurs a specified portion of an image.
Return Value ¶
The blurred image.
Discussion ¶
This method applies the masked variable blur to an image. The effect blurs the image in an area defined by the mask image. The mask image contains shades of grey that define the strength of the blur. Black colors in the mask cause no blurring, and white colors cause maximum blur.
The masked variable blur filter uses the following properties:
`radius`: A `float` representing the area of effect as an NSNumber. `mask`: An image that masks an area on the input image with the type CIImage. `inputImage`: A CIImage representing the input image to apply the filter to.
The following code creates a filter that adds a blur to the bottom of the input image:
[media-4334872]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/maskedVariableBlur()
func (CIFilterClass) MaximumComponentFilter ¶
func (_CIFilterClass CIFilterClass) MaximumComponentFilter() CIFilter
Creates a maximum RGB grayscale image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the maximum component filter to an image. The effect applies a preconfigured set of effects that result in the input image becoming grayscale using the maximum RGB color components.
The maximum component filter uses the following property:
`inputImage`: An image with the type CIImage.
The following code creates a filter that adds brightness and makes the input image grayscale:
[media-3545023]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/maximumComponent()
func (CIFilterClass) MaximumCompositingFilter ¶
func (_CIFilterClass CIFilterClass) MaximumCompositingFilter() CIFilter
Applies a maximum compositing filter to an image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the maximum compositing filter to an image. The effect calculates the maximum value for each color component in the input and background images. The filter then uses the resulting color to create the output image.
The maximum compositing filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in an image with a mixture of images’ colors:
[media-3546413]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/maximumCompositing()
func (CIFilterClass) MaximumScaleTransformFilter ¶
func (_CIFilterClass CIFilterClass) MaximumScaleTransformFilter() CIFilter
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/maximumScaleTransform()
func (CIFilterClass) MedianFilter ¶
func (_CIFilterClass CIFilterClass) MedianFilter() CIFilter
Calculates the median of an image to refine detail.
Return Value ¶
The blurred image.
Discussion ¶
This method applies the median filter to an image. The effect computes the median value of colors for a group of neighboring pixels and replaces each pixel with calculated data.
The median filter uses the following properties:
inputImage: A CIImage representing the input image to apply the filter to.
The following code creates a filter that refines the detail in the input image:
[media-3544967]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/median()
func (CIFilterClass) MeshGeneratorFilter ¶
func (_CIFilterClass CIFilterClass) MeshGeneratorFilter() CIFilter
Generates a pattern made from an array of line segments.
Return Value ¶
The generated image.
Discussion ¶
This method generates a mesh generator image. The effect uses an array of line segments to create the resulting image.
The mesh generator filter uses the following properties:
`inputMesh`: An `array` of line segments stored as an array of CIVector, each containing a start point and end point. `color`: A CIColor representing the color used to make the mesh. `width`: A `float` representing the width of the line segments as an NSNumber
The following code creates a filter that generates a green star made from mesh segments:
[media-3590974]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/meshGenerator()
func (CIFilterClass) MinimumComponentFilter ¶
func (_CIFilterClass CIFilterClass) MinimumComponentFilter() CIFilter
Creates a minimum RGB grayscale image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the minimum component filter to an image. The effect applies a preconfigured set of effects that result in the input image becoming grayscale using the minimum RGB color components.
The minimum component filter uses the following property:
`inputImage`: An image with the type CIImage.
The following code creates a filter that adds darkness and makes the input image grayscale:
[media-3545011]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/minimumComponent()
func (CIFilterClass) MinimumCompositingFilter ¶
func (_CIFilterClass CIFilterClass) MinimumCompositingFilter() CIFilter
Blends colors from two images by computing minimum values.
Return Value ¶
The modified image.
Discussion ¶
This method applies the minimum compositing filter to an image. The effect calculates the minimum value for each color component in the input and background images. The filter then uses the resulting color to create the output image.
The minimum compositing filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in the output image becoming brighter with both images’ colors:
[media-3546409]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/minimumCompositing()
func (CIFilterClass) MixFilter ¶
func (_CIFilterClass CIFilterClass) MixFilter() CIFilter
Blends two images together.
Return Value ¶
The modified image.
Discussion ¶
This method applies the mix filter to an image. The effect uses the amount property to interpolate between the input image and the background image, resulting in both images visible in the output image.
The mix filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image representing the background image with the type CIImage. `amount`: A `float` representing the strength of the effect as an NSNumber.
The following code creates a filter that combines the input and background images to create one image with both images visible:
[media-3600009]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/mix()
func (CIFilterClass) ModTransitionFilter ¶
func (_CIFilterClass CIFilterClass) ModTransitionFilter() CIFilter
Transitions between two images by applying irregularly shaped holes.
Return Value ¶
The transition image.
Discussion ¶
This method applies the mod transition filter to an image. The effect transitions from the input image to the output image by revealing the target image through irregularly shaped holes.
The mod transition filter uses the following properties:
`inputImage`: The starting image with the type CIImage. `targetImage`: The ending image with the type CIImage. `center`: A CGPoint representing the center of the image. `angle`: A `float` representing the angle of the effect as an NSNumber. `radius`: A `float` representing the size of the area of effect as an NSNumber. `compression`: A `float` representing the amount of stretching applied to the mod hole pattern as an NSNumber. `time`: A `float` representing the parametric time of the transition from start (at time 0) to end (at time 1) as an NSNumber.
The following code creates a filter that transitions from the input image to the target image by creating a series of irregular shaped holes.
[media-3616428]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/modTransition()
func (CIFilterClass) MorphologyGradientFilter ¶
func (_CIFilterClass CIFilterClass) MorphologyGradientFilter() CIFilter
Detects and highlights edges of objects.
Return Value ¶
The blurred image.
Discussion ¶
This method applies the morphology gradient filter to an image. The effect uses the `radius` to compute and highlight edges of items within the image.
The morphology gradient filter uses the following properties:
`radius`: A `float` representing the area of effect as an NSNumber. `inputImage`: A CIImage representing the input image to apply the filter to.
The following code creates a filter that adds darkness to the overall image while the edges in the input photo become brighter:
[media-3544969]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/morphologyGradient()
func (CIFilterClass) MorphologyMaximumFilter ¶
func (_CIFilterClass CIFilterClass) MorphologyMaximumFilter() CIFilter
Blurs a circular area by enlarging contrasting pixels.
Return Value ¶
The blurred image.
Discussion ¶
This method applies the morphology maximum filter to an image. The effect targets a circular section of the image, calculating the median color values to find colors that make up more than half the working area. Using this calculation, the effect enlarges the pixels with contrasting colors to take up more of the working area. The effect is then repeated throughout the image.
The morphology maximum filter uses the following properties:
`radius`: A `float` representing the area of effect as an NSNumber. `inputImage`: A CIImage representing the input image to apply the filter to.
The following code creates a filter that adds an intense blur to the input image:
[media-3544961]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/morphologyMaximum()
func (CIFilterClass) MorphologyMinimumFilter ¶
func (_CIFilterClass CIFilterClass) MorphologyMinimumFilter() CIFilter
Blurs a circular area by reducing contrasting pixels.
Return Value ¶
The blurred image.
Discussion ¶
This method applies the morphology minimum filter to an image. The effect targets a circular section of the image, calculating the median color values to find colors that make up more than half the working area. Using this calculation, the effect reduces the pixels with contrasting colors to take up less of the working area. The effect is then repeated throughout the image.
The morphology minimum filter uses the following properties:
`radius`: A `float` representing the area of effect as an NSNumber. `inputImage`: A CIImage representing the input image to apply the filter to.
The following code creates a filter that adds a blur that adds darkness to the input image:
[media-3544966]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/morphologyMinimum()
func (CIFilterClass) MorphologyRectangleMaximumFilter ¶
func (_CIFilterClass CIFilterClass) MorphologyRectangleMaximumFilter() CIFilter
Blurs a rectangular area by enlarging contrasting pixels.
Return Value ¶
The blurred image.
Discussion ¶
This method applies the morphology rectangle maximum filter to an image. The effect targets a rectangular section of the image, calculating the median color values to find colors that make up more than half the working area. Using this calculation, the effect enlarges the pixels with contrasting colors to take up more of the working area. The effect is then repeated throughout the image.
The morphology rectangle maximum filter uses the following properties:
`width`: A `float` representing the width in pixels of the working area as an NSNumber. `height`: A `float` representing the height in pixels of the working area as an NSNumber. `inputImage`: A CIImage representing the input image to apply the filter to.
The following code creates a filter that adds a blur to the input image while brighting the palm trees:
[media-3544958]
func (CIFilterClass) MorphologyRectangleMinimumFilter ¶
func (_CIFilterClass CIFilterClass) MorphologyRectangleMinimumFilter() CIFilter
Blurs a rectangular area by reducing contrasting pixels.
Return Value ¶
The blurred image.
Discussion ¶
This method applies the morphology rectangle minimum filter to an image. The effect targets a rectangular section of the image, calculating the median color values to find colors that make up more than half the working area. Using this calculation, the effect reduces the pixels with contrasting colors to take up more of the less area. The effect is then repeated throughout the image.
The morphology rectangle minimum filter uses the following properties:
width: A `float` representing the width in pixels of the working area as an NSNumber. height: A `float` representing the height in pixels of the working area as an NSNumber. inputImage: A CIImage representing the input image to apply the filter to.
The following code creates a filter that adds an intense blur to the palm trees input image:
[media-3544957]
func (CIFilterClass) MotionBlurFilter ¶
func (_CIFilterClass CIFilterClass) MotionBlurFilter() CIFilter
Creates motion blur on an image.
Return Value ¶
The blurred image.
Discussion ¶
This method applies the motion blur filter to an image. The filter uses the angle of a single row of pixels to determine the direction of the motion effect.
The motion blur filter uses the following properties:
`radius`: A `float` representing the area of effect as an NSNumber. `angle`: A `float` representing the angle of the motion, in radians, that determines which direction the blur smears as an NSNumber. `inputImage`: A CIImage representing the input image to apply the filter to.
The following code creates a filter that adds a motion blur to the input image:
[media-3544965]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/motionBlur()
func (CIFilterClass) MultiplyBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) MultiplyBlendModeFilter() CIFilter
Blends colors from two images by multiplying color components.
Return Value ¶
The modified image.
Discussion ¶
This method applies the multiply-blend mode filter to an image. The effect calculates the colors in the output image by multiplying the color values for the input and background images, resulting in a darker image.
The multiply-blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in the image becoming darker with less saturation:
[media-3546403]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/multiplyBlendMode()
func (CIFilterClass) MultiplyCompositingFilter ¶
func (_CIFilterClass CIFilterClass) MultiplyCompositingFilter() CIFilter
Blurs the colors of two images by multiplying color components.
Return Value ¶
The modified image.
Discussion ¶
This method applies the multiply compositing filter to an image. The effect calculates the color value of the output image by multiplying the color values from the input image and the background image.
The multiply compositing filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in the image becoming darker with more saturation:
[media-3546400]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/multiplyCompositing()
func (CIFilterClass) NinePartStretchedFilter ¶
func (_CIFilterClass CIFilterClass) NinePartStretchedFilter() CIFilter
Distorts an image by stretching it between two breakpoints.
Return Value ¶
The distorted image.
Discussion ¶
This method applies the nine-part stretched filter to an image. This effect distorts an image by stretching an image to the breakpoint properties while distorting the image based on the grow amount.
The nine-part stretched filter uses the following properties:
`inputImage`: An image with the type CIImage. `growAmount`: A CGPoint representing the amount of stretching applied. `breakpoint0`: A CGPoint representing the lower-left corner of the image to retain before stretching begins. `breakpoint1`: A CGPoint representing the upper-right corner of the image to retain after stretching ends.
The following code creates a filter that results in a significantly warped image:
[media-4407340]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/ninePartStretched()
func (CIFilterClass) NinePartTiledFilter ¶
func (_CIFilterClass CIFilterClass) NinePartTiledFilter() CIFilter
Distorts an image by tiling portions of it.
Return Value ¶
The distorted image.
Discussion ¶
This method applies the nine-part tiled filter to an image. This effect distorts an image by tiling an image based on the breakpoints properties.
The nine-part tiled filter uses the following properties:
`inputImage`: An image with the type CIImage. `flipYTiles`: A [Boolean] value representing if the y-axis should be flipped. `growAmount`: A CGPoint representing the amount of stretching applied. `breakpoint1`: A CGPoint representing the upper-right corner of the image to retain after tiling ends. `breakpoint0`: A CGPoint representing the lower-left corner of image to retain before stretching begins.
The following code creates a filter that results in distorted tiles of the image becoming flipped:
[media-4407331]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/ninePartTiled()
func (CIFilterClass) NoiseReductionFilter ¶
func (_CIFilterClass CIFilterClass) NoiseReductionFilter() CIFilter
Reduces noise by sharpening the edges of objects.
Return Value ¶
The blurred image.
Discussion ¶
This method applies the noise reduction filter to an image. The effect calculates changes in luminance below the noise level and locally blurs the area. Values above the threshold are determined to be edges, and become sharpened.
The morphology noise reduction filter uses the following properties:
`noiseLevel`: A `float` representing the amount of noise reduction as an NSNumber. `sharpness`: A `float` representing the sharpness of the final image as an NSNumber. `inputImage`: A CIImage representing the input image to apply the filter to.
The following code creates a filter that reduces noise in the input image:
[media-3544968]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/noiseReduction()
func (CIFilterClass) OpTileFilter ¶
func (_CIFilterClass CIFilterClass) OpTileFilter() CIFilter
Produces an effect that mimics a style of visual art that uses optical illusions.
Return Value ¶
The tiled image.
Discussion ¶
This filter extracts a tile from the image, applies any specified scaling and rotation, and then assembles the image again to give an optical illusion effect.
The optical illusion tile filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `angle`: A `float` representing the direction of distortion, in radians as an NSNumber. `width`: A `float` representing the set width of each tile as an NSNumber. `scale`: A `float` representing the scale of numbers of tiles in the output image as an NSNumber.
The following code creates a filter that results in a distorted image with less detail:
[media-3599881]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/opTile()
func (CIFilterClass) OverlayBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) OverlayBlendModeFilter() CIFilter
Blends colors by overlaying images.
Return Value ¶
The modified image.
Discussion ¶
This method applies the overlay-blend mode filter to an image. The effect creates the output image by overlapping the input image over the background image while preserving highlights and shadows of the background image.
The overlay-blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in the background image becoming darker with the input image overlaid on top:
[media-3546406]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/overlayBlendMode()
func (CIFilterClass) PDF417BarcodeGenerator ¶
func (_CIFilterClass CIFilterClass) PDF417BarcodeGenerator() CIFilter
Generates a high-density linear barcode.
Return Value ¶
The generated image.
Discussion ¶
This method generates a PDF417 barcode as an image. PDF417 is a high-density stacked linear barcode format defined in the ISO 15438 standard. Use this filter to generate alphanumeric or numeric-only barcodes. Commonly used on identification cards or inventory management because of the large amount of data the barcode can hold.
The PDF417 barcode generator filter uses the following properties:
`message`: An NSData object representing the data to be encoded as a barcode. `minWidth`: A `float` representing the minimum width of the barcode’s data area, in pixels as an NSNumber. `maxWidth`: A `float` representing the maximum width of the barcode’s data area, in pixels, as an NSNumber. `maxHeight`: A `float` representing the maximum height of the barcode’s data area, in pixels, as an NSNumber. `minHeight`: A `float` representing the minimum height of the barcode’s data area, in pixels, as an NSNumber. `dataColums`: A `float` representing the number of columns in the data area as an NSNumber. `rows`: A `float` representing the number of rows in the data area as an NSNumber. `preferredAspectRatio`: A `float` representing the desired aspect ratio as an NSNumber. `compactionMode`: An option that determines which method the generator uses to compress data as an NSNumber. See the note below for the possible values. `compactStyle`: A [Boolean] value of `0` or `1` that determines the omission of redundant elements to make the generated barcode more compact as an NSNumber. `correctionLevel`: A `float` between 0 and 8 that determines the amount of redundancy to include in the barcode’s data to prevent errors when the barcode is read. If left unspecified, the generator chooses a correction level based on the size of the message data. `alwaysSpecifyCompaction`: A [Boolean] value of `0` or `1` that determines the inclusion of information about the compaction mode in the barcode as an NSNumber. If a PDF417 barcode doesn’t contain compaction mode information, the reader assumes text-based compaction.
The `compactionMode` property takes one of the following numeric values:
[Table data omitted]
Select either 1 or the appropriate valid value for your data that gives the most compact output.
The following code creates a filter that generates a PDF417 barcode:
[media-3546316]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/pdf417BarcodeGenerator()
func (CIFilterClass) PageCurlTransitionFilter ¶
func (_CIFilterClass CIFilterClass) PageCurlTransitionFilter() CIFilter
Simulates the curl of a page, revealing the target image.
Return Value ¶
The transition image.
Discussion ¶
This method applies the page curl transition filter to an image. The effect transitions from one image to another by simulating a curling page, revealing the target image as the page curls.
The page curl transition filter uses the following properties:
`inputImage`: The starting image with the type CIImage. `targetImage`: The ending image with the type CIImage. `backsideImage`: An image used as the backside of the curl with the type CIImage. `extent`: A CGRect representing the size of the effect. `time`: A `float` representing the parametric time of the transition from start (at time 0) to end (at time 1) as an NSNumber. `angle`: A `float` representing the angle of the motion of the curl as an NSNumber. `radius`: A `float` representing the radius of the curl as an NSNumber.
The following code creates a filter that produces a page curling back to reveal the target image.
[media-3616422]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/pageCurlTransition()
func (CIFilterClass) PageCurlWithShadowTransitionFilter ¶
func (_CIFilterClass CIFilterClass) PageCurlWithShadowTransitionFilter() CIFilter
Simulates the curl of a page, revealing the target image with added shadow.
Return Value ¶
The transition image.
Discussion ¶
This method applies the page curl with shadow transition filter to an image. The effect transitions from one image to another by simulating a curling page, revealing the target image as the page curls with a shadow effect from the backside image.
The page curl with shadow transition filter uses the following properties:
`inputImage`: The starting image with the type CIImage. `targetImage`: The ending image with the type CIImage. `backsideImage`: An image used as the backside of the curl with the type CIImage. `extent`: A CIVector representing the extent of the effect. `angle`: A `float` representing the angle of the motion, in radians as an NSNumber. `shadowAmount`: A `float` representing the strength of the shadow as an NSNumber. `shadowExtent`: A CIVector representing the rectangular portion of the input image that is used to create the shadow. `shadowSize`: A `float` representing the maximum amount of pixels to make up the shadow as an NSNumber. `time`: A `float` representing the parametric time of the transition from start (at time 0) to end (at time 1) as an NSNumber.
The following code creates a page curling back to reveal the target image with an added shadow.
[media-3616423]
func (CIFilterClass) PaletteCentroidFilter ¶
func (_CIFilterClass CIFilterClass) PaletteCentroidFilter() CIFilter
Calculates the location of an image’s colors.
Return Value ¶
The modified image.
Discussion ¶
This method applies the palette centroid filter to an image. The filter locates colors in the input image that the palette image defines and `outputImage.Extent()` provides the location of the colors of the image. You can combine with other filters to create more sophisticated images.
The palette centroid filter uses the following properties:
`inputImage`: An image with the type CIImage. `paletteImage`: An image that has the dimensions of x 1 where represents the amount of colors in the image, with type CIImage. `perceptual`: A Boolean value that specifies if the filter applies the color palette in a perceptual color space.
The following code creates a filter that calculates the extent of the palette color:
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/paletteCentroid()
func (CIFilterClass) PalettizeFilter ¶
func (_CIFilterClass CIFilterClass) PalettizeFilter() CIFilter
Replaces colors with colors from a palette image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the palette filter to an image. The effect uses the palette image that is x 1 pixels in size containing a set of colors, replacing the image colors.
The palettize filter uses the following properties:
`inputImage`: An image with the type CIImage. `paletteImage`: An image with the dimensions of x 1 where represents the colors to add to the image, with type CIImage. `perceptual`: A Boolean value that specifies if the filter applies the color palette in a perceptual color space.
The following code creates a filter that replaces the colors of the input image with the specified colors found in the palette image:
[media-3558713]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/palettize()
func (CIFilterClass) ParallelogramTileFilter ¶
func (_CIFilterClass CIFilterClass) ParallelogramTileFilter() CIFilter
Warps the image to create a parallelogram and tiles the result.
Return Value ¶
The tiled image.
Discussion ¶
This method applies the parallelogram tile filter to an image. The effect warps the input image to create a parallelogram and then tiles the result.
The parallelogram tile filter uses the following properties:
inputImage: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `angle`: A `float` representing the direction of distortion, in radians as an NSNumber. `width`: A `float` representing the set width of each tile as an NSNumber. `acuteAngle`: A `float` representing the primary angle for the repeating parallelogram tile.
The following code creates a filter that results in the image being cropped to a parallelogram and then tiled:
[media-3599887]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/parallelogramTile()
func (CIFilterClass) PersonSegmentationFilter ¶
func (_CIFilterClass CIFilterClass) PersonSegmentationFilter() CIFilter
Creates a mask where red pixels indicate areas of the image that are likely to contain a person.
Return Value ¶
A CIImage containing the mask.
Discussion ¶
The person-segmentation filter creates a mask that contains red pixels in the areas of the input image that are likely to contain people.
The person-segmentation filter takes the following properties:
`inputIImage`: A CIImage containing the image to segment. `qualityLevel`: The size and quality of the resulting segmentation mask. 0 is accurate, `1` is balanced, and `2` is fast.
The following code applies the person-segmentation filter to an image:
[media-4407311]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/personSegmentation()
func (CIFilterClass) PerspectiveCorrectionFilter ¶
func (_CIFilterClass CIFilterClass) PerspectiveCorrectionFilter() CIFilter
Transforms an image’s perspective.
Return Value ¶
The adjusted image.
Discussion ¶
This method applies the perspective correction filter to an image. The effect applies a perspective correction transforming nonrectangular area in the source image to a rectangular output image.
The perspective correction filter uses the following properties:
`inputImage`: An image with the type CIImage. `topLeft`: A CGPoint in the input image mapped to the top-left corner of the output image. `topRight`: A CGPoint in the input image mapped to the top-right corner of the output image. `bottomLeft`: A CGPoint in the input image mapped to the bottom-left corner of the output image. `bottomRight`: A CGPoint in the input image mapped to the bottom-right corner of the output image.
The following code creates a filter that corrects the perspective to appear straight:
[media-3582228]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/perspectiveCorrection()
func (CIFilterClass) PerspectiveRotateFilter ¶
func (_CIFilterClass CIFilterClass) PerspectiveRotateFilter() CIFilter
Rotates an image in a 3D space.
Return Value ¶
The adjusted image.
Discussion ¶
This method applies the perspective rotate filter to an image. The effect rotates the image in 3D space to simulate the observer changing viewing position.
The perspective rotate filter uses the following properties:
`inputImage`: An image with the type CIImage. `pitch`: A `float` representing the adjustment along the pitch axis in 3D space as an NSNumber. `yaw`: A `float` representing the adjustment along the vertical axis as an NSNumber. `roll`: A `float` representing the amount of horizontal axis in 3D space as an NSNumber. `focalLength`: A `float` representing the simulated focal length as an NSNumber.
The following code creates a filter that rotates the image:
[media-3582225]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/perspectiveRotate()
func (CIFilterClass) PerspectiveTileFilter ¶
func (_CIFilterClass CIFilterClass) PerspectiveTileFilter() CIFilter
Tiles an image by adjusting the perspective of the image.
Return Value ¶
The tiled image.
Discussion ¶
This method applies the perspective tile filter to an image. The effect adjusts the perspective of the image and then tiles the result.
The perspective tile filter uses the following properties:
`inputImage`: An image with the type CIImage. `topLeft`: A CGPoint of the input image mapped to the top-left corner of the tile. `topRight`: A CGPoint of the input image mapped to the top-right corner of the tile. `bottomLeft`: A CGPoint of the input image mapped to the bottom-left corner of the tile. `bottomRight`: A CGPoint of the input image mapped to the bottom-right corner of the tile.
The following code creates a filter that tiles the image and adjusts the perspective to add depth:
[media-3599879]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/perspectiveTile()
func (CIFilterClass) PerspectiveTransformFilter ¶
func (_CIFilterClass CIFilterClass) PerspectiveTransformFilter() CIFilter
Alters an image’s geometry to adjust the perspective.
Return Value ¶
The adjusted image.
Discussion ¶
This method applies the perspective transform filter to an image. The effect alters the geometry of an image to simulate the observer changing viewing position. You can use the perspective filter to skew an image.
The perspective transform filter uses the following properties:
`inputImage`: An image with the type CIImage. `topLeft`: A CGPoint in the input image mapped to the top-left corner of the output image. `topRight`: A CGPoint in the input image mapped to the top-right corner of the output image. `bottomLeft`: A CGPoint in the input image mapped to the bottom-left corner of the output image. `bottomRight`: A CGPoint in the input image mapped to the bottom-right corner of the output image.
The following code creates a filter that changes the perspective of the input image:
[media-3582227]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/perspectiveTransform()
func (CIFilterClass) PerspectiveTransformWithExtentFilter ¶
func (_CIFilterClass CIFilterClass) PerspectiveTransformWithExtentFilter() CIFilter
Alters an image’s geometry to adjust the perspective while applying constraints.
Return Value ¶
The adjusted image.
Discussion ¶
This method applies the perspective transform with extent filter to an image. The effect alters the geometry of an image to simulate the observer changing viewing position. The extent filter crops the image within the bounds specified. You can use the perspective filter to skew an image.
The perspective transform with extent filter uses the following properties:
`inputImage`: An image with the type CIImage. `topLeft`: A CGPoint in the input image mapped to the top-left corner of the output image. `topRight`: A CGPoint in the input image mapped to the top-right corner of the output image. `bottomLeft`: A CGPoint in the input image mapped to the bottom-left corner of the output image. `bottomRight`: A CGPoint in the input image mapped to the bottom-right corner of the output image. `extent`: A CGRect representing the dimensions of the output image.
The following code creates a filter that changes the perspective of the input image:
[media-3582226]
func (CIFilterClass) PhotoEffectChromeFilter ¶
func (_CIFilterClass CIFilterClass) PhotoEffectChromeFilter() CIFilter
Exaggerates an image’s colors.
Return Value ¶
The modified image.
Discussion ¶
This method applies a preconfigured set of effects that imitate vintage photography film with higher contrast.
The photo effect chrome filter uses the following property:
`inputImage`: An image with the type CIImage.
The following code creates a filter that results in diminished color in the input image:
[media-3545019]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/photoEffectChrome()
func (CIFilterClass) PhotoEffectFadeFilter ¶
func (_CIFilterClass CIFilterClass) PhotoEffectFadeFilter() CIFilter
Diminishes an image’s colors.
Return Value ¶
The modified image.
Discussion ¶
This method applies a preconfigured set of effects that imitate vintage photography film with diminished color.
The photo effect fade filter uses the following property:
`inputImage`: An image with the type CIImage.
The following code creates a filter that results in a desaturated image:
[media-3545034]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/photoEffectFade()
func (CIFilterClass) PhotoEffectInstantFilter ¶
func (_CIFilterClass CIFilterClass) PhotoEffectInstantFilter() CIFilter
Desaturates an image’s colors.
Return Value ¶
The modified image.
Discussion ¶
This method applies a preconfigured set of effects that imitate vintage photography film with desaturated colors.
The photo effect instant filter uses the following property:
`inputImage`: An image with the type CIImage.
The following code creates a filter that results in the input image becoming desaturated:
[media-3545013]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/photoEffectInstant()
func (CIFilterClass) PhotoEffectMonoFilter ¶
func (_CIFilterClass CIFilterClass) PhotoEffectMonoFilter() CIFilter
Adjust an image’s colors to black and white.
Return Value ¶
The modified image.
Discussion ¶
This method applies a preconfigured set of effects that imitate black-and-white photography film with low contrast.
The photo effect mono filter uses the following property:
`inputImage`: An image with the type CIImage.
The following code creates a filter that produces a black-and-white image:
[media-3545035]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/photoEffectMono()
func (CIFilterClass) PhotoEffectNoirFilter ¶
func (_CIFilterClass CIFilterClass) PhotoEffectNoirFilter() CIFilter
Adjusts an image’s colors to black and white and intensifies the contrast.
Return Value ¶
The modified image.
Discussion ¶
This method applies a preconfigured set of effects that imitate black-and-white photography film and intensifies the contrast.
The photo effect noir filter uses the following property:
`inputImage`: An image with the type CIImage.
The following code creates a filter that results in a black-and-white image:
[media-3545032]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/photoEffectNoir()
func (CIFilterClass) PhotoEffectProcessFilter ¶
func (_CIFilterClass CIFilterClass) PhotoEffectProcessFilter() CIFilter
Lowers the contrast of the input image.
Return Value ¶
The modified image.
Discussion ¶
This method applies a preconfigured set of effects that imitate vintage photography film with emphasized cool colors.
The photo effect process filter uses the following property:
`inputImage`: An image with the type CIImage.
The following code creates a filter that adds a lower contrast to the input image:
[media-3545027]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/photoEffectProcess()
func (CIFilterClass) PhotoEffectTonalFilter ¶
func (_CIFilterClass CIFilterClass) PhotoEffectTonalFilter() CIFilter
Adjusts an image’s colors to black and white.
Return Value ¶
The modified image.
Discussion ¶
This method applies a preconfigured set of effects that imitate black-and-white photography film without significantly altering contrast.
The photo effect tonal filter uses the following property:
`inputImage`: An image with the type CIImage.
The following code creates a filter that produces a grayscale image:
[media-3545036]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/photoEffectTonal()
func (CIFilterClass) PhotoEffectTransferFilter ¶
func (_CIFilterClass CIFilterClass) PhotoEffectTransferFilter() CIFilter
Brightens an image’s colors.
Return Value ¶
The modified image.
Discussion ¶
This method applies a preconfigured set of effects that imitate vintage photography film and emphasize warm colors.
The photo effect transfer filter uses the following property:
`inputImage`: An image with the type CIImage.
The following code creates a filter that adds brightness to the input image:
[media-3545015]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/photoEffectTransfer()
func (CIFilterClass) PinLightBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) PinLightBlendModeFilter() CIFilter
Blends colors of two images by replacing brighter colors.
Return Value ¶
The modified image.
Discussion ¶
This method applies the pin-light-blend mode filter to an image. The effect calculates the brightness of the colors in the background image. Colors that are lighter than 50 percent gray remain unchanged, while the filter replaces colors that are darker than 50 percent with the corresponding color values of the input image. The effect then uses the calculated result to create the output image.
The pin-light-blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in the image becoming darker with more saturation and the colors of the gradient image:
[media-3546414]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/pinLightBlendMode()
func (CIFilterClass) PinchDistortionFilter ¶
func (_CIFilterClass CIFilterClass) PinchDistortionFilter() CIFilter
Distorts an image by creating a pinch effect with stronger distortion in the center.
Return Value ¶
The distorted image.
Discussion ¶
This method applies the pinch distortion filter to an image. This effect creates a rectangular area that pinches source pixels inward, distorting those pixels closest to the rectangle the most.
The pinch distortion filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `scale`: A float representing the amount of pinching effect as an NSNumber. `radius`: A float representing the amount of pixels used to create the distortion as an NSNumber.
The following code creates a filter that results in a distorted image from the center of the photo:
[media-4407323]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/pinchDistortion()
func (CIFilterClass) PixellateFilter ¶
func (_CIFilterClass CIFilterClass) PixellateFilter() CIFilter
Enlarges the colors of the pixels to create a blurred effect.
Return Value ¶
The modified image.
Discussion ¶
This method applies the pixelate filter to an image. The effect produces a result by mapping the image to colored squares with colors defined by the pixels of the input image.
The pixelate filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `scale`: A `float` representing the size of the squares as an NSNumber.
The following code creates a filter that results in a distorted image made of squares:
[media-3599999]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/pixellate()
func (CIFilterClass) PointillizeFilter ¶
func (_CIFilterClass CIFilterClass) PointillizeFilter() CIFilter
Applies a pointillize effect to an image.
Return Value ¶
A CIImage containing the pointillized image.
Discussion ¶
This filter applies a pointillize effect to an image. The effect generates an output image made of small, single-color, circular points distributed on a randomly perturbed grid.
The pointillize filter uses the following properties:
`inputImage`: A CIImage containing the input image. `radius`: The radius in pixels of the circular points. center: Determines the origin of the grid.
The following code applies the pointillize filter with a radius of 40 pixels.
[media-4333706]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/pointillize()
func (CIFilterClass) QRCodeGenerator ¶
func (_CIFilterClass CIFilterClass) QRCodeGenerator() CIFilter
Generates a quick response (QR) code image.
Return Value ¶
The generated image.
Discussion ¶
This method generates a QR code as an image. QR codes are a high-density matrix barcode format defined in the ISO/IEC 18004:2006 standard.
The QR code generator filter uses the following properties:
`message`: A `string` representing the data to be encoded as a QR Code as NSData. `correctionLevel`: A single letter `string` representing the error-correction format as an NSString. L is 7 precent correction, M is 15 precent correction, Q is 25 precent correction, and H is 30 precent correction.
The following code creates a filter that generates a QR code:
[media-3546313]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/qrCodeGenerator()
func (CIFilterClass) RadialGradientFilter ¶
func (_CIFilterClass CIFilterClass) RadialGradientFilter() CIFilter
Generates a gradient that varies radially between two circles having the same center.
Return Value ¶
The generated image.
Discussion ¶
This method generates a radial-gradient image. The effect generates a color shift between the `radius0` and `radius1` properties.
The radial-gradient filter uses the following properties:
`center`: A CGPoint representing the center of the effect as x and y coordinates. `color0`: A CIColor representing the first color to use in the gradient. `color1`: A CIColor representing the second color to use in the gradient. `radius0`: A `float` representing the radius of the starting circle to use in the gradient as a NSNumber. `radius1`: A `float` representing the radius of the ending circle to use in the gradient as a NSNumber.
The following code creates a filter that generates a gradient image:
[media-3558800]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/radialGradient()
func (CIFilterClass) RandomGeneratorFilter ¶
func (_CIFilterClass CIFilterClass) RandomGeneratorFilter() CIFilter
Generates a random filter image.
Return Value ¶
The generated image.
Discussion ¶
This method generates an image with infinite extent. The image pixels values are from one of four independent, uniformly distributed random colors.
The following code creates a filter that generates a random color image:
[media-3590973]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/randomGenerator()
func (CIFilterClass) RegisterFilterNameConstructorClassAttributes ¶
func (_CIFilterClass CIFilterClass) RegisterFilterNameConstructorClassAttributes(name string, anObject CIFilterConstructor, attributes foundation.INSDictionary)
Publishes a custom filter that is not packaged as an image unit.
name: A string object that specifies the name of the filter you want to publish.
anObject: A constructor object that implements the `filterWithName` method.
attributes: A dictionary that contains the class display name and filter categories attributes along with the appropriate value for each attributes. That is, the [kCIAttributeFilterDisplayName] attribute and a string that specifies the display name, and the [kCIAttributeFilterCategories] and an array that specifies the categories to which the filter belongs (such as [kCICategoryStillImage] and [kCICategoryDistortionEffect]). All other attributes for the filter should be returned by the custom `attributes` method implement by the filter. // [kCIAttributeFilterCategories]: https://developer.apple.com/documentation/CoreImage/kCIAttributeFilterCategories [kCIAttributeFilterDisplayName]: https://developer.apple.com/documentation/CoreImage/kCIAttributeFilterDisplayName [kCICategoryDistortionEffect]: https://developer.apple.com/documentation/CoreImage/kCICategoryDistortionEffect [kCICategoryStillImage]: https://developer.apple.com/documentation/CoreImage/kCICategoryStillImage
Discussion ¶
In most cases you don’t need to use this method because the preferred way to register a custom filter that you write is to package it as an image unit. You do not need to use this method for a filter packaged as an image unit because you register your filter using the CIPlugInRegistration protocol. (See Core Image Programming Guide for additional details.)
func (CIFilterClass) RippleTransitionFilter ¶
func (_CIFilterClass CIFilterClass) RippleTransitionFilter() CIFilter
Simulates a ripple in a pond to transiton from one image to another.
Return Value ¶
The transition image.
Discussion ¶
This method applies the ripple transition filter to an image. The effect transitions from one image to another by creating a circular wave that expands from the center point, revealing the target image through the wave effect.
The ripple transition filter uses the following properties:
`inputImage`: The starting image with the type CIImage. `targetImage`: The ending image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `width`: A `float` representing the width of the ripple effect as an NSNumber. `extent`: A CGRect representing the size of the ripple effect. `scale`: A `float` representing the scale of the effect as an NSNumber. `time`: A `float` representing the parametric time of the transition from start (at time 0) to end (at time 1) as an NSNumber.
The following code creates a filter that transitions from the input image to the target image with a water-like ripple effect.
[media-3616425]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/rippleTransition()
func (CIFilterClass) RoundedQRCodeGeneratorFilter ¶
func (_CIFilterClass CIFilterClass) RoundedQRCodeGeneratorFilter() CIFilter
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/roundedQRCodeGenerator()
func (CIFilterClass) RoundedRectangleGeneratorFilter ¶
func (_CIFilterClass CIFilterClass) RoundedRectangleGeneratorFilter() CIFilter
Generates a rounded rectangle image.
Return Value ¶
The generated image.
Discussion ¶
This method generates a rounded rectangle image with the specified size, corner radius, and color properties.
The rounded rectangle generator filter uses the following properties:
`color`: A CIColor representing the color of the rounded rectangle. `extent`: A CGRect representing the size of the rounded rectangle. `radius`: A `float` representing the curve of the rectangle’s corners.
The following code creates a filter that generates a light blue square with rounded corners:
[media-3546319]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/roundedRectangleGenerator()
func (CIFilterClass) RoundedRectangleStrokeGeneratorFilter ¶
func (_CIFilterClass CIFilterClass) RoundedRectangleStrokeGeneratorFilter() CIFilter
Creates an image containing the outline of a rounded rectangle.
Return Value ¶
A CIImage containing the stroked rectangle.
Discussion ¶
This filter creates an outline of a rounded rectangle.
The filter takes the following properties:
`extent`: A CGRect containing the position and size of the rectangle. `width`: The width of the stroke to draw. `radius`: The corner radius.
The following code generates an image containing a stroked rounded rectangle:
[media-4407287]
func (CIFilterClass) RowAverageFilter ¶
func (_CIFilterClass CIFilterClass) RowAverageFilter() CIFilter
Calculates the average color for the specified row of pixels in an image.
Return Value ¶
Discussion ¶
This method applies the row average filter to an image. This effect calculates the average color for a horizontal row over a region defined by `extent`. The height of the extent determines the width of the resulting image. The height is always 1 pixel.
The row average filter uses the following properties:
`inputImage`: An image with the type CIImage. `extent`: A CGRect that specifies the subregion of the image that you want to process.
The following code creates a filter that calculates the row average for the middle section of an image:
[media-4331788]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/rowAverage()
func (CIFilterClass) SRGBToneCurveToLinearFilter ¶
func (_CIFilterClass CIFilterClass) SRGBToneCurveToLinearFilter() CIFilter
Converts the colors in an image from sRGB to linear.
Return Value ¶
The modified image.
Discussion ¶
This method applies the sRGB-tone-curve-to-linear filter to an image. The effect converts an image in sRGB space to linear color space.
The sRGB-tone-curve-to-linear filter uses the following properties:
`inputImage`: An image with the type CIImage.
The following code creates a filter that converts from sRGB to linear color space.
[media-4333632]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/sRGBToneCurveToLinear()
func (CIFilterClass) SaliencyMapFilter ¶
func (_CIFilterClass CIFilterClass) SaliencyMapFilter() CIFilter
Creates a saliency map from an image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the saliency map filter to an image. The effect generates a saliency map representation of the input image.
The saliency map filter uses the following properties:
`inputImage`: An image with the type CIImage.
The following code creates a filter that produces an image that’s easier for computers to analyze:
[media-3624695]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/saliencyMap()
func (CIFilterClass) SaturationBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) SaturationBlendModeFilter() CIFilter
Blends the colors and saturation values of two images.
Return Value ¶
The modified image.
Discussion ¶
This method applies the saturation-blend mode filter to an image. The effect uses the values of the hue and luminance from the background image with the saturation of the input image to produce the output.
The saturation-blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in the image taking on the colors of the background image with low saturated values becoming gray.
[media-3546404]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/saturationBlendMode()
func (CIFilterClass) ScreenBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) ScreenBlendModeFilter() CIFilter
Blends colors of two images by multiplying colors.
Return Value ¶
The modified image.
Discussion ¶
This method applies the screen-blend mode filter to an image. The effect calculates the colors in the output image by multiplying the inverse color values for the input and background images, resulting in a brighter image.
The screen-blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in the image becoming lighter with colors from the input and background image:
[media-3546401]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/screenBlendMode()
func (CIFilterClass) SepiaToneFilter ¶
func (_CIFilterClass CIFilterClass) SepiaToneFilter() CIFilter
Adjusts an image’s colors to shades of brown.
Return Value ¶
The modified image.
Discussion ¶
This method applies the sepia tone filter to an image. The effect maps the colors of the `inputImage` to various shades of brown.
The sepia tone filter uses the following property:
`inputImage`: An image with the type CIImage.
The following code creates a filter that results in the input image transforming to a brown hue:
[media-3545028]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/sepiaTone()
func (CIFilterClass) ShadedMaterialFilter ¶
func (_CIFilterClass CIFilterClass) ShadedMaterialFilter() CIFilter
Creates a shaded image from a height-field image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the shaded material filter to an image. The effect produces a shaded image from a height-field image. Areas of the height field image that have a darker shaded area produce a stronger effect. You can combine the filter with CIHeightFieldFromMask to produce quick shadings of masks, such as text.
The shaded material filter uses the following properties:
`inputImage`: An image with the type CIImage. `shadingImage`: An image representing the color shading effect with type CIImage. `scale`: A `float` representing the strength of effect as an NSNumber.
The following code creates a filter that results in an image containing glossy text by applying the shading image.
[media-3600005]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/shadedMaterial()
func (CIFilterClass) SharpenLuminanceFilter ¶
func (_CIFilterClass CIFilterClass) SharpenLuminanceFilter() CIFilter
Applies a sharpening effect to an image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the sharpen luminance filter to an image. The effect increases image detail by adjusting the luminance of each pixel within the `radius` property. Sharpening the luminance doesn’t effect the chroma data of each pixel.
The bicubic sharpen luminance filter uses the following properties:
`inputImage`: An image with the type CIImage. `radius`: A `float` representing the area of effect as an NSNumber. `sharpness`: A `float` representing the desired strength of the effect as an NSNumber.
The following code creates a filter that results in detail from the sign in the image to be more visible:
[media-3595821]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/sharpenLuminance()
func (CIFilterClass) SignedDistanceGradientFromRedMaskFilter ¶
func (_CIFilterClass CIFilterClass) SignedDistanceGradientFromRedMaskFilter() CIFilter
func (CIFilterClass) SixfoldReflectedTileFilter ¶
func (_CIFilterClass CIFilterClass) SixfoldReflectedTileFilter() CIFilter
Produces a tiled image from a source image by applying a six-way reflected symmetry.
Return Value ¶
The tiled image.
Discussion ¶
This filter produces a tiled image from a source image by applying a six-way reflected symmetry.
The six-fold reflected tile filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `angle`: A `float` representing the direction of distortion , in radians as an NSNumber. `width`: A `float` representing the set width of each tile as an NSNumber.
The following code creates a filter that results in a six-fold pattern repeated and angled for distortion:
[media-3599882]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/sixfoldReflectedTile()
func (CIFilterClass) SixfoldRotatedTileFilter ¶
func (_CIFilterClass CIFilterClass) SixfoldRotatedTileFilter() CIFilter
Creates a tiled image by rotating in increments of 60 degrees.
Return Value ¶
The tiled image.
Discussion ¶
This method applies the six-fold reflected tile filter to an image. The effect produces a tiled image by rotating the image in increments 60 degrees.
The six-fold rotated tile filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `angle`: A `float` representing the direction of distortion , in radians as an NSNumber. `width`: A `float` representing the set width of each tile as an NSNumber.
The following code creates a filter that results in flowers in the input image becoming rotated by 60 degrees and tiled to create the output:
[media-3599892]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/sixfoldRotatedTile()
func (CIFilterClass) SmoothLinearGradientFilter ¶
func (_CIFilterClass CIFilterClass) SmoothLinearGradientFilter() CIFilter
Generates a gradient that blends colors along a linear axis between two defined endpoints.
Return Value ¶
The generated image.
Discussion ¶
This method generates a smooth linear-gradient image. The effect creates a gradient by gradually blending colors between `point0` and `point1` using the sigmoid curve function.
The smooth linear-gradient filter uses the following properties:
`point0`: A CGPoint representing the starting position of the gradient. `point1`: A CGPoint representing the ending position of the gradient. `color0`: A CIColor representing the first color used in the gradient. `color1`: A CIColor representing the second color used in the gradient.
The following code creates a filter that generates a gradient image:
[media-3558802]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/smoothLinearGradient()
func (CIFilterClass) SobelGradientsFilter ¶
func (_CIFilterClass CIFilterClass) SobelGradientsFilter() CIFilter
Calculates the Sobel gradients for an image.
Return Value ¶
A CIImage containing the Sobel gradients.
Discussion ¶
This filter applies the Sobel operator to the color components of the input image. You would typically use the Sobel filter as part of an edge-detection algorithm for performing.
`inputImage`: A CIImage containing the image to process.
The following code applies the [SobelGradientsFilter] filter to an image.
[media-4407283]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/sobelGradients()
func (CIFilterClass) SoftLightBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) SoftLightBlendModeFilter() CIFilter
Blurs the colors of two images by calculating luminance.
Return Value ¶
The modified image.
Discussion ¶
This method applies the soft-light blend mode filter to an image. The effect calculates the brightness of the colors in the background image. Colors that are lighter than 50 percent gray become lighter, while the filter further darkens colors that are darker than 50 percent. The filter then uses the calculated result to create the output image.
The soft-light blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in the image becoming slightly darker with more saturation and the colors of the gradient image:
[media-3546420]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/softLightBlendMode()
func (CIFilterClass) SourceAtopCompositingFilter ¶
func (_CIFilterClass CIFilterClass) SourceAtopCompositingFilter() CIFilter
Overlaps two images to create one cropped image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the source-atop compositing filter to an image. The effect creates the result by overlaying the input image over the background image. The filter then removes the area that doesn’t overlap with the background image.
The source-atop compositing filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in an output image that shows the background image with the portion of the input image that overlaps it:
[media-3546396]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/sourceAtopCompositing()
func (CIFilterClass) SourceInCompositingFilter ¶
func (_CIFilterClass CIFilterClass) SourceInCompositingFilter() CIFilter
Subtracts non-overlapping areas of two images, resulting in one image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the source-in compositing filter to an image. The effect creates the result by overlaying the input image over the background image. The filter then removes the non-overlapping area of both images.
The source-in compositing filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in an output image that shows the portion of the background image that overlaps with the input:
[media-3546393]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/sourceInCompositing()
func (CIFilterClass) SourceOutCompositingFilter ¶
func (_CIFilterClass CIFilterClass) SourceOutCompositingFilter() CIFilter
Subtracts overlapping area of two images to create the output image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the source-out compositing filter to an image. The effect creates the result by overlaying the input image over the background image. The filter then removes the overlapping area of the background image from the result.
The source-out compositing filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in an output image that shows the portion of the background image that doesn’t overlap with the input image:
[media-3546394]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/sourceOutCompositing()
func (CIFilterClass) SourceOverCompositingFilter ¶
func (_CIFilterClass CIFilterClass) SourceOverCompositingFilter() CIFilter
Places one image over a second image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the source-over compositing filter to an image. The effect creates the result by overlaying the input image over the background image. Unlike the other source compositing filters, source-over doesn’t subtract parts of the image.
The source-over compositing filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in both of the input images becoming visible with no subtraction:
[media-3546395]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/sourceOverCompositing()
func (CIFilterClass) SpotColorFilter ¶
func (_CIFilterClass CIFilterClass) SpotColorFilter() CIFilter
Replaces colors of an image with specifed colors.
Return Value ¶
The modified image.
Discussion ¶
This method applies the spot color filter to an image. The effect replaces one or more of the color ranges of the input image with properties.
The spot color filter uses the following properties:
`inputImage`: An image with the type CIImage. `centerColor1`: A CIColor representing the median value of the first color to be replaced. `centerColor2`: A CIColor representing the median value of the second color to be replaced. `centerColor3`: A CIColor representing the median value of the third color to be replaced. `replacementColor1`: A CIColor to replace the first color. `replacementColor2`: A CIColor to replace the second color. `replacementColor3`: A CIColor to replace the third color. `closeness1`: A `float` representing how closely the first center color must match before it’s replaced. `closeness2`: A `float` representing how closely the second center color must match before it’s replaced. `closeness3`: A `float` representing how closely the third center color must match before it’s replaced. `contrast1`: A `float` representing the contrast of the first replacement color as an NSNumber. `contrast2`: A `float` representing the contrast of the second replacement color as an NSNumber. `contrast3`: A `float` representing the contrast of the third replacement color as an NSNumber.
The following code creates a filter that replaces the colors of the input image with the specified colors:
[media-3600008]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/spotColor()
func (CIFilterClass) SpotLightFilter ¶
func (_CIFilterClass CIFilterClass) SpotLightFilter() CIFilter
Highlights a definined area of the image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the spotlight filter to an image. The effect applies a directional spotlight effect to an image while creating a transparent area not highlighted by the spotlight.
The spotlight filter uses the following properties:
`inputImage`: An image with the type CIImage. `lightPointsAt`: A CIVector with the x and y positions that the spotlight points at. `brightness`: A `float` representing the brightness of the spotlight as an NSNumber. `lightPosition`: A CIVector containing the x and y position of the spotlight. `concentration`: A `float` representing the size of the spotlight in pixels as an NSNumber. `color`: A CIColor representing the spotlight color.
The following code creates a filter that results in only the bottom left of the image becoming visible while the rest of the image gradually becomes transparent:
[media-3600004]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/spotLight()
func (CIFilterClass) StarShineGeneratorFilter ¶
func (_CIFilterClass CIFilterClass) StarShineGeneratorFilter() CIFilter
Generates a star-shine image.
Return Value ¶
The generated image.
Discussion ¶
This method generates a star-shine image. The effect is similar to a supernova effect. You can use this filter to simulate a lens flare.
The star-shine generator filter uses the following properties:
`center`: A `vector` representing the center of the flare as a CGPoint. `color`: A color representing the color of the flare as a cgColor. `radius`: A `float` representing the radius of the flare as an NSNumber. `crossScale`: A `float` representing the cross flare size relative to the round central flare as an NSNumber. `crossAngle`: A `float` representing the angle of the flare as an NSNumber. `crossOpacity`: A `float` representing the thickness of the cross opacity as an NSNumber. `crossWidth`: A `float` representing the cross width as an NSNumber. `epsilon`: A `float` representing the epsilon as an NSNumber.
The following code generates a star-shaped silhouette with a black background.
[media-3590972]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/starShineGenerator()
func (CIFilterClass) StraightenFilter ¶
func (_CIFilterClass CIFilterClass) StraightenFilter() CIFilter
Rotates and crops an image.
Return Value ¶
The adjusted image.
Discussion ¶
This method applies the straighten filter to an image. The effect rotates the image based on the `angle` property while cropping and scaling the image to remain the same size as the original image.
The straighten filter uses the following properties:
`inputImage`: An image with the type CIImage. `angle`: A `float` representing the angle to rotate the image as an NSNumber.
The following code creates a filter that rotates the image 135 degrees:
[media-3582229]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/straighten()
func (CIFilterClass) StretchCropFilter ¶
func (_CIFilterClass CIFilterClass) StretchCropFilter() CIFilter
Distorts an image by stretching or cropping to fit a specified size.
Return Value ¶
The distorted image.
Discussion ¶
This method applies the stretch crop filter to an image. This effect distorts an image by stretching an image and then applies the crop extent. If the crop value is 0, the filter only uses stretching. If the value is 1, then the filter only uses cropping.
The stretch crop filter uses the following properties:
`inputImage`: An image with the type CIImage. `centerStretchAmount`: A `float` representing the amount of stretching of the center of the image as an NSNumber. `size`: A CGPoint representing the desired size of the output image. `cropAmount`: A `float` representing the amount of cropping you apply to achieve the target size as an NSNumber.
The following code creates a filter that results in a smaller image that’s distorted and cropped to be the defined size:
[media-4407279]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/stretchCrop()
func (CIFilterClass) StripesGeneratorFilter ¶
func (_CIFilterClass CIFilterClass) StripesGeneratorFilter() CIFilter
Generates a line of stripes as an image
Return Value ¶
The generated image.
Discussion ¶
This method generates a vertical stripped line pattern as an image.
The stripes generator filter uses the following properties:
`center`: A CIVector representing the center of the image. `color0`: A CIColor representing the stripes color. `color1`: A CIColor representing the background color. `width`: A `float` representing the width of the lines as an NSNumber. `sharpness`: A `float` representing the sharpness of the lines as an NSNumber.
The following code creates a filter that generates a black and white vertical striped image:
[media-3590971]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/stripesGenerator()
func (CIFilterClass) SubtractBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) SubtractBlendModeFilter() CIFilter
Blends colors by subtracting color values from two images.
Return Value ¶
The modified image.
Discussion ¶
This method applies the subtract-blend mode filter to an image. The effect calculates the colors in the output image by subtracting the color values that differ between the background image and the input image.
The subtract-blend mode filter uses the following properties:
`inputImage`: An image with the type CIImage. `backgroundImage`: An image with the type CIImage.
The following code creates a filter that results in the image becoming darker with less detail:
[media-3546402]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/subtractBlendMode()
func (CIFilterClass) SunbeamsGeneratorFilter ¶
func (_CIFilterClass CIFilterClass) SunbeamsGeneratorFilter() CIFilter
Generates an image resembling the sun.
Return Value ¶
The generated image.
Discussion ¶
This method generates a sunbeam as an image. The effect generates a center-textured sun with striations. You can combine with other filters to create more sophisticated images.
The sunbeams generator filter uses the following properties:
`center`: A vector representing the center of the image as a CIVector. `color`: A CIColor representing the color of the sun. `sunRadius`: A `float` representing the radius of the center sun as an NSNumber. `maxStriationRadius`: A `float` representing the striation radius as an NSNumber. `striationStrength`: A `float` representing the striation strength as an NSNumber. `striationContrast`: A `float` representing the striation contrast as an NSNumber. `time`: A `float` representing the time as an NSNumber.
The following code creates a filter that generates an image that resembles a yellow sun with sunbeams:
[media-3546315]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/sunbeamsGenerator()
func (CIFilterClass) SwipeTransitionFilter ¶
func (_CIFilterClass CIFilterClass) SwipeTransitionFilter() CIFilter
Gradually transitions from one image to another with a swiping motion.
Return Value ¶
The transition image.
Discussion ¶
This method applies the swipe transition filter to an image. The effect transitions from the input image to the target image by simulating a swiping motion.
The swipe transition filter uses the following properties:
`inputImage`: The starting image with the type CIImage. `targetImage`: The ending image with the type CIImage. `extent`: A CGRect representing the size of the rounded rectangle. `time`: A `float` representing the parametric time of the transition from start (at time 0) to end (at time 1) as an NSNumber. angle: A `float` representing the angle of the motion of the swipe as an NSNumber. width: A `float` representing the width of the swipe effect as an NSNumber. opacity: A `float` representing the transparency of the swipe as an NSNumber.
The following code creates a filter that transitions from the input image to the target image with a gradual fade from left to right.
[media-3616424]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/swipeTransition()
func (CIFilterClass) SystemToneMapFilter ¶
func (_CIFilterClass CIFilterClass) SystemToneMapFilter() CIFilter
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/systemToneMap()
func (CIFilterClass) TemperatureAndTintFilter ¶
func (_CIFilterClass CIFilterClass) TemperatureAndTintFilter() CIFilter
Alters an image’s temperature and tint.
Return Value ¶
The modified image.
Discussion ¶
This method applies the image temperature and tint filter to an image. The effect adjusts the white balance of the input image to match the `targetNeutral` property, resulting in a cooler or warmer tone image.
The temperature and tint filter uses the following properties:
`neutral`: A `vector` containing the source white point as a CIVector. `targetNeutral`: A vector containing the desired white point as a CIVector. `inputImage`: An image with the type CIImage.
The following code creates a filter that adds an orange hue to the input image:
[media-3545008]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/temperatureAndTint()
func (CIFilterClass) TextImageGeneratorFilter ¶
func (_CIFilterClass CIFilterClass) TextImageGeneratorFilter() CIFilter
Generates a text image.
Return Value ¶
The generated image.
Discussion ¶
This method generates a text image. The effect takes the input string property and the scale factor to scale up the text. You commonly combine this filter with other filters to create a watermark on images.
The text image generator filter uses the following properties:
`text`: The `string` to render. The string can contain non-ASCII characters. `fontName`: A `string` representing the name of the font to be used to generate the image. `fontSize`: A `float` representing the size of the font as an NSNumber. `scaleFactor`: A `float` representing the scale of the font for the generated text as an NSNumber.
The following code creates a filter that generates a string of text as a grayscale image:
[media-3546321]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/textImageGenerator()
func (CIFilterClass) ThermalFilter ¶
func (_CIFilterClass CIFilterClass) ThermalFilter() CIFilter
Alters the image to make it look like it was taken by a thermal camera.
Return Value ¶
The modified image.
Discussion ¶
This method applies a preconfigured set of effects that make it appear like a thermal camera captured the image.
The thermal filter uses the following property:
`inputImage`: An image with the type CIImage.
The following code creates a filter that adds a thermal effect to the input image:
[media-3545033]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/thermal()
func (CIFilterClass) ToneCurveFilter ¶
func (_CIFilterClass CIFilterClass) ToneCurveFilter() CIFilter
Alters an image’s tone curve according to a series of data points.
Return Value ¶
The modified image.
Discussion ¶
This method applies the tone curve filter to an image. The effect calculates the adjustment of the tone curve by the sum of the red, green, and blue color values with the point value properties specified.
The tone curve filter uses the following properties:
`point0`: A v`ector` containing the position of the first point of the tone curve as a CIVector. `point1`: A v`ector` containing the position of the second point of the tone curve as a CIVector. `point2`: A `vector` containing the position of the third point of the tone curve as a CIVector. `point3`: A v`ector` containing the position of the fourth point of the tone curve as a CIVector. `point4`: A v`ector` containing the position of the fifth point of the tone curve as a CIVector. `inputImage`: An image with the type CIImage.
The following code creates a filter that adds brightness to the input image:
[media-3545005]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/toneCurve()
func (CIFilterClass) ToneMapHeadroomFilter ¶
func (_CIFilterClass CIFilterClass) ToneMapHeadroomFilter() CIFilter
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/toneMapHeadroom()
func (CIFilterClass) TorusLensDistortionFilter ¶
func (_CIFilterClass CIFilterClass) TorusLensDistortionFilter() CIFilter
Creates a torus-shaped lens to distort the image.
Return Value ¶
The distorted image.
Discussion ¶
This method applies the torus lens distortion filter to an image. This effect distorts an image by creating a torus-shaped object, placing it over the input image, and applying the refraction.
The torus lens distortion filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `radius`: A `float` representing the amount of pixels the filter uses in the tours as an NSNumber. `refraction`: A `float` representing the refraction of the glass as an NSNumber. `width`: A `float` representing the width of the torus ring as an NSNumber.
The following code creates a filter that results in a torus-shaped object placed over the image:
[media-4407288]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/torusLensDistortion()
func (CIFilterClass) TriangleKaleidoscopeFilter ¶
func (_CIFilterClass CIFilterClass) TriangleKaleidoscopeFilter() CIFilter
Create a triangular kaleidoscope effect and then tiles the result.
Return Value ¶
The tiled image.
Discussion ¶
This method applies the triangle kaleidoscope filter to an image. The effect produces a complex tiled pattern from a triangular area input image.
The triangle kaleidoscope tile filter uses the following properties:
`inputImage`: An image with the type CIImage. `decay`: A `float` representing the intensity of the color fade from the center of the triangle as an NSNumber. `point`: A set of coordinates marking the center of the triangular area of the input image as a CIVector. `rotation`: A `float` representing the angle of rotation of the triangle as an NSNumber. `size`: A `float` representing the size in pixels of the triangle as an NSNumber.
The following code creates a filter that produces a triangle tile of the input image, creating an optical illusion:
[media-3599889]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/triangleKaleidoscope()
func (CIFilterClass) TriangleTileFilter ¶
func (_CIFilterClass CIFilterClass) TriangleTileFilter() CIFilter
Tiles a triangular area of an image.
Return Value ¶
The tiled image.
Discussion ¶
This method applies the triangle tile filter to an image. The effect creates a tiled pattern from a triangular area from the input image.
The triangle tile filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `angle`: A `float` representing the direction of distortion, in radians as an NSNumber. `width`: A `float` representing the set width of each tile as an NSNumber.
The following code creates a filter that produces a triangle of the input image and tiles the result:
[media-3599891]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/triangleTile()
func (CIFilterClass) TwelvefoldReflectedTileFilter ¶
func (_CIFilterClass CIFilterClass) TwelvefoldReflectedTileFilter() CIFilter
Creates a tiled image by rotating in increments of 30 degrees.
Return Value ¶
The tiled image.
Discussion ¶
This method applies the 12-fold reflected tile filter to an image. The effect produces a 12-way reflected tile image.
The 12-fold reflected tile filter uses the following properties:
`inputImage`: An image with the type CIImage. `center`: A set of coordinates marking the center of the image as a CGPoint. `angle`: A `float` representing the direction of distortion, in radians as an NSNumber. `width`: A `float` representing the set width of each tile as an NSNumber.
The following code creates a filter that results in a 12-fold pattern angled at 30 degrees and then repeated:
[media-3599890]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/twelvefoldReflectedTile()
func (CIFilterClass) TwirlDistortionFilter ¶
func (_CIFilterClass CIFilterClass) TwirlDistortionFilter() CIFilter
Distorts an image by rotating pixels around a center point.
Return Value ¶
The distorted image.
Discussion ¶
This method applies the twirl distortion filter to an image. This effect distorts an image by rotating pixels around the defined center to create a twirling effect. You can specify the number of rotations to control the strength of the effect.
The twirl distortion filter uses the following properties:
`inputImage`: An image with the type CIImage. `radius`: A `float` representing the amount of pixels the filter uses to create the distortion as an NSNumber. `center`: A set of coordinates marking the center of the image as a CGPoint. `angle`: A `float` representing the angle of the twirl, in radians, as an NSNumber.
The following code creates a filter that results in the center of the image becoming twirled:
[media-4407322]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/twirlDistortion()
func (CIFilterClass) UnsharpMaskFilter ¶
func (_CIFilterClass CIFilterClass) UnsharpMaskFilter() CIFilter
Increases an image’s contrast between two colors.
Return Value ¶
The modified image.
Discussion ¶
This method applies the unsharp mask filter to an image. The effect increases the contrast of the edge between pixels of different colors within the defined radius property.
The unsharp mask filter uses the following properties:
`inputImage`: An image with the type CIImage. `radius`: A `float` representing the area of effect as an NSNumber. `intensity`: A `float` representing the desired strength of the effect as an NSNumber.
The following code creates a filter that results in the objects within the image becoming darker:
[media-3595819]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/unsharpMask()
func (CIFilterClass) VibranceFilter ¶
func (_CIFilterClass CIFilterClass) VibranceFilter() CIFilter
Adjusts an image’s vibrancy.
Return Value ¶
The modified image.
Discussion ¶
This method applies the vibrance filter to an image. The effect adjusts the saturation of the image while preserving skin tone colors.
The vibrance filter uses the following properties:
`amount`: A `float` representing the amount to adjust the saturation with the type NSNumber. `inputImage`: An image with the type CIImage.
The following code creates a filter that adds darkness to the input image:
[media-3544997]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/vibrance()
func (CIFilterClass) VignetteEffectFilter ¶
func (_CIFilterClass CIFilterClass) VignetteEffectFilter() CIFilter
Gradually darkens a specified area of an image.
Return Value ¶
The modified image.
Discussion ¶
This method applies the vignette effect filter to an image. This effect reduces brightness of the image at the periphery of a specified region.
The vignette effect filter uses the following properties:
`inputImage`: An image with the type CIImage. `intensity`: A `float` representing the intensity of the vignette effect as an NSNumber. `radius`: A `float` representing the radius of the effect as an NSNumber. `falloff`: A `float` representing the fall off of brightness toward the edge of the image as an NSNumber. `center`: A CGPoint representing the center of the image.
The following code creates a filter that darkens the edges of an area on the input image:
[media-3600013]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/vignetteEffect()
func (CIFilterClass) VignetteFilter ¶
func (_CIFilterClass CIFilterClass) VignetteFilter() CIFilter
Gradually darkens an image’s edges.
Return Value ¶
The modified image.
Discussion ¶
This method applies the vignette filter to an image. This is a preconfigured effect that reduces brightness of the image at the periphery.
The vignette filter uses the following properties:
`inputImage`: An image with the type CIImage. `intensity`: A `float` representing the intensity of the vignette effect as an NSNumber. `radius`: A `float` representing the radius of the effect as an NSNumber.
The following code creates a filter that darkens the edges of the input image:
[media-3545014]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/vignette()
func (CIFilterClass) VividLightBlendModeFilter ¶
func (_CIFilterClass CIFilterClass) VividLightBlendModeFilter() CIFilter
A combination of color-burn and color-dodge blend modes.
Return Value ¶
The blended image as a CIImage.
Discussion ¶
The vivid-light blend mode combines the color-dodge and color-burn blend modes (rescaled so that neutral colors become middle gray). If the input Images values are lighter than middle gray, the filter uses dodge; for darker values, the filter uses burn.
`inputImage`: A CIImage containing the input image. `backgroundImage`: A CIImage containing the background image.
The following code sample applies the vivid-light blend mode filter to two images:
[media-4407307]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/vividLightBlendMode()
func (CIFilterClass) VortexDistortionFilter ¶
func (_CIFilterClass CIFilterClass) VortexDistortionFilter() CIFilter
Distorts an image by using a vortex effect created by rotating pixels around a point.
Return Value ¶
The distorted image.
Discussion ¶
This method applies the vortex distortion filter to an image. This effect distorts an image by rotating pixels around the defined center to simulate a vortex. You can specify the number of rotations to control the strength of the effect.
The vortex distortion filter uses the following properties:
`inputImage`: An image with the type CIImage. `angle`: A `float` representing the angle of the vortex, in radians, as an NSNumber. `center`: A set of coordinates marking the center of the image as a CGPoint. `radius`: A `float` representing the amount of pixels the filter uses to create the distortion as an NSNumber.
The following code creates a filter that results in a small vortex effect:
[media-4407301]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/vortexDistortion()
func (CIFilterClass) WhitePointAdjustFilter ¶
func (_CIFilterClass CIFilterClass) WhitePointAdjustFilter() CIFilter
Adjusts the image’s white-point.
Return Value ¶
The modified image.
Discussion ¶
This method applies the white-point adjust filter to an image. The effect adjusts the white-point of the input image by mapping all shades of gray to shades of the color property.
The white-point adjust filter uses the following properties:
`color`: The new white point color with the type of CIColor. `inputImage`: An image with the type CIImage.
The following code creates a filter that adds a red hue to the input image:
[media-3545004]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/whitePointAdjust()
func (CIFilterClass) XRayFilter ¶
func (_CIFilterClass CIFilterClass) XRayFilter() CIFilter
Alters an image to make it look like an X-ray image.
Return Value ¶
The modified image.
Discussion ¶
This method applies a preconfigured set of effects that imitate a photo being scanned by an X-ray.
The X-ray filter uses the following properties:
`inputImage`: An image with the type CIImage.
The following code creates a filter that adds an X-ray effect to the input image:
[media-3545022]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/xRay()
func (CIFilterClass) ZoomBlurFilter ¶
func (_CIFilterClass CIFilterClass) ZoomBlurFilter() CIFilter
Creates a zoom blur centered around a single point on the image.
Return Value ¶
The blurred image.
Discussion ¶
This method applies the zoom blur filter to an image. This effect mimics the zoom of a camera when capturing the image.
The zoom blur filter uses the following properties:
`amount`: A `float` representing the zoom-in amount as an NSNumber. `center`: A set of coordinates marking the center of the image as a CGPoint. `inputImage`: A CIImage representing the input image to apply the filter to.
The following code creates a filter that adds a zoom blur to the input image:
[media-3544962]
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class/zoomBlur()
type CIFilterConstructor ¶
type CIFilterConstructor interface {
objectivec.IObject
// Returns a filter object specified by name.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFilterConstructor/filter(withName:)
FilterWithName(name string) CIFilter
}
A general interface for objects that produce filters.
See: https://developer.apple.com/documentation/CoreImage/CIFilterConstructor
type CIFilterConstructorObject ¶
type CIFilterConstructorObject struct {
objectivec.Object
}
CIFilterConstructorObject wraps an existing Objective-C object that conforms to the CIFilterConstructor protocol.
func CIFilterConstructorObjectFromID ¶
func CIFilterConstructorObjectFromID(id objc.ID) CIFilterConstructorObject
CIFilterConstructorObjectFromID constructs a CIFilterConstructorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIFilterConstructorObject) BaseObject ¶
func (o CIFilterConstructorObject) BaseObject() objectivec.Object
func (CIFilterConstructorObject) FilterWithName ¶
func (o CIFilterConstructorObject) FilterWithName(name string) CIFilter
Returns a filter object specified by name.
name: The name of the requested custom filter.
Return Value ¶
A CIFilter object implementing the custom filter.
Discussion ¶
Core Image calls this method when a filter is requested by name using the CIFilter class method [FilterWithName] method (or related methods). Your implementation of this method should provide a new instance of the CIFilter subclass for your custom filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterConstructor/filter(withName:)
type CIFilterGenerator ¶
type CIFilterGenerator struct {
objectivec.Object
}
An object that creates and configures chains of individual image filters.
Overview ¶
The CIFilterGenerator class provides methods for creating a CIFilter object by chaining together existing CIFilter objects to create complex effects. (A refers to the CIFilter objects that are connected in the CIFilterGenerator object.) The complex effect can be encapsulated as a CIFilterGenerator object and saved as a file so that it can be used again. The contains an archived instance of all the CIFilter objects that are chained together.
Any filter generator files that you copy to `/Library/Graphics/Image Units/` are loaded when any of the loading methods provided by the CIPlugIn class are invoked. A CIFilterGenerator object is registered by its filename or, if present, by a class attribute that you supply in its description.
You can create a CIFilterGenerator object programmatically, using the methods provided by the CIFilterGenerator class, or by using the editor view provided by Core Image.
Initializing a Filter Generator Object ¶
- CIFilterGenerator.InitWithContentsOfURL: Initializes a filter generator object with the contents of a filter generator file.
Connecting and Disconnecting Objects ¶
- CIFilterGenerator.ConnectObjectWithKeyToObjectWithKey: Adds an object to the filter chain.
- CIFilterGenerator.DisconnectObjectWithKeyToObjectWithKey: Removes the connection between two objects in the filter chain.
Managing Exported Keys ¶
- CIFilterGenerator.ExportedKeys: Returns an array of the exported keys.
- CIFilterGenerator.ExportKeyFromObjectWithName: Exports an input or output key of an object in the filter chain.
- CIFilterGenerator.RemoveExportedKey: Removes a key that was previously exported.
- CIFilterGenerator.SetAttributesForExportedKey: Sets a dictionary of attributes for an exported key.
Setting and Getting Class Attributes ¶
- CIFilterGenerator.ClassAttributes: The class attributes associated with the filter.
- CIFilterGenerator.SetClassAttributes
Archiving a Filter Generator Object ¶
- CIFilterGenerator.WriteToURLAtomically: Archives a filter generator object to a filter generator file.
Registering a Filter Chain ¶
- CIFilterGenerator.RegisterFilterName: Registers the name associated with a filter chain.
Creating a Filter from a Filter Chain ¶
- CIFilterGenerator.Filter: Creates a filter object based on the filter chain.
See: https://developer.apple.com/documentation/CoreImage/CIFilterGenerator
func CIFilterGeneratorFromID ¶
func CIFilterGeneratorFromID(id objc.ID) CIFilterGenerator
CIFilterGeneratorFromID constructs a CIFilterGenerator from an objc.ID.
An object that creates and configures chains of individual image filters.
func NewCIFilterGenerator ¶
func NewCIFilterGenerator() CIFilterGenerator
NewCIFilterGenerator creates a new CIFilterGenerator instance.
func NewFilterGeneratorWithContentsOfURL ¶
func NewFilterGeneratorWithContentsOfURL(aURL foundation.INSURL) CIFilterGenerator
Initializes a filter generator object with the contents of a filter generator file.
aURL: The location of a filter generator file.
Return Value ¶
The initialized CIFilterGenerator object. Returns `nil` if the file can’t be read.
See: https://developer.apple.com/documentation/CoreImage/CIFilterGenerator/init(contentsOf:)
func (CIFilterGenerator) Autorelease ¶
func (f CIFilterGenerator) Autorelease() CIFilterGenerator
Autorelease adds the receiver to the current autorelease pool.
func (CIFilterGenerator) ClassAttributes ¶
func (f CIFilterGenerator) ClassAttributes() foundation.INSDictionary
The class attributes associated with the filter.
Discussion ¶
For more information about class attributes for a filter, see Core Image Programming Guide and the filter attributes key constants defined in CIFilter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterGenerator/classAttributes
func (CIFilterGenerator) ConnectObjectWithKeyToObjectWithKey ¶
func (f CIFilterGenerator) ConnectObjectWithKeyToObjectWithKey(sourceObject objectivec.IObject, sourceKey string, targetObject objectivec.IObject, targetKey string)
Adds an object to the filter chain.
sourceObject: A CIFilter object, a CIImage object, or the path (an [NSString] or [NSURL] object) to an image. // [NSString]: https://developer.apple.com/documentation/Foundation/NSString [NSURL]: https://developer.apple.com/documentation/Foundation/NSURL
sourceKey: The key that specifies the source object. For example, if the source is the output image of a filter, pass the `outputImage` key. Pass `nil` if the source object is used directly.
targetObject: The object to which the source object links.
targetKey: The key that specifies the target for the source. For example, if you are connecting the source to the input image of a CIFilter object, you would pass the `inputImage` key.
See: https://developer.apple.com/documentation/CoreImage/CIFilterGenerator/connect(_:withKey:to:withKey:)
func (CIFilterGenerator) DisconnectObjectWithKeyToObjectWithKey ¶
func (f CIFilterGenerator) DisconnectObjectWithKeyToObjectWithKey(sourceObject objectivec.IObject, sourceKey string, targetObject objectivec.IObject, targetKey string)
Removes the connection between two objects in the filter chain.
sourceObject: A CIFilter object, a CIImage object, or the path (an [NSString] or [NSURL] object) to an image. // [NSString]: https://developer.apple.com/documentation/Foundation/NSString [NSURL]: https://developer.apple.com/documentation/Foundation/NSURL
sourceKey: The key that specifies the source object. Pass `nil` if the source object is used directly.
targetObject: The object from which you want to disconnect the source object.
targetKey: The key that specifies the target that the source object is currently connected to.
func (CIFilterGenerator) EncodeWithCoder ¶
func (f CIFilterGenerator) EncodeWithCoder(coder foundation.INSCoder)
func (CIFilterGenerator) ExportKeyFromObjectWithName ¶
func (f CIFilterGenerator) ExportKeyFromObjectWithName(key string, targetObject objectivec.IObject, exportedKeyName string)
Exports an input or output key of an object in the filter chain.
key: The key to export from the target object (for example, `inputImage`).
targetObject: The object associated with the key (for example, the filter).
exportedKeyName: A unique name to use for the exported key. Pass `nil` to use the original key name.
Discussion ¶
When you create a CIFilter object from a CIFilterGenerator object, you might want the filter client to be able to set some of the parameters associated with the filter chain. You can make a parameter settable by exporting the key associated with the parameter. If the exported key represents an input parameter of the filter, the key is exported as an input key. If the key represents an output parameter, it is exported as an output key.
See: https://developer.apple.com/documentation/CoreImage/CIFilterGenerator/exportKey(_:from:withName:)
func (CIFilterGenerator) ExportedKeys ¶
func (f CIFilterGenerator) ExportedKeys() foundation.INSDictionary
Returns an array of the exported keys.
Return Value ¶
An array of dictionaries that describe the exported key and target object. See kCIFilterGeneratorExportedKey, kCIFilterGeneratorExportedKeyTargetObject, and kCIFilterGeneratorExportedKey for keys used in the dictionary.
Discussion ¶
This method returns the keys that you exported using the [ExportKeyFromObjectWithName] method or that were exported before being written to the file from which you read the filter chain.
See: https://developer.apple.com/documentation/CoreImage/CIFilterGenerator/exportedKeys
func (CIFilterGenerator) Filter ¶
func (f CIFilterGenerator) Filter() CIFilter
Creates a filter object based on the filter chain.
Return Value ¶
A CIFilter object.
Discussion ¶
The topology of the filter chain is immutable, meaning that any changes you make to the filter chain are not reflected in the filter. The returned filter holds the export input and output keys.
See: https://developer.apple.com/documentation/CoreImage/CIFilterGenerator/filter()
func (CIFilterGenerator) FilterWithName ¶
func (f CIFilterGenerator) FilterWithName(name string) CIFilter
Returns a filter object specified by name.
name: The name of the requested custom filter.
Return Value ¶
A CIFilter object implementing the custom filter.
Discussion ¶
Core Image calls this method when a filter is requested by name using the CIFilter class method [FilterWithName] method (or related methods). Your implementation of this method should provide a new instance of the CIFilter subclass for your custom filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterConstructor/filter(withName:)
func (CIFilterGenerator) Init ¶
func (f CIFilterGenerator) Init() CIFilterGenerator
Init initializes the instance.
func (CIFilterGenerator) InitWithContentsOfURL ¶
func (f CIFilterGenerator) InitWithContentsOfURL(aURL foundation.INSURL) CIFilterGenerator
Initializes a filter generator object with the contents of a filter generator file.
aURL: The location of a filter generator file.
Return Value ¶
The initialized CIFilterGenerator object. Returns `nil` if the file can’t be read.
See: https://developer.apple.com/documentation/CoreImage/CIFilterGenerator/init(contentsOf:)
func (CIFilterGenerator) RegisterFilterName ¶
func (f CIFilterGenerator) RegisterFilterName(name string)
Registers the name associated with a filter chain.
name: A unique name for the filter chain you want to register.
Discussion ¶
This method allows you to register the filter chain as a named filter in the Core Image filter repository. You can then create a CIFilter object from it using the [FilterWithName] method of the CIFilter class.
See: https://developer.apple.com/documentation/CoreImage/CIFilterGenerator/registerFilterName(_:)
func (CIFilterGenerator) RemoveExportedKey ¶
func (f CIFilterGenerator) RemoveExportedKey(exportedKeyName string)
Removes a key that was previously exported.
exportedKeyName: The name of the key you want to remove.
See: https://developer.apple.com/documentation/CoreImage/CIFilterGenerator/removeExportedKey(_:)
func (CIFilterGenerator) SetAttributesForExportedKey ¶
func (f CIFilterGenerator) SetAttributesForExportedKey(attributes foundation.INSDictionary, key string)
Sets a dictionary of attributes for an exported key.
attributes: A dictionary that describes the attributes associated with the specified key.
key: The exported key whose attributes you want to set.
Discussion ¶
By default, the exported key inherits the attributes from its original key and target object. You can use this method to change one or more of the existing attributes for the key, such as the default value or maximum value. For more information on attributes, see CIFilter and Core Image Programming Guide.
func (CIFilterGenerator) SetClassAttributes ¶
func (f CIFilterGenerator) SetClassAttributes(value foundation.INSDictionary)
func (CIFilterGenerator) WriteToURLAtomically ¶
func (f CIFilterGenerator) WriteToURLAtomically(aURL foundation.INSURL, flag bool) bool
Archives a filter generator object to a filter generator file.
aURL: A location for the file generator file.
flag: Pass `true` to specify that Core Image should create an interim file to avoid overwriting an existing file.
Return Value ¶
Returns `true` if the object is successfully archived to the file.
Discussion ¶
Use this method to save your filter chain to a file for later use.
See: https://developer.apple.com/documentation/CoreImage/CIFilterGenerator/write(to:atomically:)
type CIFilterGeneratorClass ¶
type CIFilterGeneratorClass struct {
// contains filtered or unexported fields
}
func GetCIFilterGeneratorClass ¶
func GetCIFilterGeneratorClass() CIFilterGeneratorClass
GetCIFilterGeneratorClass returns the class object for CIFilterGenerator.
func (CIFilterGeneratorClass) Alloc ¶
func (cc CIFilterGeneratorClass) Alloc() CIFilterGenerator
Alloc allocates memory for a new instance of the class.
func (CIFilterGeneratorClass) FilterGenerator ¶
func (_CIFilterGeneratorClass CIFilterGeneratorClass) FilterGenerator() CIFilterGenerator
Creates and returns an empty filter generator object.
Return Value ¶
A CIFilterGenerator object.
Discussion ¶
You use the returned object to connect two or more CIFilter objects and input images. It is also valid to have only one CIFilter object in a filter generator.
See: https://developer.apple.com/documentation/CoreImage/CIFilterGenerator/filterGenerator
func (CIFilterGeneratorClass) FilterGeneratorWithContentsOfURL ¶
func (_CIFilterGeneratorClass CIFilterGeneratorClass) FilterGeneratorWithContentsOfURL(aURL foundation.INSURL) CIFilterGenerator
Creates and returns a filter generator object and initializes it with the contents of a filter generator file.
aURL: The location of a filter generator file.
Return Value ¶
A CIFilterGenerator object; returns `nil` if the file can’t be read.
type CIFilterProtocol ¶
type CIFilterProtocol interface {
objectivec.IObject
// A [CIImage](<doc://com.apple.coreimage/documentation/CoreImage/CIImage>) object that encapsulates the operations configured in the filter.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
OutputImage() ICIImage
}
The properties you use to configure a Core Image filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol
type CIFilterProtocolObject ¶
type CIFilterProtocolObject struct {
objectivec.Object
}
CIFilterProtocolObject wraps an existing Objective-C object that conforms to the CIFilterProtocol protocol.
func CIFilterProtocolObjectFromID ¶
func CIFilterProtocolObjectFromID(id objc.ID) CIFilterProtocolObject
CIFilterProtocolObjectFromID constructs a CIFilterProtocolObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIFilterProtocolObject) BaseObject ¶
func (o CIFilterProtocolObject) BaseObject() objectivec.Object
func (CIFilterProtocolObject) OutputImage ¶
func (o CIFilterProtocolObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
type CIFilterShape ¶
type CIFilterShape struct {
objectivec.Object
}
A description of the bounding shape of a filter and the domain of definition for a filter operation.
Overview ¶
You use CIFilterShape objects in conjunction with Core Image classes, such as CIFilter, CIKernel, and CISampler, to create custom filters.
Initializing a Filter Shape ¶
- CIFilterShape.InitWithRect: Initializes a filter shape object with a rectangle.
Inspecting a Filter Shape ¶
- CIFilterShape.Extent: The extent of the filter shape.
Modifying a Filter Shape ¶
- CIFilterShape.InsetByXY: Modifies a filter shape object so that it is inset by the specified x and y values.
- CIFilterShape.IntersectWith: Creates a filter shape object that represents the intersection of the current filter shape and the specified filter shape object.
- CIFilterShape.IntersectWithRect: Creates a filter shape that represents the intersection of the current filter shape and a rectangle.
- CIFilterShape.TransformByInterior: Creates a filter shape that results from applying a transform to the current filter shape.
- CIFilterShape.UnionWith: Creates a filter shape that results from the union of the current filter shape and another filter shape object.
- CIFilterShape.UnionWithRect: Creates a filter shape that results from the union of the current filter shape and a rectangle.
See: https://developer.apple.com/documentation/CoreImage/CIFilterShape
func CIFilterShapeFromID ¶
func CIFilterShapeFromID(id objc.ID) CIFilterShape
CIFilterShapeFromID constructs a CIFilterShape from an objc.ID.
A description of the bounding shape of a filter and the domain of definition for a filter operation.
func NewCIFilterShape ¶
func NewCIFilterShape() CIFilterShape
NewCIFilterShape creates a new CIFilterShape instance.
func NewFilterShapeWithRect ¶
func NewFilterShapeWithRect(r corefoundation.CGRect) CIFilterShape
Initializes a filter shape object with a rectangle.
r: A rectangle. Core Image uses the rectangle specified by integer parts of the values in the [CGRect] data structure.
Return Value ¶
An initialized CIFilterShape object, or `nil` if the method fails.
See: https://developer.apple.com/documentation/CoreImage/CIFilterShape/init(rect:)
func (CIFilterShape) Autorelease ¶
func (f CIFilterShape) Autorelease() CIFilterShape
Autorelease adds the receiver to the current autorelease pool.
func (CIFilterShape) Extent ¶
func (f CIFilterShape) Extent() corefoundation.CGRect
The extent of the filter shape.
Discussion ¶
Extent is a rectangle that describes the filter shape in the working coordinate space with a fixed area.
See: https://developer.apple.com/documentation/CoreImage/CIFilterShape/extent
func (CIFilterShape) Init ¶
func (f CIFilterShape) Init() CIFilterShape
Init initializes the instance.
func (CIFilterShape) InitWithRect ¶
func (f CIFilterShape) InitWithRect(r corefoundation.CGRect) CIFilterShape
Initializes a filter shape object with a rectangle.
r: A rectangle. Core Image uses the rectangle specified by integer parts of the values in the [CGRect] data structure.
Return Value ¶
An initialized CIFilterShape object, or `nil` if the method fails.
See: https://developer.apple.com/documentation/CoreImage/CIFilterShape/init(rect:)
func (CIFilterShape) InsetByXY ¶
func (f CIFilterShape) InsetByXY(dx int, dy int) ICIFilterShape
Modifies a filter shape object so that it is inset by the specified x and y values.
dx: A value that specifies an inset in the x direction.
dy: A value that specifies an inset in the y direction.
See: https://developer.apple.com/documentation/CoreImage/CIFilterShape/insetBy(x:y:)
func (CIFilterShape) IntersectWith ¶
func (f CIFilterShape) IntersectWith(s2 ICIFilterShape) ICIFilterShape
Creates a filter shape object that represents the intersection of the current filter shape and the specified filter shape object.
s2: A filter shape object.
Return Value ¶
The filter shape object that results from the intersection.
See: https://developer.apple.com/documentation/CoreImage/CIFilterShape/intersect(with:)-8iw
func (CIFilterShape) IntersectWithRect ¶
func (f CIFilterShape) IntersectWithRect(r corefoundation.CGRect) ICIFilterShape
Creates a filter shape that represents the intersection of the current filter shape and a rectangle.
r: A rectangle. Core Image uses the rectangle specified by integer parts of the width and height.
Return Value ¶
The filter shape that results from the intersection ¶
See: https://developer.apple.com/documentation/CoreImage/CIFilterShape/intersect(with:)-2o2n8
func (CIFilterShape) TransformByInterior ¶
func (f CIFilterShape) TransformByInterior(m corefoundation.CGAffineTransform, flag bool) ICIFilterShape
Creates a filter shape that results from applying a transform to the current filter shape.
m: A transform.
flag: [false] specifies that the new filter shape object can contain all the pixels in the transformed shape (and possibly some that are outside the transformed shape). [true] specifies that the new filter shape object can contain a subset of the pixels in the transformed shape (but none of those outside the transformed shape). // [false]: https://developer.apple.com/documentation/Swift/false [true]: https://developer.apple.com/documentation/Swift/true
Return Value ¶
The transformed filter shape object.
See: https://developer.apple.com/documentation/CoreImage/CIFilterShape/transform(by:interior:)
func (CIFilterShape) UnionWith ¶
func (f CIFilterShape) UnionWith(s2 ICIFilterShape) ICIFilterShape
Creates a filter shape that results from the union of the current filter shape and another filter shape object.
s2: A filter shape object.
Return Value ¶
The filter shape object that results from the union.
See: https://developer.apple.com/documentation/CoreImage/CIFilterShape/union(with:)-52mnd
func (CIFilterShape) UnionWithRect ¶
func (f CIFilterShape) UnionWithRect(r corefoundation.CGRect) ICIFilterShape
Creates a filter shape that results from the union of the current filter shape and a rectangle.
r: A rectangle. Core Image uses the rectangle specified by integer parts of the width and height.
See: https://developer.apple.com/documentation/CoreImage/CIFilterShape/union(with:)-75ebo
type CIFilterShapeClass ¶
type CIFilterShapeClass struct {
// contains filtered or unexported fields
}
func GetCIFilterShapeClass ¶
func GetCIFilterShapeClass() CIFilterShapeClass
GetCIFilterShapeClass returns the class object for CIFilterShape.
func (CIFilterShapeClass) Alloc ¶
func (cc CIFilterShapeClass) Alloc() CIFilterShape
Alloc allocates memory for a new instance of the class.
func (CIFilterShapeClass) ShapeWithRect ¶
func (_CIFilterShapeClass CIFilterShapeClass) ShapeWithRect(r corefoundation.CGRect) CIFilterShape
Creates a filter shape object and initializes it with a rectangle.
r: A rectangle. The filter shape object will contain the smallest integral rectangle specified by this argument.
See: https://developer.apple.com/documentation/CoreImage/CIFilterShape/shapeWithRect:
type CIFlashTransition ¶
type CIFlashTransition interface {
objectivec.IObject
CIFilterProtocol
CITransitionFilter
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/center
Center() corefoundation.CGPoint
// The color of the light rays emanating from the flash.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/color
Color() ICIColor
// The extent of the flash.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/extent
Extent() corefoundation.CGRect
// The amount of fade between the flash and the target image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/fadeThreshold
FadeThreshold() float32
// The radius of the light rays emanating from the flash.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/maxStriationRadius
MaxStriationRadius() float32
// The contrast of the light rays emanating from the flash.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/striationContrast
StriationContrast() float32
// The strength of the light rays emanating from the flash.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/striationStrength
StriationStrength() float32
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/center
SetCenter(value corefoundation.CGPoint)
// The color of the light rays emanating from the flash.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/color
SetColor(value ICIColor)
// The extent of the flash.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/extent
SetExtent(value corefoundation.CGRect)
// The amount of fade between the flash and the target image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/fadeThreshold
SetFadeThreshold(value float32)
// The radius of the light rays emanating from the flash.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/maxStriationRadius
SetMaxStriationRadius(value float32)
// The contrast of the light rays emanating from the flash.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/striationContrast
SetStriationContrast(value float32)
// The strength of the light rays emanating from the flash.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/striationStrength
SetStriationStrength(value float32)
}
The properties you use to configure a flash transition filter.
See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition
type CIFlashTransitionObject ¶
type CIFlashTransitionObject struct {
objectivec.Object
}
CIFlashTransitionObject wraps an existing Objective-C object that conforms to the CIFlashTransition protocol.
func CIFlashTransitionObjectFromID ¶
func CIFlashTransitionObjectFromID(id objc.ID) CIFlashTransitionObject
CIFlashTransitionObjectFromID constructs a CIFlashTransitionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIFlashTransitionObject) BaseObject ¶
func (o CIFlashTransitionObject) BaseObject() objectivec.Object
func (CIFlashTransitionObject) Center ¶
func (o CIFlashTransitionObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/center
func (CIFlashTransitionObject) Color ¶
func (o CIFlashTransitionObject) Color() ICIColor
The color of the light rays emanating from the flash.
See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/color
func (CIFlashTransitionObject) Extent ¶
func (o CIFlashTransitionObject) Extent() corefoundation.CGRect
The extent of the flash.
See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/extent
func (CIFlashTransitionObject) FadeThreshold ¶
func (o CIFlashTransitionObject) FadeThreshold() float32
The amount of fade between the flash and the target image.
See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/fadeThreshold
func (CIFlashTransitionObject) InputImage ¶
func (o CIFlashTransitionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/inputImage
func (CIFlashTransitionObject) MaxStriationRadius ¶
func (o CIFlashTransitionObject) MaxStriationRadius() float32
The radius of the light rays emanating from the flash.
See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/maxStriationRadius
func (CIFlashTransitionObject) OutputImage ¶
func (o CIFlashTransitionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIFlashTransitionObject) SetCenter ¶
func (o CIFlashTransitionObject) SetCenter(value corefoundation.CGPoint)
func (CIFlashTransitionObject) SetColor ¶
func (o CIFlashTransitionObject) SetColor(value ICIColor)
func (CIFlashTransitionObject) SetExtent ¶
func (o CIFlashTransitionObject) SetExtent(value corefoundation.CGRect)
func (CIFlashTransitionObject) SetFadeThreshold ¶
func (o CIFlashTransitionObject) SetFadeThreshold(value float32)
func (CIFlashTransitionObject) SetInputImage ¶
func (o CIFlashTransitionObject) SetInputImage(value ICIImage)
func (CIFlashTransitionObject) SetMaxStriationRadius ¶
func (o CIFlashTransitionObject) SetMaxStriationRadius(value float32)
func (CIFlashTransitionObject) SetStriationContrast ¶
func (o CIFlashTransitionObject) SetStriationContrast(value float32)
func (CIFlashTransitionObject) SetStriationStrength ¶
func (o CIFlashTransitionObject) SetStriationStrength(value float32)
func (CIFlashTransitionObject) SetTargetImage ¶
func (o CIFlashTransitionObject) SetTargetImage(value ICIImage)
func (CIFlashTransitionObject) SetTime ¶
func (o CIFlashTransitionObject) SetTime(value float32)
func (CIFlashTransitionObject) StriationContrast ¶
func (o CIFlashTransitionObject) StriationContrast() float32
The contrast of the light rays emanating from the flash.
See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/striationContrast
func (CIFlashTransitionObject) StriationStrength ¶
func (o CIFlashTransitionObject) StriationStrength() float32
The strength of the light rays emanating from the flash.
See: https://developer.apple.com/documentation/CoreImage/CIFlashTransition/striationStrength
func (CIFlashTransitionObject) TargetImage ¶
func (o CIFlashTransitionObject) TargetImage() ICIImage
The target image for a transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/targetImage
func (CIFlashTransitionObject) Time ¶
func (o CIFlashTransitionObject) Time() float32
The parametric time of the transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/time
type CIFormat ¶
type CIFormat = int
CIFormat is pixel data formats for image input, output, and processing.
See: https://developer.apple.com/documentation/CoreImage/CIFormat
type CIFourCoordinateGeometryFilter ¶
type CIFourCoordinateGeometryFilter interface {
objectivec.IObject
CIFilterProtocol
// BottomLeft protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/bottomLeft
BottomLeft() corefoundation.CGPoint
// BottomRight protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/bottomRight
BottomRight() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/inputImage
InputImage() ICIImage
// TopLeft protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/topLeft
TopLeft() corefoundation.CGPoint
// TopRight protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/topRight
TopRight() corefoundation.CGPoint
// bottomLeft protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/bottomLeft
SetBottomLeft(value corefoundation.CGPoint)
// bottomRight protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/bottomRight
SetBottomRight(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/inputImage
SetInputImage(value ICIImage)
// topLeft protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/topLeft
SetTopLeft(value corefoundation.CGPoint)
// topRight protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/topRight
SetTopRight(value corefoundation.CGPoint)
}
The properties you use to configure a geometry adjustment filters that requires four coordinates.
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter
type CIFourCoordinateGeometryFilterObject ¶
type CIFourCoordinateGeometryFilterObject struct {
objectivec.Object
}
CIFourCoordinateGeometryFilterObject wraps an existing Objective-C object that conforms to the CIFourCoordinateGeometryFilter protocol.
func CIFourCoordinateGeometryFilterObjectFromID ¶
func CIFourCoordinateGeometryFilterObjectFromID(id objc.ID) CIFourCoordinateGeometryFilterObject
CIFourCoordinateGeometryFilterObjectFromID constructs a CIFourCoordinateGeometryFilterObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIFourCoordinateGeometryFilterObject) BaseObject ¶
func (o CIFourCoordinateGeometryFilterObject) BaseObject() objectivec.Object
func (CIFourCoordinateGeometryFilterObject) BottomLeft ¶
func (o CIFourCoordinateGeometryFilterObject) BottomLeft() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/bottomLeft
func (CIFourCoordinateGeometryFilterObject) BottomRight ¶
func (o CIFourCoordinateGeometryFilterObject) BottomRight() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/bottomRight
func (CIFourCoordinateGeometryFilterObject) InputImage ¶
func (o CIFourCoordinateGeometryFilterObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/inputImage
func (CIFourCoordinateGeometryFilterObject) OutputImage ¶
func (o CIFourCoordinateGeometryFilterObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIFourCoordinateGeometryFilterObject) SetBottomLeft ¶
func (o CIFourCoordinateGeometryFilterObject) SetBottomLeft(value corefoundation.CGPoint)
func (CIFourCoordinateGeometryFilterObject) SetBottomRight ¶
func (o CIFourCoordinateGeometryFilterObject) SetBottomRight(value corefoundation.CGPoint)
func (CIFourCoordinateGeometryFilterObject) SetInputImage ¶
func (o CIFourCoordinateGeometryFilterObject) SetInputImage(value ICIImage)
func (CIFourCoordinateGeometryFilterObject) SetTopLeft ¶
func (o CIFourCoordinateGeometryFilterObject) SetTopLeft(value corefoundation.CGPoint)
func (CIFourCoordinateGeometryFilterObject) SetTopRight ¶
func (o CIFourCoordinateGeometryFilterObject) SetTopRight(value corefoundation.CGPoint)
func (CIFourCoordinateGeometryFilterObject) TopLeft ¶
func (o CIFourCoordinateGeometryFilterObject) TopLeft() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/topLeft
func (CIFourCoordinateGeometryFilterObject) TopRight ¶
func (o CIFourCoordinateGeometryFilterObject) TopRight() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/topRight
type CIFourfoldReflectedTile ¶
type CIFourfoldReflectedTile interface {
objectivec.IObject
CIFilterProtocol
// The primary angle for the repeating reflected tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldReflectedTile/acuteAngle
AcuteAngle() float32
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldReflectedTile/angle
Angle() float32
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldReflectedTile/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldReflectedTile/inputImage
InputImage() ICIImage
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldReflectedTile/width
Width() float32
// The primary angle for the repeating reflected tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldReflectedTile/acuteAngle
SetAcuteAngle(value float32)
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldReflectedTile/angle
SetAngle(value float32)
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldReflectedTile/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldReflectedTile/inputImage
SetInputImage(value ICIImage)
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldReflectedTile/width
SetWidth(value float32)
}
The properties you use to configure a fourfold reflected tile filter.
See: https://developer.apple.com/documentation/CoreImage/CIFourfoldReflectedTile
type CIFourfoldReflectedTileObject ¶
type CIFourfoldReflectedTileObject struct {
objectivec.Object
}
CIFourfoldReflectedTileObject wraps an existing Objective-C object that conforms to the CIFourfoldReflectedTile protocol.
func CIFourfoldReflectedTileObjectFromID ¶
func CIFourfoldReflectedTileObjectFromID(id objc.ID) CIFourfoldReflectedTileObject
CIFourfoldReflectedTileObjectFromID constructs a CIFourfoldReflectedTileObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIFourfoldReflectedTileObject) AcuteAngle ¶
func (o CIFourfoldReflectedTileObject) AcuteAngle() float32
The primary angle for the repeating reflected tile.
See: https://developer.apple.com/documentation/CoreImage/CIFourfoldReflectedTile/acuteAngle
func (CIFourfoldReflectedTileObject) Angle ¶
func (o CIFourfoldReflectedTileObject) Angle() float32
The angle, in radians, of the tiled pattern.
See: https://developer.apple.com/documentation/CoreImage/CIFourfoldReflectedTile/angle
func (CIFourfoldReflectedTileObject) BaseObject ¶
func (o CIFourfoldReflectedTileObject) BaseObject() objectivec.Object
func (CIFourfoldReflectedTileObject) Center ¶
func (o CIFourfoldReflectedTileObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIFourfoldReflectedTile/center
func (CIFourfoldReflectedTileObject) InputImage ¶
func (o CIFourfoldReflectedTileObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIFourfoldReflectedTile/inputImage
func (CIFourfoldReflectedTileObject) OutputImage ¶
func (o CIFourfoldReflectedTileObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIFourfoldReflectedTileObject) SetAcuteAngle ¶
func (o CIFourfoldReflectedTileObject) SetAcuteAngle(value float32)
func (CIFourfoldReflectedTileObject) SetAngle ¶
func (o CIFourfoldReflectedTileObject) SetAngle(value float32)
func (CIFourfoldReflectedTileObject) SetCenter ¶
func (o CIFourfoldReflectedTileObject) SetCenter(value corefoundation.CGPoint)
func (CIFourfoldReflectedTileObject) SetInputImage ¶
func (o CIFourfoldReflectedTileObject) SetInputImage(value ICIImage)
func (CIFourfoldReflectedTileObject) SetWidth ¶
func (o CIFourfoldReflectedTileObject) SetWidth(value float32)
func (CIFourfoldReflectedTileObject) Width ¶
func (o CIFourfoldReflectedTileObject) Width() float32
The width of a tile.
See: https://developer.apple.com/documentation/CoreImage/CIFourfoldReflectedTile/width
type CIFourfoldRotatedTile ¶
type CIFourfoldRotatedTile interface {
objectivec.IObject
CIFilterProtocol
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldRotatedTile/angle
Angle() float32
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldRotatedTile/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldRotatedTile/inputImage
InputImage() ICIImage
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldRotatedTile/width
Width() float32
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldRotatedTile/angle
SetAngle(value float32)
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldRotatedTile/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldRotatedTile/inputImage
SetInputImage(value ICIImage)
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldRotatedTile/width
SetWidth(value float32)
}
The properties you use to configure a fourfold rotated tile filter.
See: https://developer.apple.com/documentation/CoreImage/CIFourfoldRotatedTile
type CIFourfoldRotatedTileObject ¶
type CIFourfoldRotatedTileObject struct {
objectivec.Object
}
CIFourfoldRotatedTileObject wraps an existing Objective-C object that conforms to the CIFourfoldRotatedTile protocol.
func CIFourfoldRotatedTileObjectFromID ¶
func CIFourfoldRotatedTileObjectFromID(id objc.ID) CIFourfoldRotatedTileObject
CIFourfoldRotatedTileObjectFromID constructs a CIFourfoldRotatedTileObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIFourfoldRotatedTileObject) Angle ¶
func (o CIFourfoldRotatedTileObject) Angle() float32
The angle, in radians, of the tiled pattern.
See: https://developer.apple.com/documentation/CoreImage/CIFourfoldRotatedTile/angle
func (CIFourfoldRotatedTileObject) BaseObject ¶
func (o CIFourfoldRotatedTileObject) BaseObject() objectivec.Object
func (CIFourfoldRotatedTileObject) Center ¶
func (o CIFourfoldRotatedTileObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIFourfoldRotatedTile/center
func (CIFourfoldRotatedTileObject) InputImage ¶
func (o CIFourfoldRotatedTileObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIFourfoldRotatedTile/inputImage
func (CIFourfoldRotatedTileObject) OutputImage ¶
func (o CIFourfoldRotatedTileObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIFourfoldRotatedTileObject) SetAngle ¶
func (o CIFourfoldRotatedTileObject) SetAngle(value float32)
func (CIFourfoldRotatedTileObject) SetCenter ¶
func (o CIFourfoldRotatedTileObject) SetCenter(value corefoundation.CGPoint)
func (CIFourfoldRotatedTileObject) SetInputImage ¶
func (o CIFourfoldRotatedTileObject) SetInputImage(value ICIImage)
func (CIFourfoldRotatedTileObject) SetWidth ¶
func (o CIFourfoldRotatedTileObject) SetWidth(value float32)
func (CIFourfoldRotatedTileObject) Width ¶
func (o CIFourfoldRotatedTileObject) Width() float32
The width of a tile.
See: https://developer.apple.com/documentation/CoreImage/CIFourfoldRotatedTile/width
type CIFourfoldTranslatedTile ¶
type CIFourfoldTranslatedTile interface {
objectivec.IObject
CIFilterProtocol
// The primary angle for the repeating translated tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldTranslatedTile/acuteAngle
AcuteAngle() float32
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldTranslatedTile/angle
Angle() float32
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldTranslatedTile/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldTranslatedTile/inputImage
InputImage() ICIImage
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldTranslatedTile/width
Width() float32
// The primary angle for the repeating translated tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldTranslatedTile/acuteAngle
SetAcuteAngle(value float32)
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldTranslatedTile/angle
SetAngle(value float32)
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldTranslatedTile/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldTranslatedTile/inputImage
SetInputImage(value ICIImage)
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIFourfoldTranslatedTile/width
SetWidth(value float32)
}
The properties you use to configure a fourfold translated tile filter.
See: https://developer.apple.com/documentation/CoreImage/CIFourfoldTranslatedTile
type CIFourfoldTranslatedTileObject ¶
type CIFourfoldTranslatedTileObject struct {
objectivec.Object
}
CIFourfoldTranslatedTileObject wraps an existing Objective-C object that conforms to the CIFourfoldTranslatedTile protocol.
func CIFourfoldTranslatedTileObjectFromID ¶
func CIFourfoldTranslatedTileObjectFromID(id objc.ID) CIFourfoldTranslatedTileObject
CIFourfoldTranslatedTileObjectFromID constructs a CIFourfoldTranslatedTileObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIFourfoldTranslatedTileObject) AcuteAngle ¶
func (o CIFourfoldTranslatedTileObject) AcuteAngle() float32
The primary angle for the repeating translated tile.
See: https://developer.apple.com/documentation/CoreImage/CIFourfoldTranslatedTile/acuteAngle
func (CIFourfoldTranslatedTileObject) Angle ¶
func (o CIFourfoldTranslatedTileObject) Angle() float32
The angle, in radians, of the tiled pattern.
See: https://developer.apple.com/documentation/CoreImage/CIFourfoldTranslatedTile/angle
func (CIFourfoldTranslatedTileObject) BaseObject ¶
func (o CIFourfoldTranslatedTileObject) BaseObject() objectivec.Object
func (CIFourfoldTranslatedTileObject) Center ¶
func (o CIFourfoldTranslatedTileObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIFourfoldTranslatedTile/center
func (CIFourfoldTranslatedTileObject) InputImage ¶
func (o CIFourfoldTranslatedTileObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIFourfoldTranslatedTile/inputImage
func (CIFourfoldTranslatedTileObject) OutputImage ¶
func (o CIFourfoldTranslatedTileObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIFourfoldTranslatedTileObject) SetAcuteAngle ¶
func (o CIFourfoldTranslatedTileObject) SetAcuteAngle(value float32)
func (CIFourfoldTranslatedTileObject) SetAngle ¶
func (o CIFourfoldTranslatedTileObject) SetAngle(value float32)
func (CIFourfoldTranslatedTileObject) SetCenter ¶
func (o CIFourfoldTranslatedTileObject) SetCenter(value corefoundation.CGPoint)
func (CIFourfoldTranslatedTileObject) SetInputImage ¶
func (o CIFourfoldTranslatedTileObject) SetInputImage(value ICIImage)
func (CIFourfoldTranslatedTileObject) SetWidth ¶
func (o CIFourfoldTranslatedTileObject) SetWidth(value float32)
func (CIFourfoldTranslatedTileObject) Width ¶
func (o CIFourfoldTranslatedTileObject) Width() float32
The width of a tile.
See: https://developer.apple.com/documentation/CoreImage/CIFourfoldTranslatedTile/width
type CIGaborGradients ¶
type CIGaborGradients interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGaborGradients/inputImage
InputImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGaborGradients/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a Gabor gradients filter.
See: https://developer.apple.com/documentation/CoreImage/CIGaborGradients
type CIGaborGradientsObject ¶
type CIGaborGradientsObject struct {
objectivec.Object
}
CIGaborGradientsObject wraps an existing Objective-C object that conforms to the CIGaborGradients protocol.
func CIGaborGradientsObjectFromID ¶
func CIGaborGradientsObjectFromID(id objc.ID) CIGaborGradientsObject
CIGaborGradientsObjectFromID constructs a CIGaborGradientsObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIGaborGradientsObject) BaseObject ¶
func (o CIGaborGradientsObject) BaseObject() objectivec.Object
func (CIGaborGradientsObject) InputImage ¶
func (o CIGaborGradientsObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIGaborGradients/inputImage
func (CIGaborGradientsObject) OutputImage ¶
func (o CIGaborGradientsObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIGaborGradientsObject) SetInputImage ¶
func (o CIGaborGradientsObject) SetInputImage(value ICIImage)
type CIGammaAdjust ¶
type CIGammaAdjust interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGammaAdjust/inputImage
InputImage() ICIImage
// A gamma value to use to correct image brightness.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGammaAdjust/power
Power() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGammaAdjust/inputImage
SetInputImage(value ICIImage)
// A gamma value to use to correct image brightness.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGammaAdjust/power
SetPower(value float32)
}
The properties you use to configure a gamma adjust filter.
See: https://developer.apple.com/documentation/CoreImage/CIGammaAdjust
type CIGammaAdjustObject ¶
type CIGammaAdjustObject struct {
objectivec.Object
}
CIGammaAdjustObject wraps an existing Objective-C object that conforms to the CIGammaAdjust protocol.
func CIGammaAdjustObjectFromID ¶
func CIGammaAdjustObjectFromID(id objc.ID) CIGammaAdjustObject
CIGammaAdjustObjectFromID constructs a CIGammaAdjustObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIGammaAdjustObject) BaseObject ¶
func (o CIGammaAdjustObject) BaseObject() objectivec.Object
func (CIGammaAdjustObject) InputImage ¶
func (o CIGammaAdjustObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIGammaAdjust/inputImage
func (CIGammaAdjustObject) OutputImage ¶
func (o CIGammaAdjustObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIGammaAdjustObject) Power ¶
func (o CIGammaAdjustObject) Power() float32
A gamma value to use to correct image brightness.
See: https://developer.apple.com/documentation/CoreImage/CIGammaAdjust/power
func (CIGammaAdjustObject) SetInputImage ¶
func (o CIGammaAdjustObject) SetInputImage(value ICIImage)
func (CIGammaAdjustObject) SetPower ¶
func (o CIGammaAdjustObject) SetPower(value float32)
type CIGaussianBlur ¶
type CIGaussianBlur interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGaussianBlur/inputImage
InputImage() ICIImage
// The radius of the blur, in pixels.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGaussianBlur/radius
Radius() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGaussianBlur/inputImage
SetInputImage(value ICIImage)
// The radius of the blur, in pixels.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGaussianBlur/radius
SetRadius(value float32)
}
The properties you use to configure a Gaussian blur filter.
See: https://developer.apple.com/documentation/CoreImage/CIGaussianBlur
type CIGaussianBlurObject ¶
type CIGaussianBlurObject struct {
objectivec.Object
}
CIGaussianBlurObject wraps an existing Objective-C object that conforms to the CIGaussianBlur protocol.
func CIGaussianBlurObjectFromID ¶
func CIGaussianBlurObjectFromID(id objc.ID) CIGaussianBlurObject
CIGaussianBlurObjectFromID constructs a CIGaussianBlurObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIGaussianBlurObject) BaseObject ¶
func (o CIGaussianBlurObject) BaseObject() objectivec.Object
func (CIGaussianBlurObject) InputImage ¶
func (o CIGaussianBlurObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIGaussianBlur/inputImage
func (CIGaussianBlurObject) OutputImage ¶
func (o CIGaussianBlurObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIGaussianBlurObject) Radius ¶
func (o CIGaussianBlurObject) Radius() float32
The radius of the blur, in pixels.
See: https://developer.apple.com/documentation/CoreImage/CIGaussianBlur/radius
func (CIGaussianBlurObject) SetInputImage ¶
func (o CIGaussianBlurObject) SetInputImage(value ICIImage)
func (CIGaussianBlurObject) SetRadius ¶
func (o CIGaussianBlurObject) SetRadius(value float32)
type CIGaussianGradient ¶
type CIGaussianGradient interface {
objectivec.IObject
CIFilterProtocol
// The center of the effect as x and y coordinates.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGaussianGradient/center
Center() corefoundation.CGPoint
// The first color to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGaussianGradient/color0
Color0() ICIColor
// The second color to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGaussianGradient/color1
Color1() ICIColor
// The radius of the Gaussian distribution.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGaussianGradient/radius
Radius() float32
// The center of the effect as x and y coordinates.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGaussianGradient/center
SetCenter(value corefoundation.CGPoint)
// The first color to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGaussianGradient/color0
SetColor0(value ICIColor)
// The second color to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGaussianGradient/color1
SetColor1(value ICIColor)
// The radius of the Gaussian distribution.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGaussianGradient/radius
SetRadius(value float32)
}
The properties you use to configure a Gaussian gradient filter.
See: https://developer.apple.com/documentation/CoreImage/CIGaussianGradient
type CIGaussianGradientObject ¶
type CIGaussianGradientObject struct {
objectivec.Object
}
CIGaussianGradientObject wraps an existing Objective-C object that conforms to the CIGaussianGradient protocol.
func CIGaussianGradientObjectFromID ¶
func CIGaussianGradientObjectFromID(id objc.ID) CIGaussianGradientObject
CIGaussianGradientObjectFromID constructs a CIGaussianGradientObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIGaussianGradientObject) BaseObject ¶
func (o CIGaussianGradientObject) BaseObject() objectivec.Object
func (CIGaussianGradientObject) Center ¶
func (o CIGaussianGradientObject) Center() corefoundation.CGPoint
The center of the effect as x and y coordinates.
See: https://developer.apple.com/documentation/CoreImage/CIGaussianGradient/center
func (CIGaussianGradientObject) Color0 ¶
func (o CIGaussianGradientObject) Color0() ICIColor
The first color to use in the gradient.
See: https://developer.apple.com/documentation/CoreImage/CIGaussianGradient/color0
func (CIGaussianGradientObject) Color1 ¶
func (o CIGaussianGradientObject) Color1() ICIColor
The second color to use in the gradient.
See: https://developer.apple.com/documentation/CoreImage/CIGaussianGradient/color1
func (CIGaussianGradientObject) OutputImage ¶
func (o CIGaussianGradientObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIGaussianGradientObject) Radius ¶
func (o CIGaussianGradientObject) Radius() float32
The radius of the Gaussian distribution.
See: https://developer.apple.com/documentation/CoreImage/CIGaussianGradient/radius
func (CIGaussianGradientObject) SetCenter ¶
func (o CIGaussianGradientObject) SetCenter(value corefoundation.CGPoint)
func (CIGaussianGradientObject) SetColor0 ¶
func (o CIGaussianGradientObject) SetColor0(value ICIColor)
func (CIGaussianGradientObject) SetColor1 ¶
func (o CIGaussianGradientObject) SetColor1(value ICIColor)
func (CIGaussianGradientObject) SetRadius ¶
func (o CIGaussianGradientObject) SetRadius(value float32)
type CIGlassDistortion ¶
type CIGlassDistortion interface {
objectivec.IObject
CIFilterProtocol
// Center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlassDistortion/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlassDistortion/inputImage
InputImage() ICIImage
// Scale protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlassDistortion/scale
Scale() float32
// TextureImage protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlassDistortion/textureImage
TextureImage() ICIImage
// center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlassDistortion/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlassDistortion/inputImage
SetInputImage(value ICIImage)
// scale protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlassDistortion/scale
SetScale(value float32)
// textureImage protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlassDistortion/textureImage
SetTextureImage(value ICIImage)
}
CIGlassDistortion protocol.
See: https://developer.apple.com/documentation/CoreImage/CIGlassDistortion
type CIGlassDistortionObject ¶
type CIGlassDistortionObject struct {
objectivec.Object
}
CIGlassDistortionObject wraps an existing Objective-C object that conforms to the CIGlassDistortion protocol.
func CIGlassDistortionObjectFromID ¶
func CIGlassDistortionObjectFromID(id objc.ID) CIGlassDistortionObject
CIGlassDistortionObjectFromID constructs a CIGlassDistortionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIGlassDistortionObject) BaseObject ¶
func (o CIGlassDistortionObject) BaseObject() objectivec.Object
func (CIGlassDistortionObject) Center ¶
func (o CIGlassDistortionObject) Center() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIGlassDistortion/center
func (CIGlassDistortionObject) InputImage ¶
func (o CIGlassDistortionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIGlassDistortion/inputImage
func (CIGlassDistortionObject) OutputImage ¶
func (o CIGlassDistortionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIGlassDistortionObject) Scale ¶
func (o CIGlassDistortionObject) Scale() float32
See: https://developer.apple.com/documentation/CoreImage/CIGlassDistortion/scale
func (CIGlassDistortionObject) SetCenter ¶
func (o CIGlassDistortionObject) SetCenter(value corefoundation.CGPoint)
func (CIGlassDistortionObject) SetInputImage ¶
func (o CIGlassDistortionObject) SetInputImage(value ICIImage)
func (CIGlassDistortionObject) SetScale ¶
func (o CIGlassDistortionObject) SetScale(value float32)
func (CIGlassDistortionObject) SetTextureImage ¶
func (o CIGlassDistortionObject) SetTextureImage(value ICIImage)
func (CIGlassDistortionObject) TextureImage ¶
func (o CIGlassDistortionObject) TextureImage() ICIImage
See: https://developer.apple.com/documentation/CoreImage/CIGlassDistortion/textureImage
type CIGlassLozenge ¶
type CIGlassLozenge interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlassLozenge/inputImage
InputImage() ICIImage
// Point0 protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlassLozenge/point0
Point0() corefoundation.CGPoint
// Point1 protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlassLozenge/point1
Point1() corefoundation.CGPoint
// Radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlassLozenge/radius
Radius() float32
// Refraction protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlassLozenge/refraction
Refraction() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlassLozenge/inputImage
SetInputImage(value ICIImage)
// point0 protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlassLozenge/point0
SetPoint0(value corefoundation.CGPoint)
// point1 protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlassLozenge/point1
SetPoint1(value corefoundation.CGPoint)
// radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlassLozenge/radius
SetRadius(value float32)
// refraction protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlassLozenge/refraction
SetRefraction(value float32)
}
CIGlassLozenge protocol.
See: https://developer.apple.com/documentation/CoreImage/CIGlassLozenge
type CIGlassLozengeObject ¶
type CIGlassLozengeObject struct {
objectivec.Object
}
CIGlassLozengeObject wraps an existing Objective-C object that conforms to the CIGlassLozenge protocol.
func CIGlassLozengeObjectFromID ¶
func CIGlassLozengeObjectFromID(id objc.ID) CIGlassLozengeObject
CIGlassLozengeObjectFromID constructs a CIGlassLozengeObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIGlassLozengeObject) BaseObject ¶
func (o CIGlassLozengeObject) BaseObject() objectivec.Object
func (CIGlassLozengeObject) InputImage ¶
func (o CIGlassLozengeObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIGlassLozenge/inputImage
func (CIGlassLozengeObject) OutputImage ¶
func (o CIGlassLozengeObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIGlassLozengeObject) Point0 ¶
func (o CIGlassLozengeObject) Point0() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIGlassLozenge/point0
func (CIGlassLozengeObject) Point1 ¶
func (o CIGlassLozengeObject) Point1() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIGlassLozenge/point1
func (CIGlassLozengeObject) Radius ¶
func (o CIGlassLozengeObject) Radius() float32
See: https://developer.apple.com/documentation/CoreImage/CIGlassLozenge/radius
func (CIGlassLozengeObject) Refraction ¶
func (o CIGlassLozengeObject) Refraction() float32
See: https://developer.apple.com/documentation/CoreImage/CIGlassLozenge/refraction
func (CIGlassLozengeObject) SetInputImage ¶
func (o CIGlassLozengeObject) SetInputImage(value ICIImage)
func (CIGlassLozengeObject) SetPoint0 ¶
func (o CIGlassLozengeObject) SetPoint0(value corefoundation.CGPoint)
func (CIGlassLozengeObject) SetPoint1 ¶
func (o CIGlassLozengeObject) SetPoint1(value corefoundation.CGPoint)
func (CIGlassLozengeObject) SetRadius ¶
func (o CIGlassLozengeObject) SetRadius(value float32)
func (CIGlassLozengeObject) SetRefraction ¶
func (o CIGlassLozengeObject) SetRefraction(value float32)
type CIGlideReflectedTile ¶
type CIGlideReflectedTile interface {
objectivec.IObject
CIFilterProtocol
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlideReflectedTile/angle
Angle() float32
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlideReflectedTile/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlideReflectedTile/inputImage
InputImage() ICIImage
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlideReflectedTile/width
Width() float32
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlideReflectedTile/angle
SetAngle(value float32)
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlideReflectedTile/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlideReflectedTile/inputImage
SetInputImage(value ICIImage)
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGlideReflectedTile/width
SetWidth(value float32)
}
The properties you use to configure a glide reflected tile filter.
See: https://developer.apple.com/documentation/CoreImage/CIGlideReflectedTile
type CIGlideReflectedTileObject ¶
type CIGlideReflectedTileObject struct {
objectivec.Object
}
CIGlideReflectedTileObject wraps an existing Objective-C object that conforms to the CIGlideReflectedTile protocol.
func CIGlideReflectedTileObjectFromID ¶
func CIGlideReflectedTileObjectFromID(id objc.ID) CIGlideReflectedTileObject
CIGlideReflectedTileObjectFromID constructs a CIGlideReflectedTileObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIGlideReflectedTileObject) Angle ¶
func (o CIGlideReflectedTileObject) Angle() float32
The angle, in radians, of the tiled pattern.
See: https://developer.apple.com/documentation/CoreImage/CIGlideReflectedTile/angle
func (CIGlideReflectedTileObject) BaseObject ¶
func (o CIGlideReflectedTileObject) BaseObject() objectivec.Object
func (CIGlideReflectedTileObject) Center ¶
func (o CIGlideReflectedTileObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIGlideReflectedTile/center
func (CIGlideReflectedTileObject) InputImage ¶
func (o CIGlideReflectedTileObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIGlideReflectedTile/inputImage
func (CIGlideReflectedTileObject) OutputImage ¶
func (o CIGlideReflectedTileObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIGlideReflectedTileObject) SetAngle ¶
func (o CIGlideReflectedTileObject) SetAngle(value float32)
func (CIGlideReflectedTileObject) SetCenter ¶
func (o CIGlideReflectedTileObject) SetCenter(value corefoundation.CGPoint)
func (CIGlideReflectedTileObject) SetInputImage ¶
func (o CIGlideReflectedTileObject) SetInputImage(value ICIImage)
func (CIGlideReflectedTileObject) SetWidth ¶
func (o CIGlideReflectedTileObject) SetWidth(value float32)
func (CIGlideReflectedTileObject) Width ¶
func (o CIGlideReflectedTileObject) Width() float32
The width of a tile.
See: https://developer.apple.com/documentation/CoreImage/CIGlideReflectedTile/width
type CIGloom ¶
type CIGloom interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGloom/inputImage
InputImage() ICIImage
// The intensity of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGloom/intensity
Intensity() float32
// The radius, in pixels, of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGloom/radius
Radius() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGloom/inputImage
SetInputImage(value ICIImage)
// The intensity of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGloom/intensity
SetIntensity(value float32)
// The radius, in pixels, of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIGloom/radius
SetRadius(value float32)
}
The properties you use to configure a gloom filter.
See: https://developer.apple.com/documentation/CoreImage/CIGloom
type CIGloomObject ¶
type CIGloomObject struct {
objectivec.Object
}
CIGloomObject wraps an existing Objective-C object that conforms to the CIGloom protocol.
func CIGloomObjectFromID ¶
func CIGloomObjectFromID(id objc.ID) CIGloomObject
CIGloomObjectFromID constructs a CIGloomObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIGloomObject) BaseObject ¶
func (o CIGloomObject) BaseObject() objectivec.Object
func (CIGloomObject) InputImage ¶
func (o CIGloomObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIGloom/inputImage
func (CIGloomObject) Intensity ¶
func (o CIGloomObject) Intensity() float32
The intensity of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIGloom/intensity
func (CIGloomObject) OutputImage ¶
func (o CIGloomObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIGloomObject) Radius ¶
func (o CIGloomObject) Radius() float32
The radius, in pixels, of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIGloom/radius
func (CIGloomObject) SetInputImage ¶
func (o CIGloomObject) SetInputImage(value ICIImage)
func (CIGloomObject) SetIntensity ¶
func (o CIGloomObject) SetIntensity(value float32)
func (CIGloomObject) SetRadius ¶
func (o CIGloomObject) SetRadius(value float32)
type CIHatchedScreen ¶
type CIHatchedScreen interface {
objectivec.IObject
CIFilterProtocol
// The angle of the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHatchedScreen/angle
Angle() float32
// The x and y position to use as the center of the hatched screen pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHatchedScreen/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHatchedScreen/inputImage
InputImage() ICIImage
// The amount of sharpening to apply.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHatchedScreen/sharpness
Sharpness() float32
// The distance between lines in the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHatchedScreen/width
Width() float32
// The angle of the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHatchedScreen/angle
SetAngle(value float32)
// The x and y position to use as the center of the hatched screen pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHatchedScreen/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHatchedScreen/inputImage
SetInputImage(value ICIImage)
// The amount of sharpening to apply.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHatchedScreen/sharpness
SetSharpness(value float32)
// The distance between lines in the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHatchedScreen/width
SetWidth(value float32)
}
The properties you use to configure a hatched screen filter.
See: https://developer.apple.com/documentation/CoreImage/CIHatchedScreen
type CIHatchedScreenObject ¶
type CIHatchedScreenObject struct {
objectivec.Object
}
CIHatchedScreenObject wraps an existing Objective-C object that conforms to the CIHatchedScreen protocol.
func CIHatchedScreenObjectFromID ¶
func CIHatchedScreenObjectFromID(id objc.ID) CIHatchedScreenObject
CIHatchedScreenObjectFromID constructs a CIHatchedScreenObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIHatchedScreenObject) Angle ¶
func (o CIHatchedScreenObject) Angle() float32
The angle of the pattern.
See: https://developer.apple.com/documentation/CoreImage/CIHatchedScreen/angle
func (CIHatchedScreenObject) BaseObject ¶
func (o CIHatchedScreenObject) BaseObject() objectivec.Object
func (CIHatchedScreenObject) Center ¶
func (o CIHatchedScreenObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the hatched screen pattern.
See: https://developer.apple.com/documentation/CoreImage/CIHatchedScreen/center
func (CIHatchedScreenObject) InputImage ¶
func (o CIHatchedScreenObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIHatchedScreen/inputImage
func (CIHatchedScreenObject) OutputImage ¶
func (o CIHatchedScreenObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIHatchedScreenObject) SetAngle ¶
func (o CIHatchedScreenObject) SetAngle(value float32)
func (CIHatchedScreenObject) SetCenter ¶
func (o CIHatchedScreenObject) SetCenter(value corefoundation.CGPoint)
func (CIHatchedScreenObject) SetInputImage ¶
func (o CIHatchedScreenObject) SetInputImage(value ICIImage)
func (CIHatchedScreenObject) SetSharpness ¶
func (o CIHatchedScreenObject) SetSharpness(value float32)
func (CIHatchedScreenObject) SetWidth ¶
func (o CIHatchedScreenObject) SetWidth(value float32)
func (CIHatchedScreenObject) Sharpness ¶
func (o CIHatchedScreenObject) Sharpness() float32
The amount of sharpening to apply.
See: https://developer.apple.com/documentation/CoreImage/CIHatchedScreen/sharpness
func (CIHatchedScreenObject) Width ¶
func (o CIHatchedScreenObject) Width() float32
The distance between lines in the pattern.
See: https://developer.apple.com/documentation/CoreImage/CIHatchedScreen/width
type CIHeightFieldFromMask ¶
type CIHeightFieldFromMask interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHeightFieldFromMask/inputImage
InputImage() ICIImage
// The length of the height-field transition.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHeightFieldFromMask/radius
Radius() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHeightFieldFromMask/inputImage
SetInputImage(value ICIImage)
// The length of the height-field transition.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHeightFieldFromMask/radius
SetRadius(value float32)
}
The properties you use to configure a height-field-from-mask filter.
See: https://developer.apple.com/documentation/CoreImage/CIHeightFieldFromMask
type CIHeightFieldFromMaskObject ¶
type CIHeightFieldFromMaskObject struct {
objectivec.Object
}
CIHeightFieldFromMaskObject wraps an existing Objective-C object that conforms to the CIHeightFieldFromMask protocol.
func CIHeightFieldFromMaskObjectFromID ¶
func CIHeightFieldFromMaskObjectFromID(id objc.ID) CIHeightFieldFromMaskObject
CIHeightFieldFromMaskObjectFromID constructs a CIHeightFieldFromMaskObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIHeightFieldFromMaskObject) BaseObject ¶
func (o CIHeightFieldFromMaskObject) BaseObject() objectivec.Object
func (CIHeightFieldFromMaskObject) InputImage ¶
func (o CIHeightFieldFromMaskObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIHeightFieldFromMask/inputImage
func (CIHeightFieldFromMaskObject) OutputImage ¶
func (o CIHeightFieldFromMaskObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIHeightFieldFromMaskObject) Radius ¶
func (o CIHeightFieldFromMaskObject) Radius() float32
The length of the height-field transition.
See: https://developer.apple.com/documentation/CoreImage/CIHeightFieldFromMask/radius
func (CIHeightFieldFromMaskObject) SetInputImage ¶
func (o CIHeightFieldFromMaskObject) SetInputImage(value ICIImage)
func (CIHeightFieldFromMaskObject) SetRadius ¶
func (o CIHeightFieldFromMaskObject) SetRadius(value float32)
type CIHexagonalPixellate ¶
type CIHexagonalPixellate interface {
objectivec.IObject
CIFilterProtocol
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHexagonalPixellate/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHexagonalPixellate/inputImage
InputImage() ICIImage
// The size of the hexagons.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHexagonalPixellate/scale
Scale() float32
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHexagonalPixellate/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHexagonalPixellate/inputImage
SetInputImage(value ICIImage)
// The size of the hexagons.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHexagonalPixellate/scale
SetScale(value float32)
}
The properties you use to configure a hexagonal pixellate filter.
See: https://developer.apple.com/documentation/CoreImage/CIHexagonalPixellate
type CIHexagonalPixellateObject ¶
type CIHexagonalPixellateObject struct {
objectivec.Object
}
CIHexagonalPixellateObject wraps an existing Objective-C object that conforms to the CIHexagonalPixellate protocol.
func CIHexagonalPixellateObjectFromID ¶
func CIHexagonalPixellateObjectFromID(id objc.ID) CIHexagonalPixellateObject
CIHexagonalPixellateObjectFromID constructs a CIHexagonalPixellateObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIHexagonalPixellateObject) BaseObject ¶
func (o CIHexagonalPixellateObject) BaseObject() objectivec.Object
func (CIHexagonalPixellateObject) Center ¶
func (o CIHexagonalPixellateObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIHexagonalPixellate/center
func (CIHexagonalPixellateObject) InputImage ¶
func (o CIHexagonalPixellateObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIHexagonalPixellate/inputImage
func (CIHexagonalPixellateObject) OutputImage ¶
func (o CIHexagonalPixellateObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIHexagonalPixellateObject) Scale ¶
func (o CIHexagonalPixellateObject) Scale() float32
The size of the hexagons.
See: https://developer.apple.com/documentation/CoreImage/CIHexagonalPixellate/scale
func (CIHexagonalPixellateObject) SetCenter ¶
func (o CIHexagonalPixellateObject) SetCenter(value corefoundation.CGPoint)
func (CIHexagonalPixellateObject) SetInputImage ¶
func (o CIHexagonalPixellateObject) SetInputImage(value ICIImage)
func (CIHexagonalPixellateObject) SetScale ¶
func (o CIHexagonalPixellateObject) SetScale(value float32)
type CIHighlightShadowAdjust ¶
type CIHighlightShadowAdjust interface {
objectivec.IObject
CIFilterProtocol
// The amount of adjustment to the highlights in the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHighlightShadowAdjust/highlightAmount
HighlightAmount() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHighlightShadowAdjust/inputImage
InputImage() ICIImage
// The shadow highlight radius.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHighlightShadowAdjust/radius
Radius() float32
// The amount of adjustment to the shadows in the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHighlightShadowAdjust/shadowAmount
ShadowAmount() float32
// The amount of adjustment to the highlights in the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHighlightShadowAdjust/highlightAmount
SetHighlightAmount(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHighlightShadowAdjust/inputImage
SetInputImage(value ICIImage)
// The shadow highlight radius.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHighlightShadowAdjust/radius
SetRadius(value float32)
// The amount of adjustment to the shadows in the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHighlightShadowAdjust/shadowAmount
SetShadowAmount(value float32)
}
The properties you use to configure a highlight-shadow adjust filter.
See: https://developer.apple.com/documentation/CoreImage/CIHighlightShadowAdjust
type CIHighlightShadowAdjustObject ¶
type CIHighlightShadowAdjustObject struct {
objectivec.Object
}
CIHighlightShadowAdjustObject wraps an existing Objective-C object that conforms to the CIHighlightShadowAdjust protocol.
func CIHighlightShadowAdjustObjectFromID ¶
func CIHighlightShadowAdjustObjectFromID(id objc.ID) CIHighlightShadowAdjustObject
CIHighlightShadowAdjustObjectFromID constructs a CIHighlightShadowAdjustObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIHighlightShadowAdjustObject) BaseObject ¶
func (o CIHighlightShadowAdjustObject) BaseObject() objectivec.Object
func (CIHighlightShadowAdjustObject) HighlightAmount ¶
func (o CIHighlightShadowAdjustObject) HighlightAmount() float32
The amount of adjustment to the highlights in the image.
See: https://developer.apple.com/documentation/CoreImage/CIHighlightShadowAdjust/highlightAmount
func (CIHighlightShadowAdjustObject) InputImage ¶
func (o CIHighlightShadowAdjustObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIHighlightShadowAdjust/inputImage
func (CIHighlightShadowAdjustObject) OutputImage ¶
func (o CIHighlightShadowAdjustObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIHighlightShadowAdjustObject) Radius ¶
func (o CIHighlightShadowAdjustObject) Radius() float32
The shadow highlight radius.
See: https://developer.apple.com/documentation/CoreImage/CIHighlightShadowAdjust/radius
func (CIHighlightShadowAdjustObject) SetHighlightAmount ¶
func (o CIHighlightShadowAdjustObject) SetHighlightAmount(value float32)
func (CIHighlightShadowAdjustObject) SetInputImage ¶
func (o CIHighlightShadowAdjustObject) SetInputImage(value ICIImage)
func (CIHighlightShadowAdjustObject) SetRadius ¶
func (o CIHighlightShadowAdjustObject) SetRadius(value float32)
func (CIHighlightShadowAdjustObject) SetShadowAmount ¶
func (o CIHighlightShadowAdjustObject) SetShadowAmount(value float32)
func (CIHighlightShadowAdjustObject) ShadowAmount ¶
func (o CIHighlightShadowAdjustObject) ShadowAmount() float32
The amount of adjustment to the shadows in the image.
See: https://developer.apple.com/documentation/CoreImage/CIHighlightShadowAdjust/shadowAmount
type CIHistogramDisplay ¶
type CIHistogramDisplay interface {
objectivec.IObject
CIFilterProtocol
// Height protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHistogramDisplay/height
Height() float32
// HighLimit protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHistogramDisplay/highLimit
HighLimit() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHistogramDisplay/inputImage
InputImage() ICIImage
// LowLimit protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHistogramDisplay/lowLimit
LowLimit() float32
// height protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHistogramDisplay/height
SetHeight(value float32)
// highLimit protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHistogramDisplay/highLimit
SetHighLimit(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHistogramDisplay/inputImage
SetInputImage(value ICIImage)
// lowLimit protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHistogramDisplay/lowLimit
SetLowLimit(value float32)
}
CIHistogramDisplay protocol.
See: https://developer.apple.com/documentation/CoreImage/CIHistogramDisplay
type CIHistogramDisplayObject ¶
type CIHistogramDisplayObject struct {
objectivec.Object
}
CIHistogramDisplayObject wraps an existing Objective-C object that conforms to the CIHistogramDisplay protocol.
func CIHistogramDisplayObjectFromID ¶
func CIHistogramDisplayObjectFromID(id objc.ID) CIHistogramDisplayObject
CIHistogramDisplayObjectFromID constructs a CIHistogramDisplayObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIHistogramDisplayObject) BaseObject ¶
func (o CIHistogramDisplayObject) BaseObject() objectivec.Object
func (CIHistogramDisplayObject) Height ¶
func (o CIHistogramDisplayObject) Height() float32
See: https://developer.apple.com/documentation/CoreImage/CIHistogramDisplay/height
func (CIHistogramDisplayObject) HighLimit ¶
func (o CIHistogramDisplayObject) HighLimit() float32
See: https://developer.apple.com/documentation/CoreImage/CIHistogramDisplay/highLimit
func (CIHistogramDisplayObject) InputImage ¶
func (o CIHistogramDisplayObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIHistogramDisplay/inputImage
func (CIHistogramDisplayObject) LowLimit ¶
func (o CIHistogramDisplayObject) LowLimit() float32
See: https://developer.apple.com/documentation/CoreImage/CIHistogramDisplay/lowLimit
func (CIHistogramDisplayObject) OutputImage ¶
func (o CIHistogramDisplayObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIHistogramDisplayObject) SetHeight ¶
func (o CIHistogramDisplayObject) SetHeight(value float32)
func (CIHistogramDisplayObject) SetHighLimit ¶
func (o CIHistogramDisplayObject) SetHighLimit(value float32)
func (CIHistogramDisplayObject) SetInputImage ¶
func (o CIHistogramDisplayObject) SetInputImage(value ICIImage)
func (CIHistogramDisplayObject) SetLowLimit ¶
func (o CIHistogramDisplayObject) SetLowLimit(value float32)
type CIHoleDistortion ¶
type CIHoleDistortion interface {
objectivec.IObject
CIFilterProtocol
// Center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHoleDistortion/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHoleDistortion/inputImage
InputImage() ICIImage
// Radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHoleDistortion/radius
Radius() float32
// center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHoleDistortion/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHoleDistortion/inputImage
SetInputImage(value ICIImage)
// radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHoleDistortion/radius
SetRadius(value float32)
}
CIHoleDistortion protocol.
See: https://developer.apple.com/documentation/CoreImage/CIHoleDistortion
type CIHoleDistortionObject ¶
type CIHoleDistortionObject struct {
objectivec.Object
}
CIHoleDistortionObject wraps an existing Objective-C object that conforms to the CIHoleDistortion protocol.
func CIHoleDistortionObjectFromID ¶
func CIHoleDistortionObjectFromID(id objc.ID) CIHoleDistortionObject
CIHoleDistortionObjectFromID constructs a CIHoleDistortionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIHoleDistortionObject) BaseObject ¶
func (o CIHoleDistortionObject) BaseObject() objectivec.Object
func (CIHoleDistortionObject) Center ¶
func (o CIHoleDistortionObject) Center() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIHoleDistortion/center
func (CIHoleDistortionObject) InputImage ¶
func (o CIHoleDistortionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIHoleDistortion/inputImage
func (CIHoleDistortionObject) OutputImage ¶
func (o CIHoleDistortionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIHoleDistortionObject) Radius ¶
func (o CIHoleDistortionObject) Radius() float32
See: https://developer.apple.com/documentation/CoreImage/CIHoleDistortion/radius
func (CIHoleDistortionObject) SetCenter ¶
func (o CIHoleDistortionObject) SetCenter(value corefoundation.CGPoint)
func (CIHoleDistortionObject) SetInputImage ¶
func (o CIHoleDistortionObject) SetInputImage(value ICIImage)
func (CIHoleDistortionObject) SetRadius ¶
func (o CIHoleDistortionObject) SetRadius(value float32)
type CIHueAdjust ¶
type CIHueAdjust interface {
objectivec.IObject
CIFilterProtocol
// An angle, in radians, to use to correct the hue of an image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHueAdjust/angle
Angle() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHueAdjust/inputImage
InputImage() ICIImage
// An angle, in radians, to use to correct the hue of an image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHueAdjust/angle
SetAngle(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHueAdjust/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a hue adjust filter.
See: https://developer.apple.com/documentation/CoreImage/CIHueAdjust
type CIHueAdjustObject ¶
type CIHueAdjustObject struct {
objectivec.Object
}
CIHueAdjustObject wraps an existing Objective-C object that conforms to the CIHueAdjust protocol.
func CIHueAdjustObjectFromID ¶
func CIHueAdjustObjectFromID(id objc.ID) CIHueAdjustObject
CIHueAdjustObjectFromID constructs a CIHueAdjustObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIHueAdjustObject) Angle ¶
func (o CIHueAdjustObject) Angle() float32
An angle, in radians, to use to correct the hue of an image.
See: https://developer.apple.com/documentation/CoreImage/CIHueAdjust/angle
func (CIHueAdjustObject) BaseObject ¶
func (o CIHueAdjustObject) BaseObject() objectivec.Object
func (CIHueAdjustObject) InputImage ¶
func (o CIHueAdjustObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIHueAdjust/inputImage
func (CIHueAdjustObject) OutputImage ¶
func (o CIHueAdjustObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIHueAdjustObject) SetAngle ¶
func (o CIHueAdjustObject) SetAngle(value float32)
func (CIHueAdjustObject) SetInputImage ¶
func (o CIHueAdjustObject) SetInputImage(value ICIImage)
type CIHueSaturationValueGradient ¶
type CIHueSaturationValueGradient interface {
objectivec.IObject
CIFilterProtocol
// The color space for the generated color wheel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHueSaturationValueGradient/colorSpace
ColorSpace() coregraphics.CGColorSpaceRef
// A Boolean value specifying whether the dither the generated output.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHueSaturationValueGradient/dither
Dither() float32
// The distance from the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHueSaturationValueGradient/radius
Radius() float32
// The softness of the generated color wheel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHueSaturationValueGradient/softness
Softness() float32
// The lightness of the hue-saturation gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHueSaturationValueGradient/value
Value() float32
// The color space for the generated color wheel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHueSaturationValueGradient/colorSpace
SetColorSpace(value coregraphics.CGColorSpaceRef)
// A Boolean value specifying whether the dither the generated output.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHueSaturationValueGradient/dither
SetDither(value float32)
// The distance from the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHueSaturationValueGradient/radius
SetRadius(value float32)
// The softness of the generated color wheel.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHueSaturationValueGradient/softness
SetSoftness(value float32)
// The lightness of the hue-saturation gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CIHueSaturationValueGradient/value
SetValue(value float32)
}
The properties you use to configure a hue-saturation-value gradient filter.
See: https://developer.apple.com/documentation/CoreImage/CIHueSaturationValueGradient
type CIHueSaturationValueGradientObject ¶
type CIHueSaturationValueGradientObject struct {
objectivec.Object
}
CIHueSaturationValueGradientObject wraps an existing Objective-C object that conforms to the CIHueSaturationValueGradient protocol.
func CIHueSaturationValueGradientObjectFromID ¶
func CIHueSaturationValueGradientObjectFromID(id objc.ID) CIHueSaturationValueGradientObject
CIHueSaturationValueGradientObjectFromID constructs a CIHueSaturationValueGradientObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIHueSaturationValueGradientObject) BaseObject ¶
func (o CIHueSaturationValueGradientObject) BaseObject() objectivec.Object
func (CIHueSaturationValueGradientObject) ColorSpace ¶
func (o CIHueSaturationValueGradientObject) ColorSpace() coregraphics.CGColorSpaceRef
The color space for the generated color wheel.
See: https://developer.apple.com/documentation/CoreImage/CIHueSaturationValueGradient/colorSpace
func (CIHueSaturationValueGradientObject) Dither ¶
func (o CIHueSaturationValueGradientObject) Dither() float32
A Boolean value specifying whether the dither the generated output.
See: https://developer.apple.com/documentation/CoreImage/CIHueSaturationValueGradient/dither
func (CIHueSaturationValueGradientObject) OutputImage ¶
func (o CIHueSaturationValueGradientObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIHueSaturationValueGradientObject) Radius ¶
func (o CIHueSaturationValueGradientObject) Radius() float32
The distance from the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIHueSaturationValueGradient/radius
func (CIHueSaturationValueGradientObject) SetColorSpace ¶
func (o CIHueSaturationValueGradientObject) SetColorSpace(value coregraphics.CGColorSpaceRef)
func (CIHueSaturationValueGradientObject) SetDither ¶
func (o CIHueSaturationValueGradientObject) SetDither(value float32)
func (CIHueSaturationValueGradientObject) SetRadius ¶
func (o CIHueSaturationValueGradientObject) SetRadius(value float32)
func (CIHueSaturationValueGradientObject) SetSoftness ¶
func (o CIHueSaturationValueGradientObject) SetSoftness(value float32)
func (CIHueSaturationValueGradientObject) SetValue ¶
func (o CIHueSaturationValueGradientObject) SetValue(value float32)
func (CIHueSaturationValueGradientObject) Softness ¶
func (o CIHueSaturationValueGradientObject) Softness() float32
The softness of the generated color wheel.
See: https://developer.apple.com/documentation/CoreImage/CIHueSaturationValueGradient/softness
func (CIHueSaturationValueGradientObject) Value ¶
func (o CIHueSaturationValueGradientObject) Value() float32
The lightness of the hue-saturation gradient.
See: https://developer.apple.com/documentation/CoreImage/CIHueSaturationValueGradient/value
type CIImage ¶
type CIImage struct {
objectivec.Object
}
A representation of an image to be processed or produced by Core Image filters.
Overview ¶
You use CIImage objects in conjunction with other Core Image classes—such as CIFilter, CIContext, CIVector, and CIColor—to take advantage of the built-in Core Image filters when processing images. You can create CIImage objects with data supplied from a variety of sources, including Quartz 2D images, Core Video image buffers (CVImageBuffer), URL-based objects, and [NSData] objects.
Although a CIImage object has image data associated with it, it is not an image. You can think of a CIImage object as an image “recipe.” A CIImage object has all the information necessary to produce an image, but Core Image doesn’t actually render an image until it is told to do so. This lazy evaluation allows Core Image to operate as efficiently as possible. To show a CIImage object as an on-screen image, you can display it as a UIImage in UIImageView:
CIContext and CIImage objects are immutable, which means each can be shared safely among threads. Multiple threads can use the same GPU or CPU CIContext object to render CIImage objects. However, this is not the case for CIFilter objects, which are mutable. A CIFilter object cannot be shared safely among threads. If you app is multithreaded, each thread must create its own CIFilter objects. Otherwise, your app could behave unexpectedly.
Core Image also provides auto-adjustment methods. These methods analyze an image for common deficiencies and return a set of filters to correct those deficiencies. The filters are preset with values for improving image quality by altering values for skin tones, saturation, contrast, and shadows and for removing red-eye or other artifacts caused by flash. (See Getting Autoadjustment Filters.)
For a discussion of all the methods you can use to create CIImage objects on iOS and macOS, see Core Image Programming Guide.
Creating an Image ¶
- CIImage.InitWithContentsOfURL: Initializes an image object by reading an image from a URL.
- CIImage.InitWithContentsOfURLOptions: Initializes an image object by reading an image from a URL, using the specified options.
- CIImage.InitWithCGImage: Initializes an image object with a Quartz 2D image.
- CIImage.InitWithCGImageOptions: Initializes an image object with a Quartz 2D image, using the specified options.
- CIImage.InitWithCGImageSourceIndexOptions
- CIImage.InitWithData: Initializes an image object with the supplied image data.
- CIImage.InitWithDataOptions: Initializes an image object with the supplied image data, using the specified options.
- CIImage.InitWithBitmapDataBytesPerRowSizeFormatColorSpace: Initializes an image object with bitmap data.
- CIImage.InitWithBitmapImageRep: Initializes an image object with the specified bitmap image representation.
- CIImage.InitWithImageProviderSizeFormatColorSpaceOptions: Initializes an image object based on pixels from an image provider object.
- CIImage.InitWithDepthData
- CIImage.InitWithDepthDataOptions
- CIImage.InitWithPortaitEffectsMatte
- CIImage.InitWithPortaitEffectsMatteOptions
- CIImage.InitWithSemanticSegmentationMatte
- CIImage.InitWithSemanticSegmentationMatteOptions
- CIImage.InitWithCVImageBuffer: Initializes an image object from the contents of a Core Video image buffer.
- CIImage.InitWithCVImageBufferOptions: Initializes an image object from the contents of a Core Video image buffer, using the specified options.
- CIImage.InitWithCVPixelBuffer: Initializes an image object from the contents of a Core Video pixel buffer.
- CIImage.InitWithCVPixelBufferOptions: Initializes an image object from the contents of a Core Video pixel buffer using the specified options.
- CIImage.InitWithMTLTextureOptions: Initializes an image object with data supplied by a Metal texture.
- CIImage.InitWithIOSurface: Initializes an image with the contents of an IOSurface.
- CIImage.InitWithIOSurfaceOptions: Initializes, using the specified options, an image with the contents of an IOSurface.
Creating an Image by Modifying an Existing Image ¶
- CIImage.ImageByApplyingFilterWithInputParameters: Returns a new image created by applying a filter to the original image with the specified name and parameters.
- CIImage.ImageByApplyingFilter: Applies the filter to an image and returns the output.
- CIImage.ImageByApplyingTransform: Returns a new image that represents the original image after applying an affine transform.
- CIImage.ImageByApplyingTransformHighQualityDownsample
- CIImage.ImageByCroppingToRect: Returns a new image with a cropped portion of the original image.
- CIImage.ImageByApplyingOrientation: Returns a new image created by transforming the original image to the specified EXIF orientation.
- CIImage.ImageByClampingToExtent: Returns a new image created by making the pixel colors along its edges extend infinitely in all directions.
- CIImage.ImageByClampingToRect: Returns a new image created by cropping to a specified area, then making the pixel colors along the edges of the cropped image extend infinitely in all directions.
- CIImage.ImageByCompositingOverImage: Returns a new image created by compositing the original image over the specified destination image.
- CIImage.ImageByConvertingWorkingSpaceToLab
- CIImage.ImageByConvertingLabToWorkingSpace
- CIImage.ImageByColorMatchingColorSpaceToWorkingSpace: Returns a new image created by color matching from the specified color space to the context’s working color space.
- CIImage.ImageByColorMatchingWorkingSpaceToColorSpace: Returns a new image created by color matching from the context’s working color space to the specified color space.
- CIImage.ImageByPremultiplyingAlpha: Returns a new image created by multiplying the image’s RGB values by its alpha values.
- CIImage.ImageByUnpremultiplyingAlpha: Returns a new image created by dividing the image’s RGB values by its alpha values.
- CIImage.ImageBySettingAlphaOneInExtent: Returns a new image created by setting all alpha values to 1.0 within the specified rectangle and to 0.0 outside of that area.
- CIImage.ImageByApplyingGaussianBlurWithSigma: Create an image by applying a gaussian blur to the receiver.
- CIImage.ImageBySettingProperties: Return a new image by changing the receiver’s metadata properties.
- CIImage.ImageByInsertingIntermediate: Create an image that inserts a intermediate that is cacheable
- CIImage.ImageByInsertingIntermediateWithCache: Create an image that inserts a intermediate that is cacheable.
Creating Solid Colors ¶
- CIImage.InitWithColor: Initializes an image of infinite extent whose entire content is the specified color.
Getting Image Information ¶
- CIImage.Definition: Returns a filter shape object that represents the domain of definition of the image.
- CIImage.Extent: A rectangle that specifies the extent of the image.
- CIImage.Properties: Returns the metadata properties dictionary of the image.
- CIImage.Url: The URL from which the image was loaded.
- CIImage.ColorSpace: The color space of the image.
- CIImage.ImageTransformForOrientation: Returns the transformation needed to reorient the image to the specified orientation.
Drawing Images ¶
- CIImage.DrawAtPointFromRectOperationFraction: Draws all or part of the image at the specified point in the current coordinate system.
- CIImage.DrawInRectFromRectOperationFraction: Draws all or part of the image in the specified rectangle in the current coordinate system
Getting Autoadjustment Filters ¶
- CIImage.AutoAdjustmentFilters: Returns all possible automatically selected and configured filters for adjusting the image.
- CIImage.AutoAdjustmentFiltersWithOptions: Returns a subset of automatically selected and configured filters for adjusting the image.
Working with Filter Regions of Interest ¶
- CIImage.RegionOfInterestForImageInRect: Returns the region of interest for the filter chain that generates the image.
Working with Orientation ¶
- CIImage.ImageByApplyingCGOrientation: Transforms the original image by a given orientation.
- CIImage.ImageTransformForCGOrientation: The affine transform for changing the image to the given orientation.
Sampling the Image ¶
- CIImage.ImageBySamplingNearest: Create an image by changing the receiver’s sample mode to nearest neighbor.
- CIImage.ImageBySamplingLinear: Create an image by changing the receiver’s sample mode to bilinear interpolation.
Accessing Original Image Content ¶
- CIImage.CGImage: The CoreGraphics image object this image was created from, if applicable.
- CIImage.PixelBuffer: The CoreVideo pixel buffer this image was created from, if applicable.
- CIImage.DepthData: Depth data associated with the image.
- CIImage.PortraitEffectsMatte: The portrait effects matte associated with the image.
- CIImage.SemanticSegmentationMatte
Deprecated ¶
- CIImage.TextureTarget: The key for an OpenGL texture target.
- CIImage.TextureFormat: The key for an OpenGL texture format.
Instance Properties ¶
- CIImage.ContentHeadroom: Returns the content headroom of the image.
- CIImage.Opaque: Returns YES if the image is known to have and alpha value of `1.0` over the entire image extent.
- CIImage.MetalTexture
- CIImage.ContentAverageLightLevel: Returns the content average light level of the image.
Instance Methods ¶
- CIImage.ImageByApplyingGainMap: Create an image that applies a gain map Core Image image to the received Core Image image.
- CIImage.ImageByApplyingGainMapHeadroom: Create an image that applies a gain map Core Image image with a specified headroom to the received Core Image image.
- CIImage.ImageByInsertingTiledIntermediate: Create an image that inserts a intermediate that is cached in tiles
- CIImage.ImageBySettingContentAverageLightLevel: Create an image by changing the receiver’s contentAverageLightLevel property.
- CIImage.ImageBySettingContentHeadroom: Create an image by changing the receiver’s contentHeadroom property.
See: https://developer.apple.com/documentation/CoreImage/CIImage
func CIImageFromID ¶
CIImageFromID constructs a CIImage from an objc.ID.
A representation of an image to be processed or produced by Core Image filters.
func NewImageWithBitmapDataBytesPerRowSizeFormatColorSpace ¶
func NewImageWithBitmapDataBytesPerRowSizeFormatColorSpace(data foundation.INSData, bytesPerRow uintptr, size corefoundation.CGSize, format int, colorSpace coregraphics.CGColorSpaceRef) CIImage
Initializes an image object with bitmap data.
data: The bitmap data to use for the image. The data you supply must be premultiplied.
bytesPerRow: The number of bytes per row.
size: The size of the image data.
format: A pixel format constant. See `Pixel Formats`.
colorSpace: The color space that the image is defined in. It must be a Quartz 2D color space ([CGColorSpace]). Pass `nil` for images that don’t contain color data (such as elevation maps, normal vector maps, and sampled function tables). // [CGColorSpace]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpace
Return Value ¶
The initialized image object.
func NewImageWithBitmapImageRep ¶
func NewImageWithBitmapImageRep(bitmapImageRep objectivec.IObject) CIImage
Initializes an image object with the specified bitmap image representation.
bitmapImageRep: An image representation object containing the bitmap data.
Return Value ¶
The initialized image object, or `nil` if the object could not be initialized.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(bitmapImageRep:) bitmapImageRep is a [appkit.NSBitmapImageRep].
func NewImageWithCGImage ¶
func NewImageWithCGImage(image coregraphics.CGImageRef) CIImage
Initializes an image object with a Quartz 2D image.
image: A Quartz 2D image ([CGImage]) object. For more information, see [Quartz 2D Programming Guide] and [CGImage]. // [CGImage]: https://developer.apple.com/documentation/CoreGraphics/CGImage [Quartz 2D Programming Guide]: https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/Introduction/Introduction.html#//apple_ref/doc/uid/TP30001066
Return Value ¶
The initialized image object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(cgImage:)
func NewImageWithCGImageOptions ¶
func NewImageWithCGImageOptions(image coregraphics.CGImageRef, options foundation.INSDictionary) CIImage
Initializes an image object with a Quartz 2D image, using the specified options.
image: A Quartz 2D image ([CGImage]) object. For more information, see [Quartz 2D Programming Guide] and [CGImage]. // [CGImage]: https://developer.apple.com/documentation/CoreGraphics/CGImage [Quartz 2D Programming Guide]: https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/Introduction/Introduction.html#//apple_ref/doc/uid/TP30001066
options: A dictionary specifying image options. (See `Image Dictionary Keys`.)
Return Value ¶
The initialized image object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(cgImage:options:)
func NewImageWithCGImageSourceIndexOptions ¶
func NewImageWithCGImageSourceIndexOptions(source objectivec.IObject, index uintptr, dict foundation.INSDictionary) CIImage
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(cgImageSource:index:options:) source is a [imageio.CGImageSourceRef].
func NewImageWithCVImageBuffer ¶
func NewImageWithCVImageBuffer(imageBuffer corevideo.CVImageBufferRef) CIImage
Initializes an image object from the contents of a Core Video image buffer.
imageBuffer: A [CVImageBuffer] object in a supported pixel format constant. For more information, see [Core Video]. // [Core Video]: https://developer.apple.com/documentation/CoreVideo
Return Value ¶
The initialized image object.
Discussion ¶
The `imageBuffer` parameter must be in one of the following formats:
- kCVPixelFormatType_32ARGB - kCVPixelFormatType_422YpCbCr8 - kCVPixelFormatType_32BGRA
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(cvImageBuffer:)
func NewImageWithCVImageBufferOptions ¶
func NewImageWithCVImageBufferOptions(imageBuffer corevideo.CVImageBufferRef, options foundation.INSDictionary) CIImage
Initializes an image object from the contents of a Core Video image buffer, using the specified options.
imageBuffer: A [CVImageBuffer] object in a supported pixel format constant. For more information, see [Core Video]. // [Core Video]: https://developer.apple.com/documentation/CoreVideo
options: A dictionary that contains options for creating an image object. (See `Image Dictionary Keys`.) The pixel format is supplied by the [CVImageBuffer] object.)
Return Value ¶
The initialized image object.
Discussion ¶
The `imageBuffer` parameter must be in one of the following formats:
- kCVPixelFormatType_32ARGB - kCVPixelFormatType_422YpCbCr8 - kCVPixelFormatType_32BGRA
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(cvImageBuffer:options:)
func NewImageWithCVPixelBuffer ¶
func NewImageWithCVPixelBuffer(pixelBuffer corevideo.CVImageBufferRef) CIImage
Initializes an image object from the contents of a Core Video pixel buffer.
pixelBuffer: A [CVPixelBuffer] object.
Return Value ¶
The initialized image object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(cvPixelBuffer:)
func NewImageWithCVPixelBufferOptions ¶
func NewImageWithCVPixelBufferOptions(pixelBuffer corevideo.CVImageBufferRef, options foundation.INSDictionary) CIImage
Initializes an image object from the contents of a Core Video pixel buffer using the specified options.
pixelBuffer: A [CVPixelBuffer] object.
options: A dictionary that contains options for creating an image object. (See `Image Dictionary Keys`.) The pixel format is supplied by the [CVPixelBuffer] object.
Return Value ¶
The initialized image object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(cvPixelBuffer:options:)
func NewImageWithColor ¶
Initializes an image of infinite extent whose entire content is the specified color.
color: A color object.
Return Value ¶
The initialized image object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(color:)
func NewImageWithContentsOfURL ¶
func NewImageWithContentsOfURL(url foundation.INSURL) CIImage
Initializes an image object by reading an image from a URL.
url: The location of the image file to read.
Return Value ¶
The initialized image object, or `nil` if the object could not be initialized.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(contentsOf:)
func NewImageWithContentsOfURLOptions ¶
func NewImageWithContentsOfURLOptions(url foundation.INSURL, options foundation.INSDictionary) CIImage
Initializes an image object by reading an image from a URL, using the specified options.
url: The location of the image file to read.
options: A dictionary specifying image options. (See `Image Dictionary Keys`.)
Return Value ¶
The initialized image object, or `nil` if the object could not be initialized.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(contentsOf:options:)
func NewImageWithData ¶
func NewImageWithData(data foundation.INSData) CIImage
Initializes an image object with the supplied image data.
data: The image data. The data you supply must be premultiplied.
Return Value ¶
The initialized image object, or `nil` if the object could not be initialized.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(data:)
func NewImageWithDataOptions ¶
func NewImageWithDataOptions(data foundation.INSData, options foundation.INSDictionary) CIImage
Initializes an image object with the supplied image data, using the specified options.
data: The image data. The data you supply must be premultiplied.
options: A dictionary specifying image options. (See `Image Dictionary Keys`.)
Return Value ¶
The initialized image object, or `nil` if the object could not be initialized.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(data:options:)
func NewImageWithDepthData ¶
func NewImageWithDepthData(data objectivec.IObject) CIImage
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(depthData:) data is a [avfoundation.AVDepthData].
func NewImageWithDepthDataOptions ¶
func NewImageWithDepthDataOptions(data objectivec.IObject, options foundation.INSDictionary) CIImage
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(depthData:options:) data is a [avfoundation.AVDepthData].
func NewImageWithIOSurface ¶
func NewImageWithIOSurface(surface iosurface.IOSurfaceRef) CIImage
Initializes an image with the contents of an IOSurface.
surface: An IOSurface object.
Return Value ¶
An image object initialized with the data from the IOSurface object.
Discussion ¶
An IOSurface object is a framebuffer object that is suitable for sharing across process boundaries. You can use it to allow your app to move complex image decompression and drawing logic into a separate process for the purpose of increasing security.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(ioSurface:)
func NewImageWithIOSurfaceOptions ¶
func NewImageWithIOSurfaceOptions(surface iosurface.IOSurfaceRef, options foundation.INSDictionary) CIImage
Initializes, using the specified options, an image with the contents of an IOSurface.
surface: An IOSurface object.
options: A dictionary specifying image options. (See `Image Dictionary Keys`.)
Return Value ¶
An image object initialized with the data from the IOSurface.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(ioSurface:options:)
func NewImageWithImage ¶
func NewImageWithImage(image objectivec.IObject) CIImage
Initializes an image object with the specified UIKit image object.
image: An image containing the source data.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(image:)
func NewImageWithImageOptions ¶
func NewImageWithImageOptions(image objectivec.IObject, options foundation.INSDictionary) CIImage
Initializes an image object with the specified UIKit image object, using the specified options.
image: An image containing the source data.
options: A dictionary that contains options for creating an image object. You can supply such options as a pixel format and a color space. See `Image Dictionary Keys`.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(image:options:)
func NewImageWithImageProviderSizeFormatColorSpaceOptions ¶
func NewImageWithImageProviderSizeFormatColorSpaceOptions(provider objectivec.IObject, width uintptr, height uintptr, format int, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) CIImage
Initializes an image object based on pixels from an image provider object.
provider: An object that implements the [CIImageProvider] protocol.
width: The width of the image.
height: The height of the image.
format: The CIFormat of the provided pixels.
colorSpace: The color space that the image is defined in. If `nil`, then the pixels will not be is not color matched to the Core Image working color space.
options: A dictionary that contains various CIImageOption keys that affect the resulting CIImage. The option [providerTileSize] controls if and how the provider object is called in tiles. The option [providerUserInfo] allows additional state to be passed to the provider object. // [providerTileSize]: https://developer.apple.com/documentation/CoreImage/CIImageOption/providerTileSize [providerUserInfo]: https://developer.apple.com/documentation/CoreImage/CIImageOption/providerUserInfo
Return Value ¶
An initialized CIImage object based on the data provider.
Discussion ¶
Core Image retains the provider object until the image is deallocated. The image provider object will not be called until the image is rendered.
func NewImageWithMTLTextureOptions ¶
func NewImageWithMTLTextureOptions(texture objectivec.IObject, options foundation.INSDictionary) CIImage
Initializes an image object with data supplied by a Metal texture.
texture: The Metal texture from which to use image data.
options: A dictionary specifying image options. (See `Image Dictionary Keys`.)
Return Value ¶
The initialized image object, or `nil` if the image could not be initialized.
Discussion ¶
To render the image using Metal, use this image with a Metal-based CIContext object created with the [ContextWithMTLDevice] method, and call the [RenderToMTLTextureCommandBufferBoundsColorSpace] method to create an output image in another Metal texture object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(mtlTexture:options:)
func NewImageWithPortaitEffectsMatte ¶
func NewImageWithPortaitEffectsMatte(matte objectivec.IObject) CIImage
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(portaitEffectsMatte:) matte is a [avfoundation.AVPortraitEffectsMatte].
func NewImageWithPortaitEffectsMatteOptions ¶
func NewImageWithPortaitEffectsMatteOptions(matte objectivec.IObject, options foundation.INSDictionary) CIImage
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(portaitEffectsMatte:options:) matte is a [avfoundation.AVPortraitEffectsMatte].
func NewImageWithSemanticSegmentationMatte ¶
func NewImageWithSemanticSegmentationMatte(matte objectivec.IObject) CIImage
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(semanticSegmentationMatte:) matte is a [avfoundation.AVSemanticSegmentationMatte].
func NewImageWithSemanticSegmentationMatteOptions ¶
func NewImageWithSemanticSegmentationMatteOptions(matte objectivec.IObject, options foundation.INSDictionary) CIImage
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(semanticSegmentationMatte:options:) matte is a [avfoundation.AVSemanticSegmentationMatte].
func (CIImage) AutoAdjustmentFilters ¶
Returns all possible automatically selected and configured filters for adjusting the image.
Return Value ¶
An array of CIFilter instances preconfigured for correcting deficiencies in the supplied image.
See: https://developer.apple.com/documentation/CoreImage/CIImage/autoAdjustmentFilters()
func (CIImage) AutoAdjustmentFiltersWithOptions ¶
func (i CIImage) AutoAdjustmentFiltersWithOptions(options foundation.INSDictionary) []CIFilter
Returns a subset of automatically selected and configured filters for adjusting the image.
options: You can control which filters are returned by supplying one or more of the keys described in [Autoadjustment Keys].
The options dictionary can also contain a CIDetectorImageOrientation key. Because some autoadjustment filters rely on face detection, you should specify an image orientation if you want to enable these filters for an image containing face whose orientation does not match that of the image. // [Autoadjustment Keys]: https://developer.apple.com/documentation/CoreImage/autoadjustment-keys CIDetectorImageOrientation: https://developer.apple.com/documentation/CoreImage/CIDetectorImageOrientation
Return Value ¶
An array of CIFilter instances preconfigured for correcting deficiencies in the supplied image.
See: https://developer.apple.com/documentation/CoreImage/CIImage/autoAdjustmentFilters(options:)
func (CIImage) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
func (CIImage) CGImage ¶
func (i CIImage) CGImage() coregraphics.CGImageRef
The CoreGraphics image object this image was created from, if applicable.
Discussion ¶
If this image was created using the [InitWithCGImage] or [InitWithContentsOfURL] initializer, this property’s value is the CGImage object that provides the image’s underlying image data. Otherwise, this property’s value is `nil`—in this case you can obtain a CoreGraphics image by rendering the image with the CIContext [CreateCGImageFromRect] method.
See: https://developer.apple.com/documentation/CoreImage/CIImage/cgImage
func (CIImage) ColorSpace ¶
func (i CIImage) ColorSpace() coregraphics.CGColorSpaceRef
The color space of the image.
Discussion ¶
This property’s value is `nil` if the image’s color space cannot be determined.
See: https://developer.apple.com/documentation/CoreImage/CIImage/colorSpace
func (CIImage) ContentAverageLightLevel ¶
Returns the content average light level of the image.
Discussion ¶
If the image average light level is unknown, then the value 0.0 will be returned.
If the image headroom is known, then a value greater than or equal to 0.0 will be returned.
The image average light level may known when a CIImage is first initialized. If the a CIImage is initialized with a:
- [CGImage] : then the headroom will be determined by `CGImageGetContentAverageLightLevel()`. - [CVPixelBuffer] : then the headroom will be determined by `kCVImageBufferContentLightLevelInfoKey`.
If the image is the result of applying a CIFilter or CIKernel, this property will return `0.0`.
There are exceptions to this. Applying a CIWarpKernel or certain CIFilter (e.g. CIGaussianBlur, CILanczosScaleTransform, CIAreaAverage and some others) to an image will result in a CIImage instance with the same `contentAverageLightLevel` property value.
See: https://developer.apple.com/documentation/CoreImage/CIImage/contentAverageLightLevel
func (CIImage) ContentHeadroom ¶
Returns the content headroom of the image.
Discussion ¶
If the image headroom is unknown, then the value 0.0 will be returned.
If the image headroom is known, then a value greater than or equal to 1.0 will be returned. A value of 1.0 will be returned if the image is SDR. A value greater than 1.0 will be returned if the image is HDR.
The image headroom may known when a CIImage is first initialized. If the a CIImage is initialized using:
- [NSURL] or [NSData] : the headroom may be determined by associated metadata or deduced from pixel format or colorSpace information. - [CGImage] : headroom may be determined by `CGImageGetHeadroomInfo()` or deduced from pixel format or colorSpace information. - [IOSurface] : then the headroom will be determined by `kIOSurfaceContentHeadroom`. or deduced from pixel format or colorSpace information. - [CVPixelBuffer] : then the headroom will be determined by `kCVImageBufferContentLightLevelInfoKey`. or deduced from pixel format or colorSpace information. - [BitmapData] : headroom may be deduced from pixel format or colorSpace information.
If the image is the result of applying a CIFilter or CIKernel, this method will return `0.0`.
There are exceptions to this. Applying a `CIWarpKernel“ or certain “CIFilter-class“ (e.G(). `CIGaussianBlur`, `CILanczosScaleTransform`, `CIAreaAverage`and some others) to an image will result in a “CIImage“ instance with the same`contentHeadroom` property value.
See: https://developer.apple.com/documentation/CoreImage/CIImage/contentHeadroom
func (CIImage) Definition ¶
func (i CIImage) Definition() ICIFilterShape
Returns a filter shape object that represents the domain of definition of the image.
Return Value ¶
A filter shape object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/definition
func (CIImage) DepthData ¶
func (i CIImage) DepthData() objectivec.IObject
Depth data associated with the image.
Discussion ¶
Returns an AVDepthData if the CIImage was created with [ImageWithData] or [ImageWithContentsOfURL] and one of the options auxiliaryDepth or auxiliaryDisparity, otherwise nil.
See: https://developer.apple.com/documentation/CoreImage/CIImage/depthData
func (CIImage) DrawAtPointFromRectOperationFraction ¶
func (i CIImage) DrawAtPointFromRectOperationFraction(point corefoundation.CGPoint, fromRect corefoundation.CGRect, op objectivec.IObject, delta float64)
Draws all or part of the image at the specified point in the current coordinate system.
point: The location in the current coordinate system at which to draw the image.
fromRect: The source rectangle specifying the portion of the image you want to draw. The coordinates of this rectangle must be specified using the image’s own coordinate system.
op: The compositing operation to use when drawing the image. For details, see [NSCompositingOperation]. // [NSCompositingOperation]: https://developer.apple.com/documentation/AppKit/NSCompositingOperation
delta: The opacity of the image, specified as a value from `0.0` to `1.0`. Specifying a value of `0.0` draws the image as fully transparent while a value of `1.0` draws the image as fully opaque. Values greater than `1.0` are interpreted as `1.0`.
op is a [appkit.NSCompositingOperation].
Discussion ¶
The image content is drawn at its current resolution and is not scaled unless the CTM of the current coordinate system itself contains a scaling factor. The image is otherwise positioned and oriented using the current coordinate system.
See: https://developer.apple.com/documentation/CoreImage/CIImage/draw(at:from:operation:fraction:)
func (CIImage) DrawInRectFromRectOperationFraction ¶
func (i CIImage) DrawInRectFromRectOperationFraction(rect corefoundation.CGRect, fromRect corefoundation.CGRect, op objectivec.IObject, delta float64)
Draws all or part of the image in the specified rectangle in the current coordinate system
rect: The rectangle in which to draw the image.
fromRect: The source rectangle specifying the portion of the image you want to draw. The coordinates of this rectangle must be specified using the image’s own coordinate system.
op: The compositing operation to use when drawing the image. For details, see [NSCompositingOperation]. // [NSCompositingOperation]: https://developer.apple.com/documentation/AppKit/NSCompositingOperation
delta: The opacity of the image, specified as a value from `0.0` to `1.0`. Specifying a value of `0.0` draws the image as fully transparent while a value of `1.0` draws the image as fully opaque. Values greater than `1.0` are interpreted as `1.0`.
op is a [appkit.NSCompositingOperation].
Discussion ¶
If the `srcRect` and `dstRect` rectangles have different sizes, the source portion of the image is scaled to fit the specified destination rectangle. The image is otherwise positioned and oriented using the current coordinate system.
See: https://developer.apple.com/documentation/CoreImage/CIImage/draw(in:from:operation:fraction:)
func (CIImage) EncodeWithCoder ¶
func (i CIImage) EncodeWithCoder(coder foundation.INSCoder)
func (CIImage) Extent ¶
func (i CIImage) Extent() corefoundation.CGRect
A rectangle that specifies the extent of the image.
Discussion ¶
This rectangle specifies the extent of the image in working space coordinates.
See: https://developer.apple.com/documentation/CoreImage/CIImage/extent
func (CIImage) ImageByApplyingCGOrientation ¶
func (i CIImage) ImageByApplyingCGOrientation(orientation objectivec.IObject) ICIImage
Transforms the original image by a given orientation.
orientation is a [imageio.CGImagePropertyOrientation].
Discussion ¶
Returns a new image representing the original image transformed for the given CGImagePropertyOrientation.
See: https://developer.apple.com/documentation/CoreImage/CIImage/oriented(_:)
func (CIImage) ImageByApplyingFilter ¶
Applies the filter to an image and returns the output.
Discussion ¶
A convenience method for applying a single filter to the method receiver and returning the output image. Identical to [ImageByApplyingFilterWithInputParameters] with default parameters.
See: https://developer.apple.com/documentation/CoreImage/CIImage/applyingFilter(_:)
func (CIImage) ImageByApplyingFilterWithInputParameters ¶
func (i CIImage) ImageByApplyingFilterWithInputParameters(filterName string, params foundation.INSDictionary) ICIImage
Returns a new image created by applying a filter to the original image with the specified name and parameters.
filterName: The name of the filter to apply, as used when creating a CIFilter instance with the [FilterWithName] method.
params: A dictionary whose key-value pairs are set as input values to the filter. Each key is a constant that specifies the name of an input parameter for the filter, and the corresponding value is the value for that parameter. See [Core Image Filter Reference] for built-in filters and their allowed parameters. // [Core Image Filter Reference]: https://developer.apple.com/library/archive/documentation/GraphicsImaging/Reference/CoreImageFilterReference/index.html#//apple_ref/doc/uid/TP40004346
Return Value ¶
An image object representing the result of applying the filter.
Discussion ¶
Calling this method is equivalent to the following sequence of steps:
- Creating a CIFilter instance - Setting the original image as the filter’s `inputImage` parameter - Setting the remaining filter parameters from the `params` dictionary - Retrieving the [OutputImage] object from the filter
See: https://developer.apple.com/documentation/CoreImage/CIImage/applyingFilter(_:parameters:)
func (CIImage) ImageByApplyingGainMap ¶
Create an image that applies a gain map Core Image image to the received Core Image image.
Return Value ¶
An autoreleased CIImage instance or the received image.
Discussion ¶
The gain map image can be obtained by creating a CIImage instance from [NSURL]/[NSData] and setting the auxiliaryHDRGainMap option set to `@YES`.
If the gain map CIImage instance doesn’t have the needed [Properties] metadata, the received image will be returned as-is.
See: https://developer.apple.com/documentation/CoreImage/CIImage/applyingGainMap(_:)
func (CIImage) ImageByApplyingGainMapHeadroom ¶
Create an image that applies a gain map Core Image image with a specified headroom to the received Core Image image.
gainmap: The gain map CIImage instance to apply to the receiver.
headroom: A float value that specify how much headroom the resulting image should have. The headroom value will be limited to between 1.0 (i.e. SDR) and the full headroom allowed by the gain map.
Return Value ¶
An autoreleased CIImage instance or the received image.
See: https://developer.apple.com/documentation/CoreImage/CIImage/applyingGainMap(_:headroom:)
func (CIImage) ImageByApplyingGaussianBlurWithSigma ¶
Create an image by applying a gaussian blur to the receiver.
sigma: The sigma of the gaussian blur to apply to the receiver. If the sigma is very small (less than `0.16`) then the receiver is returned.
Return Value ¶
An autoreleased CIImage instance or the received image.
See: https://developer.apple.com/documentation/CoreImage/CIImage/applyingGaussianBlur(sigma:)
func (CIImage) ImageByApplyingOrientation ¶
Returns a new image created by transforming the original image to the specified EXIF orientation.
orientation: An integer specifying an image orientation according to the EXIF specification. For details, see [kCGImagePropertyOrientation]. // [kCGImagePropertyOrientation]: https://developer.apple.com/documentation/ImageIO/kCGImagePropertyOrientation
Return Value ¶
An image object representing the result of rotating or mirroring the image to the target orientation.
Discussion ¶
This method determines and then applies the transformation needed to reorient the image to the specified orientation. If you plan to also apply other transformations, you can retrieve the transformation this method would use by calling the [ImageTransformForOrientation] method.
See: https://developer.apple.com/documentation/CoreImage/CIImage/oriented(forExifOrientation:)
func (CIImage) ImageByApplyingTransform ¶
func (i CIImage) ImageByApplyingTransform(matrix corefoundation.CGAffineTransform) ICIImage
Returns a new image that represents the original image after applying an affine transform.
matrix: An affine transform.
Return Value ¶
The transformed image object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/transformed(by:)
func (CIImage) ImageByApplyingTransformHighQualityDownsample ¶
func (i CIImage) ImageByApplyingTransformHighQualityDownsample(matrix corefoundation.CGAffineTransform, highQualityDownsample bool) ICIImage
See: https://developer.apple.com/documentation/CoreImage/CIImage/transformed(by:highQualityDownsample:)
func (CIImage) ImageByClampingToExtent ¶
Returns a new image created by making the pixel colors along its edges extend infinitely in all directions.
Return Value ¶
An image object representing the result of the clamp operation.
Discussion ¶
Calling this method is equivalent to using the CIAffineClamp filter, which creates an image of infinite extent by repeating pixel colors from the edges of the original image.
This operation can be useful when using the image as input to other filters. When an image has finite extent, Core Image treats the area outside the extent as if it were filled with empty (black, zero alpha) pixels. If you apply a filter that samples from outside the image’s extent, those empty pixels affect the result of the filter.
For example, applying the CIGaussianBlur filter to an image softens the edges of the blurred image, because the opaque pixels at the edges of the image blur into the transparent pixels outside the image’s extent. Applying a clamp effect before the blur filter avoids edge softening by making the original image opaque in all directions. (However, the blurred image will also have infinite extent. Use the [ImageByCroppingToRect] method to return to the original image’s dimensions while retaining hard edges.)
See: https://developer.apple.com/documentation/CoreImage/CIImage/clampedToExtent()
func (CIImage) ImageByClampingToRect ¶
func (i CIImage) ImageByClampingToRect(rect corefoundation.CGRect) ICIImage
Returns a new image created by cropping to a specified area, then making the pixel colors along the edges of the cropped image extend infinitely in all directions.
rect: The rectangle, in image coordinates, to which to crop the image.
Return Value ¶
An image object representing the result of the clamp operation.
Discussion ¶
Calling this method is equivalent to cropping the image (with the [ImageByCroppingToRect] method or the CICrop filter), then using the [ImageByClampingToExtent] method (or the CIAffineClamp filter), which creates an image of infinite extent by repeating pixel colors from the edges of the cropped image.
See: https://developer.apple.com/documentation/CoreImage/CIImage/clamped(to:)
func (CIImage) ImageByColorMatchingColorSpaceToWorkingSpace ¶
func (i CIImage) ImageByColorMatchingColorSpaceToWorkingSpace(colorSpace coregraphics.CGColorSpaceRef) ICIImage
Returns a new image created by color matching from the specified color space to the context’s working color space.
colorSpace: The color space to be converted from. This color space must conform to the [CGColorSpaceModel.rgb] color space model. // [CGColorSpaceModel.rgb]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpaceModel/rgb
Return Value ¶
An image object representing the result of the color matching operation, or `nil` if the color spaces to be converted are not compatible.
See: https://developer.apple.com/documentation/CoreImage/CIImage/matchedToWorkingSpace(from:)
func (CIImage) ImageByColorMatchingWorkingSpaceToColorSpace ¶
func (i CIImage) ImageByColorMatchingWorkingSpaceToColorSpace(colorSpace coregraphics.CGColorSpaceRef) ICIImage
Returns a new image created by color matching from the context’s working color space to the specified color space.
colorSpace: The color space to be converted to. This color space must conform to the [CGColorSpaceModel.rgb] color space model. // [CGColorSpaceModel.rgb]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpaceModel/rgb
Return Value ¶
An image object representing the result of the color matching operation, or `nil` if the color spaces to be converted are not compatible.
See: https://developer.apple.com/documentation/CoreImage/CIImage/matchedFromWorkingSpace(to:)
func (CIImage) ImageByCompositingOverImage ¶
Returns a new image created by compositing the original image over the specified destination image.
dest: An image to serve as the destination of the compositing operation.
Return Value ¶
An image object representing the result of the compositing operation.
Discussion ¶
Calling this method is equivalent to using the CISourceOverCompositing filter. To use other compositing operations and blending modes, create a CIFilter object using one of the built-in filters from the CICategoryCompositeOperation category. For details, see Core Image Filter Reference.
See: https://developer.apple.com/documentation/CoreImage/CIImage/composited(over:)
func (CIImage) ImageByConvertingLabToWorkingSpace ¶
See: https://developer.apple.com/documentation/CoreImage/CIImage/convertingLabToWorkingSpace()
func (CIImage) ImageByConvertingWorkingSpaceToLab ¶
See: https://developer.apple.com/documentation/CoreImage/CIImage/convertingWorkingSpaceToLab()
func (CIImage) ImageByCroppingToRect ¶
func (i CIImage) ImageByCroppingToRect(rect corefoundation.CGRect) ICIImage
Returns a new image with a cropped portion of the original image.
rect: The rectangle, in image coordinates, to which to crop the image.
Return Value ¶
An image object cropped to the specified rectangle.
Discussion ¶
[media-2951307]
Discussion ¶
Due to Core Image’s coordinate system mismatch with UIKit, this filtering approach may yield unexpected results when displayed in a UIImageView with contentMode. Be sure to back it with a CGImage so that it handles contentMode properly.
If you are displaying or processing your image primarily as a CGImage or UIImage, with no additional Core Image application, consider cropping in Core Graphics using the cropping(to:) function to save processing overhead from conversion of images to CIImage. It makes most sense to use [ImageByCroppingToRect] when you already have CIImage in your pipeline.
See: https://developer.apple.com/documentation/CoreImage/CIImage/cropped(to:)
func (CIImage) ImageByInsertingIntermediate ¶
Create an image that inserts a intermediate that is cacheable
Return Value ¶
An autoreleased CIImage.
Discussion ¶
This intermediate will be not be cached if cacheIntermediates is false.
See: https://developer.apple.com/documentation/CoreImage/CIImage/insertingIntermediate()
func (CIImage) ImageByInsertingIntermediateWithCache ¶
Create an image that inserts a intermediate that is cacheable.
cache: Controls if Core Image caches the returned image. * [YES] : This intermediate will be cacheable even if [cacheIntermediates] is false. * [NO] : the intermediate will be not be cached if [cacheIntermediates] is false. // [cacheIntermediates]: https://developer.apple.com/documentation/CoreImage/CIContextOption/cacheIntermediates
Return Value ¶
An autoreleased CIImage.
See: https://developer.apple.com/documentation/CoreImage/CIImage/insertingIntermediate(cache:)
func (CIImage) ImageByInsertingTiledIntermediate ¶
Create an image that inserts a intermediate that is cached in tiles
Return Value ¶
An autoreleased CIImage.
Discussion ¶
This intermediate will be cacheable even if cacheIntermediates is false.
See: https://developer.apple.com/documentation/CoreImage/CIImage/insertingTiledIntermediate()
func (CIImage) ImageByPremultiplyingAlpha ¶
Returns a new image created by multiplying the image’s RGB values by its alpha values.
Return Value ¶
An image object representing the result of the operation.
Discussion ¶
Premultiplied alpha speeds up the rendering of images, so Core Image filters require that input image data be premultiplied. If you have an image without premultiplied alpha that you want to feed into a filter, use this method before applying the filter.
See: https://developer.apple.com/documentation/CoreImage/CIImage/premultiplyingAlpha()
func (CIImage) ImageBySamplingLinear ¶
Create an image by changing the receiver’s sample mode to bilinear interpolation.
Return Value ¶
An autoreleased CIImage instance with a bilinear sampling.
See: https://developer.apple.com/documentation/CoreImage/CIImage/samplingLinear()
func (CIImage) ImageBySamplingNearest ¶
Create an image by changing the receiver’s sample mode to nearest neighbor.
Return Value ¶
An autoreleased CIImage instance with a nearest sampling.
See: https://developer.apple.com/documentation/CoreImage/CIImage/samplingNearest()
func (CIImage) ImageBySettingAlphaOneInExtent ¶
func (i CIImage) ImageBySettingAlphaOneInExtent(extent corefoundation.CGRect) ICIImage
Returns a new image created by setting all alpha values to 1.0 within the specified rectangle and to 0.0 outside of that area.
extent: The rectangular area in the image to be set to full opacity.
Return Value ¶
An image object representing the result of the operation.
See: https://developer.apple.com/documentation/CoreImage/CIImage/settingAlphaOne(in:)
func (CIImage) ImageBySettingContentAverageLightLevel ¶
Create an image by changing the receiver’s contentAverageLightLevel property.
Return Value ¶
An autoreleased CIImage.
Discussion ¶
Changing this value will alter the behavior of the CIToneMapHeadroom and CISystemToneMap filters.
- If the value is set to 0.0 or less then the returned image’s [ContentAverageLightLevel] is unknown.
See: https://developer.apple.com/documentation/CoreImage/CIImage/settingContentAverageLightLevel(_:)
func (CIImage) ImageBySettingContentHeadroom ¶
Create an image by changing the receiver’s contentHeadroom property.
Return Value ¶
An autoreleased CIImage.
Discussion ¶
Changing this value will alter the behavior of the CIToneMapHeadroom and CISystemToneMap filters.
- If the value is set to 0.0 then the returned image’s headroom is unknown. - If the value is set to 1.0 then the returned image is SDR. - If the value is set to greater 1.0 then the returned image is HDR. - Otherwise the returned image’s headroom is unknown.
See: https://developer.apple.com/documentation/CoreImage/CIImage/settingContentHeadroom(_:)
func (CIImage) ImageBySettingProperties ¶
func (i CIImage) ImageBySettingProperties(properties foundation.INSDictionary) ICIImage
Return a new image by changing the receiver’s metadata properties.
properties: A dictionary of metadata properties akin to the `CGImageSourceCopyPropertiesAtIndex()` function.
Return Value ¶
An autoreleased CIImage instance with a copy of the new properties.
Discussion ¶
When you create an image, Core Image sets an image’s properties to a metadata dictionary as described here: [Properties]. Use this method to override an image’s metadata properties with new values.
See: https://developer.apple.com/documentation/CoreImage/CIImage/settingProperties(_:)
func (CIImage) ImageByUnpremultiplyingAlpha ¶
Returns a new image created by dividing the image’s RGB values by its alpha values.
Return Value ¶
An image object representing the result of the operation.
Discussion ¶
Premultiplied alpha speeds up the rendering of images, but some custom filter routines can be expressed more efficiently with non-premultiplied RGB values. Use this method if you need to apply such a filter to an image that has premultiplied alpha.
See: https://developer.apple.com/documentation/CoreImage/CIImage/unpremultiplyingAlpha()
func (CIImage) ImageTransformForCGOrientation ¶
func (i CIImage) ImageTransformForCGOrientation(orientation objectivec.IObject) corefoundation.CGAffineTransform
The affine transform for changing the image to the given orientation.
orientation is a [imageio.CGImagePropertyOrientation].
Discussion ¶
Returns a CGAffineTransform for the CGImagePropertyOrientation value to apply to the image.
See: https://developer.apple.com/documentation/CoreImage/CIImage/orientationTransform(for:)
func (CIImage) ImageTransformForOrientation ¶
func (i CIImage) ImageTransformForOrientation(orientation int) corefoundation.CGAffineTransform
Returns the transformation needed to reorient the image to the specified orientation.
orientation: An integer specifying an image orientation according to the EXIF specification. For details, see [kCGImagePropertyOrientation]. // [kCGImagePropertyOrientation]: https://developer.apple.com/documentation/ImageIO/kCGImagePropertyOrientation
Return Value ¶
An affine transform that will rotate or mirror the image to match the specified orientation when applied.
Discussion ¶
This method determines the transformation needed to match the specified orientation, but does not apply that transformation to the image. To apply the transformation (possibly after concatenating it with other transformations), use the [ImageByApplyingTransform] method or the [CIAffineTransform] filter. To determine and apply the transformation in a single step, use the [ImageByApplyingOrientation] method.
func (CIImage) InitWithBitmapDataBytesPerRowSizeFormatColorSpace ¶
func (i CIImage) InitWithBitmapDataBytesPerRowSizeFormatColorSpace(data foundation.INSData, bytesPerRow uintptr, size corefoundation.CGSize, format int, colorSpace coregraphics.CGColorSpaceRef) CIImage
Initializes an image object with bitmap data.
data: The bitmap data to use for the image. The data you supply must be premultiplied.
bytesPerRow: The number of bytes per row.
size: The size of the image data.
format: A pixel format constant. See `Pixel Formats`.
colorSpace: The color space that the image is defined in. It must be a Quartz 2D color space ([CGColorSpace]). Pass `nil` for images that don’t contain color data (such as elevation maps, normal vector maps, and sampled function tables). // [CGColorSpace]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpace
Return Value ¶
The initialized image object.
func (CIImage) InitWithBitmapImageRep ¶
func (i CIImage) InitWithBitmapImageRep(bitmapImageRep objectivec.IObject) CIImage
Initializes an image object with the specified bitmap image representation.
bitmapImageRep: An image representation object containing the bitmap data.
bitmapImageRep is a [appkit.NSBitmapImageRep].
Return Value ¶
The initialized image object, or `nil` if the object could not be initialized.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(bitmapImageRep:)
func (CIImage) InitWithCGImage ¶
func (i CIImage) InitWithCGImage(image coregraphics.CGImageRef) CIImage
Initializes an image object with a Quartz 2D image.
image: A Quartz 2D image ([CGImage]) object. For more information, see [Quartz 2D Programming Guide] and [CGImage]. // [CGImage]: https://developer.apple.com/documentation/CoreGraphics/CGImage [Quartz 2D Programming Guide]: https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/Introduction/Introduction.html#//apple_ref/doc/uid/TP30001066
Return Value ¶
The initialized image object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(cgImage:)
func (CIImage) InitWithCGImageOptions ¶
func (i CIImage) InitWithCGImageOptions(image coregraphics.CGImageRef, options foundation.INSDictionary) CIImage
Initializes an image object with a Quartz 2D image, using the specified options.
image: A Quartz 2D image ([CGImage]) object. For more information, see [Quartz 2D Programming Guide] and [CGImage]. // [CGImage]: https://developer.apple.com/documentation/CoreGraphics/CGImage [Quartz 2D Programming Guide]: https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/Introduction/Introduction.html#//apple_ref/doc/uid/TP30001066
options: A dictionary specifying image options. (See `Image Dictionary Keys`.)
Return Value ¶
The initialized image object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(cgImage:options:)
func (CIImage) InitWithCGImageSourceIndexOptions ¶
func (i CIImage) InitWithCGImageSourceIndexOptions(source objectivec.IObject, index uintptr, dict foundation.INSDictionary) CIImage
source is a [imageio.CGImageSourceRef].
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(cgImageSource:index:options:)
func (CIImage) InitWithCVImageBuffer ¶
func (i CIImage) InitWithCVImageBuffer(imageBuffer corevideo.CVImageBufferRef) CIImage
Initializes an image object from the contents of a Core Video image buffer.
imageBuffer: A [CVImageBuffer] object in a supported pixel format constant. For more information, see [Core Video]. // [Core Video]: https://developer.apple.com/documentation/CoreVideo
Return Value ¶
The initialized image object.
Discussion ¶
The `imageBuffer` parameter must be in one of the following formats:
- kCVPixelFormatType_32ARGB - kCVPixelFormatType_422YpCbCr8 - kCVPixelFormatType_32BGRA
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(cvImageBuffer:)
func (CIImage) InitWithCVImageBufferOptions ¶
func (i CIImage) InitWithCVImageBufferOptions(imageBuffer corevideo.CVImageBufferRef, options foundation.INSDictionary) CIImage
Initializes an image object from the contents of a Core Video image buffer, using the specified options.
imageBuffer: A [CVImageBuffer] object in a supported pixel format constant. For more information, see [Core Video]. // [Core Video]: https://developer.apple.com/documentation/CoreVideo
options: A dictionary that contains options for creating an image object. (See `Image Dictionary Keys`.) The pixel format is supplied by the [CVImageBuffer] object.)
Return Value ¶
The initialized image object.
Discussion ¶
The `imageBuffer` parameter must be in one of the following formats:
- kCVPixelFormatType_32ARGB - kCVPixelFormatType_422YpCbCr8 - kCVPixelFormatType_32BGRA
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(cvImageBuffer:options:)
func (CIImage) InitWithCVPixelBuffer ¶
func (i CIImage) InitWithCVPixelBuffer(pixelBuffer corevideo.CVImageBufferRef) CIImage
Initializes an image object from the contents of a Core Video pixel buffer.
pixelBuffer: A [CVPixelBuffer] object.
Return Value ¶
The initialized image object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(cvPixelBuffer:)
func (CIImage) InitWithCVPixelBufferOptions ¶
func (i CIImage) InitWithCVPixelBufferOptions(pixelBuffer corevideo.CVImageBufferRef, options foundation.INSDictionary) CIImage
Initializes an image object from the contents of a Core Video pixel buffer using the specified options.
pixelBuffer: A [CVPixelBuffer] object.
options: A dictionary that contains options for creating an image object. (See `Image Dictionary Keys`.) The pixel format is supplied by the [CVPixelBuffer] object.
Return Value ¶
The initialized image object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(cvPixelBuffer:options:)
func (CIImage) InitWithColor ¶
Initializes an image of infinite extent whose entire content is the specified color.
color: A color object.
Return Value ¶
The initialized image object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(color:)
func (CIImage) InitWithContentsOfURL ¶
func (i CIImage) InitWithContentsOfURL(url foundation.INSURL) CIImage
Initializes an image object by reading an image from a URL.
url: The location of the image file to read.
Return Value ¶
The initialized image object, or `nil` if the object could not be initialized.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(contentsOf:)
func (CIImage) InitWithContentsOfURLOptions ¶
func (i CIImage) InitWithContentsOfURLOptions(url foundation.INSURL, options foundation.INSDictionary) CIImage
Initializes an image object by reading an image from a URL, using the specified options.
url: The location of the image file to read.
options: A dictionary specifying image options. (See `Image Dictionary Keys`.)
Return Value ¶
The initialized image object, or `nil` if the object could not be initialized.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(contentsOf:options:)
func (CIImage) InitWithData ¶
func (i CIImage) InitWithData(data foundation.INSData) CIImage
Initializes an image object with the supplied image data.
data: The image data. The data you supply must be premultiplied.
Return Value ¶
The initialized image object, or `nil` if the object could not be initialized.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(data:)
func (CIImage) InitWithDataOptions ¶
func (i CIImage) InitWithDataOptions(data foundation.INSData, options foundation.INSDictionary) CIImage
Initializes an image object with the supplied image data, using the specified options.
data: The image data. The data you supply must be premultiplied.
options: A dictionary specifying image options. (See `Image Dictionary Keys`.)
Return Value ¶
The initialized image object, or `nil` if the object could not be initialized.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(data:options:)
func (CIImage) InitWithDepthData ¶
func (i CIImage) InitWithDepthData(data objectivec.IObject) CIImage
data is a [avfoundation.AVDepthData].
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(depthData:)
func (CIImage) InitWithDepthDataOptions ¶
func (i CIImage) InitWithDepthDataOptions(data objectivec.IObject, options foundation.INSDictionary) CIImage
data is a [avfoundation.AVDepthData].
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(depthData:options:)
func (CIImage) InitWithIOSurface ¶
func (i CIImage) InitWithIOSurface(surface iosurface.IOSurfaceRef) CIImage
Initializes an image with the contents of an IOSurface.
surface: An IOSurface object.
Return Value ¶
An image object initialized with the data from the IOSurface object.
Discussion ¶
An IOSurface object is a framebuffer object that is suitable for sharing across process boundaries. You can use it to allow your app to move complex image decompression and drawing logic into a separate process for the purpose of increasing security.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(ioSurface:)
func (CIImage) InitWithIOSurfaceOptions ¶
func (i CIImage) InitWithIOSurfaceOptions(surface iosurface.IOSurfaceRef, options foundation.INSDictionary) CIImage
Initializes, using the specified options, an image with the contents of an IOSurface.
surface: An IOSurface object.
options: A dictionary specifying image options. (See `Image Dictionary Keys`.)
Return Value ¶
An image object initialized with the data from the IOSurface.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(ioSurface:options:)
func (CIImage) InitWithImageProviderSizeFormatColorSpaceOptions ¶
func (i CIImage) InitWithImageProviderSizeFormatColorSpaceOptions(provider objectivec.IObject, width uintptr, height uintptr, format int, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) CIImage
Initializes an image object based on pixels from an image provider object.
provider: An object that implements the [CIImageProvider] protocol.
width: The width of the image.
height: The height of the image.
format: The CIFormat of the provided pixels.
colorSpace: The color space that the image is defined in. If `nil`, then the pixels will not be is not color matched to the Core Image working color space.
options: A dictionary that contains various CIImageOption keys that affect the resulting CIImage. The option [providerTileSize] controls if and how the provider object is called in tiles. The option [providerUserInfo] allows additional state to be passed to the provider object. // [providerTileSize]: https://developer.apple.com/documentation/CoreImage/CIImageOption/providerTileSize [providerUserInfo]: https://developer.apple.com/documentation/CoreImage/CIImageOption/providerUserInfo
Return Value ¶
An initialized CIImage object based on the data provider.
Discussion ¶
Core Image retains the provider object until the image is deallocated. The image provider object will not be called until the image is rendered.
func (CIImage) InitWithMTLTextureOptions ¶
func (i CIImage) InitWithMTLTextureOptions(texture objectivec.IObject, options foundation.INSDictionary) CIImage
Initializes an image object with data supplied by a Metal texture.
texture: The Metal texture from which to use image data.
options: A dictionary specifying image options. (See `Image Dictionary Keys`.)
Return Value ¶
The initialized image object, or `nil` if the image could not be initialized.
Discussion ¶
To render the image using Metal, use this image with a Metal-based CIContext object created with the [ContextWithMTLDevice] method, and call the [RenderToMTLTextureCommandBufferBoundsColorSpace] method to create an output image in another Metal texture object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(mtlTexture:options:)
func (CIImage) InitWithPortaitEffectsMatte ¶
func (i CIImage) InitWithPortaitEffectsMatte(matte objectivec.IObject) CIImage
matte is a [avfoundation.AVPortraitEffectsMatte].
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(portaitEffectsMatte:)
func (CIImage) InitWithPortaitEffectsMatteOptions ¶
func (i CIImage) InitWithPortaitEffectsMatteOptions(matte objectivec.IObject, options foundation.INSDictionary) CIImage
matte is a [avfoundation.AVPortraitEffectsMatte].
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(portaitEffectsMatte:options:)
func (CIImage) InitWithSemanticSegmentationMatte ¶
func (i CIImage) InitWithSemanticSegmentationMatte(matte objectivec.IObject) CIImage
matte is a [avfoundation.AVSemanticSegmentationMatte].
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(semanticSegmentationMatte:)
func (CIImage) InitWithSemanticSegmentationMatteOptions ¶
func (i CIImage) InitWithSemanticSegmentationMatteOptions(matte objectivec.IObject, options foundation.INSDictionary) CIImage
matte is a [avfoundation.AVSemanticSegmentationMatte].
See: https://developer.apple.com/documentation/CoreImage/CIImage/init(semanticSegmentationMatte:options:)
func (CIImage) MetalTexture ¶
func (i CIImage) MetalTexture() objectivec.IObject
See: https://developer.apple.com/documentation/CoreImage/CIImage/metalTexture
func (CIImage) Opaque ¶
Returns YES if the image is known to have and alpha value of `1.0` over the entire image extent.
See: https://developer.apple.com/documentation/CoreImage/CIImage/isOpaque
func (CIImage) PixelBuffer ¶
func (i CIImage) PixelBuffer() corevideo.CVImageBufferRef
The CoreVideo pixel buffer this image was created from, if applicable.
Discussion ¶
If this image was create using the [InitWithCVPixelBuffer] initializer, this property’s value is the CVPixelBuffer object that provides the image’s underlying image data. Do not modify the contents of this pixel buffer; doing so will cause undefined rendering results.
Otherwise, this property’s value is `nil`—in this case you can obtain a pixel buffer by rendering the image with the CIContext [RenderToCVPixelBuffer] method.
See: https://developer.apple.com/documentation/CoreImage/CIImage/pixelBuffer
func (CIImage) PortraitEffectsMatte ¶
func (i CIImage) PortraitEffectsMatte() objectivec.IObject
The portrait effects matte associated with the image.
Discussion ¶
AVPortraitEffectsMatte representation of portrait effects.
See: https://developer.apple.com/documentation/CoreImage/CIImage/portraitEffectsMatte
func (CIImage) Properties ¶
func (i CIImage) Properties() foundation.INSDictionary
Returns the metadata properties dictionary of the image.
Discussion ¶
If the CIImage was created from [NSURL] or [NSData] then this dictionary is determined by calling `CGImageSourceCopyPropertiesAtIndex()`.
If the CIImage was created with the properties option, then that dictionary is returned.
If the CIImage was created by applying CIFilter or CIKernel then the properties of the root inputImage will be returned.
See: https://developer.apple.com/documentation/CoreImage/CIImage/properties
func (CIImage) RegionOfInterestForImageInRect ¶
func (i CIImage) RegionOfInterestForImageInRect(image ICIImage, rect corefoundation.CGRect) corefoundation.CGRect
Returns the region of interest for the filter chain that generates the image.
image: Another image that is part of the filter chain that generates the image.
rect: A rectangle in the image’s coordinate space.
Return Value ¶
A rectangle in the coordinate space of the input image (the `im` parameter).
Discussion ¶
The region of interest is the rectangle containing pixel data in a source image (the `im` parameter) necessary to produce a corresponding rectangle in the output image. If the image is not the output of a filter (or of a chain or graph of several CIFilter objects), or the image in the `im` parameter is not an input to that filter, the rectangle returned is the same as that in the `r` parameter.
For example,
- If the image is the output of a filter that doubles the size of its input image, the rectangle returned will be half the size of that in the `r` parameter. (Upscaling causes every pixel in the input image to correspond to multiple pixels in the output image.) - If the image is the output of a blur filter, the rectangle returned will be slightly larger than that in the `r` parameter. (In a blur filter, each pixel in the output image is produced using information from the corresponding pixel and those immediately surrounding it in the input image.)
See: https://developer.apple.com/documentation/CoreImage/CIImage/regionOfInterest(for:in:)
func (CIImage) SemanticSegmentationMatte ¶
func (i CIImage) SemanticSegmentationMatte() objectivec.IObject
See: https://developer.apple.com/documentation/CoreImage/CIImage/semanticSegmentationMatte
func (CIImage) TextureFormat ¶
func (i CIImage) TextureFormat() CIImageOption
The key for an OpenGL texture format.
See: https://developer.apple.com/documentation/coreimage/ciimageoption/textureformat
func (CIImage) TextureTarget ¶
func (i CIImage) TextureTarget() CIImageOption
The key for an OpenGL texture target.
See: https://developer.apple.com/documentation/coreimage/ciimageoption/texturetarget
func (CIImage) Url ¶
func (i CIImage) Url() foundation.INSURL
The URL from which the image was loaded.
Discussion ¶
A URL is available only if the image object was created with a URL (such as with the [InitWithContentsOfURL] method or related methods). Otherwise, this property’s value is `nil`.
See: https://developer.apple.com/documentation/CoreImage/CIImage/url
type CIImageAccumulator ¶
type CIImageAccumulator struct {
objectivec.Object
}
An object that manages feedback-based image processing for tasks such as painting or fluid simulation.
Overview ¶
The CIImageAccumulator class enables feedback-based image processing for such things as iterative painting operations or fluid dynamics simulations. You use CIImageAccumulator objects in conjunction with other Core Image classes, such as CIFilter, CIImage, CIVector, and CIContext, to take advantage of the built-in Core Image filters when processing images.
Initializing an Image Accumulator ¶
- CIImageAccumulator.InitWithExtentFormat: Initializes an image accumulator with the specified extent and pixel format.
- CIImageAccumulator.InitWithExtentFormatColorSpace: Initializes an image accumulator with the specified extent, pixel format, and color space.
Setting an Image ¶
- CIImageAccumulator.SetImage: Sets the contents of the image accumulator to the contents of the specified image object.
- CIImageAccumulator.SetImageDirtyRect: Updates an image accumulator with a subregion of an image object.
Obtaining Data From an Image Accumulator ¶
- CIImageAccumulator.Extent: The extent of the image associated with the image accumulator.
- CIImageAccumulator.Format: The pixel format of the image accumulator.
- CIImageAccumulator.Image: Returns the current contents of the image accumulator.
Resetting an Accumulator ¶
- CIImageAccumulator.Clear: Resets the accumulator, discarding any pending updates and the current content.
See: https://developer.apple.com/documentation/CoreImage/CIImageAccumulator
func CIImageAccumulatorFromID ¶
func CIImageAccumulatorFromID(id objc.ID) CIImageAccumulator
CIImageAccumulatorFromID constructs a CIImageAccumulator from an objc.ID.
An object that manages feedback-based image processing for tasks such as painting or fluid simulation.
func NewCIImageAccumulator ¶
func NewCIImageAccumulator() CIImageAccumulator
NewCIImageAccumulator creates a new CIImageAccumulator instance.
func NewImageAccumulatorWithExtentFormat ¶
func NewImageAccumulatorWithExtentFormat(extent corefoundation.CGRect, format int) CIImageAccumulator
Initializes an image accumulator with the specified extent and pixel format.
extent: A rectangle that specifies the x-value of the rectangle origin, the y-value of the rectangle origin, and the width and height.
format: The format and size of each pixel. You must supply a pixel format constant, such askCIFormatARGB8 (32 bit-per-pixel, fixed-point pixel format) or kCIFormatRGBAf (128 bit-per-pixel, floating-point pixel format). See CIImage for more information about pixel format constants.
Return Value ¶
The initialized image accumulator object.
See: https://developer.apple.com/documentation/CoreImage/CIImageAccumulator/init(extent:format:)
func NewImageAccumulatorWithExtentFormatColorSpace ¶
func NewImageAccumulatorWithExtentFormatColorSpace(extent corefoundation.CGRect, format int, colorSpace coregraphics.CGColorSpaceRef) CIImageAccumulator
Initializes an image accumulator with the specified extent, pixel format, and color space.
extent: A rectangle that specifies the x-value of the rectangle origin, the y-value of the rectangle origin, and the width and height.
format: The format and size of each pixel. You must supply a pixel format constant, such askCIFormatARGB8 (32 bit-per-pixel, fixed-point pixel format) or kCIFormatRGBAf (128 bit-per-pixel, floating-point pixel format). See CIImage for more information about pixel format constants.
colorSpace: A [CGColorSpace] object describing the color space for the image accumulator. // [CGColorSpace]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpace
Return Value ¶
The initialized image accumulator object.
func (CIImageAccumulator) Autorelease ¶
func (i CIImageAccumulator) Autorelease() CIImageAccumulator
Autorelease adds the receiver to the current autorelease pool.
func (CIImageAccumulator) Clear ¶
func (i CIImageAccumulator) Clear()
Resets the accumulator, discarding any pending updates and the current content.
See: https://developer.apple.com/documentation/CoreImage/CIImageAccumulator/clear()
func (CIImageAccumulator) Extent ¶
func (i CIImageAccumulator) Extent() corefoundation.CGRect
The extent of the image associated with the image accumulator.
Discussion ¶
Extent is a rectangle that specifies the size of the image associated with the image accumulator. This rectangle is the size of the complete region of the working coordinate space, and is a fixed area. It specifies the x-value of the rectangle origin, the y-value of the rectangle origin, and the width and height.
See: https://developer.apple.com/documentation/CoreImage/CIImageAccumulator/extent
func (CIImageAccumulator) Format ¶
func (i CIImageAccumulator) Format() CIFormat
The pixel format of the image accumulator.
Discussion ¶
For applicable values, see Pixel Formats.
See: https://developer.apple.com/documentation/CoreImage/CIImageAccumulator/format
func (CIImageAccumulator) Image ¶
func (i CIImageAccumulator) Image() ICIImage
Returns the current contents of the image accumulator.
Return Value ¶
The image object that represents the current contents of the image accumulator.
See: https://developer.apple.com/documentation/CoreImage/CIImageAccumulator/image()
func (CIImageAccumulator) Init ¶
func (i CIImageAccumulator) Init() CIImageAccumulator
Init initializes the instance.
func (CIImageAccumulator) InitWithExtentFormat ¶
func (i CIImageAccumulator) InitWithExtentFormat(extent corefoundation.CGRect, format int) CIImageAccumulator
Initializes an image accumulator with the specified extent and pixel format.
extent: A rectangle that specifies the x-value of the rectangle origin, the y-value of the rectangle origin, and the width and height.
format: The format and size of each pixel. You must supply a pixel format constant, such askCIFormatARGB8 (32 bit-per-pixel, fixed-point pixel format) or kCIFormatRGBAf (128 bit-per-pixel, floating-point pixel format). See CIImage for more information about pixel format constants.
Return Value ¶
The initialized image accumulator object.
See: https://developer.apple.com/documentation/CoreImage/CIImageAccumulator/init(extent:format:)
func (CIImageAccumulator) InitWithExtentFormatColorSpace ¶
func (i CIImageAccumulator) InitWithExtentFormatColorSpace(extent corefoundation.CGRect, format int, colorSpace coregraphics.CGColorSpaceRef) CIImageAccumulator
Initializes an image accumulator with the specified extent, pixel format, and color space.
extent: A rectangle that specifies the x-value of the rectangle origin, the y-value of the rectangle origin, and the width and height.
format: The format and size of each pixel. You must supply a pixel format constant, such askCIFormatARGB8 (32 bit-per-pixel, fixed-point pixel format) or kCIFormatRGBAf (128 bit-per-pixel, floating-point pixel format). See CIImage for more information about pixel format constants.
colorSpace: A [CGColorSpace] object describing the color space for the image accumulator. // [CGColorSpace]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpace
Return Value ¶
The initialized image accumulator object.
func (CIImageAccumulator) SetImage ¶
func (i CIImageAccumulator) SetImage(image ICIImage)
Sets the contents of the image accumulator to the contents of the specified image object.
image: The image object whose contents you want to assign to the image accumulator.
See: https://developer.apple.com/documentation/CoreImage/CIImageAccumulator/setImage(_:)
func (CIImageAccumulator) SetImageDirtyRect ¶
func (i CIImageAccumulator) SetImageDirtyRect(image ICIImage, dirtyRect corefoundation.CGRect)
Updates an image accumulator with a subregion of an image object.
image: The image object whose contents you want to assign to the image accumulator.
dirtyRect: A rectangle that defines the subregion of the image object that’s changed since the last time you updated the image accumulator. You must guarantee that the new contents differ from the old only within the region specified by the this argument.
Discussion ¶
For additional details on using this method, see “Imaging Dynamical Systems” in Core Image Programming Guide.
See: https://developer.apple.com/documentation/CoreImage/CIImageAccumulator/setImage(_:dirtyRect:)
type CIImageAccumulatorClass ¶
type CIImageAccumulatorClass struct {
// contains filtered or unexported fields
}
func GetCIImageAccumulatorClass ¶
func GetCIImageAccumulatorClass() CIImageAccumulatorClass
GetCIImageAccumulatorClass returns the class object for CIImageAccumulator.
func (CIImageAccumulatorClass) Alloc ¶
func (cc CIImageAccumulatorClass) Alloc() CIImageAccumulator
Alloc allocates memory for a new instance of the class.
func (CIImageAccumulatorClass) ImageAccumulatorWithExtentFormat ¶
func (_CIImageAccumulatorClass CIImageAccumulatorClass) ImageAccumulatorWithExtentFormat(extent corefoundation.CGRect, format int) CIImageAccumulator
Creates an image accumulator with the specified extent and pixel format.
extent: A rectangle that specifies the x-value of the rectangle origin, the y-value of the rectangle origin, and the width and height.
format: The format and size of each pixel. You must supply a pixel format constant, such as kCIFormatARGB8 (32 bit-per-pixel, fixed-point pixel format) or kCIFormatRGBAf (128 bit-per-pixel, floating-point pixel format). See CIImage for more information about pixel format constants.
Return Value ¶
The image accumulator object.
func (CIImageAccumulatorClass) ImageAccumulatorWithExtentFormatColorSpace ¶
func (_CIImageAccumulatorClass CIImageAccumulatorClass) ImageAccumulatorWithExtentFormatColorSpace(extent corefoundation.CGRect, format int, colorSpace coregraphics.CGColorSpaceRef) CIImageAccumulator
Creates an image accumulator with the specified extent, pixel format, and color space.
extent: A rectangle that specifies the x-value of the rectangle origin, the y-value of the rectangle origin, and the width and height.
format: The format and size of each pixel. You must supply a pixel format constant, such as kCIFormatARGB8 (32 bit-per-pixel, fixed-point pixel format) or kCIFormatRGBAf (128 bit-per-pixel, floating-point pixel format). See CIImage for more information about pixel format constants.
colorSpace: A [CGColorSpace] object describing the color space for the image accumulator. // [CGColorSpace]: https://developer.apple.com/documentation/CoreGraphics/CGColorSpace
Return Value ¶
The image accumulator object.
type CIImageAutoAdjustmentOption ¶
type CIImageAutoAdjustmentOption = string
See: https://developer.apple.com/documentation/CoreImage/CIImageAutoAdjustmentOption
type CIImageClass ¶
type CIImageClass struct {
// contains filtered or unexported fields
}
func GetCIImageClass ¶
func GetCIImageClass() CIImageClass
GetCIImageClass returns the class object for CIImage.
func (CIImageClass) Alloc ¶
func (cc CIImageClass) Alloc() CIImage
Alloc allocates memory for a new instance of the class.
func (CIImageClass) BlackImage ¶
func (_CIImageClass CIImageClass) BlackImage() CIImage
See: https://developer.apple.com/documentation/CoreImage/CIImage/black
func (CIImageClass) BlueImage ¶
func (_CIImageClass CIImageClass) BlueImage() CIImage
See: https://developer.apple.com/documentation/CoreImage/CIImage/blue
func (CIImageClass) ClearImage ¶
func (_CIImageClass CIImageClass) ClearImage() CIImage
See: https://developer.apple.com/documentation/CoreImage/CIImage/clear
func (CIImageClass) CyanImage ¶
func (_CIImageClass CIImageClass) CyanImage() CIImage
See: https://developer.apple.com/documentation/CoreImage/CIImage/cyan
func (CIImageClass) EmptyImage ¶
func (_CIImageClass CIImageClass) EmptyImage() CIImage
Creates and returns an empty image object.
Return Value ¶
An image object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/empty()
func (CIImageClass) GrayImage ¶
func (_CIImageClass CIImageClass) GrayImage() CIImage
See: https://developer.apple.com/documentation/CoreImage/CIImage/gray
func (CIImageClass) GreenImage ¶
func (_CIImageClass CIImageClass) GreenImage() CIImage
See: https://developer.apple.com/documentation/CoreImage/CIImage/green
func (CIImageClass) ImageWithBitmapDataBytesPerRowSizeFormatColorSpace ¶
func (_CIImageClass CIImageClass) ImageWithBitmapDataBytesPerRowSizeFormatColorSpace(data foundation.INSData, bytesPerRow uintptr, size corefoundation.CGSize, format int, colorSpace coregraphics.CGColorSpaceRef) CIImage
Creates and returns an image object from bitmap data.
data: The bitmap data for the image. This data must be premultiplied.
bytesPerRow: The number of bytes per row.
size: The dimensions of the image.
format: The format and size of each pixel. You must supply a pixel format constant. See `Pixel Formats`.
colorSpace: The color space that the image is defined in. If this value is `nil`, the image is not color matched. Pass `nil` for images that don’t contain color data (such as elevation maps, normal vector maps, and sampled function tables).
Return Value ¶
An image object.
func (CIImageClass) ImageWithCGImage ¶
func (_CIImageClass CIImageClass) ImageWithCGImage(image coregraphics.CGImageRef) CIImage
Creates and returns an image object from a Quartz 2D image.
image: A Quartz 2D image ([CGImage]) object. For more information, see [Quartz 2D Programming Guide] and [CGImage]. // [CGImage]: https://developer.apple.com/documentation/CoreGraphics/CGImage [Quartz 2D Programming Guide]: https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/Introduction/Introduction.html#//apple_ref/doc/uid/TP30001066
Return Value ¶
An image object initialized with the contents of the Quartz 2D image.
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithCGImage:
func (CIImageClass) ImageWithCGImageOptions ¶
func (_CIImageClass CIImageClass) ImageWithCGImageOptions(image coregraphics.CGImageRef, options foundation.INSDictionary) CIImage
Creates and returns an image object from a Quartz 2D image using the specified options.
image: A Quartz 2D image ([CGImage]) object. For more information, see [Quartz 2D Programming Guide] and [CGImage]. // [CGImage]: https://developer.apple.com/documentation/CoreGraphics/CGImage [Quartz 2D Programming Guide]: https://developer.apple.com/library/archive/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/Introduction/Introduction.html#//apple_ref/doc/uid/TP30001066
options: A dictionary specifying image options. (See `Image Dictionary Keys`.)
Return Value ¶
An image object initialized with the contents of the Quartz 2D image and the specified options.
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithCGImage:options:
func (CIImageClass) ImageWithCGImageSourceIndexOptions ¶
func (_CIImageClass CIImageClass) ImageWithCGImageSourceIndexOptions(source objectivec.IObject, index uintptr, dict foundation.INSDictionary) CIImage
source is a [imageio.CGImageSourceRef].
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithCGImageSource:index:options:
func (CIImageClass) ImageWithCVImageBuffer ¶
func (_CIImageClass CIImageClass) ImageWithCVImageBuffer(imageBuffer corevideo.CVImageBufferRef) CIImage
Creates and returns an image object from the contents of [CVImageBuffer] object.
imageBuffer: A [CVImageBuffer] object. For more information, see [Core Video]. // [Core Video]: https://developer.apple.com/documentation/CoreVideo
Return Value ¶
An image object initialized with the contents of the image buffer object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithCVImageBuffer:
func (CIImageClass) ImageWithCVImageBufferOptions ¶
func (_CIImageClass CIImageClass) ImageWithCVImageBufferOptions(imageBuffer corevideo.CVImageBufferRef, options foundation.INSDictionary) CIImage
Creates and returns an image object from the contents of [CVImageBuffer] object, using the specified options.
imageBuffer: A [CVImageBuffer] object. For more information, see [Core Video]. // [Core Video]: https://developer.apple.com/documentation/CoreVideo
options: A dictionary specifying image options. (See `Image Dictionary Keys`.)
Return Value ¶
An image object initialized with the contents of the image buffer object and set up with the specified options.
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithCVImageBuffer:options:
func (CIImageClass) ImageWithCVPixelBuffer ¶
func (_CIImageClass CIImageClass) ImageWithCVPixelBuffer(pixelBuffer corevideo.CVImageBufferRef) CIImage
Creates and returns an image object from the contents of [CVPixelBuffer] object.
pixelBuffer: A [CVPixelBuffer] object.
Return Value ¶
An image object initialized with the contents of the image buffer object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithCVPixelBuffer:
func (CIImageClass) ImageWithCVPixelBufferOptions ¶
func (_CIImageClass CIImageClass) ImageWithCVPixelBufferOptions(pixelBuffer corevideo.CVImageBufferRef, options foundation.INSDictionary) CIImage
Creates and returns an image object from the contents of [CVPixelBuffer] object, using the specified options.
pixelBuffer: A [CVPixelBuffer] object.
options: A dictionary specifying image options. (See `Image Dictionary Keys`.)
Return Value ¶
An image object initialized with the contents of the image buffer object and set up with the specified options.
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithCVPixelBuffer:options:
func (CIImageClass) ImageWithColor ¶
func (_CIImageClass CIImageClass) ImageWithColor(color ICIColor) CIImage
Creates and returns an image of infinite extent whose entire content is the specified color.
color: A color object.
Return Value ¶
The image object initialized with the color represented by the CIColor object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithColor:
func (CIImageClass) ImageWithContentsOfURL ¶
func (_CIImageClass CIImageClass) ImageWithContentsOfURL(url foundation.INSURL) CIImage
Creates and returns an image object from the contents of a file.
url: The location of the file.
Return Value ¶
An image object initialized with the contents of the file.
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithContentsOfURL:
func (CIImageClass) ImageWithContentsOfURLOptions ¶
func (_CIImageClass CIImageClass) ImageWithContentsOfURLOptions(url foundation.INSURL, options foundation.INSDictionary) CIImage
Creates and returns an image object from the contents of a file, using the specified options.
url: The location of the file.
options: A dictionary specifying image options. (See `Image Dictionary Keys`.)
Return Value ¶
An image object initialized with the contents of the file and set up with the specified options.
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithContentsOfURL:options:
func (CIImageClass) ImageWithData ¶
func (_CIImageClass CIImageClass) ImageWithData(data foundation.INSData) CIImage
Creates and returns an image object initialized with the supplied image data.
data: The data object that holds the contents of an image file (such as TIFF, GIF, JPG, or whatever else the system supports). The image data must be premultiplied.
Return Value ¶
An image object initialized with the supplied data, or `nil` if the method cannot create an image representation from the contents of the supplied data object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithData:
func (CIImageClass) ImageWithDataOptions ¶
func (_CIImageClass CIImageClass) ImageWithDataOptions(data foundation.INSData, options foundation.INSDictionary) CIImage
Creates and returns an image object initialized with the supplied image data, using the specified options.
data: A pointer to the image data. The data must be premultiplied.
options: A dictionary specifying image options. (See `Image Dictionary Keys`.)
Return Value ¶
An image object initialized with the supplied data and set up with the specified options.
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithData:options:
func (CIImageClass) ImageWithDepthData ¶
func (_CIImageClass CIImageClass) ImageWithDepthData(data objectivec.IObject) CIImage
data is a [avfoundation.AVDepthData].
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithDepthData:
func (CIImageClass) ImageWithDepthDataOptions ¶
func (_CIImageClass CIImageClass) ImageWithDepthDataOptions(data objectivec.IObject, options foundation.INSDictionary) CIImage
data is a [avfoundation.AVDepthData].
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithDepthData:options:
func (CIImageClass) ImageWithIOSurface ¶
func (_CIImageClass CIImageClass) ImageWithIOSurface(surface iosurface.IOSurfaceRef) CIImage
Creates and returns an image from the contents of an IOSurface.
surface: An IOSurface object.
Return Value ¶
An image object initialized with the data from the IOSurface object.
Discussion ¶
An IOSurface object is a framebuffer object that is suitable for sharing across process boundaries. You can use it to allow your app to move complex image decompression and drawing logic into a separate process for the purpose of increasing security.
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithIOSurface:
func (CIImageClass) ImageWithIOSurfaceOptions ¶
func (_CIImageClass CIImageClass) ImageWithIOSurfaceOptions(surface iosurface.IOSurfaceRef, options foundation.INSDictionary) CIImage
Creates, using the specified options, and returns an image from the contents of an IOSurface.
surface: An IOSurface object.
options: A dictionary specifying image options. (See `Image Dictionary Keys`.)
Return Value ¶
An image object initialized with the data from the IOSurface.
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithIOSurface:options:
func (CIImageClass) ImageWithImageProviderSizeFormatColorSpaceOptions ¶
func (_CIImageClass CIImageClass) ImageWithImageProviderSizeFormatColorSpaceOptions(provider objectivec.IObject, width uintptr, height uintptr, format int, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) CIImage
Create an image object based on pixels from an image provider object.
provider: An object that implements the [CIImageProvider] protocol.
width: The width of the image.
height: The height of the image.
format: The CIFormat of the provided pixels.
colorSpace: The color space that the image is defined in. If `nil`, then the pixels will not be is not color matched to the Core Image working color space.
options: A dictionary that contains various CIImageOption keys that affect the resulting CIImage. The option [providerTileSize] controls if and how the provider object is called in tiles. The option [providerUserInfo] allows additional state to be passed to the provider object. // [providerTileSize]: https://developer.apple.com/documentation/CoreImage/CIImageOption/providerTileSize [providerUserInfo]: https://developer.apple.com/documentation/CoreImage/CIImageOption/providerUserInfo
Return Value ¶
An autoreleased CIImage object based on the data provider.
Discussion ¶
Core Image retains the provider object until the image is deallocated. The image provider object will not be called until the image is rendered.
func (CIImageClass) ImageWithMTLTextureOptions ¶
func (_CIImageClass CIImageClass) ImageWithMTLTextureOptions(texture objectivec.IObject, options foundation.INSDictionary) CIImage
Creates and returns an image object with data supplied by a Metal texture.
texture: The Metal texture from which to use image data.
options: A dictionary specifying image options. (See `Image Dictionary Keys`.)
Return Value ¶
An image object initialized with the texture data.
Discussion ¶
To also render using Metal, use this image with a Metal-based CIContext object created with the [ContextWithMTLDevice] method, and call the [RenderToMTLTextureCommandBufferBoundsColorSpace] method to create an output image in another Metal texture object.
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithMTLTexture:options:
func (CIImageClass) ImageWithPortaitEffectsMatte ¶
func (_CIImageClass CIImageClass) ImageWithPortaitEffectsMatte(matte objectivec.IObject) CIImage
matte is a [avfoundation.AVPortraitEffectsMatte].
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithPortaitEffectsMatte:
func (CIImageClass) ImageWithPortaitEffectsMatteOptions ¶
func (_CIImageClass CIImageClass) ImageWithPortaitEffectsMatteOptions(matte objectivec.IObject, options foundation.INSDictionary) CIImage
matte is a [avfoundation.AVPortraitEffectsMatte].
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithPortaitEffectsMatte:options:
func (CIImageClass) ImageWithSemanticSegmentationMatte ¶
func (_CIImageClass CIImageClass) ImageWithSemanticSegmentationMatte(matte objectivec.IObject) CIImage
matte is a [avfoundation.AVSemanticSegmentationMatte].
See: https://developer.apple.com/documentation/CoreImage/CIImage/imageWithSemanticSegmentationMatte:
func (CIImageClass) ImageWithSemanticSegmentationMatteOptions ¶
func (_CIImageClass CIImageClass) ImageWithSemanticSegmentationMatteOptions(matte objectivec.IObject, options foundation.INSDictionary) CIImage
matte is a [avfoundation.AVSemanticSegmentationMatte].
func (CIImageClass) MagentaImage ¶
func (_CIImageClass CIImageClass) MagentaImage() CIImage
See: https://developer.apple.com/documentation/CoreImage/CIImage/magenta
func (CIImageClass) RedImage ¶
func (_CIImageClass CIImageClass) RedImage() CIImage
See: https://developer.apple.com/documentation/CoreImage/CIImage/red
func (CIImageClass) WhiteImage ¶
func (_CIImageClass CIImageClass) WhiteImage() CIImage
See: https://developer.apple.com/documentation/CoreImage/CIImage/white
func (CIImageClass) YellowImage ¶
func (_CIImageClass CIImageClass) YellowImage() CIImage
See: https://developer.apple.com/documentation/CoreImage/CIImage/yellow
type CIImageOption ¶
type CIImageOption = string
See: https://developer.apple.com/documentation/CoreImage/CIImageOption
var ( // KCIImageApplyCleanAperture is a Boolean value to control whether an image created with a CVPixelBuffer or an IOSurface should be cropped and offset according clean aperture attachments. // // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/applyCleanAperture KCIImageApplyCleanAperture CIImageOption // KCIImageApplyOrientationProperty is the key for transforming an image according to orientation metadata. // // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/applyOrientationProperty KCIImageApplyOrientationProperty CIImageOption // KCIImageAuxiliaryDepth is the key into the properties dictionary indicating whether to return an auxiliary depth image. // // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/auxiliaryDepth KCIImageAuxiliaryDepth CIImageOption // KCIImageAuxiliaryDisparity is the key into the properties dictionary indicating whether to return an auxiliary disparity image. // // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/auxiliaryDisparity KCIImageAuxiliaryDisparity CIImageOption // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/auxiliaryHDRGainMap KCIImageAuxiliaryHDRGainMap CIImageOption // KCIImageAuxiliaryPortraitEffectsMatte is the key into the properties dictionary indicating whether to return auxiliary portrait effects matte. // // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/auxiliaryPortraitEffectsMatte KCIImageAuxiliaryPortraitEffectsMatte CIImageOption // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/auxiliarySemanticSegmentationGlassesMatte KCIImageAuxiliarySemanticSegmentationGlassesMatte CIImageOption // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/auxiliarySemanticSegmentationHairMatte KCIImageAuxiliarySemanticSegmentationHairMatte CIImageOption // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/auxiliarySemanticSegmentationSkinMatte KCIImageAuxiliarySemanticSegmentationSkinMatte CIImageOption // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/auxiliarySemanticSegmentationSkyMatte KCIImageAuxiliarySemanticSegmentationSkyMatte CIImageOption // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/auxiliarySemanticSegmentationTeethMatte KCIImageAuxiliarySemanticSegmentationTeethMatte CIImageOption // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/cacheImmediately KCIImageCacheImmediately CIImageOption // KCIImageColorSpace is the key for a color space. // // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/colorSpace KCIImageColorSpace CIImageOption // KCIImageContentAverageLightLevel is a value for overriding the automatic behavior of the Content Average Light Level property when creating an image. // // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/contentAverageLightLevel KCIImageContentAverageLightLevel CIImageOption // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/contentHeadroom KCIImageContentHeadroom CIImageOption // KCIImageExpandToHDR is a Boolean value that indicates whether to read Gain Map HDR images as HDR. // // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/expandToHDR KCIImageExpandToHDR CIImageOption // KCIImageNearestSampling is the key into the properties dictionary to indicate whether to use nearest-neighbor sampling. // // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/nearestSampling KCIImageNearestSampling CIImageOption // KCIImageProperties is the key for image metadata properties. // // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/properties KCIImageProperties CIImageOption // KCIImageProviderTileSize is a key for the image tiles size. The associated value is an [NSArray] that contains[NSNumber] objects for the dimensions of the image tiles requested from the image provider. // // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/providerTileSize KCIImageProviderTileSize CIImageOption // KCIImageProviderUserInfo is a key for data needed by the image provider. The associated value is an object that contains the needed data. // // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/providerUserInfo KCIImageProviderUserInfo CIImageOption // See: https://developer.apple.com/documentation/CoreImage/CIImageOption/toneMapHDRtoSDR KCIImageToneMapHDRtoSDR CIImageOption )
type CIImageProcessorInput ¶
type CIImageProcessorInput interface {
objectivec.IObject
// The base address of CPU memory that your Core Image Processor Kernel can read pixels from.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/baseAddress
BaseAddress() unsafe.Pointer
// A MTLTexture object that can be bound for input using Metal.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/metalTexture
MetalTexture() metal.MTLTexture
// An input pixel buffer object that your Core Image Processor Kernel can read from.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/pixelBuffer
PixelBuffer() corevideo.CVImageBufferRef
// An input surface object that your Core Image Processor Kernel can read from.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/surface
Surface() iosurface.IOSurfaceRef
// The rectangular region of the input image that your Core Image Processor Kernel can use to provide the output.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/region
Region() corefoundation.CGRect
// The bytes per row of the CPU memory that your Core Image Processor Kernel can read pixelsfrom.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/bytesPerRow
BytesPerRow() uintptr
// The pixel format of the CPU memory that your Core Image Processor Kernel can read pixels from.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/format
Format() CIFormat
// A 64-bit digest that uniquely describes the contents of the input to a processor.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/digest
Digest() uint64
// This property tells a tiled-input processor how many input tiles will be processed.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/roiTileCount
RoiTileCount() uint
// This property tells a tiled-input processor which input tile index is being processed.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/roiTileIndex
RoiTileIndex() uint
}
A container of image data and information for use in a custom image processor.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput
type CIImageProcessorInputObject ¶
type CIImageProcessorInputObject struct {
objectivec.Object
}
CIImageProcessorInputObject wraps an existing Objective-C object that conforms to the CIImageProcessorInput protocol.
func CIImageProcessorInputObjectFromID ¶
func CIImageProcessorInputObjectFromID(id objc.ID) CIImageProcessorInputObject
CIImageProcessorInputObjectFromID constructs a CIImageProcessorInputObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIImageProcessorInputObject) BaseAddress ¶
func (o CIImageProcessorInputObject) BaseAddress() unsafe.Pointer
The base address of CPU memory that your Core Image Processor Kernel can read pixels from.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/baseAddress
func (CIImageProcessorInputObject) BaseObject ¶
func (o CIImageProcessorInputObject) BaseObject() objectivec.Object
func (CIImageProcessorInputObject) BytesPerRow ¶
func (o CIImageProcessorInputObject) BytesPerRow() uintptr
The bytes per row of the CPU memory that your Core Image Processor Kernel can read pixelsfrom.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/bytesPerRow
func (CIImageProcessorInputObject) Digest ¶
func (o CIImageProcessorInputObject) Digest() uint64
A 64-bit digest that uniquely describes the contents of the input to a processor.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/digest
func (CIImageProcessorInputObject) Format ¶
func (o CIImageProcessorInputObject) Format() CIFormat
The pixel format of the CPU memory that your Core Image Processor Kernel can read pixels from.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/format
func (CIImageProcessorInputObject) MetalTexture ¶
func (o CIImageProcessorInputObject) MetalTexture() metal.MTLTexture
A MTLTexture object that can be bound for input using Metal.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/metalTexture
func (CIImageProcessorInputObject) PixelBuffer ¶
func (o CIImageProcessorInputObject) PixelBuffer() corevideo.CVImageBufferRef
An input pixel buffer object that your Core Image Processor Kernel can read from.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/pixelBuffer
func (CIImageProcessorInputObject) Region ¶
func (o CIImageProcessorInputObject) Region() corefoundation.CGRect
The rectangular region of the input image that your Core Image Processor Kernel can use to provide the output.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/region
func (CIImageProcessorInputObject) RoiTileCount ¶
func (o CIImageProcessorInputObject) RoiTileCount() uint
This property tells a tiled-input processor how many input tiles will be processed.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/roiTileCount
func (CIImageProcessorInputObject) RoiTileIndex ¶
func (o CIImageProcessorInputObject) RoiTileIndex() uint
This property tells a tiled-input processor which input tile index is being processed.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/roiTileIndex
func (CIImageProcessorInputObject) Surface ¶
func (o CIImageProcessorInputObject) Surface() iosurface.IOSurfaceRef
An input surface object that your Core Image Processor Kernel can read from.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorInput/surface
type CIImageProcessorKernel ¶
type CIImageProcessorKernel struct {
objectivec.Object
}
The abstract class you extend to create custom image processors that can integrate with Core Image workflows.
Overview ¶
Unlike the CIKernel class and its other subclasses that allow you to create new image-processing effects with the Core Image Kernel Language, the CIImageProcessorKernel class provides direct access to the underlying bitmap image data for a step in the Core Image processing pipeline. As such, you can create subclasses of this class to integrate other image-processing technologies—such as Metal compute shaders, Metal Performance Shaders, Accelerate vImage operations, or your own CPU-based image-processing routines—with a Core Image filter chain.
Your custom image processing operation is invoked by your subclassed image processor kernel’s [CIImageProcessorKernel.ProcessWithInputsArgumentsOutputError] method. The method can accept zero, one or more inputs: kernels that generate imagery (such as a noise or pattern generator) need no inputs, while kernels that composite source images together require multiple inputs. The `arguments` dictionary allows the caller to pass in additional parameter values (such as the radius of a blur) and the `output` contains the destination for your image processing code to write to.
The following code shows how you can subclass CIImageProcessorKernel to apply the Metal Performance Shader MPSImageThresholdBinary kernel to a CIImage:
To apply to kernel to an image, the calling side invokes the image processor’s [CIImageProcessorKernel.ApplyWithExtentInputsArgumentsError] method. The following code generates a new CIImage object named `result` which contains a thresholded version of the source image, `inputImage`.
Subclassing Notes ¶
The CIImageProcessorKernel class is abstract; to create a custom image processor, you define a subclass of this class.
You do not directly create instances of a custom CIImageProcessorKernel subclass. Image processors must not carry or use state specific to any single invocation of the processor, so all methods (and accessors for readonly properties) of an image processor kernel class are class methods.
Your subclass should override at least the [CIImageProcessorKernel.ProcessWithInputsArgumentsOutputError] method to perform its image processing.
If your image processor needs to work with a larger or smaller region of interest in the input image than each corresponding region of the output image (for example, a blur filter, which samples several input pixels for each output pixel), you should also override the [CIImageProcessorKernel.RoiForInputArgumentsOutputRect] method.
You can also override the [CIImageProcessorKernel.FormatForInputAtIndex] method and [CIImageProcessorKernel.OutputFormat] property getter to customize the input and output pixel formats for your processor (for example, as part of a multi-step workflow where you extract a single channel from an RGBA image, apply an effect to that channel only, then recombine the channels).
Using a Custom Image Processor ¶
To apply your custom image processor class to filter one or more images, call the [CIImageProcessorKernel.ApplyWithExtentInputsArgumentsError] class method. (Do not override this method.)
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorKernel
func CIImageProcessorKernelFromID ¶
func CIImageProcessorKernelFromID(id objc.ID) CIImageProcessorKernel
CIImageProcessorKernelFromID constructs a CIImageProcessorKernel from an objc.ID.
The abstract class you extend to create custom image processors that can integrate with Core Image workflows.
func NewCIImageProcessorKernel ¶
func NewCIImageProcessorKernel() CIImageProcessorKernel
NewCIImageProcessorKernel creates a new CIImageProcessorKernel instance.
func (CIImageProcessorKernel) Autorelease ¶
func (i CIImageProcessorKernel) Autorelease() CIImageProcessorKernel
Autorelease adds the receiver to the current autorelease pool.
func (CIImageProcessorKernel) Init ¶
func (i CIImageProcessorKernel) Init() CIImageProcessorKernel
Init initializes the instance.
type CIImageProcessorKernelClass ¶
type CIImageProcessorKernelClass struct {
// contains filtered or unexported fields
}
func GetCIImageProcessorKernelClass ¶
func GetCIImageProcessorKernelClass() CIImageProcessorKernelClass
GetCIImageProcessorKernelClass returns the class object for CIImageProcessorKernel.
func (CIImageProcessorKernelClass) Alloc ¶
func (cc CIImageProcessorKernelClass) Alloc() CIImageProcessorKernel
Alloc allocates memory for a new instance of the class.
func (CIImageProcessorKernelClass) ApplyWithExtentInputsArgumentsError ¶
func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) ApplyWithExtentInputsArgumentsError(extent corefoundation.CGRect, inputs []CIImage, arguments foundation.INSDictionary) (CIImage, error)
Call this method on your Core Image Processor Kernel subclass to create a new image of the specified extent.
extent: The bounding [CGRect] of pixels that the CIImageProcessorKernel can produce. This method will return `/CIImage/emptyImage` if extent is empty.
inputs: An array of CIImage objects to use as input.
arguments: This dictionary contains any additional parameters that the processor needs to produce its output. The argument objects can be of any type but in order for CoreImage to cache intermediates, they must be of the following immutable types: [NSArray], [NSDictionary], [NSNumber], [NSValue], [NSData], [NSString], [NSNull], CIVector, CIColor, [CGImage], [CGColorSpace], or [MLModel].
Return Value ¶
An autoreleased CIImage
Discussion ¶
The inputs and arguments will be retained so that your subclass can be called when the image is drawn.
This method will return `nil` and an error if:
- calling [OutputFormat] on your subclass returns an unsupported format. - calling [FormatForInputAtIndex] on your subclass returns an unsupported format. - your subclass does not implement [ProcessWithInputsArgumentsOutputError]
func (CIImageProcessorKernelClass) ApplyWithExtentsInputsArgumentsError ¶
func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) ApplyWithExtentsInputsArgumentsError(extents []CIVector, inputs []CIImage, arguments foundation.INSDictionary) ([]CIImage, error)
Call this method on your multiple-output Core Image Processor Kernel subclass to create an array of new image objects given the specified array of extents.
extents: The array of bounding rectangles that the CIImageProcessorKernel can produce. Each rectangle in the array is an object created using `/CIVector/` This method will return `CIImage.EmptyImage()` if a rectangle in the array is empty.
inputs: An array of CIImage objects to use as input.
arguments: This dictionary contains any additional parameters that the processor needs to produce its output. The argument objects can be of any type but in order for CoreImage to cache intermediates, they must be of the following immutable types: [NSArray], [NSDictionary], [NSNumber], [NSValue], [NSData], [NSString], [NSNull], CIVector, CIColor, [CGImage], [CGColorSpace], or [MLModel].
Return Value ¶
An autoreleased CIImage
Discussion ¶
The inputs and arguments will be retained so that your subclass can be called when the image is drawn.
This method will return `nil` and an error if:
- calling [OutputFormatAtIndexArguments] on your subclass returns an unsupported format. - calling [FormatForInputAtIndex] on your subclass returns an unsupported format. - your subclass does not implement [ProcessWithInputsArgumentsOutputError]
func (CIImageProcessorKernelClass) FormatForInputAtIndex ¶
func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) FormatForInputAtIndex(inputIndex int) CIFormat
Override this class method if you want your any of the inputs to be in a specific pixel format.
Discussion ¶
The format must be one of `kCIFormatBGRA8`, `kCIFormatRGBAh`, `kCIFormatRGBAf` or `kCIFormatR8`. On iOS 12 and macOS 10.14, the formats `kCIFormatRh` and `kCIFormatRf` are also supported.
If the requested inputFormat is `0`, then the input will be a supported format that best matches the rendering context’s `/CIContext/workingFormat`.
If a processor wants data in a colorspace other than the context’s working color space, then call `/CIImage/` on the processor input. If a processor wants it input as alpha-unpremultiplied RGBA data, then call `/CIImage/imageByUnpremultiplyingAlpha` on the processor input.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorKernel/formatForInput(at:)
func (CIImageProcessorKernelClass) OutputFormat ¶
func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) OutputFormat() CIFormat
Override this class property if you want your processor’s output to be in a specific pixel format.
Discussion ¶
The format must be one of `kCIFormatBGRA8`, `kCIFormatRGBAh`, `kCIFormatRGBAf` or `kCIFormatR8`. On iOS 12 and macOS 10.14, the formats `kCIFormatRh` and `kCIFormatRf` are also supported.
If the outputFormat is `0`, then the output will be a supported format that best matches the rendering context’s `/CIContext/workingFormat`.
If a processor returns data in a color space other than the context working color space, then call `/CIImage/` on the processor output. If a processor returns data as alpha-unpremultiplied RGBA data, then call, `/CIImage/imageByPremultiplyingAlpha` on the processor output.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorKernel/outputFormat
func (CIImageProcessorKernelClass) OutputFormatAtIndexArguments ¶
func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) OutputFormatAtIndexArguments(outputIndex int, arguments foundation.INSDictionary) CIFormat
Override this class method if your processor has more than one output and you want your processor’s output to be in a specific supported [CIPixelFormat].
outputIndex: The index that tells you which processor output for which to return the desired [CIPixelFormat]
arguments: The arguments dictionary that was passed to [ApplyWithExtentInputsArgumentsError].
Return Value ¶
Return the desired [CIPixelFormat]
Discussion ¶
The format must be one of `kCIFormatBGRA8`, `kCIFormatRGBAh`, `kCIFormatRGBAf` or `kCIFormatR8`. On iOS 12 and macOS 10.14, the formats `kCIFormatRh` and `kCIFormatRf` are also supported.
If the outputFormat is `0`, then the output will be a supported format that best matches the rendering context’s `/CIContext/workingFormat`.
func (CIImageProcessorKernelClass) OutputIsOpaque ¶
func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) OutputIsOpaque() bool
Override this class property if your processor’s output stores 1.0 into the alpha channel of all pixels within the output extent.
Discussion ¶
If not overridden, false is returned.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorKernel/outputIsOpaque
func (CIImageProcessorKernelClass) ProcessWithInputsArgumentsOutputError ¶
func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) ProcessWithInputsArgumentsOutputError(inputs []objectivec.IObject, arguments foundation.INSDictionary, output CIImageProcessorOutput) (bool, error)
Override this class method to implement your Core Image Processor Kernel subclass.
inputs: An array of `id` that the class consumes to produce its output. The `input.Region()` may be larger than the rect returned by [RoiForInputArgumentsOutputRect].
arguments: The arguments dictionary that was passed to [ApplyWithExtentInputsArgumentsError].
output: The `id` that the CIImageProcessorKernel must provide results to.
Discussion ¶
When a CIImage containing your CIImageProcessorKernel class is rendered, your class’ implementation of this method will be called as needed for that render. The method may be called more than once if Core Image needs to tile to limit memory usage.
When your implementation of this class method is called, use the provided `inputs` and `arguments` objects to return processed pixel data to Core Image via `output`.
func (CIImageProcessorKernelClass) ProcessWithInputsArgumentsOutputsError ¶
func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) ProcessWithInputsArgumentsOutputsError(inputs []objectivec.IObject, arguments foundation.INSDictionary, outputs []objectivec.IObject) (bool, error)
Override this class method of your Core Image Processor Kernel subclass if it needs to produce multiple outputs.
inputs: An array of `id` that the class consumes to produce its output. The `input.Region()` may be larger than the rect returned by [RoiForInputArgumentsOutputRect].
arguments: The arguments dictionary that was passed to [ApplyWithExtentInputsArgumentsError].
outputs: An array `id` that the CIImageProcessorKernel must provide results to.
Discussion ¶
This supports 0, 1, 2 or more input images and 2 or more output images.
When a CIImage containing your CIImageProcessorKernel class is rendered, your class’ implementation of this method will be called as needed for that render. The method may be called more than once if Core Image needs to tile to limit memory usage.
When your implementation of this class method is called, use the provided `inputs` and `arguments` objects to return processed pixel data to Core Image via multiple `outputs`.
func (CIImageProcessorKernelClass) RoiForInputArgumentsOutputRect ¶
func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) RoiForInputArgumentsOutputRect(inputIndex int, arguments foundation.INSDictionary, outputRect corefoundation.CGRect) corefoundation.CGRect
Override this class method to implement your processor’s ROI callback.
inputIndex: The index that tells you which processor input for which to return the ROI rectangle.
arguments: The arguments dictionary that was passed to [ApplyWithExtentInputsArgumentsError].
outputRect: The output [CGRect] that processor will be asked to output.
Return Value ¶
The [CGRect] of the `inputIndex`th input that is required for the above `outputRect`
Discussion ¶
This will be called one or more times per render to determine what portion of the input images are needed to render a given ‘outputRect’ of the output. This will not be called if processor has no input images.
The default implementation would return outputRect.
func (CIImageProcessorKernelClass) RoiTileArrayForInputArgumentsOutputRect ¶
func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) RoiTileArrayForInputArgumentsOutputRect(inputIndex int, arguments foundation.INSDictionary, outputRect corefoundation.CGRect) []CIVector
Override this class method to implement your processor’s tiled ROI callback.
inputIndex: The index that tells you which processor input for which to return the array of ROI rectangles
arguments: The arguments dictionary that was passed to [ApplyWithExtentInputsArgumentsError].
outputRect: The output [CGRect] that processor will be asked to output.
Return Value ¶
An array of CIVector that specify tile regions of the `inputIndex`’th input that is required for the above `outputRect` Each region tile in the array is a created by calling `/CIVector//` The tiles may overlap but should fully cover the area of ‘input’ that is needed. If a processor has multiple inputs, then each input should return the same number of region tiles.
Discussion ¶
This will be called one or more times per render to determine what tiles of the input images are needed to render a given `outputRect` of the output.
If the processor implements this method, then when rendered;
- as CoreImage prepares for a render, this method will be called for each input to return an ROI tile array. - as CoreImage performs the render, the method [ProcessWithInputsArgumentsOutputError] will be called once for each tile.
func (CIImageProcessorKernelClass) SynchronizeInputs ¶
func (_CIImageProcessorKernelClass CIImageProcessorKernelClass) SynchronizeInputs() bool
Override this class property to return false if you want your processor to be given input objects that have not been synchronized for CPU access.
Discussion ¶
Generally, if your subclass uses the GPU your should override this method to return false. If not overridden, true is returned.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorKernel/synchronizeInputs
type CIImageProcessorOutput ¶
type CIImageProcessorOutput interface {
objectivec.IObject
// The base address of CPU memory that your Core Image Processor Kernel can write pixels to.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput/baseAddress
BaseAddress() unsafe.Pointer
// A Metal texture object that can be bound for output using Metal.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput/metalTexture
MetalTexture() metal.MTLTexture
// An output pixelBuffer object that your Core Image Processor Kernel can write to.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput/pixelBuffer
PixelBuffer() corevideo.CVImageBufferRef
// An output surface object that your Core Image Processor Kernel can write to.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput/surface
Surface() iosurface.IOSurfaceRef
// The rectangular region of the output image that your Core Image Processor Kernel must provide.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput/region
Region() corefoundation.CGRect
// Returns a Metal command buffer object that can be used for encoding commands.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput/metalCommandBuffer
MetalCommandBuffer() metal.MTLCommandBuffer
// The bytes per row of the CPU memory that your Core Image Processor Kernel can write pixels to.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput/bytesPerRow
BytesPerRow() uintptr
// The pixel format of the CPU memory that your Core Image Processor Kernel can write pixels to.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput/format
Format() CIFormat
// A 64-bit digest that uniquely describes the contents of the output of a processor.
//
// See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput/digest
Digest() uint64
}
A container for writing image data and information produced by a custom image processor.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput
type CIImageProcessorOutputObject ¶
type CIImageProcessorOutputObject struct {
objectivec.Object
}
CIImageProcessorOutputObject wraps an existing Objective-C object that conforms to the CIImageProcessorOutput protocol.
func CIImageProcessorOutputObjectFromID ¶
func CIImageProcessorOutputObjectFromID(id objc.ID) CIImageProcessorOutputObject
CIImageProcessorOutputObjectFromID constructs a CIImageProcessorOutputObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIImageProcessorOutputObject) BaseAddress ¶
func (o CIImageProcessorOutputObject) BaseAddress() unsafe.Pointer
The base address of CPU memory that your Core Image Processor Kernel can write pixels to.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput/baseAddress
func (CIImageProcessorOutputObject) BaseObject ¶
func (o CIImageProcessorOutputObject) BaseObject() objectivec.Object
func (CIImageProcessorOutputObject) BytesPerRow ¶
func (o CIImageProcessorOutputObject) BytesPerRow() uintptr
The bytes per row of the CPU memory that your Core Image Processor Kernel can write pixels to.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput/bytesPerRow
func (CIImageProcessorOutputObject) Digest ¶
func (o CIImageProcessorOutputObject) Digest() uint64
A 64-bit digest that uniquely describes the contents of the output of a processor.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput/digest
func (CIImageProcessorOutputObject) Format ¶
func (o CIImageProcessorOutputObject) Format() CIFormat
The pixel format of the CPU memory that your Core Image Processor Kernel can write pixels to.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput/format
func (CIImageProcessorOutputObject) MetalCommandBuffer ¶
func (o CIImageProcessorOutputObject) MetalCommandBuffer() metal.MTLCommandBuffer
Returns a Metal command buffer object that can be used for encoding commands.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput/metalCommandBuffer
func (CIImageProcessorOutputObject) MetalTexture ¶
func (o CIImageProcessorOutputObject) MetalTexture() metal.MTLTexture
A Metal texture object that can be bound for output using Metal.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput/metalTexture
func (CIImageProcessorOutputObject) PixelBuffer ¶
func (o CIImageProcessorOutputObject) PixelBuffer() corevideo.CVImageBufferRef
An output pixelBuffer object that your Core Image Processor Kernel can write to.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput/pixelBuffer
func (CIImageProcessorOutputObject) Region ¶
func (o CIImageProcessorOutputObject) Region() corefoundation.CGRect
The rectangular region of the output image that your Core Image Processor Kernel must provide.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput/region
func (CIImageProcessorOutputObject) Surface ¶
func (o CIImageProcessorOutputObject) Surface() iosurface.IOSurfaceRef
An output surface object that your Core Image Processor Kernel can write to.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorOutput/surface
type CIImageRepresentationOption ¶
type CIImageRepresentationOption = string
See: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption
var ( // KCIImageRepresentationAVDepthData is the depth data representation of an image. // // See: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/avDepthData KCIImageRepresentationAVDepthData CIImageRepresentationOption // See: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/avPortraitEffectsMatte KCIImageRepresentationAVPortraitEffectsMatte CIImageRepresentationOption // See: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/avSemanticSegmentationMattes KCIImageRepresentationAVSemanticSegmentationMattes CIImageRepresentationOption // KCIImageRepresentationDepthImage is `options` dictionary key for image export methods to output depth data. // // See: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/depthImage KCIImageRepresentationDepthImage CIImageRepresentationOption // KCIImageRepresentationDisparityImage is `options` dictionary key for image export methods to output disparity data. // // See: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/disparityImage KCIImageRepresentationDisparityImage CIImageRepresentationOption // KCIImageRepresentationHDRGainMapAsRGB is an optional key and value to request the gain map channel to be color instead of monochrome. // // See: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/hdrGainMapAsRGB KCIImageRepresentationHDRGainMapAsRGB CIImageRepresentationOption // KCIImageRepresentationHDRGainMapImage is an optional key and value to save a gain map channel to a JPEG or HEIF. // // See: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/hdrGainMapImage KCIImageRepresentationHDRGainMapImage CIImageRepresentationOption // See: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/hdrImage KCIImageRepresentationHDRImage CIImageRepresentationOption // See: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/portraitEffectsMatteImage KCIImageRepresentationPortraitEffectsMatteImage CIImageRepresentationOption // See: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/semanticSegmentationGlassesMatteImage KCIImageRepresentationSemanticSegmentationGlassesMatteImage CIImageRepresentationOption // See: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/semanticSegmentationHairMatteImage KCIImageRepresentationSemanticSegmentationHairMatteImage CIImageRepresentationOption // See: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/semanticSegmentationSkinMatteImage KCIImageRepresentationSemanticSegmentationSkinMatteImage CIImageRepresentationOption // See: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/semanticSegmentationSkyMatteImage KCIImageRepresentationSemanticSegmentationSkyMatteImage CIImageRepresentationOption // See: https://developer.apple.com/documentation/CoreImage/CIImageRepresentationOption/semanticSegmentationTeethMatteImage KCIImageRepresentationSemanticSegmentationTeethMatteImage CIImageRepresentationOption )
type CIKMeans ¶
type CIKMeans interface {
objectivec.IObject
CIAreaReductionFilter
CIFilterProtocol
// Count protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKMeans/count
Count() int
// InputMeans protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKMeans/inputMeans
InputMeans() ICIImage
// Passes protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKMeans/passes
Passes() float32
// Perceptual protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKMeans/perceptual
Perceptual() bool
// count protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKMeans/count
SetCount(value int)
// inputMeans protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKMeans/inputMeans
SetInputMeans(value ICIImage)
// passes protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKMeans/passes
SetPasses(value float32)
// perceptual protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKMeans/perceptual
SetPerceptual(value bool)
}
CIKMeans protocol.
See: https://developer.apple.com/documentation/CoreImage/CIKMeans
type CIKMeansObject ¶
type CIKMeansObject struct {
objectivec.Object
}
CIKMeansObject wraps an existing Objective-C object that conforms to the CIKMeans protocol.
func CIKMeansObjectFromID ¶
func CIKMeansObjectFromID(id objc.ID) CIKMeansObject
CIKMeansObjectFromID constructs a CIKMeansObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIKMeansObject) BaseObject ¶
func (o CIKMeansObject) BaseObject() objectivec.Object
func (CIKMeansObject) Count ¶
func (o CIKMeansObject) Count() int
See: https://developer.apple.com/documentation/CoreImage/CIKMeans/count
func (CIKMeansObject) Extent ¶
func (o CIKMeansObject) Extent() corefoundation.CGRect
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/extent
func (CIKMeansObject) InputImage ¶
func (o CIKMeansObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/inputImage
func (CIKMeansObject) InputMeans ¶
func (o CIKMeansObject) InputMeans() ICIImage
See: https://developer.apple.com/documentation/CoreImage/CIKMeans/inputMeans
func (CIKMeansObject) OutputImage ¶
func (o CIKMeansObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIKMeansObject) Passes ¶
func (o CIKMeansObject) Passes() float32
See: https://developer.apple.com/documentation/CoreImage/CIKMeans/passes
func (CIKMeansObject) Perceptual ¶
func (o CIKMeansObject) Perceptual() bool
See: https://developer.apple.com/documentation/CoreImage/CIKMeans/perceptual
func (CIKMeansObject) SetCount ¶
func (o CIKMeansObject) SetCount(value int)
func (CIKMeansObject) SetExtent ¶
func (o CIKMeansObject) SetExtent(value corefoundation.CGRect)
func (CIKMeansObject) SetInputImage ¶
func (o CIKMeansObject) SetInputImage(value ICIImage)
func (CIKMeansObject) SetInputMeans ¶
func (o CIKMeansObject) SetInputMeans(value ICIImage)
func (CIKMeansObject) SetPasses ¶
func (o CIKMeansObject) SetPasses(value float32)
func (CIKMeansObject) SetPerceptual ¶
func (o CIKMeansObject) SetPerceptual(value bool)
type CIKaleidoscope ¶
type CIKaleidoscope interface {
objectivec.IObject
CIFilterProtocol
// The angle of the reflection.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKaleidoscope/angle
Angle() float32
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKaleidoscope/center
Center() corefoundation.CGPoint
// The number of reflections in the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKaleidoscope/count
Count() int
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKaleidoscope/inputImage
InputImage() ICIImage
// The angle of the reflection.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKaleidoscope/angle
SetAngle(value float32)
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKaleidoscope/center
SetCenter(value corefoundation.CGPoint)
// The number of reflections in the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKaleidoscope/count
SetCount(value int)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKaleidoscope/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a kaleidoscope filter.
See: https://developer.apple.com/documentation/CoreImage/CIKaleidoscope
type CIKaleidoscopeObject ¶
type CIKaleidoscopeObject struct {
objectivec.Object
}
CIKaleidoscopeObject wraps an existing Objective-C object that conforms to the CIKaleidoscope protocol.
func CIKaleidoscopeObjectFromID ¶
func CIKaleidoscopeObjectFromID(id objc.ID) CIKaleidoscopeObject
CIKaleidoscopeObjectFromID constructs a CIKaleidoscopeObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIKaleidoscopeObject) Angle ¶
func (o CIKaleidoscopeObject) Angle() float32
The angle of the reflection.
See: https://developer.apple.com/documentation/CoreImage/CIKaleidoscope/angle
func (CIKaleidoscopeObject) BaseObject ¶
func (o CIKaleidoscopeObject) BaseObject() objectivec.Object
func (CIKaleidoscopeObject) Center ¶
func (o CIKaleidoscopeObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIKaleidoscope/center
func (CIKaleidoscopeObject) Count ¶
func (o CIKaleidoscopeObject) Count() int
The number of reflections in the pattern.
See: https://developer.apple.com/documentation/CoreImage/CIKaleidoscope/count
func (CIKaleidoscopeObject) InputImage ¶
func (o CIKaleidoscopeObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIKaleidoscope/inputImage
func (CIKaleidoscopeObject) OutputImage ¶
func (o CIKaleidoscopeObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIKaleidoscopeObject) SetAngle ¶
func (o CIKaleidoscopeObject) SetAngle(value float32)
func (CIKaleidoscopeObject) SetCenter ¶
func (o CIKaleidoscopeObject) SetCenter(value corefoundation.CGPoint)
func (CIKaleidoscopeObject) SetCount ¶
func (o CIKaleidoscopeObject) SetCount(value int)
func (CIKaleidoscopeObject) SetInputImage ¶
func (o CIKaleidoscopeObject) SetInputImage(value ICIImage)
type CIKernel ¶
type CIKernel struct {
objectivec.Object
}
A GPU-based image-processing routine used to create custom Core Image filters.
Overview ¶
The kernel language routine for a general-purpose filter kernel has the following characteristics:
- Its return type is `vec4` (Core Image Kernel Language) or `float4` (Metal Shading Language); that is, it returns a pixel color for the output image. - It may use zero or more input images. Each input image is represented by a parameter of type `sampler`.
A kernel routine typically produces its output by calculating source image coordinates (using the `destCoord` and `samplerTransform` functions or the `samplerTransform` function), samples from the source images (using the `sample` function), and computes a final pixel color (output using the `return` keyword). For example, the Metal Shading Language source below implements a filter that passes through its input image unchanged.
The equivalent code in Core Image Kernel Language is:
The Core Image Kernel Language is a dialect of the OpenGL Shading Language. See Core Image Kernel Language Reference and Core Image Programming Guide for more details.
Getting a Kernel Name ¶
- CIKernel.Name: The name of the kernel routine.
Identifying the Region of Interest for the Kernel ¶
- CIKernel.SetROISelector: Sets the selector Core Image uses to query the region of interest for image processing with the kernel.
Applying a Kernel to Filter an Image ¶
- CIKernel.ApplyWithExtentRoiCallbackArguments: Creates a new image using the kernel and specified arguments.
See: https://developer.apple.com/documentation/CoreImage/CIKernel
func CIKernelFromID ¶
CIKernelFromID constructs a CIKernel from an objc.ID.
A GPU-based image-processing routine used to create custom Core Image filters.
func NewKernelWithFunctionNameFromMetalLibraryDataError ¶
func NewKernelWithFunctionNameFromMetalLibraryDataError(name string, data foundation.INSData) (CIKernel, error)
Creates a single kernel object using a Metal Shading Language (MSL) kernel function.
Discussion ¶
- name: The name of the function in the Metal shading language. - data: A metallib file compiled with the Core Image Standard Library.
Discussion ¶
This method allows you to use MSL as the shader language for a Core Image kernel. Since MSL based kernels are precompiled, initializing them is faster than their than Core Image Kernel Language (CIKL) counterparts and Xcode can provide error diagnostics during development rather than at runtime. MSL is a more modern language than CIKL, and you can write shader code that uses arrays, structs and matrices.
MSL based kernels still support concatenation and tiling and can work in the same filter graph as traditional CIKL kernels.
Specifying Compiler and Linker Options ¶
To use MSL as the shader language for a CIKernel, you must specify some options in Xcode under the tab of your project’s target. The first option you need to specify is an `-fcikernel` flag in the Other Metal Compiler Flags option. The second is to add a user-defined setting with a key called `MTLLINKER_FLAGS` with a value of `-`
[media-2929842]
Creating a General Kernel in Swift ¶
The following code shows how you can create a general kernel based on a Metal function named `myKernel`.
The first step is to create a [Data] object that represents the default Metal library. If you have built this in Xcode, it will be called `default.Metallib()` and can be loaded using the Bundle type’s `url` method.
Using the representation of the Metal library and the function name `myKernel`, you initialize a CIKernel.
The code to create general, color, warp and blend filters is identical.
Metal Shading Language Extensions ¶
Core Image provides a set of language extensions to MSL in `CIKernelMetalLib.H()`. These extensions include three new data types for working with images: `sampler` (for accessing the input image), `sample_t` (represents a single color sample from the input image), and `destination` (for accessing the output image). The extensions also include convenience functions such as color conversion and premultiply / unpremultiply.
Whereas in CIKL, you typically called global functions when working with, for example, coordinates and samples, these functions are implemented as member functions on the new types.
The following table shows a summary of CIKL global functions and their equivalent MSL functions.
[Table data omitted]
func NewKernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError ¶
func NewKernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError(name string, data foundation.INSData, format int) (CIKernel, error)
Creates a single kernel object using a Metal Shading Language kernel function with optional pixel format.
name: The name of the function in the Metal shading language.
data: A metallib file compiled with the Core Image Standard Library.
format: The pixel format of the output kernel.
Discussion ¶
This method allows you to use MSL as the shader language for a Core Image kernel. Since MSL based kernels are precompiled, initializing them is faster than their than Core Image Kernel Language (CIKL) counterparts and Xcode can provide error diagnostics during development rather than at runtime. MSL is a more modern language than CIKL, and you can write shader code that uses arrays, structs and matrices.
MSL based kernels still support concatenation and tiling and can work in the same filter graph as traditional CIKL kernels.
func (CIKernel) ApplyWithExtentRoiCallbackArguments ¶
func (k CIKernel) ApplyWithExtentRoiCallbackArguments(extent corefoundation.CGRect, callback CIKernelROICallback, args []objectivec.IObject) ICIImage
Creates a new image using the kernel and specified arguments.
extent: The extent of the output image.
callback: A block or closure that computes the region of interest for a given rectangle of destination image pixels. See CIKernelROICallback.
args: An array of arguments to pass to the kernel routine. The type of each object in the array must be compatible with the corresponding parameter declared in the kernel routine source code. For details, see [Core Image Kernel Language Reference]. // [Core Image Kernel Language Reference]: https://developer.apple.com/library/archive/documentation/GraphicsImaging/Reference/CIKernelLangRef/Introduction/Introduction.html#//apple_ref/doc/uid/TP40004397
Return Value ¶
A new image object describing the result of applying the kernel.
Discussion ¶
This method is analogous to the CIFilter method [ApplyArgumentsOptions], but it does not require construction of a CIFilter object, and it allows you to specify a callback for determining the kernel’s region of interest as a block or closure. As with the similar CIFilter method, calling this method does not execute the kernel code—filters and their kernel code are evaluated only when rendering a final output image.
When applying a filter kernel, the region of interest (ROI) is the area of source image pixels that must be processed to produce a given area of destination image pixels. For a more detailed definition, see The Region of Interest. Core Image calls your `callback` block or closure to determine the ROI when rendering the filter output. Core Image automatically splits large images into smaller tiles for rendering, so your callback may be called multiple times.
See: https://developer.apple.com/documentation/CoreImage/CIKernel/apply(extent:roiCallback:arguments:)
func (CIKernel) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
func (CIKernel) Name ¶
The name of the kernel routine.
Discussion ¶
The name of a kernel routine is the identifier used to declare it in the Core Image Kernel Language source code. For example, if you use the init(source:) method to create a kernel from the source code below, the name of the returned CIKernel object is “moveUpTwoPixels”.
See: https://developer.apple.com/documentation/CoreImage/CIKernel/name
func (CIKernel) SetROISelector ¶
Sets the selector Core Image uses to query the region of interest for image processing with the kernel.
method: A selector name.
Discussion ¶
When applying a filter kernel, the region of interest (ROI) is the area of source image pixels that must be processed to produce a given area of destination image pixels. For a more detailed definition, see The Region of Interest.
The `aMethod` argument must use the signature that is defined for the “ method, which is as follows:
`- (CGRect) (int)samplerIndex (CGRect)r obj;`
where:
- `samplerIndex` defines the sampler to query - `destRect` is the extent of the region, in working space coordinates, to render. - `userInfo` is the object associated with the `kCIApplyOptionUserInfo` option when the kernel is applied to its arguments (with the [ApplyArgumentsOptions] method of a CIFilter object using the kernel). The `userInfo` is important because instance variables can’t be used by the defining class. Instance variables must be passed through the `userInfo` argument.
The “ method of the CIFilter object is called by the framework. This method returns the rectangle that contains the region of the sampler that the kernel needs to render the specified destination rectangle.
A sample “ method might look as follows:
If your kernel does not need the image at `index` to produce output in the rectangle `rect`, your method should return CGRectNull.
In the filter code, you set the selector using the following:
`[kernel @selector()`]
Alternatively, use the [ApplyWithExtentRoiCallbackArguments] method to directly apply a kernel to create an output image, specifying the ROI callback as a block or closure.
See: https://developer.apple.com/documentation/CoreImage/CIKernel/setROISelector(_:)
type CIKernelClass ¶
type CIKernelClass struct {
// contains filtered or unexported fields
}
func GetCIKernelClass ¶
func GetCIKernelClass() CIKernelClass
GetCIKernelClass returns the class object for CIKernel.
func (CIKernelClass) Alloc ¶
func (cc CIKernelClass) Alloc() CIKernel
Alloc allocates memory for a new instance of the class.
func (CIKernelClass) KernelNamesFromMetalLibraryData ¶
func (_CIKernelClass CIKernelClass) KernelNamesFromMetalLibraryData(data foundation.INSData) []string
Return an array of strings containing the names of all of the kernels contained in the Metal library.
data: Contents of the Metal library.
Return Value ¶
An Array of strings containing the names of the kernels.
See: https://developer.apple.com/documentation/CoreImage/CIKernel/kernelNames(fromMetalLibraryData:)
func (CIKernelClass) KernelsWithMetalStringError ¶
func (_CIKernelClass CIKernelClass) KernelsWithMetalStringError(source string) ([]CIKernel, error)
Load kernels from a Metal language string.
source: A string containing the progam in Metal language.
Return Value ¶
An array of CIKernel objects.
See: https://developer.apple.com/documentation/CoreImage/CIKernel/kernels(withMetalString:)
type CIKernelROICallback ¶
type CIKernelROICallback = func(int, corefoundation.CGRect) corefoundation.CGRect
CIKernelROICallback is the signature for a block that computes the region of interest (ROI) for a given area of destination image pixels. Core Image calls this block when applying the kernel. You specify this block when using the [apply(extent:roiCallback:arguments:)] method.
See: https://developer.apple.com/documentation/CoreImage/CIKernelROICallback
type CIKeystoneCorrectionCombined ¶
type CIKeystoneCorrectionCombined interface {
objectivec.IObject
CIFilterProtocol
CIFourCoordinateGeometryFilter
// The 35mm equivalent focal length of the input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKeystoneCorrectionCombined/focalLength
FocalLength() float32
// The 35mm equivalent focal length of the input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKeystoneCorrectionCombined/focalLength
SetFocalLength(value float32)
}
The properties you use to configure a keystone correction combined filter.
See: https://developer.apple.com/documentation/CoreImage/CIKeystoneCorrectionCombined
type CIKeystoneCorrectionCombinedObject ¶
type CIKeystoneCorrectionCombinedObject struct {
objectivec.Object
}
CIKeystoneCorrectionCombinedObject wraps an existing Objective-C object that conforms to the CIKeystoneCorrectionCombined protocol.
func CIKeystoneCorrectionCombinedObjectFromID ¶
func CIKeystoneCorrectionCombinedObjectFromID(id objc.ID) CIKeystoneCorrectionCombinedObject
CIKeystoneCorrectionCombinedObjectFromID constructs a CIKeystoneCorrectionCombinedObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIKeystoneCorrectionCombinedObject) BaseObject ¶
func (o CIKeystoneCorrectionCombinedObject) BaseObject() objectivec.Object
func (CIKeystoneCorrectionCombinedObject) BottomLeft ¶
func (o CIKeystoneCorrectionCombinedObject) BottomLeft() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/bottomLeft
func (CIKeystoneCorrectionCombinedObject) BottomRight ¶
func (o CIKeystoneCorrectionCombinedObject) BottomRight() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/bottomRight
func (CIKeystoneCorrectionCombinedObject) FocalLength ¶
func (o CIKeystoneCorrectionCombinedObject) FocalLength() float32
The 35mm equivalent focal length of the input image.
See: https://developer.apple.com/documentation/CoreImage/CIKeystoneCorrectionCombined/focalLength
func (CIKeystoneCorrectionCombinedObject) InputImage ¶
func (o CIKeystoneCorrectionCombinedObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/inputImage
func (CIKeystoneCorrectionCombinedObject) OutputImage ¶
func (o CIKeystoneCorrectionCombinedObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIKeystoneCorrectionCombinedObject) SetBottomLeft ¶
func (o CIKeystoneCorrectionCombinedObject) SetBottomLeft(value corefoundation.CGPoint)
func (CIKeystoneCorrectionCombinedObject) SetBottomRight ¶
func (o CIKeystoneCorrectionCombinedObject) SetBottomRight(value corefoundation.CGPoint)
func (CIKeystoneCorrectionCombinedObject) SetFocalLength ¶
func (o CIKeystoneCorrectionCombinedObject) SetFocalLength(value float32)
func (CIKeystoneCorrectionCombinedObject) SetInputImage ¶
func (o CIKeystoneCorrectionCombinedObject) SetInputImage(value ICIImage)
func (CIKeystoneCorrectionCombinedObject) SetTopLeft ¶
func (o CIKeystoneCorrectionCombinedObject) SetTopLeft(value corefoundation.CGPoint)
func (CIKeystoneCorrectionCombinedObject) SetTopRight ¶
func (o CIKeystoneCorrectionCombinedObject) SetTopRight(value corefoundation.CGPoint)
func (CIKeystoneCorrectionCombinedObject) TopLeft ¶
func (o CIKeystoneCorrectionCombinedObject) TopLeft() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/topLeft
func (CIKeystoneCorrectionCombinedObject) TopRight ¶
func (o CIKeystoneCorrectionCombinedObject) TopRight() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/topRight
type CIKeystoneCorrectionHorizontal ¶
type CIKeystoneCorrectionHorizontal interface {
objectivec.IObject
CIFilterProtocol
CIFourCoordinateGeometryFilter
// The 35mm equivalent focal length of the input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKeystoneCorrectionHorizontal/focalLength
FocalLength() float32
// The 35mm equivalent focal length of the input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKeystoneCorrectionHorizontal/focalLength
SetFocalLength(value float32)
}
The properties you use to configure a keystone correction horizontal filter.
See: https://developer.apple.com/documentation/CoreImage/CIKeystoneCorrectionHorizontal
type CIKeystoneCorrectionHorizontalObject ¶
type CIKeystoneCorrectionHorizontalObject struct {
objectivec.Object
}
CIKeystoneCorrectionHorizontalObject wraps an existing Objective-C object that conforms to the CIKeystoneCorrectionHorizontal protocol.
func CIKeystoneCorrectionHorizontalObjectFromID ¶
func CIKeystoneCorrectionHorizontalObjectFromID(id objc.ID) CIKeystoneCorrectionHorizontalObject
CIKeystoneCorrectionHorizontalObjectFromID constructs a CIKeystoneCorrectionHorizontalObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIKeystoneCorrectionHorizontalObject) BaseObject ¶
func (o CIKeystoneCorrectionHorizontalObject) BaseObject() objectivec.Object
func (CIKeystoneCorrectionHorizontalObject) BottomLeft ¶
func (o CIKeystoneCorrectionHorizontalObject) BottomLeft() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/bottomLeft
func (CIKeystoneCorrectionHorizontalObject) BottomRight ¶
func (o CIKeystoneCorrectionHorizontalObject) BottomRight() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/bottomRight
func (CIKeystoneCorrectionHorizontalObject) FocalLength ¶
func (o CIKeystoneCorrectionHorizontalObject) FocalLength() float32
The 35mm equivalent focal length of the input image.
See: https://developer.apple.com/documentation/CoreImage/CIKeystoneCorrectionHorizontal/focalLength
func (CIKeystoneCorrectionHorizontalObject) InputImage ¶
func (o CIKeystoneCorrectionHorizontalObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/inputImage
func (CIKeystoneCorrectionHorizontalObject) OutputImage ¶
func (o CIKeystoneCorrectionHorizontalObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIKeystoneCorrectionHorizontalObject) SetBottomLeft ¶
func (o CIKeystoneCorrectionHorizontalObject) SetBottomLeft(value corefoundation.CGPoint)
func (CIKeystoneCorrectionHorizontalObject) SetBottomRight ¶
func (o CIKeystoneCorrectionHorizontalObject) SetBottomRight(value corefoundation.CGPoint)
func (CIKeystoneCorrectionHorizontalObject) SetFocalLength ¶
func (o CIKeystoneCorrectionHorizontalObject) SetFocalLength(value float32)
func (CIKeystoneCorrectionHorizontalObject) SetInputImage ¶
func (o CIKeystoneCorrectionHorizontalObject) SetInputImage(value ICIImage)
func (CIKeystoneCorrectionHorizontalObject) SetTopLeft ¶
func (o CIKeystoneCorrectionHorizontalObject) SetTopLeft(value corefoundation.CGPoint)
func (CIKeystoneCorrectionHorizontalObject) SetTopRight ¶
func (o CIKeystoneCorrectionHorizontalObject) SetTopRight(value corefoundation.CGPoint)
func (CIKeystoneCorrectionHorizontalObject) TopLeft ¶
func (o CIKeystoneCorrectionHorizontalObject) TopLeft() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/topLeft
func (CIKeystoneCorrectionHorizontalObject) TopRight ¶
func (o CIKeystoneCorrectionHorizontalObject) TopRight() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/topRight
type CIKeystoneCorrectionVertical ¶
type CIKeystoneCorrectionVertical interface {
objectivec.IObject
CIFilterProtocol
CIFourCoordinateGeometryFilter
// The 35mm equivalent focal length of the input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKeystoneCorrectionVertical/focalLength
FocalLength() float32
// The 35mm equivalent focal length of the input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIKeystoneCorrectionVertical/focalLength
SetFocalLength(value float32)
}
The properties you use to configure a keystone correction vertical filter.
See: https://developer.apple.com/documentation/CoreImage/CIKeystoneCorrectionVertical
type CIKeystoneCorrectionVerticalObject ¶
type CIKeystoneCorrectionVerticalObject struct {
objectivec.Object
}
CIKeystoneCorrectionVerticalObject wraps an existing Objective-C object that conforms to the CIKeystoneCorrectionVertical protocol.
func CIKeystoneCorrectionVerticalObjectFromID ¶
func CIKeystoneCorrectionVerticalObjectFromID(id objc.ID) CIKeystoneCorrectionVerticalObject
CIKeystoneCorrectionVerticalObjectFromID constructs a CIKeystoneCorrectionVerticalObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIKeystoneCorrectionVerticalObject) BaseObject ¶
func (o CIKeystoneCorrectionVerticalObject) BaseObject() objectivec.Object
func (CIKeystoneCorrectionVerticalObject) BottomLeft ¶
func (o CIKeystoneCorrectionVerticalObject) BottomLeft() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/bottomLeft
func (CIKeystoneCorrectionVerticalObject) BottomRight ¶
func (o CIKeystoneCorrectionVerticalObject) BottomRight() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/bottomRight
func (CIKeystoneCorrectionVerticalObject) FocalLength ¶
func (o CIKeystoneCorrectionVerticalObject) FocalLength() float32
The 35mm equivalent focal length of the input image.
See: https://developer.apple.com/documentation/CoreImage/CIKeystoneCorrectionVertical/focalLength
func (CIKeystoneCorrectionVerticalObject) InputImage ¶
func (o CIKeystoneCorrectionVerticalObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/inputImage
func (CIKeystoneCorrectionVerticalObject) OutputImage ¶
func (o CIKeystoneCorrectionVerticalObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIKeystoneCorrectionVerticalObject) SetBottomLeft ¶
func (o CIKeystoneCorrectionVerticalObject) SetBottomLeft(value corefoundation.CGPoint)
func (CIKeystoneCorrectionVerticalObject) SetBottomRight ¶
func (o CIKeystoneCorrectionVerticalObject) SetBottomRight(value corefoundation.CGPoint)
func (CIKeystoneCorrectionVerticalObject) SetFocalLength ¶
func (o CIKeystoneCorrectionVerticalObject) SetFocalLength(value float32)
func (CIKeystoneCorrectionVerticalObject) SetInputImage ¶
func (o CIKeystoneCorrectionVerticalObject) SetInputImage(value ICIImage)
func (CIKeystoneCorrectionVerticalObject) SetTopLeft ¶
func (o CIKeystoneCorrectionVerticalObject) SetTopLeft(value corefoundation.CGPoint)
func (CIKeystoneCorrectionVerticalObject) SetTopRight ¶
func (o CIKeystoneCorrectionVerticalObject) SetTopRight(value corefoundation.CGPoint)
func (CIKeystoneCorrectionVerticalObject) TopLeft ¶
func (o CIKeystoneCorrectionVerticalObject) TopLeft() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/topLeft
func (CIKeystoneCorrectionVerticalObject) TopRight ¶
func (o CIKeystoneCorrectionVerticalObject) TopRight() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/topRight
type CILabDeltaE ¶
type CILabDeltaE interface {
objectivec.IObject
CIFilterProtocol
// The second input image for comparison.
//
// See: https://developer.apple.com/documentation/CoreImage/CILabDeltaE/image2
Image2() ICIImage
// The first input image for comparison.
//
// See: https://developer.apple.com/documentation/CoreImage/CILabDeltaE/inputImage
InputImage() ICIImage
// The second input image for comparison.
//
// See: https://developer.apple.com/documentation/CoreImage/CILabDeltaE/image2
SetImage2(value ICIImage)
// The first input image for comparison.
//
// See: https://developer.apple.com/documentation/CoreImage/CILabDeltaE/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a Lab Delta E filter.
See: https://developer.apple.com/documentation/CoreImage/CILabDeltaE
type CILabDeltaEObject ¶
type CILabDeltaEObject struct {
objectivec.Object
}
CILabDeltaEObject wraps an existing Objective-C object that conforms to the CILabDeltaE protocol.
func CILabDeltaEObjectFromID ¶
func CILabDeltaEObjectFromID(id objc.ID) CILabDeltaEObject
CILabDeltaEObjectFromID constructs a CILabDeltaEObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CILabDeltaEObject) BaseObject ¶
func (o CILabDeltaEObject) BaseObject() objectivec.Object
func (CILabDeltaEObject) Image2 ¶
func (o CILabDeltaEObject) Image2() ICIImage
The second input image for comparison.
See: https://developer.apple.com/documentation/CoreImage/CILabDeltaE/image2
func (CILabDeltaEObject) InputImage ¶
func (o CILabDeltaEObject) InputImage() ICIImage
The first input image for comparison.
See: https://developer.apple.com/documentation/CoreImage/CILabDeltaE/inputImage
func (CILabDeltaEObject) OutputImage ¶
func (o CILabDeltaEObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CILabDeltaEObject) SetImage2 ¶
func (o CILabDeltaEObject) SetImage2(value ICIImage)
func (CILabDeltaEObject) SetInputImage ¶
func (o CILabDeltaEObject) SetInputImage(value ICIImage)
type CILanczosScaleTransform ¶
type CILanczosScaleTransform interface {
objectivec.IObject
CIFilterProtocol
// The additional horizontal scaling factor to use on the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILanczosScaleTransform/aspectRatio
AspectRatio() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILanczosScaleTransform/inputImage
InputImage() ICIImage
// The scaling factor to use on the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILanczosScaleTransform/scale
Scale() float32
// The additional horizontal scaling factor to use on the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILanczosScaleTransform/aspectRatio
SetAspectRatio(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILanczosScaleTransform/inputImage
SetInputImage(value ICIImage)
// The scaling factor to use on the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILanczosScaleTransform/scale
SetScale(value float32)
}
The properties you use to configure a Lanczos scale transform filter.
See: https://developer.apple.com/documentation/CoreImage/CILanczosScaleTransform
type CILanczosScaleTransformObject ¶
type CILanczosScaleTransformObject struct {
objectivec.Object
}
CILanczosScaleTransformObject wraps an existing Objective-C object that conforms to the CILanczosScaleTransform protocol.
func CILanczosScaleTransformObjectFromID ¶
func CILanczosScaleTransformObjectFromID(id objc.ID) CILanczosScaleTransformObject
CILanczosScaleTransformObjectFromID constructs a CILanczosScaleTransformObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CILanczosScaleTransformObject) AspectRatio ¶
func (o CILanczosScaleTransformObject) AspectRatio() float32
The additional horizontal scaling factor to use on the image.
See: https://developer.apple.com/documentation/CoreImage/CILanczosScaleTransform/aspectRatio
func (CILanczosScaleTransformObject) BaseObject ¶
func (o CILanczosScaleTransformObject) BaseObject() objectivec.Object
func (CILanczosScaleTransformObject) InputImage ¶
func (o CILanczosScaleTransformObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CILanczosScaleTransform/inputImage
func (CILanczosScaleTransformObject) OutputImage ¶
func (o CILanczosScaleTransformObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CILanczosScaleTransformObject) Scale ¶
func (o CILanczosScaleTransformObject) Scale() float32
The scaling factor to use on the image.
See: https://developer.apple.com/documentation/CoreImage/CILanczosScaleTransform/scale
func (CILanczosScaleTransformObject) SetAspectRatio ¶
func (o CILanczosScaleTransformObject) SetAspectRatio(value float32)
func (CILanczosScaleTransformObject) SetInputImage ¶
func (o CILanczosScaleTransformObject) SetInputImage(value ICIImage)
func (CILanczosScaleTransformObject) SetScale ¶
func (o CILanczosScaleTransformObject) SetScale(value float32)
type CILenticularHaloGenerator ¶
type CILenticularHaloGenerator interface {
objectivec.IObject
CIFilterProtocol
// The x and y position to use as the center of the halo.
//
// See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/center
Center() corefoundation.CGPoint
// The color of the halo.
//
// See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/color
Color() ICIColor
// The separation of colors in the halo.
//
// See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/haloOverlap
HaloOverlap() float32
// The radius of the halo.
//
// See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/haloRadius
HaloRadius() float32
// The width of the halo, from its inner radius to its outer radius.
//
// See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/haloWidth
HaloWidth() float32
// The contrast of the halo colors.
//
// See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/striationContrast
StriationContrast() float32
// The intensity of the halo colors.
//
// See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/striationStrength
StriationStrength() float32
// The current time of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/time
Time() float32
// The x and y position to use as the center of the halo.
//
// See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/center
SetCenter(value corefoundation.CGPoint)
// The color of the halo.
//
// See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/color
SetColor(value ICIColor)
// The separation of colors in the halo.
//
// See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/haloOverlap
SetHaloOverlap(value float32)
// The radius of the halo.
//
// See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/haloRadius
SetHaloRadius(value float32)
// The width of the halo, from its inner radius to its outer radius.
//
// See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/haloWidth
SetHaloWidth(value float32)
// The contrast of the halo colors.
//
// See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/striationContrast
SetStriationContrast(value float32)
// The intensity of the halo colors.
//
// See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/striationStrength
SetStriationStrength(value float32)
// The current time of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/time
SetTime(value float32)
}
The properties you use to configure a lenticular halo generator filter.
See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator
type CILenticularHaloGeneratorObject ¶
type CILenticularHaloGeneratorObject struct {
objectivec.Object
}
CILenticularHaloGeneratorObject wraps an existing Objective-C object that conforms to the CILenticularHaloGenerator protocol.
func CILenticularHaloGeneratorObjectFromID ¶
func CILenticularHaloGeneratorObjectFromID(id objc.ID) CILenticularHaloGeneratorObject
CILenticularHaloGeneratorObjectFromID constructs a CILenticularHaloGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CILenticularHaloGeneratorObject) BaseObject ¶
func (o CILenticularHaloGeneratorObject) BaseObject() objectivec.Object
func (CILenticularHaloGeneratorObject) Center ¶
func (o CILenticularHaloGeneratorObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the halo.
See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/center
func (CILenticularHaloGeneratorObject) Color ¶
func (o CILenticularHaloGeneratorObject) Color() ICIColor
The color of the halo.
See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/color
func (CILenticularHaloGeneratorObject) HaloOverlap ¶
func (o CILenticularHaloGeneratorObject) HaloOverlap() float32
The separation of colors in the halo.
See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/haloOverlap
func (CILenticularHaloGeneratorObject) HaloRadius ¶
func (o CILenticularHaloGeneratorObject) HaloRadius() float32
The radius of the halo.
See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/haloRadius
func (CILenticularHaloGeneratorObject) HaloWidth ¶
func (o CILenticularHaloGeneratorObject) HaloWidth() float32
The width of the halo, from its inner radius to its outer radius.
See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/haloWidth
func (CILenticularHaloGeneratorObject) OutputImage ¶
func (o CILenticularHaloGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CILenticularHaloGeneratorObject) SetCenter ¶
func (o CILenticularHaloGeneratorObject) SetCenter(value corefoundation.CGPoint)
func (CILenticularHaloGeneratorObject) SetColor ¶
func (o CILenticularHaloGeneratorObject) SetColor(value ICIColor)
func (CILenticularHaloGeneratorObject) SetHaloOverlap ¶
func (o CILenticularHaloGeneratorObject) SetHaloOverlap(value float32)
func (CILenticularHaloGeneratorObject) SetHaloRadius ¶
func (o CILenticularHaloGeneratorObject) SetHaloRadius(value float32)
func (CILenticularHaloGeneratorObject) SetHaloWidth ¶
func (o CILenticularHaloGeneratorObject) SetHaloWidth(value float32)
func (CILenticularHaloGeneratorObject) SetStriationContrast ¶
func (o CILenticularHaloGeneratorObject) SetStriationContrast(value float32)
func (CILenticularHaloGeneratorObject) SetStriationStrength ¶
func (o CILenticularHaloGeneratorObject) SetStriationStrength(value float32)
func (CILenticularHaloGeneratorObject) SetTime ¶
func (o CILenticularHaloGeneratorObject) SetTime(value float32)
func (CILenticularHaloGeneratorObject) StriationContrast ¶
func (o CILenticularHaloGeneratorObject) StriationContrast() float32
The contrast of the halo colors.
See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/striationContrast
func (CILenticularHaloGeneratorObject) StriationStrength ¶
func (o CILenticularHaloGeneratorObject) StriationStrength() float32
The intensity of the halo colors.
See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/striationStrength
func (CILenticularHaloGeneratorObject) Time ¶
func (o CILenticularHaloGeneratorObject) Time() float32
The current time of the effect.
See: https://developer.apple.com/documentation/CoreImage/CILenticularHaloGenerator/time
type CILightTunnel ¶
type CILightTunnel interface {
objectivec.IObject
CIFilterProtocol
// Center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CILightTunnel/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILightTunnel/inputImage
InputImage() ICIImage
// Radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CILightTunnel/radius
Radius() float32
// Rotation protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CILightTunnel/rotation
Rotation() float32
// center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CILightTunnel/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILightTunnel/inputImage
SetInputImage(value ICIImage)
// radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CILightTunnel/radius
SetRadius(value float32)
// rotation protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CILightTunnel/rotation
SetRotation(value float32)
}
CILightTunnel protocol.
See: https://developer.apple.com/documentation/CoreImage/CILightTunnel
type CILightTunnelObject ¶
type CILightTunnelObject struct {
objectivec.Object
}
CILightTunnelObject wraps an existing Objective-C object that conforms to the CILightTunnel protocol.
func CILightTunnelObjectFromID ¶
func CILightTunnelObjectFromID(id objc.ID) CILightTunnelObject
CILightTunnelObjectFromID constructs a CILightTunnelObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CILightTunnelObject) BaseObject ¶
func (o CILightTunnelObject) BaseObject() objectivec.Object
func (CILightTunnelObject) Center ¶
func (o CILightTunnelObject) Center() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CILightTunnel/center
func (CILightTunnelObject) InputImage ¶
func (o CILightTunnelObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CILightTunnel/inputImage
func (CILightTunnelObject) OutputImage ¶
func (o CILightTunnelObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CILightTunnelObject) Radius ¶
func (o CILightTunnelObject) Radius() float32
See: https://developer.apple.com/documentation/CoreImage/CILightTunnel/radius
func (CILightTunnelObject) Rotation ¶
func (o CILightTunnelObject) Rotation() float32
See: https://developer.apple.com/documentation/CoreImage/CILightTunnel/rotation
func (CILightTunnelObject) SetCenter ¶
func (o CILightTunnelObject) SetCenter(value corefoundation.CGPoint)
func (CILightTunnelObject) SetInputImage ¶
func (o CILightTunnelObject) SetInputImage(value ICIImage)
func (CILightTunnelObject) SetRadius ¶
func (o CILightTunnelObject) SetRadius(value float32)
func (CILightTunnelObject) SetRotation ¶
func (o CILightTunnelObject) SetRotation(value float32)
type CILineOverlay ¶
type CILineOverlay interface {
objectivec.IObject
CIFilterProtocol
// The noise level of the image, used with camera data, that’s removed before tracing the edges of the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineOverlay/nrNoiseLevel
NRNoiseLevel() float32
// The amount of sharpening done when removing noise in the image before tracing the edges of the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineOverlay/nrSharpness
NRSharpness() float32
// The amount of antialiasing to use on the edges produced by this filter.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineOverlay/contrast
Contrast() float32
// The accentuation factor of the Sobel gradient information when tracing the edges of the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineOverlay/edgeIntensity
EdgeIntensity() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineOverlay/inputImage
InputImage() ICIImage
// A value that determines edge visibility.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineOverlay/threshold
Threshold() float32
// The noise level of the image, used with camera data, that’s removed before tracing the edges of the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineOverlay/nrNoiseLevel
SetNRNoiseLevel(value float32)
// The amount of sharpening done when removing noise in the image before tracing the edges of the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineOverlay/nrSharpness
SetNRSharpness(value float32)
// The amount of antialiasing to use on the edges produced by this filter.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineOverlay/contrast
SetContrast(value float32)
// The accentuation factor of the Sobel gradient information when tracing the edges of the image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineOverlay/edgeIntensity
SetEdgeIntensity(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineOverlay/inputImage
SetInputImage(value ICIImage)
// A value that determines edge visibility.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineOverlay/threshold
SetThreshold(value float32)
}
The properties you use to configure a line overlay filter.
See: https://developer.apple.com/documentation/CoreImage/CILineOverlay
type CILineOverlayObject ¶
type CILineOverlayObject struct {
objectivec.Object
}
CILineOverlayObject wraps an existing Objective-C object that conforms to the CILineOverlay protocol.
func CILineOverlayObjectFromID ¶
func CILineOverlayObjectFromID(id objc.ID) CILineOverlayObject
CILineOverlayObjectFromID constructs a CILineOverlayObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CILineOverlayObject) BaseObject ¶
func (o CILineOverlayObject) BaseObject() objectivec.Object
func (CILineOverlayObject) Contrast ¶
func (o CILineOverlayObject) Contrast() float32
The amount of antialiasing to use on the edges produced by this filter.
See: https://developer.apple.com/documentation/CoreImage/CILineOverlay/contrast
func (CILineOverlayObject) EdgeIntensity ¶
func (o CILineOverlayObject) EdgeIntensity() float32
The accentuation factor of the Sobel gradient information when tracing the edges of the image.
See: https://developer.apple.com/documentation/CoreImage/CILineOverlay/edgeIntensity
func (CILineOverlayObject) InputImage ¶
func (o CILineOverlayObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CILineOverlay/inputImage
func (CILineOverlayObject) NRNoiseLevel ¶
func (o CILineOverlayObject) NRNoiseLevel() float32
The noise level of the image, used with camera data, that’s removed before tracing the edges of the image.
See: https://developer.apple.com/documentation/CoreImage/CILineOverlay/nrNoiseLevel
func (CILineOverlayObject) NRSharpness ¶
func (o CILineOverlayObject) NRSharpness() float32
The amount of sharpening done when removing noise in the image before tracing the edges of the image.
See: https://developer.apple.com/documentation/CoreImage/CILineOverlay/nrSharpness
func (CILineOverlayObject) OutputImage ¶
func (o CILineOverlayObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CILineOverlayObject) SetContrast ¶
func (o CILineOverlayObject) SetContrast(value float32)
func (CILineOverlayObject) SetEdgeIntensity ¶
func (o CILineOverlayObject) SetEdgeIntensity(value float32)
func (CILineOverlayObject) SetInputImage ¶
func (o CILineOverlayObject) SetInputImage(value ICIImage)
func (CILineOverlayObject) SetNRNoiseLevel ¶
func (o CILineOverlayObject) SetNRNoiseLevel(value float32)
func (CILineOverlayObject) SetNRSharpness ¶
func (o CILineOverlayObject) SetNRSharpness(value float32)
func (CILineOverlayObject) SetThreshold ¶
func (o CILineOverlayObject) SetThreshold(value float32)
func (CILineOverlayObject) Threshold ¶
func (o CILineOverlayObject) Threshold() float32
A value that determines edge visibility.
See: https://developer.apple.com/documentation/CoreImage/CILineOverlay/threshold
type CILineScreen ¶
type CILineScreen interface {
objectivec.IObject
CIFilterProtocol
// The angle of the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineScreen/angle
Angle() float32
// The x and y position to use as the center of the line screen pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineScreen/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineScreen/inputImage
InputImage() ICIImage
// The sharpness of the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineScreen/sharpness
Sharpness() float32
// The distance between lines in the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineScreen/width
Width() float32
// The angle of the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineScreen/angle
SetAngle(value float32)
// The x and y position to use as the center of the line screen pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineScreen/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineScreen/inputImage
SetInputImage(value ICIImage)
// The sharpness of the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineScreen/sharpness
SetSharpness(value float32)
// The distance between lines in the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CILineScreen/width
SetWidth(value float32)
}
The properties you use to configure a line screen filter.
See: https://developer.apple.com/documentation/CoreImage/CILineScreen
type CILineScreenObject ¶
type CILineScreenObject struct {
objectivec.Object
}
CILineScreenObject wraps an existing Objective-C object that conforms to the CILineScreen protocol.
func CILineScreenObjectFromID ¶
func CILineScreenObjectFromID(id objc.ID) CILineScreenObject
CILineScreenObjectFromID constructs a CILineScreenObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CILineScreenObject) Angle ¶
func (o CILineScreenObject) Angle() float32
The angle of the pattern.
See: https://developer.apple.com/documentation/CoreImage/CILineScreen/angle
func (CILineScreenObject) BaseObject ¶
func (o CILineScreenObject) BaseObject() objectivec.Object
func (CILineScreenObject) Center ¶
func (o CILineScreenObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the line screen pattern.
See: https://developer.apple.com/documentation/CoreImage/CILineScreen/center
func (CILineScreenObject) InputImage ¶
func (o CILineScreenObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CILineScreen/inputImage
func (CILineScreenObject) OutputImage ¶
func (o CILineScreenObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CILineScreenObject) SetAngle ¶
func (o CILineScreenObject) SetAngle(value float32)
func (CILineScreenObject) SetCenter ¶
func (o CILineScreenObject) SetCenter(value corefoundation.CGPoint)
func (CILineScreenObject) SetInputImage ¶
func (o CILineScreenObject) SetInputImage(value ICIImage)
func (CILineScreenObject) SetSharpness ¶
func (o CILineScreenObject) SetSharpness(value float32)
func (CILineScreenObject) SetWidth ¶
func (o CILineScreenObject) SetWidth(value float32)
func (CILineScreenObject) Sharpness ¶
func (o CILineScreenObject) Sharpness() float32
The sharpness of the pattern.
See: https://developer.apple.com/documentation/CoreImage/CILineScreen/sharpness
func (CILineScreenObject) Width ¶
func (o CILineScreenObject) Width() float32
The distance between lines in the pattern.
See: https://developer.apple.com/documentation/CoreImage/CILineScreen/width
type CILinearGradient ¶
type CILinearGradient interface {
objectivec.IObject
CIFilterProtocol
// The first color to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CILinearGradient/color0
Color0() ICIColor
// The second color to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CILinearGradient/color1
Color1() ICIColor
// The starting position of the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CILinearGradient/point0
Point0() corefoundation.CGPoint
// The ending position of the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CILinearGradient/point1
Point1() corefoundation.CGPoint
// The first color to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CILinearGradient/color0
SetColor0(value ICIColor)
// The second color to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CILinearGradient/color1
SetColor1(value ICIColor)
// The starting position of the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CILinearGradient/point0
SetPoint0(value corefoundation.CGPoint)
// The ending position of the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CILinearGradient/point1
SetPoint1(value corefoundation.CGPoint)
}
The properties you use to configure a linear gradient filter.
See: https://developer.apple.com/documentation/CoreImage/CILinearGradient
type CILinearGradientObject ¶
type CILinearGradientObject struct {
objectivec.Object
}
CILinearGradientObject wraps an existing Objective-C object that conforms to the CILinearGradient protocol.
func CILinearGradientObjectFromID ¶
func CILinearGradientObjectFromID(id objc.ID) CILinearGradientObject
CILinearGradientObjectFromID constructs a CILinearGradientObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CILinearGradientObject) BaseObject ¶
func (o CILinearGradientObject) BaseObject() objectivec.Object
func (CILinearGradientObject) Color0 ¶
func (o CILinearGradientObject) Color0() ICIColor
The first color to use in the gradient.
See: https://developer.apple.com/documentation/CoreImage/CILinearGradient/color0
func (CILinearGradientObject) Color1 ¶
func (o CILinearGradientObject) Color1() ICIColor
The second color to use in the gradient.
See: https://developer.apple.com/documentation/CoreImage/CILinearGradient/color1
func (CILinearGradientObject) OutputImage ¶
func (o CILinearGradientObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CILinearGradientObject) Point0 ¶
func (o CILinearGradientObject) Point0() corefoundation.CGPoint
The starting position of the gradient.
See: https://developer.apple.com/documentation/CoreImage/CILinearGradient/point0
func (CILinearGradientObject) Point1 ¶
func (o CILinearGradientObject) Point1() corefoundation.CGPoint
The ending position of the gradient.
See: https://developer.apple.com/documentation/CoreImage/CILinearGradient/point1
func (CILinearGradientObject) SetColor0 ¶
func (o CILinearGradientObject) SetColor0(value ICIColor)
func (CILinearGradientObject) SetColor1 ¶
func (o CILinearGradientObject) SetColor1(value ICIColor)
func (CILinearGradientObject) SetPoint0 ¶
func (o CILinearGradientObject) SetPoint0(value corefoundation.CGPoint)
func (CILinearGradientObject) SetPoint1 ¶
func (o CILinearGradientObject) SetPoint1(value corefoundation.CGPoint)
type CILinearToSRGBToneCurve ¶
type CILinearToSRGBToneCurve interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILinearToSRGBToneCurve/inputImage
InputImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CILinearToSRGBToneCurve/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a linear-to-sRGB filter.
See: https://developer.apple.com/documentation/CoreImage/CILinearToSRGBToneCurve
type CILinearToSRGBToneCurveObject ¶
type CILinearToSRGBToneCurveObject struct {
objectivec.Object
}
CILinearToSRGBToneCurveObject wraps an existing Objective-C object that conforms to the CILinearToSRGBToneCurve protocol.
func CILinearToSRGBToneCurveObjectFromID ¶
func CILinearToSRGBToneCurveObjectFromID(id objc.ID) CILinearToSRGBToneCurveObject
CILinearToSRGBToneCurveObjectFromID constructs a CILinearToSRGBToneCurveObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CILinearToSRGBToneCurveObject) BaseObject ¶
func (o CILinearToSRGBToneCurveObject) BaseObject() objectivec.Object
func (CILinearToSRGBToneCurveObject) InputImage ¶
func (o CILinearToSRGBToneCurveObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CILinearToSRGBToneCurve/inputImage
func (CILinearToSRGBToneCurveObject) OutputImage ¶
func (o CILinearToSRGBToneCurveObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CILinearToSRGBToneCurveObject) SetInputImage ¶
func (o CILinearToSRGBToneCurveObject) SetInputImage(value ICIImage)
type CIMaskToAlpha ¶
type CIMaskToAlpha interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMaskToAlpha/inputImage
InputImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMaskToAlpha/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a mask-to-alpha filter.
See: https://developer.apple.com/documentation/CoreImage/CIMaskToAlpha
type CIMaskToAlphaObject ¶
type CIMaskToAlphaObject struct {
objectivec.Object
}
CIMaskToAlphaObject wraps an existing Objective-C object that conforms to the CIMaskToAlpha protocol.
func CIMaskToAlphaObjectFromID ¶
func CIMaskToAlphaObjectFromID(id objc.ID) CIMaskToAlphaObject
CIMaskToAlphaObjectFromID constructs a CIMaskToAlphaObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIMaskToAlphaObject) BaseObject ¶
func (o CIMaskToAlphaObject) BaseObject() objectivec.Object
func (CIMaskToAlphaObject) InputImage ¶
func (o CIMaskToAlphaObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIMaskToAlpha/inputImage
func (CIMaskToAlphaObject) OutputImage ¶
func (o CIMaskToAlphaObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIMaskToAlphaObject) SetInputImage ¶
func (o CIMaskToAlphaObject) SetInputImage(value ICIImage)
type CIMaskedVariableBlur ¶
type CIMaskedVariableBlur interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMaskedVariableBlur/inputImage
InputImage() ICIImage
// A grayscale mask that defines the blur amount.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMaskedVariableBlur/mask
Mask() ICIImage
// The distance from the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMaskedVariableBlur/radius
Radius() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMaskedVariableBlur/inputImage
SetInputImage(value ICIImage)
// A grayscale mask that defines the blur amount.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMaskedVariableBlur/mask
SetMask(value ICIImage)
// The distance from the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMaskedVariableBlur/radius
SetRadius(value float32)
}
The properties you use to configure a masked variable blur filter.
See: https://developer.apple.com/documentation/CoreImage/CIMaskedVariableBlur
type CIMaskedVariableBlurObject ¶
type CIMaskedVariableBlurObject struct {
objectivec.Object
}
CIMaskedVariableBlurObject wraps an existing Objective-C object that conforms to the CIMaskedVariableBlur protocol.
func CIMaskedVariableBlurObjectFromID ¶
func CIMaskedVariableBlurObjectFromID(id objc.ID) CIMaskedVariableBlurObject
CIMaskedVariableBlurObjectFromID constructs a CIMaskedVariableBlurObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIMaskedVariableBlurObject) BaseObject ¶
func (o CIMaskedVariableBlurObject) BaseObject() objectivec.Object
func (CIMaskedVariableBlurObject) InputImage ¶
func (o CIMaskedVariableBlurObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIMaskedVariableBlur/inputImage
func (CIMaskedVariableBlurObject) Mask ¶
func (o CIMaskedVariableBlurObject) Mask() ICIImage
A grayscale mask that defines the blur amount.
See: https://developer.apple.com/documentation/CoreImage/CIMaskedVariableBlur/mask
func (CIMaskedVariableBlurObject) OutputImage ¶
func (o CIMaskedVariableBlurObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIMaskedVariableBlurObject) Radius ¶
func (o CIMaskedVariableBlurObject) Radius() float32
The distance from the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIMaskedVariableBlur/radius
func (CIMaskedVariableBlurObject) SetInputImage ¶
func (o CIMaskedVariableBlurObject) SetInputImage(value ICIImage)
func (CIMaskedVariableBlurObject) SetMask ¶
func (o CIMaskedVariableBlurObject) SetMask(value ICIImage)
func (CIMaskedVariableBlurObject) SetRadius ¶
func (o CIMaskedVariableBlurObject) SetRadius(value float32)
type CIMaximumComponent ¶
type CIMaximumComponent interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMaximumComponent/inputImage
InputImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMaximumComponent/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a maximum component filter.
See: https://developer.apple.com/documentation/CoreImage/CIMaximumComponent
type CIMaximumComponentObject ¶
type CIMaximumComponentObject struct {
objectivec.Object
}
CIMaximumComponentObject wraps an existing Objective-C object that conforms to the CIMaximumComponent protocol.
func CIMaximumComponentObjectFromID ¶
func CIMaximumComponentObjectFromID(id objc.ID) CIMaximumComponentObject
CIMaximumComponentObjectFromID constructs a CIMaximumComponentObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIMaximumComponentObject) BaseObject ¶
func (o CIMaximumComponentObject) BaseObject() objectivec.Object
func (CIMaximumComponentObject) InputImage ¶
func (o CIMaximumComponentObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIMaximumComponent/inputImage
func (CIMaximumComponentObject) OutputImage ¶
func (o CIMaximumComponentObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIMaximumComponentObject) SetInputImage ¶
func (o CIMaximumComponentObject) SetInputImage(value ICIImage)
type CIMaximumScaleTransform ¶
type CIMaximumScaleTransform interface {
objectivec.IObject
CIFilterProtocol
// AspectRatio protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMaximumScaleTransform/aspectRatio
AspectRatio() float32
// InputImage protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMaximumScaleTransform/inputImage
InputImage() ICIImage
// Scale protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMaximumScaleTransform/scale
Scale() float32
// aspectRatio protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMaximumScaleTransform/aspectRatio
SetAspectRatio(value float32)
// inputImage protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMaximumScaleTransform/inputImage
SetInputImage(value ICIImage)
// scale protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMaximumScaleTransform/scale
SetScale(value float32)
}
CIMaximumScaleTransform protocol.
See: https://developer.apple.com/documentation/CoreImage/CIMaximumScaleTransform
type CIMaximumScaleTransformObject ¶
type CIMaximumScaleTransformObject struct {
objectivec.Object
}
CIMaximumScaleTransformObject wraps an existing Objective-C object that conforms to the CIMaximumScaleTransform protocol.
func CIMaximumScaleTransformObjectFromID ¶
func CIMaximumScaleTransformObjectFromID(id objc.ID) CIMaximumScaleTransformObject
CIMaximumScaleTransformObjectFromID constructs a CIMaximumScaleTransformObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIMaximumScaleTransformObject) AspectRatio ¶
func (o CIMaximumScaleTransformObject) AspectRatio() float32
See: https://developer.apple.com/documentation/CoreImage/CIMaximumScaleTransform/aspectRatio
func (CIMaximumScaleTransformObject) BaseObject ¶
func (o CIMaximumScaleTransformObject) BaseObject() objectivec.Object
func (CIMaximumScaleTransformObject) InputImage ¶
func (o CIMaximumScaleTransformObject) InputImage() ICIImage
See: https://developer.apple.com/documentation/CoreImage/CIMaximumScaleTransform/inputImage
func (CIMaximumScaleTransformObject) OutputImage ¶
func (o CIMaximumScaleTransformObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIMaximumScaleTransformObject) Scale ¶
func (o CIMaximumScaleTransformObject) Scale() float32
See: https://developer.apple.com/documentation/CoreImage/CIMaximumScaleTransform/scale
func (CIMaximumScaleTransformObject) SetAspectRatio ¶
func (o CIMaximumScaleTransformObject) SetAspectRatio(value float32)
func (CIMaximumScaleTransformObject) SetInputImage ¶
func (o CIMaximumScaleTransformObject) SetInputImage(value ICIImage)
func (CIMaximumScaleTransformObject) SetScale ¶
func (o CIMaximumScaleTransformObject) SetScale(value float32)
type CIMedian ¶
type CIMedian interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMedian/inputImage
InputImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMedian/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a median filter.
See: https://developer.apple.com/documentation/CoreImage/CIMedian
type CIMedianObject ¶
type CIMedianObject struct {
objectivec.Object
}
CIMedianObject wraps an existing Objective-C object that conforms to the CIMedian protocol.
func CIMedianObjectFromID ¶
func CIMedianObjectFromID(id objc.ID) CIMedianObject
CIMedianObjectFromID constructs a CIMedianObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIMedianObject) BaseObject ¶
func (o CIMedianObject) BaseObject() objectivec.Object
func (CIMedianObject) InputImage ¶
func (o CIMedianObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIMedian/inputImage
func (CIMedianObject) OutputImage ¶
func (o CIMedianObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIMedianObject) SetInputImage ¶
func (o CIMedianObject) SetInputImage(value ICIImage)
type CIMeshGenerator ¶
type CIMeshGenerator interface {
objectivec.IObject
CIFilterProtocol
// The color of the rendered mesh.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMeshGenerator/color
Color() ICIColor
// An array that describes the mesh to render.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMeshGenerator/mesh
Mesh() foundation.INSArray
// The width of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMeshGenerator/width
Width() float32
// The color of the rendered mesh.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMeshGenerator/color
SetColor(value ICIColor)
// An array that describes the mesh to render.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMeshGenerator/mesh
SetMesh(value foundation.INSArray)
// The width of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMeshGenerator/width
SetWidth(value float32)
}
The properties you use to configure a mesh generator filter.
See: https://developer.apple.com/documentation/CoreImage/CIMeshGenerator
type CIMeshGeneratorObject ¶
type CIMeshGeneratorObject struct {
objectivec.Object
}
CIMeshGeneratorObject wraps an existing Objective-C object that conforms to the CIMeshGenerator protocol.
func CIMeshGeneratorObjectFromID ¶
func CIMeshGeneratorObjectFromID(id objc.ID) CIMeshGeneratorObject
CIMeshGeneratorObjectFromID constructs a CIMeshGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIMeshGeneratorObject) BaseObject ¶
func (o CIMeshGeneratorObject) BaseObject() objectivec.Object
func (CIMeshGeneratorObject) Color ¶
func (o CIMeshGeneratorObject) Color() ICIColor
The color of the rendered mesh.
See: https://developer.apple.com/documentation/CoreImage/CIMeshGenerator/color
func (CIMeshGeneratorObject) Mesh ¶
func (o CIMeshGeneratorObject) Mesh() foundation.INSArray
An array that describes the mesh to render.
See: https://developer.apple.com/documentation/CoreImage/CIMeshGenerator/mesh
func (CIMeshGeneratorObject) OutputImage ¶
func (o CIMeshGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIMeshGeneratorObject) SetColor ¶
func (o CIMeshGeneratorObject) SetColor(value ICIColor)
func (CIMeshGeneratorObject) SetMesh ¶
func (o CIMeshGeneratorObject) SetMesh(value foundation.INSArray)
func (CIMeshGeneratorObject) SetWidth ¶
func (o CIMeshGeneratorObject) SetWidth(value float32)
func (CIMeshGeneratorObject) Width ¶
func (o CIMeshGeneratorObject) Width() float32
The width of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIMeshGenerator/width
type CIMinimumComponent ¶
type CIMinimumComponent interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMinimumComponent/inputImage
InputImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMinimumComponent/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a minimum component filter.
See: https://developer.apple.com/documentation/CoreImage/CIMinimumComponent
type CIMinimumComponentObject ¶
type CIMinimumComponentObject struct {
objectivec.Object
}
CIMinimumComponentObject wraps an existing Objective-C object that conforms to the CIMinimumComponent protocol.
func CIMinimumComponentObjectFromID ¶
func CIMinimumComponentObjectFromID(id objc.ID) CIMinimumComponentObject
CIMinimumComponentObjectFromID constructs a CIMinimumComponentObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIMinimumComponentObject) BaseObject ¶
func (o CIMinimumComponentObject) BaseObject() objectivec.Object
func (CIMinimumComponentObject) InputImage ¶
func (o CIMinimumComponentObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIMinimumComponent/inputImage
func (CIMinimumComponentObject) OutputImage ¶
func (o CIMinimumComponentObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIMinimumComponentObject) SetInputImage ¶
func (o CIMinimumComponentObject) SetInputImage(value ICIImage)
type CIMix ¶
type CIMix interface {
objectivec.IObject
CIFilterProtocol
// The amount of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMix/amount
Amount() float32
// The image to use as a background image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMix/backgroundImage
BackgroundImage() ICIImage
// The image to use as a foreground image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMix/inputImage
InputImage() ICIImage
// The amount of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMix/amount
SetAmount(value float32)
// The image to use as a background image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMix/backgroundImage
SetBackgroundImage(value ICIImage)
// The image to use as a foreground image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMix/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a mix filter.
See: https://developer.apple.com/documentation/CoreImage/CIMix
type CIMixObject ¶
type CIMixObject struct {
objectivec.Object
}
CIMixObject wraps an existing Objective-C object that conforms to the CIMix protocol.
func CIMixObjectFromID ¶
func CIMixObjectFromID(id objc.ID) CIMixObject
CIMixObjectFromID constructs a CIMixObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIMixObject) Amount ¶
func (o CIMixObject) Amount() float32
The amount of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIMix/amount
func (CIMixObject) BackgroundImage ¶
func (o CIMixObject) BackgroundImage() ICIImage
The image to use as a background image.
See: https://developer.apple.com/documentation/CoreImage/CIMix/backgroundImage
func (CIMixObject) BaseObject ¶
func (o CIMixObject) BaseObject() objectivec.Object
func (CIMixObject) InputImage ¶
func (o CIMixObject) InputImage() ICIImage
The image to use as a foreground image.
See: https://developer.apple.com/documentation/CoreImage/CIMix/inputImage
func (CIMixObject) OutputImage ¶
func (o CIMixObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIMixObject) SetAmount ¶
func (o CIMixObject) SetAmount(value float32)
func (CIMixObject) SetBackgroundImage ¶
func (o CIMixObject) SetBackgroundImage(value ICIImage)
func (CIMixObject) SetInputImage ¶
func (o CIMixObject) SetInputImage(value ICIImage)
type CIModTransition ¶
type CIModTransition interface {
objectivec.IObject
CIFilterProtocol
CITransitionFilter
// The angle of the mod hole pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIModTransition/angle
Angle() float32
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIModTransition/center
Center() corefoundation.CGPoint
// The amount of stretching applied to the mod hole pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIModTransition/compression
Compression() float32
// The radius of the undistorted mod holes in the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIModTransition/radius
Radius() float32
// The angle of the mod hole pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIModTransition/angle
SetAngle(value float32)
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIModTransition/center
SetCenter(value corefoundation.CGPoint)
// The amount of stretching applied to the mod hole pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIModTransition/compression
SetCompression(value float32)
// The radius of the undistorted mod holes in the pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIModTransition/radius
SetRadius(value float32)
}
The properties you use to configure a mod transition filter.
See: https://developer.apple.com/documentation/CoreImage/CIModTransition
type CIModTransitionObject ¶
type CIModTransitionObject struct {
objectivec.Object
}
CIModTransitionObject wraps an existing Objective-C object that conforms to the CIModTransition protocol.
func CIModTransitionObjectFromID ¶
func CIModTransitionObjectFromID(id objc.ID) CIModTransitionObject
CIModTransitionObjectFromID constructs a CIModTransitionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIModTransitionObject) Angle ¶
func (o CIModTransitionObject) Angle() float32
The angle of the mod hole pattern.
See: https://developer.apple.com/documentation/CoreImage/CIModTransition/angle
func (CIModTransitionObject) BaseObject ¶
func (o CIModTransitionObject) BaseObject() objectivec.Object
func (CIModTransitionObject) Center ¶
func (o CIModTransitionObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIModTransition/center
func (CIModTransitionObject) Compression ¶
func (o CIModTransitionObject) Compression() float32
The amount of stretching applied to the mod hole pattern.
See: https://developer.apple.com/documentation/CoreImage/CIModTransition/compression
func (CIModTransitionObject) InputImage ¶
func (o CIModTransitionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/inputImage
func (CIModTransitionObject) OutputImage ¶
func (o CIModTransitionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIModTransitionObject) Radius ¶
func (o CIModTransitionObject) Radius() float32
The radius of the undistorted mod holes in the pattern.
See: https://developer.apple.com/documentation/CoreImage/CIModTransition/radius
func (CIModTransitionObject) SetAngle ¶
func (o CIModTransitionObject) SetAngle(value float32)
func (CIModTransitionObject) SetCenter ¶
func (o CIModTransitionObject) SetCenter(value corefoundation.CGPoint)
func (CIModTransitionObject) SetCompression ¶
func (o CIModTransitionObject) SetCompression(value float32)
func (CIModTransitionObject) SetInputImage ¶
func (o CIModTransitionObject) SetInputImage(value ICIImage)
func (CIModTransitionObject) SetRadius ¶
func (o CIModTransitionObject) SetRadius(value float32)
func (CIModTransitionObject) SetTargetImage ¶
func (o CIModTransitionObject) SetTargetImage(value ICIImage)
func (CIModTransitionObject) SetTime ¶
func (o CIModTransitionObject) SetTime(value float32)
func (CIModTransitionObject) TargetImage ¶
func (o CIModTransitionObject) TargetImage() ICIImage
The target image for a transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/targetImage
func (CIModTransitionObject) Time ¶
func (o CIModTransitionObject) Time() float32
The parametric time of the transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/time
type CIMorphologyGradient ¶
type CIMorphologyGradient interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyGradient/inputImage
InputImage() ICIImage
// The radius of the circular morphological structuring element.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyGradient/radius
Radius() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyGradient/inputImage
SetInputImage(value ICIImage)
// The radius of the circular morphological structuring element.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyGradient/radius
SetRadius(value float32)
}
The properties you use to configure a morphology gradient filter.
See: https://developer.apple.com/documentation/CoreImage/CIMorphologyGradient
type CIMorphologyGradientObject ¶
type CIMorphologyGradientObject struct {
objectivec.Object
}
CIMorphologyGradientObject wraps an existing Objective-C object that conforms to the CIMorphologyGradient protocol.
func CIMorphologyGradientObjectFromID ¶
func CIMorphologyGradientObjectFromID(id objc.ID) CIMorphologyGradientObject
CIMorphologyGradientObjectFromID constructs a CIMorphologyGradientObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIMorphologyGradientObject) BaseObject ¶
func (o CIMorphologyGradientObject) BaseObject() objectivec.Object
func (CIMorphologyGradientObject) InputImage ¶
func (o CIMorphologyGradientObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIMorphologyGradient/inputImage
func (CIMorphologyGradientObject) OutputImage ¶
func (o CIMorphologyGradientObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIMorphologyGradientObject) Radius ¶
func (o CIMorphologyGradientObject) Radius() float32
The radius of the circular morphological structuring element.
See: https://developer.apple.com/documentation/CoreImage/CIMorphologyGradient/radius
func (CIMorphologyGradientObject) SetInputImage ¶
func (o CIMorphologyGradientObject) SetInputImage(value ICIImage)
func (CIMorphologyGradientObject) SetRadius ¶
func (o CIMorphologyGradientObject) SetRadius(value float32)
type CIMorphologyMaximum ¶
type CIMorphologyMaximum interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyMaximum/inputImage
InputImage() ICIImage
// The radius of the circular morphological structuring element.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyMaximum/radius
Radius() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyMaximum/inputImage
SetInputImage(value ICIImage)
// The radius of the circular morphological structuring element.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyMaximum/radius
SetRadius(value float32)
}
The properties you use to configure a morphology maximum filter.
See: https://developer.apple.com/documentation/CoreImage/CIMorphologyMaximum
type CIMorphologyMaximumObject ¶
type CIMorphologyMaximumObject struct {
objectivec.Object
}
CIMorphologyMaximumObject wraps an existing Objective-C object that conforms to the CIMorphologyMaximum protocol.
func CIMorphologyMaximumObjectFromID ¶
func CIMorphologyMaximumObjectFromID(id objc.ID) CIMorphologyMaximumObject
CIMorphologyMaximumObjectFromID constructs a CIMorphologyMaximumObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIMorphologyMaximumObject) BaseObject ¶
func (o CIMorphologyMaximumObject) BaseObject() objectivec.Object
func (CIMorphologyMaximumObject) InputImage ¶
func (o CIMorphologyMaximumObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIMorphologyMaximum/inputImage
func (CIMorphologyMaximumObject) OutputImage ¶
func (o CIMorphologyMaximumObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIMorphologyMaximumObject) Radius ¶
func (o CIMorphologyMaximumObject) Radius() float32
The radius of the circular morphological structuring element.
See: https://developer.apple.com/documentation/CoreImage/CIMorphologyMaximum/radius
func (CIMorphologyMaximumObject) SetInputImage ¶
func (o CIMorphologyMaximumObject) SetInputImage(value ICIImage)
func (CIMorphologyMaximumObject) SetRadius ¶
func (o CIMorphologyMaximumObject) SetRadius(value float32)
type CIMorphologyMinimum ¶
type CIMorphologyMinimum interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyMinimum/inputImage
InputImage() ICIImage
// The radius of the circular morphological structuring element.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyMinimum/radius
Radius() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyMinimum/inputImage
SetInputImage(value ICIImage)
// The radius of the circular morphological structuring element.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyMinimum/radius
SetRadius(value float32)
}
The properties you use to configure a morphology minimum filter.
See: https://developer.apple.com/documentation/CoreImage/CIMorphologyMinimum
type CIMorphologyMinimumObject ¶
type CIMorphologyMinimumObject struct {
objectivec.Object
}
CIMorphologyMinimumObject wraps an existing Objective-C object that conforms to the CIMorphologyMinimum protocol.
func CIMorphologyMinimumObjectFromID ¶
func CIMorphologyMinimumObjectFromID(id objc.ID) CIMorphologyMinimumObject
CIMorphologyMinimumObjectFromID constructs a CIMorphologyMinimumObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIMorphologyMinimumObject) BaseObject ¶
func (o CIMorphologyMinimumObject) BaseObject() objectivec.Object
func (CIMorphologyMinimumObject) InputImage ¶
func (o CIMorphologyMinimumObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIMorphologyMinimum/inputImage
func (CIMorphologyMinimumObject) OutputImage ¶
func (o CIMorphologyMinimumObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIMorphologyMinimumObject) Radius ¶
func (o CIMorphologyMinimumObject) Radius() float32
The radius of the circular morphological structuring element.
See: https://developer.apple.com/documentation/CoreImage/CIMorphologyMinimum/radius
func (CIMorphologyMinimumObject) SetInputImage ¶
func (o CIMorphologyMinimumObject) SetInputImage(value ICIImage)
func (CIMorphologyMinimumObject) SetRadius ¶
func (o CIMorphologyMinimumObject) SetRadius(value float32)
type CIMorphologyRectangleMaximum ¶
type CIMorphologyRectangleMaximum interface {
objectivec.IObject
CIFilterProtocol
// The height, in pixels, of the morphological structuring element.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMaximum/height
Height() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMaximum/inputImage
InputImage() ICIImage
// The width, in pixels, of the morphological structuring element.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMaximum/width
Width() float32
// The height, in pixels, of the morphological structuring element.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMaximum/height
SetHeight(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMaximum/inputImage
SetInputImage(value ICIImage)
// The width, in pixels, of the morphological structuring element.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMaximum/width
SetWidth(value float32)
}
The properties you use to configure a morphology rectangle maximum filter.
See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMaximum
type CIMorphologyRectangleMaximumObject ¶
type CIMorphologyRectangleMaximumObject struct {
objectivec.Object
}
CIMorphologyRectangleMaximumObject wraps an existing Objective-C object that conforms to the CIMorphologyRectangleMaximum protocol.
func CIMorphologyRectangleMaximumObjectFromID ¶
func CIMorphologyRectangleMaximumObjectFromID(id objc.ID) CIMorphologyRectangleMaximumObject
CIMorphologyRectangleMaximumObjectFromID constructs a CIMorphologyRectangleMaximumObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIMorphologyRectangleMaximumObject) BaseObject ¶
func (o CIMorphologyRectangleMaximumObject) BaseObject() objectivec.Object
func (CIMorphologyRectangleMaximumObject) Height ¶
func (o CIMorphologyRectangleMaximumObject) Height() float32
The height, in pixels, of the morphological structuring element.
See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMaximum/height
func (CIMorphologyRectangleMaximumObject) InputImage ¶
func (o CIMorphologyRectangleMaximumObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMaximum/inputImage
func (CIMorphologyRectangleMaximumObject) OutputImage ¶
func (o CIMorphologyRectangleMaximumObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIMorphologyRectangleMaximumObject) SetHeight ¶
func (o CIMorphologyRectangleMaximumObject) SetHeight(value float32)
func (CIMorphologyRectangleMaximumObject) SetInputImage ¶
func (o CIMorphologyRectangleMaximumObject) SetInputImage(value ICIImage)
func (CIMorphologyRectangleMaximumObject) SetWidth ¶
func (o CIMorphologyRectangleMaximumObject) SetWidth(value float32)
func (CIMorphologyRectangleMaximumObject) Width ¶
func (o CIMorphologyRectangleMaximumObject) Width() float32
The width, in pixels, of the morphological structuring element.
See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMaximum/width
type CIMorphologyRectangleMinimum ¶
type CIMorphologyRectangleMinimum interface {
objectivec.IObject
CIFilterProtocol
// The height, in pixels, of the morphological structuring element.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMinimum/height
Height() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMinimum/inputImage
InputImage() ICIImage
// The width, in pixels, of the morphological structuring element.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMinimum/width
Width() float32
// The height, in pixels, of the morphological structuring element.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMinimum/height
SetHeight(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMinimum/inputImage
SetInputImage(value ICIImage)
// The width, in pixels, of the morphological structuring element.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMinimum/width
SetWidth(value float32)
}
The properties you use to configure a morphology rectangle minimum filter.
See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMinimum
type CIMorphologyRectangleMinimumObject ¶
type CIMorphologyRectangleMinimumObject struct {
objectivec.Object
}
CIMorphologyRectangleMinimumObject wraps an existing Objective-C object that conforms to the CIMorphologyRectangleMinimum protocol.
func CIMorphologyRectangleMinimumObjectFromID ¶
func CIMorphologyRectangleMinimumObjectFromID(id objc.ID) CIMorphologyRectangleMinimumObject
CIMorphologyRectangleMinimumObjectFromID constructs a CIMorphologyRectangleMinimumObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIMorphologyRectangleMinimumObject) BaseObject ¶
func (o CIMorphologyRectangleMinimumObject) BaseObject() objectivec.Object
func (CIMorphologyRectangleMinimumObject) Height ¶
func (o CIMorphologyRectangleMinimumObject) Height() float32
The height, in pixels, of the morphological structuring element.
See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMinimum/height
func (CIMorphologyRectangleMinimumObject) InputImage ¶
func (o CIMorphologyRectangleMinimumObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMinimum/inputImage
func (CIMorphologyRectangleMinimumObject) OutputImage ¶
func (o CIMorphologyRectangleMinimumObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIMorphologyRectangleMinimumObject) SetHeight ¶
func (o CIMorphologyRectangleMinimumObject) SetHeight(value float32)
func (CIMorphologyRectangleMinimumObject) SetInputImage ¶
func (o CIMorphologyRectangleMinimumObject) SetInputImage(value ICIImage)
func (CIMorphologyRectangleMinimumObject) SetWidth ¶
func (o CIMorphologyRectangleMinimumObject) SetWidth(value float32)
func (CIMorphologyRectangleMinimumObject) Width ¶
func (o CIMorphologyRectangleMinimumObject) Width() float32
The width, in pixels, of the morphological structuring element.
See: https://developer.apple.com/documentation/CoreImage/CIMorphologyRectangleMinimum/width
type CIMotionBlur ¶
type CIMotionBlur interface {
objectivec.IObject
CIFilterProtocol
// The angle of the motion, in radians, that determines which direction the blur smears.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMotionBlur/angle
Angle() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMotionBlur/inputImage
InputImage() ICIImage
// The radius of the blur, in pixels.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMotionBlur/radius
Radius() float32
// The angle of the motion, in radians, that determines which direction the blur smears.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMotionBlur/angle
SetAngle(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMotionBlur/inputImage
SetInputImage(value ICIImage)
// The radius of the blur, in pixels.
//
// See: https://developer.apple.com/documentation/CoreImage/CIMotionBlur/radius
SetRadius(value float32)
}
The properties you use to configure a motion blur filter.
See: https://developer.apple.com/documentation/CoreImage/CIMotionBlur
type CIMotionBlurObject ¶
type CIMotionBlurObject struct {
objectivec.Object
}
CIMotionBlurObject wraps an existing Objective-C object that conforms to the CIMotionBlur protocol.
func CIMotionBlurObjectFromID ¶
func CIMotionBlurObjectFromID(id objc.ID) CIMotionBlurObject
CIMotionBlurObjectFromID constructs a CIMotionBlurObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIMotionBlurObject) Angle ¶
func (o CIMotionBlurObject) Angle() float32
The angle of the motion, in radians, that determines which direction the blur smears.
See: https://developer.apple.com/documentation/CoreImage/CIMotionBlur/angle
func (CIMotionBlurObject) BaseObject ¶
func (o CIMotionBlurObject) BaseObject() objectivec.Object
func (CIMotionBlurObject) InputImage ¶
func (o CIMotionBlurObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIMotionBlur/inputImage
func (CIMotionBlurObject) OutputImage ¶
func (o CIMotionBlurObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIMotionBlurObject) Radius ¶
func (o CIMotionBlurObject) Radius() float32
The radius of the blur, in pixels.
See: https://developer.apple.com/documentation/CoreImage/CIMotionBlur/radius
func (CIMotionBlurObject) SetAngle ¶
func (o CIMotionBlurObject) SetAngle(value float32)
func (CIMotionBlurObject) SetInputImage ¶
func (o CIMotionBlurObject) SetInputImage(value ICIImage)
func (CIMotionBlurObject) SetRadius ¶
func (o CIMotionBlurObject) SetRadius(value float32)
type CINinePartStretched ¶
type CINinePartStretched interface {
objectivec.IObject
CIFilterProtocol
// Breakpoint0 protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CINinePartStretched/breakpoint0
Breakpoint0() corefoundation.CGPoint
// Breakpoint1 protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CINinePartStretched/breakpoint1
Breakpoint1() corefoundation.CGPoint
// GrowAmount protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CINinePartStretched/growAmount
GrowAmount() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CINinePartStretched/inputImage
InputImage() ICIImage
// breakpoint0 protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CINinePartStretched/breakpoint0
SetBreakpoint0(value corefoundation.CGPoint)
// breakpoint1 protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CINinePartStretched/breakpoint1
SetBreakpoint1(value corefoundation.CGPoint)
// growAmount protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CINinePartStretched/growAmount
SetGrowAmount(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CINinePartStretched/inputImage
SetInputImage(value ICIImage)
}
CINinePartStretched protocol.
See: https://developer.apple.com/documentation/CoreImage/CINinePartStretched
type CINinePartStretchedObject ¶
type CINinePartStretchedObject struct {
objectivec.Object
}
CINinePartStretchedObject wraps an existing Objective-C object that conforms to the CINinePartStretched protocol.
func CINinePartStretchedObjectFromID ¶
func CINinePartStretchedObjectFromID(id objc.ID) CINinePartStretchedObject
CINinePartStretchedObjectFromID constructs a CINinePartStretchedObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CINinePartStretchedObject) BaseObject ¶
func (o CINinePartStretchedObject) BaseObject() objectivec.Object
func (CINinePartStretchedObject) Breakpoint0 ¶
func (o CINinePartStretchedObject) Breakpoint0() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CINinePartStretched/breakpoint0
func (CINinePartStretchedObject) Breakpoint1 ¶
func (o CINinePartStretchedObject) Breakpoint1() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CINinePartStretched/breakpoint1
func (CINinePartStretchedObject) GrowAmount ¶
func (o CINinePartStretchedObject) GrowAmount() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CINinePartStretched/growAmount
func (CINinePartStretchedObject) InputImage ¶
func (o CINinePartStretchedObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CINinePartStretched/inputImage
func (CINinePartStretchedObject) OutputImage ¶
func (o CINinePartStretchedObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CINinePartStretchedObject) SetBreakpoint0 ¶
func (o CINinePartStretchedObject) SetBreakpoint0(value corefoundation.CGPoint)
func (CINinePartStretchedObject) SetBreakpoint1 ¶
func (o CINinePartStretchedObject) SetBreakpoint1(value corefoundation.CGPoint)
func (CINinePartStretchedObject) SetGrowAmount ¶
func (o CINinePartStretchedObject) SetGrowAmount(value corefoundation.CGPoint)
func (CINinePartStretchedObject) SetInputImage ¶
func (o CINinePartStretchedObject) SetInputImage(value ICIImage)
type CINinePartTiled ¶
type CINinePartTiled interface {
objectivec.IObject
CIFilterProtocol
// Breakpoint0 protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CINinePartTiled/breakpoint0
Breakpoint0() corefoundation.CGPoint
// Breakpoint1 protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CINinePartTiled/breakpoint1
Breakpoint1() corefoundation.CGPoint
// FlipYTiles protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CINinePartTiled/flipYTiles
FlipYTiles() bool
// GrowAmount protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CINinePartTiled/growAmount
GrowAmount() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CINinePartTiled/inputImage
InputImage() ICIImage
// breakpoint0 protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CINinePartTiled/breakpoint0
SetBreakpoint0(value corefoundation.CGPoint)
// breakpoint1 protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CINinePartTiled/breakpoint1
SetBreakpoint1(value corefoundation.CGPoint)
// flipYTiles protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CINinePartTiled/flipYTiles
SetFlipYTiles(value bool)
// growAmount protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CINinePartTiled/growAmount
SetGrowAmount(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CINinePartTiled/inputImage
SetInputImage(value ICIImage)
}
CINinePartTiled protocol.
See: https://developer.apple.com/documentation/CoreImage/CINinePartTiled
type CINinePartTiledObject ¶
type CINinePartTiledObject struct {
objectivec.Object
}
CINinePartTiledObject wraps an existing Objective-C object that conforms to the CINinePartTiled protocol.
func CINinePartTiledObjectFromID ¶
func CINinePartTiledObjectFromID(id objc.ID) CINinePartTiledObject
CINinePartTiledObjectFromID constructs a CINinePartTiledObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CINinePartTiledObject) BaseObject ¶
func (o CINinePartTiledObject) BaseObject() objectivec.Object
func (CINinePartTiledObject) Breakpoint0 ¶
func (o CINinePartTiledObject) Breakpoint0() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CINinePartTiled/breakpoint0
func (CINinePartTiledObject) Breakpoint1 ¶
func (o CINinePartTiledObject) Breakpoint1() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CINinePartTiled/breakpoint1
func (CINinePartTiledObject) FlipYTiles ¶
func (o CINinePartTiledObject) FlipYTiles() bool
See: https://developer.apple.com/documentation/CoreImage/CINinePartTiled/flipYTiles
func (CINinePartTiledObject) GrowAmount ¶
func (o CINinePartTiledObject) GrowAmount() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CINinePartTiled/growAmount
func (CINinePartTiledObject) InputImage ¶
func (o CINinePartTiledObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CINinePartTiled/inputImage
func (CINinePartTiledObject) OutputImage ¶
func (o CINinePartTiledObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CINinePartTiledObject) SetBreakpoint0 ¶
func (o CINinePartTiledObject) SetBreakpoint0(value corefoundation.CGPoint)
func (CINinePartTiledObject) SetBreakpoint1 ¶
func (o CINinePartTiledObject) SetBreakpoint1(value corefoundation.CGPoint)
func (CINinePartTiledObject) SetFlipYTiles ¶
func (o CINinePartTiledObject) SetFlipYTiles(value bool)
func (CINinePartTiledObject) SetGrowAmount ¶
func (o CINinePartTiledObject) SetGrowAmount(value corefoundation.CGPoint)
func (CINinePartTiledObject) SetInputImage ¶
func (o CINinePartTiledObject) SetInputImage(value ICIImage)
type CINoiseReduction ¶
type CINoiseReduction interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CINoiseReduction/inputImage
InputImage() ICIImage
// The amount of noise reduction.
//
// See: https://developer.apple.com/documentation/CoreImage/CINoiseReduction/noiseLevel
NoiseLevel() float32
// The sharpness of the final image.
//
// See: https://developer.apple.com/documentation/CoreImage/CINoiseReduction/sharpness
Sharpness() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CINoiseReduction/inputImage
SetInputImage(value ICIImage)
// The amount of noise reduction.
//
// See: https://developer.apple.com/documentation/CoreImage/CINoiseReduction/noiseLevel
SetNoiseLevel(value float32)
// The sharpness of the final image.
//
// See: https://developer.apple.com/documentation/CoreImage/CINoiseReduction/sharpness
SetSharpness(value float32)
}
The properties you use to configure a noise reduction filter.
See: https://developer.apple.com/documentation/CoreImage/CINoiseReduction
type CINoiseReductionObject ¶
type CINoiseReductionObject struct {
objectivec.Object
}
CINoiseReductionObject wraps an existing Objective-C object that conforms to the CINoiseReduction protocol.
func CINoiseReductionObjectFromID ¶
func CINoiseReductionObjectFromID(id objc.ID) CINoiseReductionObject
CINoiseReductionObjectFromID constructs a CINoiseReductionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CINoiseReductionObject) BaseObject ¶
func (o CINoiseReductionObject) BaseObject() objectivec.Object
func (CINoiseReductionObject) InputImage ¶
func (o CINoiseReductionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CINoiseReduction/inputImage
func (CINoiseReductionObject) NoiseLevel ¶
func (o CINoiseReductionObject) NoiseLevel() float32
The amount of noise reduction.
See: https://developer.apple.com/documentation/CoreImage/CINoiseReduction/noiseLevel
func (CINoiseReductionObject) OutputImage ¶
func (o CINoiseReductionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CINoiseReductionObject) SetInputImage ¶
func (o CINoiseReductionObject) SetInputImage(value ICIImage)
func (CINoiseReductionObject) SetNoiseLevel ¶
func (o CINoiseReductionObject) SetNoiseLevel(value float32)
func (CINoiseReductionObject) SetSharpness ¶
func (o CINoiseReductionObject) SetSharpness(value float32)
func (CINoiseReductionObject) Sharpness ¶
func (o CINoiseReductionObject) Sharpness() float32
The sharpness of the final image.
See: https://developer.apple.com/documentation/CoreImage/CINoiseReduction/sharpness
type CIOpTile ¶
type CIOpTile interface {
objectivec.IObject
CIFilterProtocol
// The angle of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIOpTile/angle
Angle() float32
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIOpTile/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIOpTile/inputImage
InputImage() ICIImage
// A value that determines the number of tiles in the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIOpTile/scale
Scale() float32
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIOpTile/width
Width() float32
// The angle of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIOpTile/angle
SetAngle(value float32)
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIOpTile/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIOpTile/inputImage
SetInputImage(value ICIImage)
// A value that determines the number of tiles in the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIOpTile/scale
SetScale(value float32)
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIOpTile/width
SetWidth(value float32)
}
The properties you use to configure an optical tile filter.
See: https://developer.apple.com/documentation/CoreImage/CIOpTile
type CIOpTileObject ¶
type CIOpTileObject struct {
objectivec.Object
}
CIOpTileObject wraps an existing Objective-C object that conforms to the CIOpTile protocol.
func CIOpTileObjectFromID ¶
func CIOpTileObjectFromID(id objc.ID) CIOpTileObject
CIOpTileObjectFromID constructs a CIOpTileObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIOpTileObject) Angle ¶
func (o CIOpTileObject) Angle() float32
The angle of a tile.
See: https://developer.apple.com/documentation/CoreImage/CIOpTile/angle
func (CIOpTileObject) BaseObject ¶
func (o CIOpTileObject) BaseObject() objectivec.Object
func (CIOpTileObject) Center ¶
func (o CIOpTileObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIOpTile/center
func (CIOpTileObject) InputImage ¶
func (o CIOpTileObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIOpTile/inputImage
func (CIOpTileObject) OutputImage ¶
func (o CIOpTileObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIOpTileObject) Scale ¶
func (o CIOpTileObject) Scale() float32
A value that determines the number of tiles in the effect.
See: https://developer.apple.com/documentation/CoreImage/CIOpTile/scale
func (CIOpTileObject) SetAngle ¶
func (o CIOpTileObject) SetAngle(value float32)
func (CIOpTileObject) SetCenter ¶
func (o CIOpTileObject) SetCenter(value corefoundation.CGPoint)
func (CIOpTileObject) SetInputImage ¶
func (o CIOpTileObject) SetInputImage(value ICIImage)
func (CIOpTileObject) SetScale ¶
func (o CIOpTileObject) SetScale(value float32)
func (CIOpTileObject) SetWidth ¶
func (o CIOpTileObject) SetWidth(value float32)
func (CIOpTileObject) Width ¶
func (o CIOpTileObject) Width() float32
The width of a tile.
See: https://developer.apple.com/documentation/CoreImage/CIOpTile/width
type CIPDF417BarcodeGenerator ¶
type CIPDF417BarcodeGenerator interface {
objectivec.IObject
CIFilterProtocol
// A Boolean value specifying whether to force compaction style.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/alwaysSpecifyCompaction
AlwaysSpecifyCompaction() float32
// A Boolean value specifying whether to force compact style Aztec code.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/compactStyle
CompactStyle() float32
// The compaction mode of the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/compactionMode
CompactionMode() float32
// The correction level ratio of the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/correctionLevel
CorrectionLevel() float32
// The number of data columns in the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/dataColumns
DataColumns() float32
// The maximum height, in pixels, of the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/maxHeight
MaxHeight() float32
// The maximum width, in pixels, of the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/maxWidth
MaxWidth() float32
// The message to encode in the PDF417 barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/message
Message() foundation.INSData
// The minimum height, in pixels, of the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/minHeight
MinHeight() float32
// The minimum width, in pixels, of the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/minWidth
MinWidth() float32
// The preferred aspect ratio of the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/preferredAspectRatio
PreferredAspectRatio() float32
// The number of rows in the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/rows
Rows() float32
// A Boolean value specifying whether to force compaction style.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/alwaysSpecifyCompaction
SetAlwaysSpecifyCompaction(value float32)
// A Boolean value specifying whether to force compact style Aztec code.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/compactStyle
SetCompactStyle(value float32)
// The compaction mode of the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/compactionMode
SetCompactionMode(value float32)
// The correction level ratio of the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/correctionLevel
SetCorrectionLevel(value float32)
// The number of data columns in the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/dataColumns
SetDataColumns(value float32)
// The maximum height, in pixels, of the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/maxHeight
SetMaxHeight(value float32)
// The maximum width, in pixels, of the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/maxWidth
SetMaxWidth(value float32)
// The message to encode in the PDF417 barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/message
SetMessage(value foundation.INSData)
// The minimum height, in pixels, of the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/minHeight
SetMinHeight(value float32)
// The minimum width, in pixels, of the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/minWidth
SetMinWidth(value float32)
// The preferred aspect ratio of the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/preferredAspectRatio
SetPreferredAspectRatio(value float32)
// The number of rows in the generated barcode.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/rows
SetRows(value float32)
}
The properties you use to configure a PDF417 barcode generator filter.
See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator
type CIPDF417BarcodeGeneratorObject ¶
type CIPDF417BarcodeGeneratorObject struct {
objectivec.Object
}
CIPDF417BarcodeGeneratorObject wraps an existing Objective-C object that conforms to the CIPDF417BarcodeGenerator protocol.
func CIPDF417BarcodeGeneratorObjectFromID ¶
func CIPDF417BarcodeGeneratorObjectFromID(id objc.ID) CIPDF417BarcodeGeneratorObject
CIPDF417BarcodeGeneratorObjectFromID constructs a CIPDF417BarcodeGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIPDF417BarcodeGeneratorObject) AlwaysSpecifyCompaction ¶
func (o CIPDF417BarcodeGeneratorObject) AlwaysSpecifyCompaction() float32
A Boolean value specifying whether to force compaction style.
See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/alwaysSpecifyCompaction
func (CIPDF417BarcodeGeneratorObject) BaseObject ¶
func (o CIPDF417BarcodeGeneratorObject) BaseObject() objectivec.Object
func (CIPDF417BarcodeGeneratorObject) CompactStyle ¶
func (o CIPDF417BarcodeGeneratorObject) CompactStyle() float32
A Boolean value specifying whether to force compact style Aztec code.
See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/compactStyle
func (CIPDF417BarcodeGeneratorObject) CompactionMode ¶
func (o CIPDF417BarcodeGeneratorObject) CompactionMode() float32
The compaction mode of the generated barcode.
See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/compactionMode
func (CIPDF417BarcodeGeneratorObject) CorrectionLevel ¶
func (o CIPDF417BarcodeGeneratorObject) CorrectionLevel() float32
The correction level ratio of the generated barcode.
See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/correctionLevel
func (CIPDF417BarcodeGeneratorObject) DataColumns ¶
func (o CIPDF417BarcodeGeneratorObject) DataColumns() float32
The number of data columns in the generated barcode.
See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/dataColumns
func (CIPDF417BarcodeGeneratorObject) MaxHeight ¶
func (o CIPDF417BarcodeGeneratorObject) MaxHeight() float32
The maximum height, in pixels, of the generated barcode.
See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/maxHeight
func (CIPDF417BarcodeGeneratorObject) MaxWidth ¶
func (o CIPDF417BarcodeGeneratorObject) MaxWidth() float32
The maximum width, in pixels, of the generated barcode.
See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/maxWidth
func (CIPDF417BarcodeGeneratorObject) Message ¶
func (o CIPDF417BarcodeGeneratorObject) Message() foundation.INSData
The message to encode in the PDF417 barcode.
See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/message
func (CIPDF417BarcodeGeneratorObject) MinHeight ¶
func (o CIPDF417BarcodeGeneratorObject) MinHeight() float32
The minimum height, in pixels, of the generated barcode.
See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/minHeight
func (CIPDF417BarcodeGeneratorObject) MinWidth ¶
func (o CIPDF417BarcodeGeneratorObject) MinWidth() float32
The minimum width, in pixels, of the generated barcode.
See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/minWidth
func (CIPDF417BarcodeGeneratorObject) OutputImage ¶
func (o CIPDF417BarcodeGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIPDF417BarcodeGeneratorObject) PreferredAspectRatio ¶
func (o CIPDF417BarcodeGeneratorObject) PreferredAspectRatio() float32
The preferred aspect ratio of the generated barcode.
See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/preferredAspectRatio
func (CIPDF417BarcodeGeneratorObject) Rows ¶
func (o CIPDF417BarcodeGeneratorObject) Rows() float32
The number of rows in the generated barcode.
See: https://developer.apple.com/documentation/CoreImage/CIPDF417BarcodeGenerator/rows
func (CIPDF417BarcodeGeneratorObject) SetAlwaysSpecifyCompaction ¶
func (o CIPDF417BarcodeGeneratorObject) SetAlwaysSpecifyCompaction(value float32)
func (CIPDF417BarcodeGeneratorObject) SetCompactStyle ¶
func (o CIPDF417BarcodeGeneratorObject) SetCompactStyle(value float32)
func (CIPDF417BarcodeGeneratorObject) SetCompactionMode ¶
func (o CIPDF417BarcodeGeneratorObject) SetCompactionMode(value float32)
func (CIPDF417BarcodeGeneratorObject) SetCorrectionLevel ¶
func (o CIPDF417BarcodeGeneratorObject) SetCorrectionLevel(value float32)
func (CIPDF417BarcodeGeneratorObject) SetDataColumns ¶
func (o CIPDF417BarcodeGeneratorObject) SetDataColumns(value float32)
func (CIPDF417BarcodeGeneratorObject) SetMaxHeight ¶
func (o CIPDF417BarcodeGeneratorObject) SetMaxHeight(value float32)
func (CIPDF417BarcodeGeneratorObject) SetMaxWidth ¶
func (o CIPDF417BarcodeGeneratorObject) SetMaxWidth(value float32)
func (CIPDF417BarcodeGeneratorObject) SetMessage ¶
func (o CIPDF417BarcodeGeneratorObject) SetMessage(value foundation.INSData)
func (CIPDF417BarcodeGeneratorObject) SetMinHeight ¶
func (o CIPDF417BarcodeGeneratorObject) SetMinHeight(value float32)
func (CIPDF417BarcodeGeneratorObject) SetMinWidth ¶
func (o CIPDF417BarcodeGeneratorObject) SetMinWidth(value float32)
func (CIPDF417BarcodeGeneratorObject) SetPreferredAspectRatio ¶
func (o CIPDF417BarcodeGeneratorObject) SetPreferredAspectRatio(value float32)
func (CIPDF417BarcodeGeneratorObject) SetRows ¶
func (o CIPDF417BarcodeGeneratorObject) SetRows(value float32)
type CIPDF417CodeDescriptor ¶
type CIPDF417CodeDescriptor struct {
CIBarcodeDescriptor
}
A concrete subclass of Core Image Barcode Descriptor that represents a PDF417 symbol.
Overview ¶
PDF417 is a stacked linear barcode symbol format used predominantly in transport, ID cards, and inventory management. Each pattern in the code comprises 4 bars and spaces, 17 units long.
Refer to the ISO/IEC 15438:2006(E) for the PDF417 symbol specification.
Creating a Descriptor ¶
- CIPDF417CodeDescriptor.InitWithPayloadIsCompactRowCountColumnCount: Initializes an PDF417 code descriptor for the given payload and parameters.
Examining a Descriptor ¶
- CIPDF417CodeDescriptor.ErrorCorrectedPayload: The error-corrected payload containing the data encoded in the PDF417 code symbol.
- CIPDF417CodeDescriptor.IsCompact: A boolean value telling if the PDF417 code is compact.
- CIPDF417CodeDescriptor.RowCount: The number of rows in the PDF417 code symbol.
- CIPDF417CodeDescriptor.ColumnCount: The number of columns in the PDF417 code symbol.
See: https://developer.apple.com/documentation/CoreImage/CIPDF417CodeDescriptor
func CIPDF417CodeDescriptorFromID ¶
func CIPDF417CodeDescriptorFromID(id objc.ID) CIPDF417CodeDescriptor
CIPDF417CodeDescriptorFromID constructs a CIPDF417CodeDescriptor from an objc.ID.
A concrete subclass of Core Image Barcode Descriptor that represents a PDF417 symbol.
func NewCIPDF417CodeDescriptor ¶
func NewCIPDF417CodeDescriptor() CIPDF417CodeDescriptor
NewCIPDF417CodeDescriptor creates a new CIPDF417CodeDescriptor instance.
func NewPDF417CodeDescriptorWithPayloadIsCompactRowCountColumnCount ¶
func NewPDF417CodeDescriptorWithPayloadIsCompactRowCountColumnCount(errorCorrectedPayload foundation.INSData, isCompact bool, rowCount int, columnCount int) CIPDF417CodeDescriptor
Initializes an PDF417 code descriptor for the given payload and parameters.
errorCorrectedPayload: The data to encode in the PDF417 code symbol.
isCompact: A Boolean indicating whether or not the PDF417 code is compact.
rowCount: The number of rows in the PDF417 code, from 3 to 90.
columnCount: The number of columns in the Aztec code, from 1 to 30.
Return Value ¶
An initialized CIPDF417CodeDescriptor instance or `nil` if the parameters are invalid
func (CIPDF417CodeDescriptor) Autorelease ¶
func (p CIPDF417CodeDescriptor) Autorelease() CIPDF417CodeDescriptor
Autorelease adds the receiver to the current autorelease pool.
func (CIPDF417CodeDescriptor) ColumnCount ¶
func (p CIPDF417CodeDescriptor) ColumnCount() int
The number of columns in the PDF417 code symbol.
Discussion ¶
Valid column count values are from 1 to 30. This count excluded the columns used to indicate the symbol structure.
func (CIPDF417CodeDescriptor) ErrorCorrectedPayload ¶
func (p CIPDF417CodeDescriptor) ErrorCorrectedPayload() foundation.INSData
The error-corrected payload containing the data encoded in the PDF417 code symbol.
Discussion ¶
The first codeword indicates the number of data codewords in the errorCorrectedPayload.
PDF417 codes are comprised of a start character on the left and a stop character on the right. Each row begins and ends with special characters indicating the current row as well as information about the dimensions of the PDF417 symbol. The errorCorrectedPayload represents the sequence of PDF417 codewords that make up the body of the message. The first codeword indicates the number of codewords in the message. This count includes the “count” codeword and any padding codewords, but does not include the error correction codewords. Each codeword is a 16-bit value in the range of 0…928. The sequence is to be interpreted as described in the PDF417 bar code symbology specification – ISO/IEC 15438:2006(E).
func (CIPDF417CodeDescriptor) Init ¶
func (p CIPDF417CodeDescriptor) Init() CIPDF417CodeDescriptor
Init initializes the instance.
func (CIPDF417CodeDescriptor) InitWithPayloadIsCompactRowCountColumnCount ¶
func (p CIPDF417CodeDescriptor) InitWithPayloadIsCompactRowCountColumnCount(errorCorrectedPayload foundation.INSData, isCompact bool, rowCount int, columnCount int) CIPDF417CodeDescriptor
Initializes an PDF417 code descriptor for the given payload and parameters.
errorCorrectedPayload: The data to encode in the PDF417 code symbol.
isCompact: A Boolean indicating whether or not the PDF417 code is compact.
rowCount: The number of rows in the PDF417 code, from 3 to 90.
columnCount: The number of columns in the Aztec code, from 1 to 30.
Return Value ¶
An initialized CIPDF417CodeDescriptor instance or `nil` if the parameters are invalid
func (CIPDF417CodeDescriptor) IsCompact ¶
func (p CIPDF417CodeDescriptor) IsCompact() bool
A boolean value telling if the PDF417 code is compact.
Discussion ¶
Compact PDF417 symbols have abbreviated right-side guard bars.
See: https://developer.apple.com/documentation/CoreImage/CIPDF417CodeDescriptor/isCompact-swift.property
func (CIPDF417CodeDescriptor) RowCount ¶
func (p CIPDF417CodeDescriptor) RowCount() int
The number of rows in the PDF417 code symbol.
Discussion ¶
Valid row count values are from 3 to 90.
See: https://developer.apple.com/documentation/CoreImage/CIPDF417CodeDescriptor/rowCount-swift.property
type CIPDF417CodeDescriptorClass ¶
type CIPDF417CodeDescriptorClass struct {
// contains filtered or unexported fields
}
func GetCIPDF417CodeDescriptorClass ¶
func GetCIPDF417CodeDescriptorClass() CIPDF417CodeDescriptorClass
GetCIPDF417CodeDescriptorClass returns the class object for CIPDF417CodeDescriptor.
func (CIPDF417CodeDescriptorClass) Alloc ¶
func (cc CIPDF417CodeDescriptorClass) Alloc() CIPDF417CodeDescriptor
Alloc allocates memory for a new instance of the class.
func (CIPDF417CodeDescriptorClass) DescriptorWithPayloadIsCompactRowCountColumnCount ¶
func (_CIPDF417CodeDescriptorClass CIPDF417CodeDescriptorClass) DescriptorWithPayloadIsCompactRowCountColumnCount(errorCorrectedPayload foundation.INSData, isCompact bool, rowCount int, columnCount int) CIPDF417CodeDescriptor
Creates an PDF417 code descriptor for the given payload and parameters.
errorCorrectedPayload: The data to encode in the PDF417 code symbol.
isCompact: A Boolean indicating whether or not the PDF417 code is compact.
rowCount: The number of rows in the PDF417 code, from 3 to 90.
columnCount: The number of columns in the Aztec code, from 1 to 30.
Return Value ¶
An autoreleased CIPDF417CodeDescriptor instance or `nil` if the parameters are invalid
type CIPageCurlTransition ¶
type CIPageCurlTransition interface {
objectivec.IObject
CIFilterProtocol
CITransitionFilter
// The angle of the curling page.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlTransition/angle
Angle() float32
// The image that appears on the back of the source image as the page curls to reveal the target image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlTransition/backsideImage
BacksideImage() ICIImage
// The extent of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlTransition/extent
Extent() corefoundation.CGRect
// The radius of the curl.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlTransition/radius
Radius() float32
// An image that looks like a shaded sphere enclosed in a square.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlTransition/shadingImage
ShadingImage() ICIImage
// The angle of the curling page.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlTransition/angle
SetAngle(value float32)
// The image that appears on the back of the source image as the page curls to reveal the target image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlTransition/backsideImage
SetBacksideImage(value ICIImage)
// The extent of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlTransition/extent
SetExtent(value corefoundation.CGRect)
// The radius of the curl.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlTransition/radius
SetRadius(value float32)
// An image that looks like a shaded sphere enclosed in a square.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlTransition/shadingImage
SetShadingImage(value ICIImage)
}
The properties you use to configure a page curl transition filter.
See: https://developer.apple.com/documentation/CoreImage/CIPageCurlTransition
type CIPageCurlTransitionObject ¶
type CIPageCurlTransitionObject struct {
objectivec.Object
}
CIPageCurlTransitionObject wraps an existing Objective-C object that conforms to the CIPageCurlTransition protocol.
func CIPageCurlTransitionObjectFromID ¶
func CIPageCurlTransitionObjectFromID(id objc.ID) CIPageCurlTransitionObject
CIPageCurlTransitionObjectFromID constructs a CIPageCurlTransitionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIPageCurlTransitionObject) Angle ¶
func (o CIPageCurlTransitionObject) Angle() float32
The angle of the curling page.
See: https://developer.apple.com/documentation/CoreImage/CIPageCurlTransition/angle
func (CIPageCurlTransitionObject) BacksideImage ¶
func (o CIPageCurlTransitionObject) BacksideImage() ICIImage
The image that appears on the back of the source image as the page curls to reveal the target image.
See: https://developer.apple.com/documentation/CoreImage/CIPageCurlTransition/backsideImage
func (CIPageCurlTransitionObject) BaseObject ¶
func (o CIPageCurlTransitionObject) BaseObject() objectivec.Object
func (CIPageCurlTransitionObject) Extent ¶
func (o CIPageCurlTransitionObject) Extent() corefoundation.CGRect
The extent of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIPageCurlTransition/extent
func (CIPageCurlTransitionObject) InputImage ¶
func (o CIPageCurlTransitionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/inputImage
func (CIPageCurlTransitionObject) OutputImage ¶
func (o CIPageCurlTransitionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIPageCurlTransitionObject) Radius ¶
func (o CIPageCurlTransitionObject) Radius() float32
The radius of the curl.
See: https://developer.apple.com/documentation/CoreImage/CIPageCurlTransition/radius
func (CIPageCurlTransitionObject) SetAngle ¶
func (o CIPageCurlTransitionObject) SetAngle(value float32)
func (CIPageCurlTransitionObject) SetBacksideImage ¶
func (o CIPageCurlTransitionObject) SetBacksideImage(value ICIImage)
func (CIPageCurlTransitionObject) SetExtent ¶
func (o CIPageCurlTransitionObject) SetExtent(value corefoundation.CGRect)
func (CIPageCurlTransitionObject) SetInputImage ¶
func (o CIPageCurlTransitionObject) SetInputImage(value ICIImage)
func (CIPageCurlTransitionObject) SetRadius ¶
func (o CIPageCurlTransitionObject) SetRadius(value float32)
func (CIPageCurlTransitionObject) SetShadingImage ¶
func (o CIPageCurlTransitionObject) SetShadingImage(value ICIImage)
func (CIPageCurlTransitionObject) SetTargetImage ¶
func (o CIPageCurlTransitionObject) SetTargetImage(value ICIImage)
func (CIPageCurlTransitionObject) SetTime ¶
func (o CIPageCurlTransitionObject) SetTime(value float32)
func (CIPageCurlTransitionObject) ShadingImage ¶
func (o CIPageCurlTransitionObject) ShadingImage() ICIImage
An image that looks like a shaded sphere enclosed in a square.
See: https://developer.apple.com/documentation/CoreImage/CIPageCurlTransition/shadingImage
func (CIPageCurlTransitionObject) TargetImage ¶
func (o CIPageCurlTransitionObject) TargetImage() ICIImage
The target image for a transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/targetImage
func (CIPageCurlTransitionObject) Time ¶
func (o CIPageCurlTransitionObject) Time() float32
The parametric time of the transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/time
type CIPageCurlWithShadowTransition ¶
type CIPageCurlWithShadowTransition interface {
objectivec.IObject
CIFilterProtocol
CITransitionFilter
// The angle of the curling page.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/angle
Angle() float32
// The image that appears on the back of the source image as the page curls to reveal the target image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/backsideImage
BacksideImage() ICIImage
// The extent of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/extent
Extent() corefoundation.CGRect
// The radius of the curl.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/radius
Radius() float32
// The strength of the shadow.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/shadowAmount
ShadowAmount() float32
// The rectagular portion of input image that casts a shadow.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/shadowExtent
ShadowExtent() corefoundation.CGRect
// The maximum size, in pixels, of the shadow.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/shadowSize
ShadowSize() float32
// The angle of the curling page.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/angle
SetAngle(value float32)
// The image that appears on the back of the source image as the page curls to reveal the target image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/backsideImage
SetBacksideImage(value ICIImage)
// The extent of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/extent
SetExtent(value corefoundation.CGRect)
// The radius of the curl.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/radius
SetRadius(value float32)
// The strength of the shadow.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/shadowAmount
SetShadowAmount(value float32)
// The rectagular portion of input image that casts a shadow.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/shadowExtent
SetShadowExtent(value corefoundation.CGRect)
// The maximum size, in pixels, of the shadow.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/shadowSize
SetShadowSize(value float32)
}
The properties you use to configure a page-curl-with-shadow transition filter.
See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition
type CIPageCurlWithShadowTransitionObject ¶
type CIPageCurlWithShadowTransitionObject struct {
objectivec.Object
}
CIPageCurlWithShadowTransitionObject wraps an existing Objective-C object that conforms to the CIPageCurlWithShadowTransition protocol.
func CIPageCurlWithShadowTransitionObjectFromID ¶
func CIPageCurlWithShadowTransitionObjectFromID(id objc.ID) CIPageCurlWithShadowTransitionObject
CIPageCurlWithShadowTransitionObjectFromID constructs a CIPageCurlWithShadowTransitionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIPageCurlWithShadowTransitionObject) Angle ¶
func (o CIPageCurlWithShadowTransitionObject) Angle() float32
The angle of the curling page.
See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/angle
func (CIPageCurlWithShadowTransitionObject) BacksideImage ¶
func (o CIPageCurlWithShadowTransitionObject) BacksideImage() ICIImage
The image that appears on the back of the source image as the page curls to reveal the target image.
See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/backsideImage
func (CIPageCurlWithShadowTransitionObject) BaseObject ¶
func (o CIPageCurlWithShadowTransitionObject) BaseObject() objectivec.Object
func (CIPageCurlWithShadowTransitionObject) Extent ¶
func (o CIPageCurlWithShadowTransitionObject) Extent() corefoundation.CGRect
The extent of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/extent
func (CIPageCurlWithShadowTransitionObject) InputImage ¶
func (o CIPageCurlWithShadowTransitionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/inputImage
func (CIPageCurlWithShadowTransitionObject) OutputImage ¶
func (o CIPageCurlWithShadowTransitionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIPageCurlWithShadowTransitionObject) Radius ¶
func (o CIPageCurlWithShadowTransitionObject) Radius() float32
The radius of the curl.
See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/radius
func (CIPageCurlWithShadowTransitionObject) SetAngle ¶
func (o CIPageCurlWithShadowTransitionObject) SetAngle(value float32)
func (CIPageCurlWithShadowTransitionObject) SetBacksideImage ¶
func (o CIPageCurlWithShadowTransitionObject) SetBacksideImage(value ICIImage)
func (CIPageCurlWithShadowTransitionObject) SetExtent ¶
func (o CIPageCurlWithShadowTransitionObject) SetExtent(value corefoundation.CGRect)
func (CIPageCurlWithShadowTransitionObject) SetInputImage ¶
func (o CIPageCurlWithShadowTransitionObject) SetInputImage(value ICIImage)
func (CIPageCurlWithShadowTransitionObject) SetRadius ¶
func (o CIPageCurlWithShadowTransitionObject) SetRadius(value float32)
func (CIPageCurlWithShadowTransitionObject) SetShadowAmount ¶
func (o CIPageCurlWithShadowTransitionObject) SetShadowAmount(value float32)
func (CIPageCurlWithShadowTransitionObject) SetShadowExtent ¶
func (o CIPageCurlWithShadowTransitionObject) SetShadowExtent(value corefoundation.CGRect)
func (CIPageCurlWithShadowTransitionObject) SetShadowSize ¶
func (o CIPageCurlWithShadowTransitionObject) SetShadowSize(value float32)
func (CIPageCurlWithShadowTransitionObject) SetTargetImage ¶
func (o CIPageCurlWithShadowTransitionObject) SetTargetImage(value ICIImage)
func (CIPageCurlWithShadowTransitionObject) SetTime ¶
func (o CIPageCurlWithShadowTransitionObject) SetTime(value float32)
func (CIPageCurlWithShadowTransitionObject) ShadowAmount ¶
func (o CIPageCurlWithShadowTransitionObject) ShadowAmount() float32
The strength of the shadow.
See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/shadowAmount
func (CIPageCurlWithShadowTransitionObject) ShadowExtent ¶
func (o CIPageCurlWithShadowTransitionObject) ShadowExtent() corefoundation.CGRect
The rectagular portion of input image that casts a shadow.
See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/shadowExtent
func (CIPageCurlWithShadowTransitionObject) ShadowSize ¶
func (o CIPageCurlWithShadowTransitionObject) ShadowSize() float32
The maximum size, in pixels, of the shadow.
See: https://developer.apple.com/documentation/CoreImage/CIPageCurlWithShadowTransition/shadowSize
func (CIPageCurlWithShadowTransitionObject) TargetImage ¶
func (o CIPageCurlWithShadowTransitionObject) TargetImage() ICIImage
The target image for a transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/targetImage
func (CIPageCurlWithShadowTransitionObject) Time ¶
func (o CIPageCurlWithShadowTransitionObject) Time() float32
The parametric time of the transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/time
type CIPaletteCentroid ¶
type CIPaletteCentroid interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPaletteCentroid/inputImage
InputImage() ICIImage
// The input color palette, obtained by using a k-means clustering filter.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPaletteCentroid/paletteImage
PaletteImage() ICIImage
// A Boolean value that specifies whether the filter applies the color palette in a perceptual color space.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPaletteCentroid/perceptual
Perceptual() bool
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPaletteCentroid/inputImage
SetInputImage(value ICIImage)
// The input color palette, obtained by using a k-means clustering filter.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPaletteCentroid/paletteImage
SetPaletteImage(value ICIImage)
// A Boolean value that specifies whether the filter applies the color palette in a perceptual color space.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPaletteCentroid/perceptual
SetPerceptual(value bool)
}
The properties you use to configure a palette centroid filter.
See: https://developer.apple.com/documentation/CoreImage/CIPaletteCentroid
type CIPaletteCentroidObject ¶
type CIPaletteCentroidObject struct {
objectivec.Object
}
CIPaletteCentroidObject wraps an existing Objective-C object that conforms to the CIPaletteCentroid protocol.
func CIPaletteCentroidObjectFromID ¶
func CIPaletteCentroidObjectFromID(id objc.ID) CIPaletteCentroidObject
CIPaletteCentroidObjectFromID constructs a CIPaletteCentroidObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIPaletteCentroidObject) BaseObject ¶
func (o CIPaletteCentroidObject) BaseObject() objectivec.Object
func (CIPaletteCentroidObject) InputImage ¶
func (o CIPaletteCentroidObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIPaletteCentroid/inputImage
func (CIPaletteCentroidObject) OutputImage ¶
func (o CIPaletteCentroidObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIPaletteCentroidObject) PaletteImage ¶
func (o CIPaletteCentroidObject) PaletteImage() ICIImage
The input color palette, obtained by using a k-means clustering filter.
See: https://developer.apple.com/documentation/CoreImage/CIPaletteCentroid/paletteImage
func (CIPaletteCentroidObject) Perceptual ¶
func (o CIPaletteCentroidObject) Perceptual() bool
A Boolean value that specifies whether the filter applies the color palette in a perceptual color space.
See: https://developer.apple.com/documentation/CoreImage/CIPaletteCentroid/perceptual
func (CIPaletteCentroidObject) SetInputImage ¶
func (o CIPaletteCentroidObject) SetInputImage(value ICIImage)
func (CIPaletteCentroidObject) SetPaletteImage ¶
func (o CIPaletteCentroidObject) SetPaletteImage(value ICIImage)
func (CIPaletteCentroidObject) SetPerceptual ¶
func (o CIPaletteCentroidObject) SetPerceptual(value bool)
type CIPalettize ¶
type CIPalettize interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPalettize/inputImage
InputImage() ICIImage
// The input color palette, obtained by using a k-means clustering filter.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPalettize/paletteImage
PaletteImage() ICIImage
// A Boolean value that specifies whether the filter applies the color palette in a perceptual color space.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPalettize/perceptual
Perceptual() bool
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPalettize/inputImage
SetInputImage(value ICIImage)
// The input color palette, obtained by using a k-means clustering filter.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPalettize/paletteImage
SetPaletteImage(value ICIImage)
// A Boolean value that specifies whether the filter applies the color palette in a perceptual color space.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPalettize/perceptual
SetPerceptual(value bool)
}
The properties you use to configure a palettize filter.
See: https://developer.apple.com/documentation/CoreImage/CIPalettize
type CIPalettizeObject ¶
type CIPalettizeObject struct {
objectivec.Object
}
CIPalettizeObject wraps an existing Objective-C object that conforms to the CIPalettize protocol.
func CIPalettizeObjectFromID ¶
func CIPalettizeObjectFromID(id objc.ID) CIPalettizeObject
CIPalettizeObjectFromID constructs a CIPalettizeObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIPalettizeObject) BaseObject ¶
func (o CIPalettizeObject) BaseObject() objectivec.Object
func (CIPalettizeObject) InputImage ¶
func (o CIPalettizeObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIPalettize/inputImage
func (CIPalettizeObject) OutputImage ¶
func (o CIPalettizeObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIPalettizeObject) PaletteImage ¶
func (o CIPalettizeObject) PaletteImage() ICIImage
The input color palette, obtained by using a k-means clustering filter.
See: https://developer.apple.com/documentation/CoreImage/CIPalettize/paletteImage
func (CIPalettizeObject) Perceptual ¶
func (o CIPalettizeObject) Perceptual() bool
A Boolean value that specifies whether the filter applies the color palette in a perceptual color space.
See: https://developer.apple.com/documentation/CoreImage/CIPalettize/perceptual
func (CIPalettizeObject) SetInputImage ¶
func (o CIPalettizeObject) SetInputImage(value ICIImage)
func (CIPalettizeObject) SetPaletteImage ¶
func (o CIPalettizeObject) SetPaletteImage(value ICIImage)
func (CIPalettizeObject) SetPerceptual ¶
func (o CIPalettizeObject) SetPerceptual(value bool)
type CIParallelogramTile ¶
type CIParallelogramTile interface {
objectivec.IObject
CIFilterProtocol
// The primary angle for the repeating parallelogram tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIParallelogramTile/acuteAngle
AcuteAngle() float32
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIParallelogramTile/angle
Angle() float32
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIParallelogramTile/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIParallelogramTile/inputImage
InputImage() ICIImage
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIParallelogramTile/width
Width() float32
// The primary angle for the repeating parallelogram tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIParallelogramTile/acuteAngle
SetAcuteAngle(value float32)
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIParallelogramTile/angle
SetAngle(value float32)
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIParallelogramTile/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIParallelogramTile/inputImage
SetInputImage(value ICIImage)
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIParallelogramTile/width
SetWidth(value float32)
}
The properties you use to configure a parallelogram tile filter.
See: https://developer.apple.com/documentation/CoreImage/CIParallelogramTile
type CIParallelogramTileObject ¶
type CIParallelogramTileObject struct {
objectivec.Object
}
CIParallelogramTileObject wraps an existing Objective-C object that conforms to the CIParallelogramTile protocol.
func CIParallelogramTileObjectFromID ¶
func CIParallelogramTileObjectFromID(id objc.ID) CIParallelogramTileObject
CIParallelogramTileObjectFromID constructs a CIParallelogramTileObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIParallelogramTileObject) AcuteAngle ¶
func (o CIParallelogramTileObject) AcuteAngle() float32
The primary angle for the repeating parallelogram tile.
See: https://developer.apple.com/documentation/CoreImage/CIParallelogramTile/acuteAngle
func (CIParallelogramTileObject) Angle ¶
func (o CIParallelogramTileObject) Angle() float32
The angle, in radians, of the tiled pattern.
See: https://developer.apple.com/documentation/CoreImage/CIParallelogramTile/angle
func (CIParallelogramTileObject) BaseObject ¶
func (o CIParallelogramTileObject) BaseObject() objectivec.Object
func (CIParallelogramTileObject) Center ¶
func (o CIParallelogramTileObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIParallelogramTile/center
func (CIParallelogramTileObject) InputImage ¶
func (o CIParallelogramTileObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIParallelogramTile/inputImage
func (CIParallelogramTileObject) OutputImage ¶
func (o CIParallelogramTileObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIParallelogramTileObject) SetAcuteAngle ¶
func (o CIParallelogramTileObject) SetAcuteAngle(value float32)
func (CIParallelogramTileObject) SetAngle ¶
func (o CIParallelogramTileObject) SetAngle(value float32)
func (CIParallelogramTileObject) SetCenter ¶
func (o CIParallelogramTileObject) SetCenter(value corefoundation.CGPoint)
func (CIParallelogramTileObject) SetInputImage ¶
func (o CIParallelogramTileObject) SetInputImage(value ICIImage)
func (CIParallelogramTileObject) SetWidth ¶
func (o CIParallelogramTileObject) SetWidth(value float32)
func (CIParallelogramTileObject) Width ¶
func (o CIParallelogramTileObject) Width() float32
The width of a tile.
See: https://developer.apple.com/documentation/CoreImage/CIParallelogramTile/width
type CIPersonSegmentation ¶
type CIPersonSegmentation interface {
objectivec.IObject
CIFilterProtocol
// InputImage protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPersonSegmentation/inputImage
InputImage() ICIImage
// QualityLevel protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPersonSegmentation/qualityLevel
QualityLevel() uint
// inputImage protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPersonSegmentation/inputImage
SetInputImage(value ICIImage)
// qualityLevel protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPersonSegmentation/qualityLevel
SetQualityLevel(value uint)
}
CIPersonSegmentation protocol.
See: https://developer.apple.com/documentation/CoreImage/CIPersonSegmentation
type CIPersonSegmentationObject ¶
type CIPersonSegmentationObject struct {
objectivec.Object
}
CIPersonSegmentationObject wraps an existing Objective-C object that conforms to the CIPersonSegmentation protocol.
func CIPersonSegmentationObjectFromID ¶
func CIPersonSegmentationObjectFromID(id objc.ID) CIPersonSegmentationObject
CIPersonSegmentationObjectFromID constructs a CIPersonSegmentationObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIPersonSegmentationObject) BaseObject ¶
func (o CIPersonSegmentationObject) BaseObject() objectivec.Object
func (CIPersonSegmentationObject) InputImage ¶
func (o CIPersonSegmentationObject) InputImage() ICIImage
See: https://developer.apple.com/documentation/CoreImage/CIPersonSegmentation/inputImage
func (CIPersonSegmentationObject) OutputImage ¶
func (o CIPersonSegmentationObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIPersonSegmentationObject) QualityLevel ¶
func (o CIPersonSegmentationObject) QualityLevel() uint
See: https://developer.apple.com/documentation/CoreImage/CIPersonSegmentation/qualityLevel
func (CIPersonSegmentationObject) SetInputImage ¶
func (o CIPersonSegmentationObject) SetInputImage(value ICIImage)
func (CIPersonSegmentationObject) SetQualityLevel ¶
func (o CIPersonSegmentationObject) SetQualityLevel(value uint)
type CIPerspectiveCorrection ¶
type CIPerspectiveCorrection interface {
objectivec.IObject
CIFilterProtocol
CIFourCoordinateGeometryFilter
// A rectangle that specifies the extent of the corrected image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveCorrection/crop
Crop() bool
// A rectangle that specifies the extent of the corrected image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveCorrection/crop
SetCrop(value bool)
}
The properties you use to configure a perspective correction filter.
See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveCorrection
type CIPerspectiveCorrectionObject ¶
type CIPerspectiveCorrectionObject struct {
objectivec.Object
}
CIPerspectiveCorrectionObject wraps an existing Objective-C object that conforms to the CIPerspectiveCorrection protocol.
func CIPerspectiveCorrectionObjectFromID ¶
func CIPerspectiveCorrectionObjectFromID(id objc.ID) CIPerspectiveCorrectionObject
CIPerspectiveCorrectionObjectFromID constructs a CIPerspectiveCorrectionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIPerspectiveCorrectionObject) BaseObject ¶
func (o CIPerspectiveCorrectionObject) BaseObject() objectivec.Object
func (CIPerspectiveCorrectionObject) BottomLeft ¶
func (o CIPerspectiveCorrectionObject) BottomLeft() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/bottomLeft
func (CIPerspectiveCorrectionObject) BottomRight ¶
func (o CIPerspectiveCorrectionObject) BottomRight() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/bottomRight
func (CIPerspectiveCorrectionObject) Crop ¶
func (o CIPerspectiveCorrectionObject) Crop() bool
A rectangle that specifies the extent of the corrected image.
See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveCorrection/crop
func (CIPerspectiveCorrectionObject) InputImage ¶
func (o CIPerspectiveCorrectionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/inputImage
func (CIPerspectiveCorrectionObject) OutputImage ¶
func (o CIPerspectiveCorrectionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIPerspectiveCorrectionObject) SetBottomLeft ¶
func (o CIPerspectiveCorrectionObject) SetBottomLeft(value corefoundation.CGPoint)
func (CIPerspectiveCorrectionObject) SetBottomRight ¶
func (o CIPerspectiveCorrectionObject) SetBottomRight(value corefoundation.CGPoint)
func (CIPerspectiveCorrectionObject) SetCrop ¶
func (o CIPerspectiveCorrectionObject) SetCrop(value bool)
func (CIPerspectiveCorrectionObject) SetInputImage ¶
func (o CIPerspectiveCorrectionObject) SetInputImage(value ICIImage)
func (CIPerspectiveCorrectionObject) SetTopLeft ¶
func (o CIPerspectiveCorrectionObject) SetTopLeft(value corefoundation.CGPoint)
func (CIPerspectiveCorrectionObject) SetTopRight ¶
func (o CIPerspectiveCorrectionObject) SetTopRight(value corefoundation.CGPoint)
func (CIPerspectiveCorrectionObject) TopLeft ¶
func (o CIPerspectiveCorrectionObject) TopLeft() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/topLeft
func (CIPerspectiveCorrectionObject) TopRight ¶
func (o CIPerspectiveCorrectionObject) TopRight() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/topRight
type CIPerspectiveRotate ¶
type CIPerspectiveRotate interface {
objectivec.IObject
CIFilterProtocol
// The 35mm equivalent focal length of the input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveRotate/focalLength
FocalLength() float32
// The image to process.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveRotate/inputImage
InputImage() ICIImage
// The pitch angle, in radians.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveRotate/pitch
Pitch() float32
// The roll angle, in radians.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveRotate/roll
Roll() float32
// The yaw angle, in radians.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveRotate/yaw
Yaw() float32
// The 35mm equivalent focal length of the input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveRotate/focalLength
SetFocalLength(value float32)
// The image to process.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveRotate/inputImage
SetInputImage(value ICIImage)
// The pitch angle, in radians.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveRotate/pitch
SetPitch(value float32)
// The roll angle, in radians.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveRotate/roll
SetRoll(value float32)
// The yaw angle, in radians.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveRotate/yaw
SetYaw(value float32)
}
The properties you use to configure a perspective rotate filter.
See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveRotate
type CIPerspectiveRotateObject ¶
type CIPerspectiveRotateObject struct {
objectivec.Object
}
CIPerspectiveRotateObject wraps an existing Objective-C object that conforms to the CIPerspectiveRotate protocol.
func CIPerspectiveRotateObjectFromID ¶
func CIPerspectiveRotateObjectFromID(id objc.ID) CIPerspectiveRotateObject
CIPerspectiveRotateObjectFromID constructs a CIPerspectiveRotateObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIPerspectiveRotateObject) BaseObject ¶
func (o CIPerspectiveRotateObject) BaseObject() objectivec.Object
func (CIPerspectiveRotateObject) FocalLength ¶
func (o CIPerspectiveRotateObject) FocalLength() float32
The 35mm equivalent focal length of the input image.
See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveRotate/focalLength
func (CIPerspectiveRotateObject) InputImage ¶
func (o CIPerspectiveRotateObject) InputImage() ICIImage
The image to process.
See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveRotate/inputImage
func (CIPerspectiveRotateObject) OutputImage ¶
func (o CIPerspectiveRotateObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIPerspectiveRotateObject) Pitch ¶
func (o CIPerspectiveRotateObject) Pitch() float32
The pitch angle, in radians.
See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveRotate/pitch
func (CIPerspectiveRotateObject) Roll ¶
func (o CIPerspectiveRotateObject) Roll() float32
The roll angle, in radians.
See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveRotate/roll
func (CIPerspectiveRotateObject) SetFocalLength ¶
func (o CIPerspectiveRotateObject) SetFocalLength(value float32)
func (CIPerspectiveRotateObject) SetInputImage ¶
func (o CIPerspectiveRotateObject) SetInputImage(value ICIImage)
func (CIPerspectiveRotateObject) SetPitch ¶
func (o CIPerspectiveRotateObject) SetPitch(value float32)
func (CIPerspectiveRotateObject) SetRoll ¶
func (o CIPerspectiveRotateObject) SetRoll(value float32)
func (CIPerspectiveRotateObject) SetYaw ¶
func (o CIPerspectiveRotateObject) SetYaw(value float32)
func (CIPerspectiveRotateObject) Yaw ¶
func (o CIPerspectiveRotateObject) Yaw() float32
The yaw angle, in radians.
See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveRotate/yaw
type CIPerspectiveTile ¶
type CIPerspectiveTile interface {
objectivec.IObject
CIFilterProtocol
// The bottom-left coordinate of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTile/bottomLeft
BottomLeft() corefoundation.CGPoint
// The bottom-right coordinate of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTile/bottomRight
BottomRight() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTile/inputImage
InputImage() ICIImage
// The top-left coordinate of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTile/topLeft
TopLeft() corefoundation.CGPoint
// The top-right coordinate of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTile/topRight
TopRight() corefoundation.CGPoint
// The bottom-left coordinate of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTile/bottomLeft
SetBottomLeft(value corefoundation.CGPoint)
// The bottom-right coordinate of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTile/bottomRight
SetBottomRight(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTile/inputImage
SetInputImage(value ICIImage)
// The top-left coordinate of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTile/topLeft
SetTopLeft(value corefoundation.CGPoint)
// The top-right coordinate of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTile/topRight
SetTopRight(value corefoundation.CGPoint)
}
The properties you use to configure a perspective tile filter.
See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTile
type CIPerspectiveTileObject ¶
type CIPerspectiveTileObject struct {
objectivec.Object
}
CIPerspectiveTileObject wraps an existing Objective-C object that conforms to the CIPerspectiveTile protocol.
func CIPerspectiveTileObjectFromID ¶
func CIPerspectiveTileObjectFromID(id objc.ID) CIPerspectiveTileObject
CIPerspectiveTileObjectFromID constructs a CIPerspectiveTileObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIPerspectiveTileObject) BaseObject ¶
func (o CIPerspectiveTileObject) BaseObject() objectivec.Object
func (CIPerspectiveTileObject) BottomLeft ¶
func (o CIPerspectiveTileObject) BottomLeft() corefoundation.CGPoint
The bottom-left coordinate of a tile.
See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTile/bottomLeft
func (CIPerspectiveTileObject) BottomRight ¶
func (o CIPerspectiveTileObject) BottomRight() corefoundation.CGPoint
The bottom-right coordinate of a tile.
See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTile/bottomRight
func (CIPerspectiveTileObject) InputImage ¶
func (o CIPerspectiveTileObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTile/inputImage
func (CIPerspectiveTileObject) OutputImage ¶
func (o CIPerspectiveTileObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIPerspectiveTileObject) SetBottomLeft ¶
func (o CIPerspectiveTileObject) SetBottomLeft(value corefoundation.CGPoint)
func (CIPerspectiveTileObject) SetBottomRight ¶
func (o CIPerspectiveTileObject) SetBottomRight(value corefoundation.CGPoint)
func (CIPerspectiveTileObject) SetInputImage ¶
func (o CIPerspectiveTileObject) SetInputImage(value ICIImage)
func (CIPerspectiveTileObject) SetTopLeft ¶
func (o CIPerspectiveTileObject) SetTopLeft(value corefoundation.CGPoint)
func (CIPerspectiveTileObject) SetTopRight ¶
func (o CIPerspectiveTileObject) SetTopRight(value corefoundation.CGPoint)
func (CIPerspectiveTileObject) TopLeft ¶
func (o CIPerspectiveTileObject) TopLeft() corefoundation.CGPoint
The top-left coordinate of a tile.
See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTile/topLeft
func (CIPerspectiveTileObject) TopRight ¶
func (o CIPerspectiveTileObject) TopRight() corefoundation.CGPoint
The top-right coordinate of a tile.
See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTile/topRight
type CIPerspectiveTransform ¶
type CIPerspectiveTransform interface {
objectivec.IObject
CIFilterProtocol
CIFourCoordinateGeometryFilter
}
The properties you use to configure a perspective transform filter.
See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTransform
type CIPerspectiveTransformObject ¶
type CIPerspectiveTransformObject struct {
objectivec.Object
}
CIPerspectiveTransformObject wraps an existing Objective-C object that conforms to the CIPerspectiveTransform protocol.
func CIPerspectiveTransformObjectFromID ¶
func CIPerspectiveTransformObjectFromID(id objc.ID) CIPerspectiveTransformObject
CIPerspectiveTransformObjectFromID constructs a CIPerspectiveTransformObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIPerspectiveTransformObject) BaseObject ¶
func (o CIPerspectiveTransformObject) BaseObject() objectivec.Object
func (CIPerspectiveTransformObject) BottomLeft ¶
func (o CIPerspectiveTransformObject) BottomLeft() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/bottomLeft
func (CIPerspectiveTransformObject) BottomRight ¶
func (o CIPerspectiveTransformObject) BottomRight() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/bottomRight
func (CIPerspectiveTransformObject) InputImage ¶
func (o CIPerspectiveTransformObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/inputImage
func (CIPerspectiveTransformObject) OutputImage ¶
func (o CIPerspectiveTransformObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIPerspectiveTransformObject) SetBottomLeft ¶
func (o CIPerspectiveTransformObject) SetBottomLeft(value corefoundation.CGPoint)
func (CIPerspectiveTransformObject) SetBottomRight ¶
func (o CIPerspectiveTransformObject) SetBottomRight(value corefoundation.CGPoint)
func (CIPerspectiveTransformObject) SetInputImage ¶
func (o CIPerspectiveTransformObject) SetInputImage(value ICIImage)
func (CIPerspectiveTransformObject) SetTopLeft ¶
func (o CIPerspectiveTransformObject) SetTopLeft(value corefoundation.CGPoint)
func (CIPerspectiveTransformObject) SetTopRight ¶
func (o CIPerspectiveTransformObject) SetTopRight(value corefoundation.CGPoint)
func (CIPerspectiveTransformObject) TopLeft ¶
func (o CIPerspectiveTransformObject) TopLeft() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/topLeft
func (CIPerspectiveTransformObject) TopRight ¶
func (o CIPerspectiveTransformObject) TopRight() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/topRight
type CIPerspectiveTransformWithExtent ¶
type CIPerspectiveTransformWithExtent interface {
objectivec.IObject
CIFilterProtocol
CIFourCoordinateGeometryFilter
// A rectangle that defines the extent of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTransformWithExtent/extent
Extent() corefoundation.CGRect
// A rectangle that defines the extent of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTransformWithExtent/extent
SetExtent(value corefoundation.CGRect)
}
The properties you use to configure a perspective transform with extent filter.
See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTransformWithExtent
type CIPerspectiveTransformWithExtentObject ¶
type CIPerspectiveTransformWithExtentObject struct {
objectivec.Object
}
CIPerspectiveTransformWithExtentObject wraps an existing Objective-C object that conforms to the CIPerspectiveTransformWithExtent protocol.
func CIPerspectiveTransformWithExtentObjectFromID ¶
func CIPerspectiveTransformWithExtentObjectFromID(id objc.ID) CIPerspectiveTransformWithExtentObject
CIPerspectiveTransformWithExtentObjectFromID constructs a CIPerspectiveTransformWithExtentObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIPerspectiveTransformWithExtentObject) BaseObject ¶
func (o CIPerspectiveTransformWithExtentObject) BaseObject() objectivec.Object
func (CIPerspectiveTransformWithExtentObject) BottomLeft ¶
func (o CIPerspectiveTransformWithExtentObject) BottomLeft() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/bottomLeft
func (CIPerspectiveTransformWithExtentObject) BottomRight ¶
func (o CIPerspectiveTransformWithExtentObject) BottomRight() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/bottomRight
func (CIPerspectiveTransformWithExtentObject) Extent ¶
func (o CIPerspectiveTransformWithExtentObject) Extent() corefoundation.CGRect
A rectangle that defines the extent of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIPerspectiveTransformWithExtent/extent
func (CIPerspectiveTransformWithExtentObject) InputImage ¶
func (o CIPerspectiveTransformWithExtentObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/inputImage
func (CIPerspectiveTransformWithExtentObject) OutputImage ¶
func (o CIPerspectiveTransformWithExtentObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIPerspectiveTransformWithExtentObject) SetBottomLeft ¶
func (o CIPerspectiveTransformWithExtentObject) SetBottomLeft(value corefoundation.CGPoint)
func (CIPerspectiveTransformWithExtentObject) SetBottomRight ¶
func (o CIPerspectiveTransformWithExtentObject) SetBottomRight(value corefoundation.CGPoint)
func (CIPerspectiveTransformWithExtentObject) SetExtent ¶
func (o CIPerspectiveTransformWithExtentObject) SetExtent(value corefoundation.CGRect)
func (CIPerspectiveTransformWithExtentObject) SetInputImage ¶
func (o CIPerspectiveTransformWithExtentObject) SetInputImage(value ICIImage)
func (CIPerspectiveTransformWithExtentObject) SetTopLeft ¶
func (o CIPerspectiveTransformWithExtentObject) SetTopLeft(value corefoundation.CGPoint)
func (CIPerspectiveTransformWithExtentObject) SetTopRight ¶
func (o CIPerspectiveTransformWithExtentObject) SetTopRight(value corefoundation.CGPoint)
func (CIPerspectiveTransformWithExtentObject) TopLeft ¶
func (o CIPerspectiveTransformWithExtentObject) TopLeft() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/topLeft
func (CIPerspectiveTransformWithExtentObject) TopRight ¶
func (o CIPerspectiveTransformWithExtentObject) TopRight() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIFourCoordinateGeometryFilter/topRight
type CIPhotoEffect ¶
type CIPhotoEffect interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPhotoEffect/inputImage
InputImage() ICIImage
// Extrapolate for RGB values outside of the range 0.0 to 1.0.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPhotoEffect/extrapolate
Extrapolate() bool
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPhotoEffect/inputImage
SetInputImage(value ICIImage)
// Extrapolate for RGB values outside of the range 0.0 to 1.0.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPhotoEffect/extrapolate
SetExtrapolate(value bool)
}
The properties you use to configure a photo-effect filter.
See: https://developer.apple.com/documentation/CoreImage/CIPhotoEffect
type CIPhotoEffectObject ¶
type CIPhotoEffectObject struct {
objectivec.Object
}
CIPhotoEffectObject wraps an existing Objective-C object that conforms to the CIPhotoEffect protocol.
func CIPhotoEffectObjectFromID ¶
func CIPhotoEffectObjectFromID(id objc.ID) CIPhotoEffectObject
CIPhotoEffectObjectFromID constructs a CIPhotoEffectObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIPhotoEffectObject) BaseObject ¶
func (o CIPhotoEffectObject) BaseObject() objectivec.Object
func (CIPhotoEffectObject) Extrapolate ¶
func (o CIPhotoEffectObject) Extrapolate() bool
Extrapolate for RGB values outside of the range 0.0 to 1.0.
See: https://developer.apple.com/documentation/CoreImage/CIPhotoEffect/extrapolate
func (CIPhotoEffectObject) InputImage ¶
func (o CIPhotoEffectObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIPhotoEffect/inputImage
func (CIPhotoEffectObject) OutputImage ¶
func (o CIPhotoEffectObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIPhotoEffectObject) SetExtrapolate ¶
func (o CIPhotoEffectObject) SetExtrapolate(value bool)
func (CIPhotoEffectObject) SetInputImage ¶
func (o CIPhotoEffectObject) SetInputImage(value ICIImage)
type CIPinchDistortion ¶
type CIPinchDistortion interface {
objectivec.IObject
CIFilterProtocol
// Center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPinchDistortion/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPinchDistortion/inputImage
InputImage() ICIImage
// Radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPinchDistortion/radius
Radius() float32
// Scale protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPinchDistortion/scale
Scale() float32
// center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPinchDistortion/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPinchDistortion/inputImage
SetInputImage(value ICIImage)
// radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPinchDistortion/radius
SetRadius(value float32)
// scale protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPinchDistortion/scale
SetScale(value float32)
}
CIPinchDistortion protocol.
See: https://developer.apple.com/documentation/CoreImage/CIPinchDistortion
type CIPinchDistortionObject ¶
type CIPinchDistortionObject struct {
objectivec.Object
}
CIPinchDistortionObject wraps an existing Objective-C object that conforms to the CIPinchDistortion protocol.
func CIPinchDistortionObjectFromID ¶
func CIPinchDistortionObjectFromID(id objc.ID) CIPinchDistortionObject
CIPinchDistortionObjectFromID constructs a CIPinchDistortionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIPinchDistortionObject) BaseObject ¶
func (o CIPinchDistortionObject) BaseObject() objectivec.Object
func (CIPinchDistortionObject) Center ¶
func (o CIPinchDistortionObject) Center() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIPinchDistortion/center
func (CIPinchDistortionObject) InputImage ¶
func (o CIPinchDistortionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIPinchDistortion/inputImage
func (CIPinchDistortionObject) OutputImage ¶
func (o CIPinchDistortionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIPinchDistortionObject) Radius ¶
func (o CIPinchDistortionObject) Radius() float32
See: https://developer.apple.com/documentation/CoreImage/CIPinchDistortion/radius
func (CIPinchDistortionObject) Scale ¶
func (o CIPinchDistortionObject) Scale() float32
See: https://developer.apple.com/documentation/CoreImage/CIPinchDistortion/scale
func (CIPinchDistortionObject) SetCenter ¶
func (o CIPinchDistortionObject) SetCenter(value corefoundation.CGPoint)
func (CIPinchDistortionObject) SetInputImage ¶
func (o CIPinchDistortionObject) SetInputImage(value ICIImage)
func (CIPinchDistortionObject) SetRadius ¶
func (o CIPinchDistortionObject) SetRadius(value float32)
func (CIPinchDistortionObject) SetScale ¶
func (o CIPinchDistortionObject) SetScale(value float32)
type CIPixellate ¶
type CIPixellate interface {
objectivec.IObject
CIFilterProtocol
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPixellate/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPixellate/inputImage
InputImage() ICIImage
// A value that determines the size of the squares.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPixellate/scale
Scale() float32
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPixellate/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPixellate/inputImage
SetInputImage(value ICIImage)
// A value that determines the size of the squares.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPixellate/scale
SetScale(value float32)
}
The properties you use to configure a pixellate filter.
See: https://developer.apple.com/documentation/CoreImage/CIPixellate
type CIPixellateObject ¶
type CIPixellateObject struct {
objectivec.Object
}
CIPixellateObject wraps an existing Objective-C object that conforms to the CIPixellate protocol.
func CIPixellateObjectFromID ¶
func CIPixellateObjectFromID(id objc.ID) CIPixellateObject
CIPixellateObjectFromID constructs a CIPixellateObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIPixellateObject) BaseObject ¶
func (o CIPixellateObject) BaseObject() objectivec.Object
func (CIPixellateObject) Center ¶
func (o CIPixellateObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIPixellate/center
func (CIPixellateObject) InputImage ¶
func (o CIPixellateObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIPixellate/inputImage
func (CIPixellateObject) OutputImage ¶
func (o CIPixellateObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIPixellateObject) Scale ¶
func (o CIPixellateObject) Scale() float32
A value that determines the size of the squares.
See: https://developer.apple.com/documentation/CoreImage/CIPixellate/scale
func (CIPixellateObject) SetCenter ¶
func (o CIPixellateObject) SetCenter(value corefoundation.CGPoint)
func (CIPixellateObject) SetInputImage ¶
func (o CIPixellateObject) SetInputImage(value ICIImage)
func (CIPixellateObject) SetScale ¶
func (o CIPixellateObject) SetScale(value float32)
type CIPlugIn ¶
type CIPlugIn struct {
objectivec.Object
}
The mechanism for loading image units in macOS.
Overview ¶
An image unit is an image processing bundle that contains one or more Core Image filters. Th`e.Plugin()` extension indicates one or more filters packaged as an image unit.
See: https://developer.apple.com/documentation/CoreImage/CIPlugIn
func CIPlugInFromID ¶
CIPlugInFromID constructs a CIPlugIn from an objc.ID.
The mechanism for loading image units in macOS.
func (CIPlugIn) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
type CIPlugInClass ¶
type CIPlugInClass struct {
// contains filtered or unexported fields
}
func GetCIPlugInClass ¶
func GetCIPlugInClass() CIPlugInClass
GetCIPlugInClass returns the class object for CIPlugIn.
func (CIPlugInClass) Alloc ¶
func (cc CIPlugInClass) Alloc() CIPlugIn
Alloc allocates memory for a new instance of the class.
func (CIPlugInClass) LoadNonExecutablePlugIn ¶
func (_CIPlugInClass CIPlugInClass) LoadNonExecutablePlugIn(url foundation.INSURL)
Loads a non-executable plug-in specified by its URL.
url: The location of the plugin to load.
Discussion ¶
If the filters contain executable code the plugin isn’t loaded.
See: https://developer.apple.com/documentation/CoreImage/CIPlugIn/loadNonExecutablePlugIn(_:)
func (CIPlugInClass) LoadNonExecutablePlugIns ¶
func (_CIPlugInClass CIPlugInClass) LoadNonExecutablePlugIns()
Scans directories for plugins.
Discussion ¶
This call scans for plugins with the extension `XCUIElementTypePlugin` in the following directories:
- /Library/Graphics/Image Units - ~Library/Graphics/Image Units
This call adds new plug-ins. It doesn’t remove any plug-ins.
See: https://developer.apple.com/documentation/CoreImage/CIPlugIn/loadNonExecutablePlugIns()
type CIPlugInRegistration ¶
type CIPlugInRegistration interface {
objectivec.IObject
// Loads and initializes an image unit, performing custom tasks as needed.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPlugInRegistration/load(_:)
Load(host unsafe.Pointer) bool
}
The interface for loading Core Image image units.
See: https://developer.apple.com/documentation/CoreImage/CIPlugInRegistration
type CIPlugInRegistrationObject ¶
type CIPlugInRegistrationObject struct {
objectivec.Object
}
CIPlugInRegistrationObject wraps an existing Objective-C object that conforms to the CIPlugInRegistration protocol.
func CIPlugInRegistrationObjectFromID ¶
func CIPlugInRegistrationObjectFromID(id objc.ID) CIPlugInRegistrationObject
CIPlugInRegistrationObjectFromID constructs a CIPlugInRegistrationObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIPlugInRegistrationObject) BaseObject ¶
func (o CIPlugInRegistrationObject) BaseObject() objectivec.Object
func (CIPlugInRegistrationObject) Load ¶
func (o CIPlugInRegistrationObject) Load(host unsafe.Pointer) bool
Loads and initializes an image unit, performing custom tasks as needed.
host: Reserved for future use.
Return Value ¶
Returns `true` if the image unit is successfully initialized ¶
Discussion ¶
The `load` method is called once by the host to initialize the image unit when the first filter in the image unit is instantiated. The method provides the image unit with an opportunity to perform custom initialization, such as a registration check.
See: https://developer.apple.com/documentation/CoreImage/CIPlugInRegistration/load(_:)
type CIPointillize ¶
type CIPointillize interface {
objectivec.IObject
CIFilterProtocol
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPointillize/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPointillize/inputImage
InputImage() ICIImage
// The radius of the circles in the resulting pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPointillize/radius
Radius() float32
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPointillize/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPointillize/inputImage
SetInputImage(value ICIImage)
// The radius of the circles in the resulting pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIPointillize/radius
SetRadius(value float32)
}
The properties you use to configure a pointillize filter.
See: https://developer.apple.com/documentation/CoreImage/CIPointillize
type CIPointillizeObject ¶
type CIPointillizeObject struct {
objectivec.Object
}
CIPointillizeObject wraps an existing Objective-C object that conforms to the CIPointillize protocol.
func CIPointillizeObjectFromID ¶
func CIPointillizeObjectFromID(id objc.ID) CIPointillizeObject
CIPointillizeObjectFromID constructs a CIPointillizeObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIPointillizeObject) BaseObject ¶
func (o CIPointillizeObject) BaseObject() objectivec.Object
func (CIPointillizeObject) Center ¶
func (o CIPointillizeObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIPointillize/center
func (CIPointillizeObject) InputImage ¶
func (o CIPointillizeObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIPointillize/inputImage
func (CIPointillizeObject) OutputImage ¶
func (o CIPointillizeObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIPointillizeObject) Radius ¶
func (o CIPointillizeObject) Radius() float32
The radius of the circles in the resulting pattern.
See: https://developer.apple.com/documentation/CoreImage/CIPointillize/radius
func (CIPointillizeObject) SetCenter ¶
func (o CIPointillizeObject) SetCenter(value corefoundation.CGPoint)
func (CIPointillizeObject) SetInputImage ¶
func (o CIPointillizeObject) SetInputImage(value ICIImage)
func (CIPointillizeObject) SetRadius ¶
func (o CIPointillizeObject) SetRadius(value float32)
type CIQRCodeDescriptor ¶
type CIQRCodeDescriptor struct {
CIBarcodeDescriptor
}
A concrete subclass of the Core Image Barcode Descriptor that represents a square QR code symbol.
Overview ¶
ISO/IEC 18004 defines versions from 1 to 40, where a higher symbol version indicates a larger data-carrying capacity. QR Codes can encode text, vCard contact information, or Uniform Resource Identifiers (URI).
Creating a Descriptor ¶
- CIQRCodeDescriptor.InitWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel: Initializes a QR code descriptor for the given payload and parameters.
Examining a Descriptor ¶
- CIQRCodeDescriptor.ErrorCorrectedPayload: The error-corrected codeword payload that comprises the QR code symbol.
- CIQRCodeDescriptor.SymbolVersion: The version of the QR code which corresponds to the size of the QR code symbol.
- CIQRCodeDescriptor.MaskPattern: The data mask pattern for the QR code symbol.
- CIQRCodeDescriptor.ErrorCorrectionLevel: The error correction level of the QR code symbol.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeDescriptor
func CIQRCodeDescriptorFromID ¶
func CIQRCodeDescriptorFromID(id objc.ID) CIQRCodeDescriptor
CIQRCodeDescriptorFromID constructs a CIQRCodeDescriptor from an objc.ID.
A concrete subclass of the Core Image Barcode Descriptor that represents a square QR code symbol.
func NewCIQRCodeDescriptor ¶
func NewCIQRCodeDescriptor() CIQRCodeDescriptor
NewCIQRCodeDescriptor creates a new CIQRCodeDescriptor instance.
func NewQRCodeDescriptorWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel ¶
func NewQRCodeDescriptorWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel(errorCorrectedPayload foundation.INSData, symbolVersion int, maskPattern uint8, errorCorrectionLevel CIQRCodeErrorCorrectionLevel) CIQRCodeDescriptor
Initializes a QR code descriptor for the given payload and parameters.
errorCorrectedPayload: The data to encode in the QR code symbol.
symbolVersion: The symbol version, from 1 through 40.
maskPattern: The mask pattern to use in the QR code, from 0 to 7.
errorCorrectionLevel: The QR code’s error correction level: L, M, Q, or H.
Return Value ¶
An initialized CIAztecCodeDescriptor instance or `nil` if the parameters are invalid
func (CIQRCodeDescriptor) Autorelease ¶
func (q CIQRCodeDescriptor) Autorelease() CIQRCodeDescriptor
Autorelease adds the receiver to the current autorelease pool.
func (CIQRCodeDescriptor) ErrorCorrectedPayload ¶
func (q CIQRCodeDescriptor) ErrorCorrectedPayload() foundation.INSData
The error-corrected codeword payload that comprises the QR code symbol.
Discussion ¶
QR Codes are formally specified in ISO/IEC 18004:2006(E). Section 6.4.10 “Bitstream to codeword conversion” specifies the set of 8-bit codewords in the symbol immediately prior to splitting the message into blocks and applying error correction.
During decode, error correction is applied and if successful, the message is re-ordered to the state immediately following “Bitstream to codeword conversion.”
The `errorCorrectedPayload` corresponds to this sequence of 8-bit codewords.
func (CIQRCodeDescriptor) ErrorCorrectionLevel ¶
func (q CIQRCodeDescriptor) ErrorCorrectionLevel() CIQRCodeErrorCorrectionLevel
The error correction level of the QR code symbol.
Discussion ¶
QR Codes support four levels of Reed-Solomon error correction.
The possible error correction levels are enumerated in CIDataMatrixCodeDescriptor.ECCVersion.
func (CIQRCodeDescriptor) Init ¶
func (q CIQRCodeDescriptor) Init() CIQRCodeDescriptor
Init initializes the instance.
func (CIQRCodeDescriptor) InitWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel ¶
func (q CIQRCodeDescriptor) InitWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel(errorCorrectedPayload foundation.INSData, symbolVersion int, maskPattern uint8, errorCorrectionLevel CIQRCodeErrorCorrectionLevel) CIQRCodeDescriptor
Initializes a QR code descriptor for the given payload and parameters.
errorCorrectedPayload: The data to encode in the QR code symbol.
symbolVersion: The symbol version, from 1 through 40.
maskPattern: The mask pattern to use in the QR code, from 0 to 7.
errorCorrectionLevel: The QR code’s error correction level: L, M, Q, or H.
Return Value ¶
An initialized CIAztecCodeDescriptor instance or `nil` if the parameters are invalid
func (CIQRCodeDescriptor) MaskPattern ¶
func (q CIQRCodeDescriptor) MaskPattern() uint8
The data mask pattern for the QR code symbol.
Discussion ¶
QR Codes support eight data mask patterns, which are used to avoid large black or large white areas inside the symbol body. Valid values range from 0 to 7.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeDescriptor/maskPattern-swift.property
func (CIQRCodeDescriptor) SymbolVersion ¶
func (q CIQRCodeDescriptor) SymbolVersion() int
The version of the QR code which corresponds to the size of the QR code symbol.
Discussion ¶
ISO/IEC 18004 defines versions from 1 to 40, where a higher symbol version indicates a larger data-carrying capacity. This field is required in order to properly interpret the error corrected payload.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeDescriptor/symbolVersion-swift.property
type CIQRCodeDescriptorClass ¶
type CIQRCodeDescriptorClass struct {
// contains filtered or unexported fields
}
func GetCIQRCodeDescriptorClass ¶
func GetCIQRCodeDescriptorClass() CIQRCodeDescriptorClass
GetCIQRCodeDescriptorClass returns the class object for CIQRCodeDescriptor.
func (CIQRCodeDescriptorClass) Alloc ¶
func (cc CIQRCodeDescriptorClass) Alloc() CIQRCodeDescriptor
Alloc allocates memory for a new instance of the class.
func (CIQRCodeDescriptorClass) DescriptorWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel ¶
func (_CIQRCodeDescriptorClass CIQRCodeDescriptorClass) DescriptorWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel(errorCorrectedPayload foundation.INSData, symbolVersion int, maskPattern uint8, errorCorrectionLevel CIQRCodeErrorCorrectionLevel) CIQRCodeDescriptor
Creates a QR code descriptor for the given payload and parameters.
errorCorrectedPayload: The data to encode in the QR code symbol.
symbolVersion: The symbol version, from 1 through 40.
maskPattern: The mask pattern to use in the QR code, from 0 to 7.
errorCorrectionLevel: The QR code’s error correction level: L, M, Q, or H.
Return Value ¶
An autoreleased CIAztecCodeDescriptor instance or `nil` if the parameters are invalid
type CIQRCodeErrorCorrectionLevel ¶
type CIQRCodeErrorCorrectionLevel int
const ( // CIQRCodeErrorCorrectionLevelH: Indicates that approximately 65% of the symbol data is dedicated to error correction. CIQRCodeErrorCorrectionLevelH CIQRCodeErrorCorrectionLevel = 3 // CIQRCodeErrorCorrectionLevelL: Indicates that approximately 20% of the symbol data is dedicated to error correction. CIQRCodeErrorCorrectionLevelL CIQRCodeErrorCorrectionLevel = 0 // CIQRCodeErrorCorrectionLevelM: Indicates that approximately 37% of the symbol data is dedicated to error correction. CIQRCodeErrorCorrectionLevelM CIQRCodeErrorCorrectionLevel = 1 // CIQRCodeErrorCorrectionLevelQ: Indicates that approximately 55% of the symbol data is dedicated to error correction. CIQRCodeErrorCorrectionLevelQ CIQRCodeErrorCorrectionLevel = 2 )
func (CIQRCodeErrorCorrectionLevel) String ¶
func (e CIQRCodeErrorCorrectionLevel) String() string
type CIQRCodeFeature ¶
type CIQRCodeFeature struct {
CIFeature
}
Information about a Quick Response code detected in a still or video image.
Overview ¶
A QR code is a two-dimensional barcode using the ISO/IEC 18004:2006 standard. The properties of a CIQRCodeFeature object identify the corners of the barcode in the image perspective and provide the decoded message.
To detect QR codes in an image or video, choose CIQRCodeFeature.CIDetectorTypeQRCode type when initializing a CIDetector object.
Decoding a Detected Barcode ¶
- CIQRCodeFeature.MessageString: The string decoded from the detected barcode.
- CIQRCodeFeature.SymbolDescriptor: An abstract representation of a QR Code symbol.
Identifying the Corners of a Detected Barcode ¶
- CIQRCodeFeature.BottomLeft: The image coordinate of the lower-left corner of the detected QR code.
- CIQRCodeFeature.BottomRight: The image coordinate of the lower-right corner of the detected QR code.
- CIQRCodeFeature.TopLeft: The image coordinate of the upper-left corner of the detected QR code.
- CIQRCodeFeature.TopRight: The image coordinate of the upper-right corner of the detected QR code.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeFeature
func CIQRCodeFeatureFromID ¶
func CIQRCodeFeatureFromID(id objc.ID) CIQRCodeFeature
CIQRCodeFeatureFromID constructs a CIQRCodeFeature from an objc.ID.
Information about a Quick Response code detected in a still or video image.
func NewCIQRCodeFeature ¶
func NewCIQRCodeFeature() CIQRCodeFeature
NewCIQRCodeFeature creates a new CIQRCodeFeature instance.
func (CIQRCodeFeature) Autorelease ¶
func (q CIQRCodeFeature) Autorelease() CIQRCodeFeature
Autorelease adds the receiver to the current autorelease pool.
func (CIQRCodeFeature) BottomLeft ¶
func (q CIQRCodeFeature) BottomLeft() corefoundation.CGPoint
The image coordinate of the lower-left corner of the detected QR code.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeFeature/bottomLeft-swift.property
func (CIQRCodeFeature) BottomRight ¶
func (q CIQRCodeFeature) BottomRight() corefoundation.CGPoint
The image coordinate of the lower-right corner of the detected QR code.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeFeature/bottomRight-swift.property
func (CIQRCodeFeature) CIDetectorTypeQRCode ¶
func (q CIQRCodeFeature) CIDetectorTypeQRCode() string
A detector that searches for Quick Response codes (a type of 2D barcode) in a still image or video, returning
See: https://developer.apple.com/documentation/coreimage/cidetectortypeqrcode
func (CIQRCodeFeature) Init ¶
func (q CIQRCodeFeature) Init() CIQRCodeFeature
Init initializes the instance.
func (CIQRCodeFeature) MessageString ¶
func (q CIQRCodeFeature) MessageString() string
The string decoded from the detected barcode.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeFeature/messageString
func (CIQRCodeFeature) SymbolDescriptor ¶
func (q CIQRCodeFeature) SymbolDescriptor() ICIQRCodeDescriptor
An abstract representation of a QR Code symbol.
Discussion ¶
The property is a CIQRCodeDescriptor instance that contains the payload, symbol version, mask pattern, and error correction level, so the QR Code can be reproduced.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeFeature/symbolDescriptor-swift.property
func (CIQRCodeFeature) TopLeft ¶
func (q CIQRCodeFeature) TopLeft() corefoundation.CGPoint
The image coordinate of the upper-left corner of the detected QR code.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeFeature/topLeft-swift.property
func (CIQRCodeFeature) TopRight ¶
func (q CIQRCodeFeature) TopRight() corefoundation.CGPoint
The image coordinate of the upper-right corner of the detected QR code.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeFeature/topRight-swift.property
type CIQRCodeFeatureClass ¶
type CIQRCodeFeatureClass struct {
// contains filtered or unexported fields
}
func GetCIQRCodeFeatureClass ¶
func GetCIQRCodeFeatureClass() CIQRCodeFeatureClass
GetCIQRCodeFeatureClass returns the class object for CIQRCodeFeature.
func (CIQRCodeFeatureClass) Alloc ¶
func (cc CIQRCodeFeatureClass) Alloc() CIQRCodeFeature
Alloc allocates memory for a new instance of the class.
type CIQRCodeGenerator ¶
type CIQRCodeGenerator interface {
objectivec.IObject
CIFilterProtocol
// The QR code correction level: L, M, Q, or H.
//
// See: https://developer.apple.com/documentation/CoreImage/CIQRCodeGenerator/correctionLevel
CorrectionLevel() string
// The message to encode in the QR code.
//
// See: https://developer.apple.com/documentation/CoreImage/CIQRCodeGenerator/message
Message() foundation.INSData
// The QR code correction level: L, M, Q, or H.
//
// See: https://developer.apple.com/documentation/CoreImage/CIQRCodeGenerator/correctionLevel
SetCorrectionLevel(value string)
// The message to encode in the QR code.
//
// See: https://developer.apple.com/documentation/CoreImage/CIQRCodeGenerator/message
SetMessage(value foundation.INSData)
}
The properties you use to configure a QR code generator filter.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeGenerator
type CIQRCodeGeneratorObject ¶
type CIQRCodeGeneratorObject struct {
objectivec.Object
}
CIQRCodeGeneratorObject wraps an existing Objective-C object that conforms to the CIQRCodeGenerator protocol.
func CIQRCodeGeneratorObjectFromID ¶
func CIQRCodeGeneratorObjectFromID(id objc.ID) CIQRCodeGeneratorObject
CIQRCodeGeneratorObjectFromID constructs a CIQRCodeGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIQRCodeGeneratorObject) BaseObject ¶
func (o CIQRCodeGeneratorObject) BaseObject() objectivec.Object
func (CIQRCodeGeneratorObject) CorrectionLevel ¶
func (o CIQRCodeGeneratorObject) CorrectionLevel() string
The QR code correction level: L, M, Q, or H.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeGenerator/correctionLevel
func (CIQRCodeGeneratorObject) Message ¶
func (o CIQRCodeGeneratorObject) Message() foundation.INSData
The message to encode in the QR code.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeGenerator/message
func (CIQRCodeGeneratorObject) OutputImage ¶
func (o CIQRCodeGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIQRCodeGeneratorObject) SetCorrectionLevel ¶
func (o CIQRCodeGeneratorObject) SetCorrectionLevel(value string)
func (CIQRCodeGeneratorObject) SetMessage ¶
func (o CIQRCodeGeneratorObject) SetMessage(value foundation.INSData)
type CIRAWDecoderVersion ¶
type CIRAWDecoderVersion = string
See: https://developer.apple.com/documentation/CoreImage/CIRAWDecoderVersion
var ( // See: https://developer.apple.com/documentation/CoreImage/CIRAWDecoderVersion/version6 CIRAWDecoderVersion6 CIRAWDecoderVersion // See: https://developer.apple.com/documentation/CoreImage/CIRAWDecoderVersion/version6DNG CIRAWDecoderVersion6DNG CIRAWDecoderVersion // See: https://developer.apple.com/documentation/CoreImage/CIRAWDecoderVersion/version7 CIRAWDecoderVersion7 CIRAWDecoderVersion // See: https://developer.apple.com/documentation/CoreImage/CIRAWDecoderVersion/version7DNG CIRAWDecoderVersion7DNG CIRAWDecoderVersion // See: https://developer.apple.com/documentation/CoreImage/CIRAWDecoderVersion/version8 CIRAWDecoderVersion8 CIRAWDecoderVersion // See: https://developer.apple.com/documentation/CoreImage/CIRAWDecoderVersion/version8DNG CIRAWDecoderVersion8DNG CIRAWDecoderVersion // See: https://developer.apple.com/documentation/CoreImage/CIRAWDecoderVersion/version9 CIRAWDecoderVersion9 CIRAWDecoderVersion // See: https://developer.apple.com/documentation/CoreImage/CIRAWDecoderVersion/version9DNG CIRAWDecoderVersion9DNG CIRAWDecoderVersion // See: https://developer.apple.com/documentation/CoreImage/CIRAWDecoderVersion/none CIRAWDecoderVersionNone CIRAWDecoderVersion )
type CIRAWFilter ¶
type CIRAWFilter struct {
CIFilter
}
A filter subclass that produces an image by manipulating RAW image sensor data from a digital camera or scanner.
Overview ¶
Use this class to generate a CIImage object based on the configuration parameters you provide.
You can use this object in conjunction with other Core Image classes—such as CIFilter and CIContext—to take advantage of the built-in Core Image filters when processing images or writing custom filters.
You can also query this object to find out about the supported camera models, decoders, and filters.
Inspecting supported camera models, decoders, and filters ¶
- CIRAWFilter.SupportedDecoderVersions: An array of all supported decoder versions for the given image type.
- CIRAWFilter.ColorNoiseReductionSupported: A Boolean that indicates if the current image supports color noise reduction adjustments.
- CIRAWFilter.ContrastSupported: A Boolean that indicates if the current image supports contrast adjustments.
- CIRAWFilter.DetailSupported: A Boolean that indicates if the current image supports detail enhancement adjustments.
- CIRAWFilter.LensCorrectionSupported: A Boolean that indicates if you can enable lens correction for the current image.
- CIRAWFilter.LocalToneMapSupported: A Boolean that indicates if the current image supports local tone curve adjustments.
- CIRAWFilter.LuminanceNoiseReductionSupported: A Boolean that indicates if the current image supports luminance noise reduction adjustments.
- CIRAWFilter.MoireReductionSupported: A Boolean that indicates if the current image supports moire artifact reduction adjustments.
- CIRAWFilter.SharpnessSupported: A Boolean that indicates if the current image supports sharpness adjustments.
- CIRAWFilter.NativeSize: The full native size of the unscaled image.
Configuring a filter ¶
- CIRAWFilter.BaselineExposure: A value that indicates the baseline exposure to apply to the image.
- CIRAWFilter.SetBaselineExposure
- CIRAWFilter.BoostAmount: A value that indicates the amount of global tone curve to apply to the image.
- CIRAWFilter.SetBoostAmount
- CIRAWFilter.BoostShadowAmount: A value that indicates the amount to boost the shadow areas of the image.
- CIRAWFilter.SetBoostShadowAmount
- CIRAWFilter.ColorNoiseReductionAmount: A value that indicates the amount of chroma noise reduction to apply to the image.
- CIRAWFilter.SetColorNoiseReductionAmount
- CIRAWFilter.ContrastAmount: A value that indicates the amount of local contrast to apply to the edges of the image.
- CIRAWFilter.SetContrastAmount
- CIRAWFilter.DecoderVersion: A value that indicates the decoder version to use.
- CIRAWFilter.SetDecoderVersion
- CIRAWFilter.DetailAmount: A value that indicates the amount of detail enhancement to apply to the edges of the image.
- CIRAWFilter.SetDetailAmount
- CIRAWFilter.Exposure: A value that indicates the amount of exposure to apply to the image.
- CIRAWFilter.SetExposure
- CIRAWFilter.ExtendedDynamicRangeAmount: A value that indicates the amount of extended dynamic range (EDR) to apply to the image.
- CIRAWFilter.SetExtendedDynamicRangeAmount
- CIRAWFilter.DraftModeEnabled: A Boolean that indicates whether to enable draft mode.
- CIRAWFilter.SetDraftModeEnabled
- CIRAWFilter.GamutMappingEnabled: A Boolean that indicates whether to enable gamut mapping.
- CIRAWFilter.SetGamutMappingEnabled
- CIRAWFilter.LensCorrectionEnabled: A Boolean that indicates whether to enable lens correction.
- CIRAWFilter.SetLensCorrectionEnabled
- CIRAWFilter.LinearSpaceFilter: An optional filter you can apply to the RAW image while it’s in linear space.
- CIRAWFilter.SetLinearSpaceFilter
- CIRAWFilter.LocalToneMapAmount: A value that indicates the amount of local tone curve to apply to the image.
- CIRAWFilter.SetLocalToneMapAmount
- CIRAWFilter.LuminanceNoiseReductionAmount: A value that indicates the amount of luminance noise reduction to apply to the image.
- CIRAWFilter.SetLuminanceNoiseReductionAmount
- CIRAWFilter.MoireReductionAmount: A value that indicates the amount of moire artifact reduction to apply to high frequency areas of the image.
- CIRAWFilter.SetMoireReductionAmount
- CIRAWFilter.NeutralChromaticity: A value that indicates the amount of white balance based on chromaticity values to apply to the image.
- CIRAWFilter.SetNeutralChromaticity
- CIRAWFilter.NeutralLocation: A value that indicates the amount of white balance based on pixel coordinates to apply to the image.
- CIRAWFilter.SetNeutralLocation
- CIRAWFilter.NeutralTemperature: A value that indicates the amount of white balance based on temperature values to apply to the image.
- CIRAWFilter.SetNeutralTemperature
- CIRAWFilter.NeutralTint: A value that indicates the amount of white balance based on tint values to apply to the image.
- CIRAWFilter.SetNeutralTint
- CIRAWFilter.Orientation: A value that indicates the orientation of the image.
- CIRAWFilter.SetOrientation
- CIRAWFilter.PortraitEffectsMatte: An optional auxiliary image that represents the portrait effects matte of the image.
- CIRAWFilter.PreviewImage: An optional auxiliary image that represents a preview of the original image.
- CIRAWFilter.Properties: A dictionary that contains properties of the image source.
- CIRAWFilter.ScaleFactor: A value that indicates the desired scale factor to draw the output image.
- CIRAWFilter.SetScaleFactor
- CIRAWFilter.SemanticSegmentationGlassesMatte: An optional auxiliary image that represents the semantic segmentation glasses matte of the image.
- CIRAWFilter.SemanticSegmentationHairMatte: An optional auxiliary image that represents the semantic segmentation hair matte of the image.
- CIRAWFilter.SemanticSegmentationSkinMatte: An optional auxiliary image that represents the semantic segmentation skin matte of the image.
- CIRAWFilter.SemanticSegmentationSkyMatte: An optional auxiliary image that represents the semantic segmentation sky matte of the image.
- CIRAWFilter.SemanticSegmentationTeethMatte: An optional auxiliary image that represents the semantic segmentation teeth matte of the image.
- CIRAWFilter.ShadowBias: A value that indicates the amount to subtract from the shadows in the image.
- CIRAWFilter.SetShadowBias
- CIRAWFilter.SharpnessAmount: A value that indicates the amount of sharpness to apply to the edges of the image.
- CIRAWFilter.SetSharpnessAmount
Instance Properties ¶
- CIRAWFilter.HighlightRecoveryEnabled
- CIRAWFilter.SetHighlightRecoveryEnabled
- CIRAWFilter.HighlightRecoverySupported
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter
func CIRAWFilterFromID ¶
func CIRAWFilterFromID(id objc.ID) CIRAWFilter
CIRAWFilterFromID constructs a CIRAWFilter from an objc.ID.
A filter subclass that produces an image by manipulating RAW image sensor data from a digital camera or scanner.
func NewCIRAWFilter ¶
func NewCIRAWFilter() CIRAWFilter
NewCIRAWFilter creates a new CIRAWFilter instance.
func NewRAWFilterWithCVPixelBufferProperties ¶
func NewRAWFilterWithCVPixelBufferProperties(buffer corevideo.CVImageBufferRef, properties foundation.INSDictionary) CIRAWFilter
Creates a RAW filter from the pixel buffer and its properties that you specify.
buffer: A Core Video pixel buffer.
properties: A dictionary that defines the properties of the pixel buffer.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/init(cvPixelBuffer:properties:)
func NewRAWFilterWithImageDataIdentifierHint ¶
func NewRAWFilterWithImageDataIdentifierHint(data foundation.INSData, identifierHint string) CIRAWFilter
Creates a RAW filter from the image data and type hint that you specify.
data: The image data.
identifierHint: A string that identifies the image type.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/init(imageData:identifierHint:)
func NewRAWFilterWithImageURL ¶
func NewRAWFilterWithImageURL(url foundation.INSURL) CIRAWFilter
Creates a RAW filter from the image at the URL location that you specify.
url: The URL location of the image.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/init(imageURL:)
func (CIRAWFilter) Autorelease ¶
func (r CIRAWFilter) Autorelease() CIRAWFilter
Autorelease adds the receiver to the current autorelease pool.
func (CIRAWFilter) BaselineExposure ¶
func (r CIRAWFilter) BaselineExposure() float32
A value that indicates the baseline exposure to apply to the image.
Discussion ¶
The default value varies with camera settings. A value of `0` indicates linear response.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/baselineExposure
func (CIRAWFilter) BoostAmount ¶
func (r CIRAWFilter) BoostAmount() float32
A value that indicates the amount of global tone curve to apply to the image.
Discussion ¶
The value should be in the range of `0...1`. A value of `0` indicates no global tone curve (linear response), and a value of `1` indicates full global tone curve. The default value is `1`.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/boostAmount
func (CIRAWFilter) BoostShadowAmount ¶
func (r CIRAWFilter) BoostShadowAmount() float32
A value that indicates the amount to boost the shadow areas of the image.
Discussion ¶
Use this value to lighten details in shadows. The value should be in the range of `0...2`. The default value is `1`. A value less than `1` darkens the shadows, and a value greater than `1` lightens the shadows.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/boostShadowAmount
func (CIRAWFilter) ColorNoiseReductionAmount ¶
func (r CIRAWFilter) ColorNoiseReductionAmount() float32
A value that indicates the amount of chroma noise reduction to apply to the image.
Discussion ¶
The value should be in the range of `0...1`. The default value varies by image. A value of `0` indicates no chroma noise reduction, and a value of `1` indicates maximum chroma noise reduction.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/colorNoiseReductionAmount
func (CIRAWFilter) ColorNoiseReductionSupported ¶
func (r CIRAWFilter) ColorNoiseReductionSupported() bool
A Boolean that indicates if the current image supports color noise reduction adjustments.
Discussion ¶
If this value is true, you can adjust the amount of color noise reduction to apply to the image by setting [ColorNoiseReductionAmount].
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/isColorNoiseReductionSupported
func (CIRAWFilter) ContrastAmount ¶
func (r CIRAWFilter) ContrastAmount() float32
A value that indicates the amount of local contrast to apply to the edges of the image.
Discussion ¶
The value should be in the range of `0...1`. The default value varies by image. A value of `0` indicates no contrast, and a value of `1` indicates maximum contrast.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/contrastAmount
func (CIRAWFilter) ContrastSupported ¶
func (r CIRAWFilter) ContrastSupported() bool
A Boolean that indicates if the current image supports contrast adjustments.
Discussion ¶
If this value is true, you can adjust the amount of contrast to apply to the image by setting [ContrastAmount].
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/isContrastSupported
func (CIRAWFilter) DecoderVersion ¶
func (r CIRAWFilter) DecoderVersion() CIRAWDecoderVersion
A value that indicates the decoder version to use.
Discussion ¶
The value should be in the range of `0` to the current decoder version.
A newly initialized object defaults to the newest available decoder version for the given image type. You can request an older version to maintain compatibility with older releases. However, the version you request needs to be a member of [SupportedDecoderVersions], otherwise the system generates a `nil` output image.
When you request a specific version of the decoder, Core Image produces an image that looks the same across different versions. However, Core Image doesn’t guarantee that the bits are the same across versions, because the rounding behavior of floating-point arithmetic varies due to differences in compilers or hardware.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/decoderVersion
func (CIRAWFilter) DetailAmount ¶
func (r CIRAWFilter) DetailAmount() float32
A value that indicates the amount of detail enhancement to apply to the edges of the image.
Discussion ¶
The value should be in the range of `0...3`. The default value varies by image. A value of `0` indicates no detail enhancement, and a value of `3` indicates maximum detail enhancement.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/detailAmount
func (CIRAWFilter) DetailSupported ¶
func (r CIRAWFilter) DetailSupported() bool
A Boolean that indicates if the current image supports detail enhancement adjustments.
Discussion ¶
If this value is true, you can adjust the amount of detail enhancement to apply to the image by setting [DetailAmount].
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/isDetailSupported
func (CIRAWFilter) DraftModeEnabled ¶
func (r CIRAWFilter) DraftModeEnabled() bool
A Boolean that indicates whether to enable draft mode.
Discussion ¶
Setting this value to true can improve image decoding speed with minimal loss of quality. The default value is false.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/isDraftModeEnabled
func (CIRAWFilter) Exposure ¶
func (r CIRAWFilter) Exposure() float32
A value that indicates the amount of exposure to apply to the image.
Discussion ¶
The default value is `0`.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/exposure
func (CIRAWFilter) ExtendedDynamicRangeAmount ¶
func (r CIRAWFilter) ExtendedDynamicRangeAmount() float32
A value that indicates the amount of extended dynamic range (EDR) to apply to the image.
Discussion ¶
The value should be in the range of `0...2`. The default value is `0`. A value of `0` indicates no EDR. A value of `1` indicates default EDR, and a value of `2` indicates maximum EDR.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/extendedDynamicRangeAmount
func (CIRAWFilter) GamutMappingEnabled ¶
func (r CIRAWFilter) GamutMappingEnabled() bool
A Boolean that indicates whether to enable gamut mapping.
Discussion ¶
The default value is true.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/isGamutMappingEnabled
func (CIRAWFilter) HighlightRecoveryEnabled ¶
func (r CIRAWFilter) HighlightRecoveryEnabled() bool
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/isHighlightRecoveryEnabled
func (CIRAWFilter) HighlightRecoverySupported ¶
func (r CIRAWFilter) HighlightRecoverySupported() bool
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/isHighlightRecoverySupported
func (CIRAWFilter) LensCorrectionEnabled ¶
func (r CIRAWFilter) LensCorrectionEnabled() bool
A Boolean that indicates whether to enable lens correction.
Discussion ¶
The default value varies by image.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/isLensCorrectionEnabled
func (CIRAWFilter) LensCorrectionSupported ¶
func (r CIRAWFilter) LensCorrectionSupported() bool
A Boolean that indicates if you can enable lens correction for the current image.
Discussion ¶
If this value is true, you can enable lens correction on the image by setting [LensCorrectionEnabled] to true.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/isLensCorrectionSupported
func (CIRAWFilter) LinearSpaceFilter ¶
func (r CIRAWFilter) LinearSpaceFilter() CIFilter
An optional filter you can apply to the RAW image while it’s in linear space.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/linearSpaceFilter
func (CIRAWFilter) LocalToneMapAmount ¶
func (r CIRAWFilter) LocalToneMapAmount() float32
A value that indicates the amount of local tone curve to apply to the image.
Discussion ¶
The value should be in the range of `0...1`. The default value varies by image. A value of `0` indicates no local tone curve (linear response), and a value of `1` indicates full global tone curve.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/localToneMapAmount
func (CIRAWFilter) LocalToneMapSupported ¶
func (r CIRAWFilter) LocalToneMapSupported() bool
A Boolean that indicates if the current image supports local tone curve adjustments.
Discussion ¶
If this value is true, you can adjust the amount of local tone curve to apply to the image by setting [LocalToneMapAmount].
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/isLocalToneMapSupported
func (CIRAWFilter) LuminanceNoiseReductionAmount ¶
func (r CIRAWFilter) LuminanceNoiseReductionAmount() float32
A value that indicates the amount of luminance noise reduction to apply to the image.
Discussion ¶
The value should be in the range of `0...1`. The default value varies by image. A value of `0` indicates no luminance noise reduction, and a value of `1` indicates maximum luminance noise reduction.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/luminanceNoiseReductionAmount
func (CIRAWFilter) LuminanceNoiseReductionSupported ¶
func (r CIRAWFilter) LuminanceNoiseReductionSupported() bool
A Boolean that indicates if the current image supports luminance noise reduction adjustments.
Discussion ¶
If this value is true, you can adjust the amount of luminance noise reduction to apply to the image by setting [LuminanceNoiseReductionAmount].
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/isLuminanceNoiseReductionSupported
func (CIRAWFilter) MoireReductionAmount ¶
func (r CIRAWFilter) MoireReductionAmount() float32
A value that indicates the amount of moire artifact reduction to apply to high frequency areas of the image.
Discussion ¶
The value should be in the range of `0...1`. The default value varies by image. A value of `0` indicates no moire reduction, and a value of `1` indicates maximum moire reduction.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/moireReductionAmount
func (CIRAWFilter) MoireReductionSupported ¶
func (r CIRAWFilter) MoireReductionSupported() bool
A Boolean that indicates if the current image supports moire artifact reduction adjustments.
Discussion ¶
If this value is true, you can adjust the amount of moire artifact reduction to apply to the image by setting [MoireReductionAmount].
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/isMoireReductionSupported
func (CIRAWFilter) NativeSize ¶
func (r CIRAWFilter) NativeSize() corefoundation.CGSize
The full native size of the unscaled image.
Discussion ¶
This value isn’t affected by orientation changes.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/nativeSize
func (CIRAWFilter) NeutralChromaticity ¶
func (r CIRAWFilter) NeutralChromaticity() corefoundation.CGPoint
A value that indicates the amount of white balance based on chromaticity values to apply to the image.
Discussion ¶
Set this value to change the level of white balance to apply to the image, based on `x,y` chromaticity values in the range `0...1`.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/neutralChromaticity
func (CIRAWFilter) NeutralLocation ¶
func (r CIRAWFilter) NeutralLocation() corefoundation.CGPoint
A value that indicates the amount of white balance based on pixel coordinates to apply to the image.
Discussion ¶
Set this value based on `x,y` pixel coordinates in the image.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/neutralLocation
func (CIRAWFilter) NeutralTemperature ¶
func (r CIRAWFilter) NeutralTemperature() float32
A value that indicates the amount of white balance based on temperature values to apply to the image.
Discussion ¶
Set this value based on temperature values in the range `2000K...50000K`.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/neutralTemperature
func (CIRAWFilter) NeutralTint ¶
func (r CIRAWFilter) NeutralTint() float32
A value that indicates the amount of white balance based on tint values to apply to the image.
Discussion ¶
Set this value based on tint values in the range `-150...150`.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/neutralTint
func (CIRAWFilter) Orientation ¶
func (r CIRAWFilter) Orientation() objectivec.IObject
A value that indicates the orientation of the image.
Discussion ¶
The value should be in the range of `1...8` and follow the EXIF specification.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/orientation
func (CIRAWFilter) PortraitEffectsMatte ¶
func (r CIRAWFilter) PortraitEffectsMatte() ICIImage
An optional auxiliary image that represents the portrait effects matte of the image.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/portraitEffectsMatte
func (CIRAWFilter) PreviewImage ¶
func (r CIRAWFilter) PreviewImage() ICIImage
An optional auxiliary image that represents a preview of the original image.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/previewImage
func (CIRAWFilter) Properties ¶
func (r CIRAWFilter) Properties() foundation.INSDictionary
A dictionary that contains properties of the image source.
Discussion ¶
This dictionary contains the same contents as the Image Properties accessed using CGImageSourceCopyProperties(_:_:).
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/properties
func (CIRAWFilter) ScaleFactor ¶
func (r CIRAWFilter) ScaleFactor() float32
A value that indicates the desired scale factor to draw the output image.
Discussion ¶
The value should be in the range of `0...1`. The default value is `1`. A value of `1` results in a full-size output image, and a value less than `1` results in a smaller output image.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/scaleFactor
func (CIRAWFilter) SemanticSegmentationGlassesMatte ¶
func (r CIRAWFilter) SemanticSegmentationGlassesMatte() ICIImage
An optional auxiliary image that represents the semantic segmentation glasses matte of the image.
Discussion ¶
This matting image segments eyeglasses and sunglasses from all people in the visible field of view of the image.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/semanticSegmentationGlassesMatte
func (CIRAWFilter) SemanticSegmentationHairMatte ¶
func (r CIRAWFilter) SemanticSegmentationHairMatte() ICIImage
An optional auxiliary image that represents the semantic segmentation hair matte of the image.
Discussion ¶
This matting image segments hair from all people in the visible field of view of the image.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/semanticSegmentationHairMatte
func (CIRAWFilter) SemanticSegmentationSkinMatte ¶
func (r CIRAWFilter) SemanticSegmentationSkinMatte() ICIImage
An optional auxiliary image that represents the semantic segmentation skin matte of the image.
Discussion ¶
This matting image segments skin from all people in the visible field of view of the image.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/semanticSegmentationSkinMatte
func (CIRAWFilter) SemanticSegmentationSkyMatte ¶
func (r CIRAWFilter) SemanticSegmentationSkyMatte() ICIImage
An optional auxiliary image that represents the semantic segmentation sky matte of the image.
Discussion ¶
This matting image segments the sky from the visible field of view of the image.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/semanticSegmentationSkyMatte
func (CIRAWFilter) SemanticSegmentationTeethMatte ¶
func (r CIRAWFilter) SemanticSegmentationTeethMatte() ICIImage
An optional auxiliary image that represents the semantic segmentation teeth matte of the image.
Discussion ¶
This matting image segments the teeth from all people in the visible field of view of the image.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/semanticSegmentationTeethMatte
func (CIRAWFilter) SetBaselineExposure ¶
func (r CIRAWFilter) SetBaselineExposure(value float32)
func (CIRAWFilter) SetBoostAmount ¶
func (r CIRAWFilter) SetBoostAmount(value float32)
func (CIRAWFilter) SetBoostShadowAmount ¶
func (r CIRAWFilter) SetBoostShadowAmount(value float32)
func (CIRAWFilter) SetColorNoiseReductionAmount ¶
func (r CIRAWFilter) SetColorNoiseReductionAmount(value float32)
func (CIRAWFilter) SetContrastAmount ¶
func (r CIRAWFilter) SetContrastAmount(value float32)
func (CIRAWFilter) SetDecoderVersion ¶
func (r CIRAWFilter) SetDecoderVersion(value CIRAWDecoderVersion)
func (CIRAWFilter) SetDetailAmount ¶
func (r CIRAWFilter) SetDetailAmount(value float32)
func (CIRAWFilter) SetDraftModeEnabled ¶
func (r CIRAWFilter) SetDraftModeEnabled(value bool)
func (CIRAWFilter) SetExposure ¶
func (r CIRAWFilter) SetExposure(value float32)
func (CIRAWFilter) SetExtendedDynamicRangeAmount ¶
func (r CIRAWFilter) SetExtendedDynamicRangeAmount(value float32)
func (CIRAWFilter) SetGamutMappingEnabled ¶
func (r CIRAWFilter) SetGamutMappingEnabled(value bool)
func (CIRAWFilter) SetHighlightRecoveryEnabled ¶
func (r CIRAWFilter) SetHighlightRecoveryEnabled(value bool)
func (CIRAWFilter) SetLensCorrectionEnabled ¶
func (r CIRAWFilter) SetLensCorrectionEnabled(value bool)
func (CIRAWFilter) SetLinearSpaceFilter ¶
func (r CIRAWFilter) SetLinearSpaceFilter(value CIFilter)
func (CIRAWFilter) SetLocalToneMapAmount ¶
func (r CIRAWFilter) SetLocalToneMapAmount(value float32)
func (CIRAWFilter) SetLuminanceNoiseReductionAmount ¶
func (r CIRAWFilter) SetLuminanceNoiseReductionAmount(value float32)
func (CIRAWFilter) SetMoireReductionAmount ¶
func (r CIRAWFilter) SetMoireReductionAmount(value float32)
func (CIRAWFilter) SetNeutralChromaticity ¶
func (r CIRAWFilter) SetNeutralChromaticity(value corefoundation.CGPoint)
func (CIRAWFilter) SetNeutralLocation ¶
func (r CIRAWFilter) SetNeutralLocation(value corefoundation.CGPoint)
func (CIRAWFilter) SetNeutralTemperature ¶
func (r CIRAWFilter) SetNeutralTemperature(value float32)
func (CIRAWFilter) SetNeutralTint ¶
func (r CIRAWFilter) SetNeutralTint(value float32)
func (CIRAWFilter) SetOrientation ¶
func (r CIRAWFilter) SetOrientation(value objectivec.IObject)
func (CIRAWFilter) SetScaleFactor ¶
func (r CIRAWFilter) SetScaleFactor(value float32)
func (CIRAWFilter) SetShadowBias ¶
func (r CIRAWFilter) SetShadowBias(value float32)
func (CIRAWFilter) SetSharpnessAmount ¶
func (r CIRAWFilter) SetSharpnessAmount(value float32)
func (CIRAWFilter) ShadowBias ¶
func (r CIRAWFilter) ShadowBias() float32
A value that indicates the amount to subtract from the shadows in the image.
Discussion ¶
The default value varies by image.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/shadowBias
func (CIRAWFilter) SharpnessAmount ¶
func (r CIRAWFilter) SharpnessAmount() float32
A value that indicates the amount of sharpness to apply to the edges of the image.
Discussion ¶
The value should be in the range of `0...1`. The default value varies by image. A value of `0` indicates no sharpness, and a value of `1` indicates maximum sharpness.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/sharpnessAmount
func (CIRAWFilter) SharpnessSupported ¶
func (r CIRAWFilter) SharpnessSupported() bool
A Boolean that indicates if the current image supports sharpness adjustments.
Discussion ¶
If this value is true, you can adjust the amount of sharpness to apply to the image by setting [SharpnessAmount].
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/isSharpnessSupported
func (CIRAWFilter) SupportedDecoderVersions ¶
func (r CIRAWFilter) SupportedDecoderVersions() []string
An array of all supported decoder versions for the given image type.
Discussion ¶
This array is sorted in reverse chronological order. All entries represent a valid version identifier set to [DecoderVersion].
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/supportedDecoderVersions
type CIRAWFilterClass ¶
type CIRAWFilterClass struct {
// contains filtered or unexported fields
}
func GetCIRAWFilterClass ¶
func GetCIRAWFilterClass() CIRAWFilterClass
GetCIRAWFilterClass returns the class object for CIRAWFilter.
func (CIRAWFilterClass) Alloc ¶
func (cc CIRAWFilterClass) Alloc() CIRAWFilter
Alloc allocates memory for a new instance of the class.
func (CIRAWFilterClass) SupportedCameraModels ¶
func (_CIRAWFilterClass CIRAWFilterClass) SupportedCameraModels() []string
An array containing the names of all supported camera models.
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter/supportedCameraModels
type CIRadialGradient ¶
type CIRadialGradient interface {
objectivec.IObject
CIFilterProtocol
// The center of the effect as x and y coordinates.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRadialGradient/center
Center() corefoundation.CGPoint
// The first color to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRadialGradient/color0
Color0() ICIColor
// The second color to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRadialGradient/color1
Color1() ICIColor
// The radius of the starting circle to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRadialGradient/radius0
Radius0() float32
// The radius of the ending circle to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRadialGradient/radius1
Radius1() float32
// The center of the effect as x and y coordinates.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRadialGradient/center
SetCenter(value corefoundation.CGPoint)
// The first color to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRadialGradient/color0
SetColor0(value ICIColor)
// The second color to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRadialGradient/color1
SetColor1(value ICIColor)
// The radius of the starting circle to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRadialGradient/radius0
SetRadius0(value float32)
// The radius of the ending circle to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRadialGradient/radius1
SetRadius1(value float32)
}
The properties you use to configure a radial gradient filter.
See: https://developer.apple.com/documentation/CoreImage/CIRadialGradient
type CIRadialGradientObject ¶
type CIRadialGradientObject struct {
objectivec.Object
}
CIRadialGradientObject wraps an existing Objective-C object that conforms to the CIRadialGradient protocol.
func CIRadialGradientObjectFromID ¶
func CIRadialGradientObjectFromID(id objc.ID) CIRadialGradientObject
CIRadialGradientObjectFromID constructs a CIRadialGradientObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIRadialGradientObject) BaseObject ¶
func (o CIRadialGradientObject) BaseObject() objectivec.Object
func (CIRadialGradientObject) Center ¶
func (o CIRadialGradientObject) Center() corefoundation.CGPoint
The center of the effect as x and y coordinates.
See: https://developer.apple.com/documentation/CoreImage/CIRadialGradient/center
func (CIRadialGradientObject) Color0 ¶
func (o CIRadialGradientObject) Color0() ICIColor
The first color to use in the gradient.
See: https://developer.apple.com/documentation/CoreImage/CIRadialGradient/color0
func (CIRadialGradientObject) Color1 ¶
func (o CIRadialGradientObject) Color1() ICIColor
The second color to use in the gradient.
See: https://developer.apple.com/documentation/CoreImage/CIRadialGradient/color1
func (CIRadialGradientObject) OutputImage ¶
func (o CIRadialGradientObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIRadialGradientObject) Radius0 ¶
func (o CIRadialGradientObject) Radius0() float32
The radius of the starting circle to use in the gradient.
See: https://developer.apple.com/documentation/CoreImage/CIRadialGradient/radius0
func (CIRadialGradientObject) Radius1 ¶
func (o CIRadialGradientObject) Radius1() float32
The radius of the ending circle to use in the gradient.
See: https://developer.apple.com/documentation/CoreImage/CIRadialGradient/radius1
func (CIRadialGradientObject) SetCenter ¶
func (o CIRadialGradientObject) SetCenter(value corefoundation.CGPoint)
func (CIRadialGradientObject) SetColor0 ¶
func (o CIRadialGradientObject) SetColor0(value ICIColor)
func (CIRadialGradientObject) SetColor1 ¶
func (o CIRadialGradientObject) SetColor1(value ICIColor)
func (CIRadialGradientObject) SetRadius0 ¶
func (o CIRadialGradientObject) SetRadius0(value float32)
func (CIRadialGradientObject) SetRadius1 ¶
func (o CIRadialGradientObject) SetRadius1(value float32)
type CIRandomGenerator ¶
type CIRandomGenerator interface {
objectivec.IObject
CIFilterProtocol
}
The properties you use to configure a random generator filter.
See: https://developer.apple.com/documentation/CoreImage/CIRandomGenerator
type CIRandomGeneratorObject ¶
type CIRandomGeneratorObject struct {
objectivec.Object
}
CIRandomGeneratorObject wraps an existing Objective-C object that conforms to the CIRandomGenerator protocol.
func CIRandomGeneratorObjectFromID ¶
func CIRandomGeneratorObjectFromID(id objc.ID) CIRandomGeneratorObject
CIRandomGeneratorObjectFromID constructs a CIRandomGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIRandomGeneratorObject) BaseObject ¶
func (o CIRandomGeneratorObject) BaseObject() objectivec.Object
func (CIRandomGeneratorObject) OutputImage ¶
func (o CIRandomGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
type CIRectangleFeature ¶
type CIRectangleFeature struct {
CIFeature
}
Information about a rectangular region detected in a still or video image.
Overview ¶
A detected rectangle feature is not necessarily rectangular in the plane of the image; rather, the feature identifies a shape that may be rectangular in space (for example a book on a desk) but which appears as a four-sided polygon in the image. The properties of a CIRectangleFeature object identify its four corners in image coordinates.
You can use rectangle feature detection together with the CIPerspectiveCorrection filter to transform the feature to a normal orientation.
To detect rectangles in an image or video, choose CIRectangleFeature.CIDetectorTypeRectangle when initializing a CIDetector object, and use the CIDetectorAspectRatio and CIDetectorFocalLength options to specify the approximate shape of rectangular features to search for. The detector returns at most one rectangle feature, the most prominent found in the image.
Identifying the Corners of a Detected Rectangle ¶
- CIRectangleFeature.BottomLeft: The lower-left corner of the detected rectangle, in image coordinates.
- CIRectangleFeature.BottomRight: The lower-right corner of the detected rectangle, in image coordinates.
- CIRectangleFeature.TopLeft: The upper-left corner of the detected rectangle, in image coordinates.
- CIRectangleFeature.TopRight: The upper-right corner of the detected rectangle, in image coordinates.
See: https://developer.apple.com/documentation/CoreImage/CIRectangleFeature
func CIRectangleFeatureFromID ¶
func CIRectangleFeatureFromID(id objc.ID) CIRectangleFeature
CIRectangleFeatureFromID constructs a CIRectangleFeature from an objc.ID.
Information about a rectangular region detected in a still or video image.
func NewCIRectangleFeature ¶
func NewCIRectangleFeature() CIRectangleFeature
NewCIRectangleFeature creates a new CIRectangleFeature instance.
func (CIRectangleFeature) Autorelease ¶
func (r CIRectangleFeature) Autorelease() CIRectangleFeature
Autorelease adds the receiver to the current autorelease pool.
func (CIRectangleFeature) BottomLeft ¶
func (r CIRectangleFeature) BottomLeft() corefoundation.CGPoint
The lower-left corner of the detected rectangle, in image coordinates.
See: https://developer.apple.com/documentation/CoreImage/CIRectangleFeature/bottomLeft-swift.property
func (CIRectangleFeature) BottomRight ¶
func (r CIRectangleFeature) BottomRight() corefoundation.CGPoint
The lower-right corner of the detected rectangle, in image coordinates.
See: https://developer.apple.com/documentation/CoreImage/CIRectangleFeature/bottomRight-swift.property
func (CIRectangleFeature) CIDetectorTypeRectangle ¶
func (r CIRectangleFeature) CIDetectorTypeRectangle() string
A detector that searches for rectangular areas in a still image or video, returning
See: https://developer.apple.com/documentation/coreimage/cidetectortyperectangle
func (CIRectangleFeature) Init ¶
func (r CIRectangleFeature) Init() CIRectangleFeature
Init initializes the instance.
func (CIRectangleFeature) TopLeft ¶
func (r CIRectangleFeature) TopLeft() corefoundation.CGPoint
The upper-left corner of the detected rectangle, in image coordinates.
See: https://developer.apple.com/documentation/CoreImage/CIRectangleFeature/topLeft-swift.property
func (CIRectangleFeature) TopRight ¶
func (r CIRectangleFeature) TopRight() corefoundation.CGPoint
The upper-right corner of the detected rectangle, in image coordinates.
See: https://developer.apple.com/documentation/CoreImage/CIRectangleFeature/topRight-swift.property
type CIRectangleFeatureClass ¶
type CIRectangleFeatureClass struct {
// contains filtered or unexported fields
}
func GetCIRectangleFeatureClass ¶
func GetCIRectangleFeatureClass() CIRectangleFeatureClass
GetCIRectangleFeatureClass returns the class object for CIRectangleFeature.
func (CIRectangleFeatureClass) Alloc ¶
func (cc CIRectangleFeatureClass) Alloc() CIRectangleFeature
Alloc allocates memory for a new instance of the class.
type CIRenderDestination ¶
type CIRenderDestination struct {
objectivec.Object
}
A specification for configuring all attributes of a render task’s destination and issuing asynchronous render tasks.
Overview ¶
The CIRenderDestination class provides an API for specifying a render task destination’s properties, such as buffer format, alpha mode, clamping behavior, blending, and color space, properties formerly tied to CIContext.
You can create a CIRenderDestination object for each surface or buffer to which you must render. You can also render multiple times to a single destination with different settings such as colorspace and blend mode by mutating a single CIRenderDestination object between renders.
Renders issued to a CIRenderDestination return to the caller as soon as the CPU has issued the task, rather than after the GPU has performed the task, so you can start render tasks on subsequent frames without waiting for previous renders to finish. If the render fails, a CIRenderTask will return immediately.
Creating a Render Destination ¶
- CIRenderDestination.InitWithPixelBuffer: Creates a render destination based on a Core Video pixel buffer.
- CIRenderDestination.InitWithIOSurface: Creates a render destination based on an [IOSurface] object.
- CIRenderDestination.InitWithMTLTextureCommandBuffer: Creates a render destination based on a Metal texture.
- CIRenderDestination.InitWithWidthHeightPixelFormatCommandBufferMtlTextureProvider: Creates a render destination based on a Metal texture with specified pixel format.
- CIRenderDestination.InitWithGLTextureTargetWidthHeight: Creates a render destination based on an OpenGL texture.
- CIRenderDestination.InitWithBitmapDataWidthHeightBytesPerRowFormat: Creates a render destination based on a client-managed buffer.
Customizing Rendering ¶
- CIRenderDestination.AlphaMode: The render destination’s representation of alpha (transparency) values.
- CIRenderDestination.SetAlphaMode
- CIRenderDestination.BlendKernel: The destination’s blend kernel.
- CIRenderDestination.SetBlendKernel
- CIRenderDestination.BlendsInDestinationColorSpace: Indicator of whether to blend in the destination’s color space.
- CIRenderDestination.SetBlendsInDestinationColorSpace
- CIRenderDestination.ColorSpace: The destination’s color space.
- CIRenderDestination.SetColorSpace
- CIRenderDestination.Width: The render destination’s row width.
- CIRenderDestination.Height: The render destination’s buffer height.
- CIRenderDestination.Clamped: Indicator of whether or not the destination clamps.
- CIRenderDestination.SetClamped
- CIRenderDestination.Dithered: Indicator of whether or not the destination dithers.
- CIRenderDestination.SetDithered
- CIRenderDestination.Flipped: Indicator of whether the destination is flipped.
- CIRenderDestination.SetFlipped
Instance Properties ¶
- CIRenderDestination.CaptureTraceURL: Tell the next render using this destination to capture a Metal trace.
- CIRenderDestination.SetCaptureTraceURL
See: https://developer.apple.com/documentation/CoreImage/CIRenderDestination
func CIRenderDestinationFromID ¶
func CIRenderDestinationFromID(id objc.ID) CIRenderDestination
CIRenderDestinationFromID constructs a CIRenderDestination from an objc.ID.
A specification for configuring all attributes of a render task’s destination and issuing asynchronous render tasks.
func NewCIRenderDestination ¶
func NewCIRenderDestination() CIRenderDestination
NewCIRenderDestination creates a new CIRenderDestination instance.
func NewRenderDestinationWithBitmapDataWidthHeightBytesPerRowFormat ¶
func NewRenderDestinationWithBitmapDataWidthHeightBytesPerRowFormat(data unsafe.Pointer, width uint, height uint, bytesPerRow uint, format int) CIRenderDestination
Creates a render destination based on a client-managed buffer.
data: Pointer to raw bits of a client-managed buffer that is at least (`bytesPerRow` * `height`) bytes in size.
width: Width of the bitmap image in pixels.
height: Height of the bitmap image in pixels.
bytesPerRow: Number of bytes per row of data.
format: Color format specifying how the colors are laid out in memory (for example, [RGBA8]). // [RGBA8]: https://developer.apple.com/documentation/CoreImage/CIFormat/RGBA8
Return Value ¶
A CIRenderDestination object for rendering to a client-managed buffer.
Discussion ¶
The destination’s [ColorSpace] property will default to a CGColorSpace created with sRGB, extendedSRGB, or genericGrayGamma2_2.
func NewRenderDestinationWithGLTextureTargetWidthHeight ¶
func NewRenderDestinationWithGLTextureTargetWidthHeight(texture uint32, target uint32, width uint, height uint) CIRenderDestination
Creates a render destination based on an OpenGL texture.
texture: [GLTexture]-backed texture data.
target: A value denoting the type of destination. Use `GL_TEXTURE_2D` if your texture dimensions are a power of two, or `GL_TEXTURE_RECTANGLE_EXT` otherwise.
width: Width of the texture in texels.
height: Height of the texture in texels.
Return Value ¶
A CIRenderDestination object for rendering to a [GLTexture] supported by [GLContext]-backed CIContext.
Discussion ¶
Rendering to a [GLTexture]-backed CIRenderDestination is supported by only [GLContext]-backed CIContext.
The destination’s [ColorSpace] property will default to a CGColorSpace created with sRGB, extendedSRGB, or genericGrayGamma2_2.
func NewRenderDestinationWithIOSurface ¶
func NewRenderDestinationWithIOSurface(surface iosurface.IOSurface) CIRenderDestination
Creates a render destination based on an [IOSurface] object.
surface: The [IOSurface] render target.
Return Value ¶
A CIRenderDestination object for rendering to an [IOSurface] object.
Discussion ¶
The destination’s [ColorSpace] property will default to a CGColorSpace created by querying the [IOSurface] object’s attributes.
See: https://developer.apple.com/documentation/CoreImage/CIRenderDestination/init(ioSurface:)
func NewRenderDestinationWithMTLTextureCommandBuffer ¶
func NewRenderDestinationWithMTLTextureCommandBuffer(texture objectivec.IObject, commandBuffer objectivec.IObject) CIRenderDestination
Creates a render destination based on a Metal texture.
texture: The MTLTexture object for rendering with MTLTextureType of MTLTextureType.type2D. // MTLTextureType.type2D: https://developer.apple.com/documentation/Metal/MTLTextureType/type2D MTLTextureType: https://developer.apple.com/documentation/Metal/MTLTextureType MTLTexture: https://developer.apple.com/documentation/Metal/MTLTexture
commandBuffer: An optional [MTLCommandBuffer] to use for rendering to the MTLTexture destination. // [MTLCommandBuffer]: https://developer.apple.com/documentation/Metal/MTLCommandBuffer MTLTexture: https://developer.apple.com/documentation/Metal/MTLTexture
Return Value ¶
A CIRenderDestination object for rendering to a Metal buffer.
Discussion ¶
Rendering to a MTLTexture-backed CIRenderDestination is supported by only MTLTexture-backed CIContext objects. The texture must have MTLTextureType of MTLTextureType.type2D.
The destination’s [ColorSpace] property will default to a CGColorSpace created with sRGB, extendedSRGB, or genericGrayGamma2_2.
func NewRenderDestinationWithPixelBuffer ¶
func NewRenderDestinationWithPixelBuffer(pixelBuffer corevideo.CVImageBufferRef) CIRenderDestination
Creates a render destination based on a Core Video pixel buffer.
pixelBuffer: The CVPixelBuffer render target. // CVPixelBuffer: https://developer.apple.com/documentation/CoreVideo/CVPixelBuffer
Return Value ¶
A CIRenderDestination object for rendering to a CVPixelBuffer.
Discussion ¶
The destination’s [ColorSpace] property will default to a CGColorSpace created by querying the CVPixelBuffer object’s attributes.
See: https://developer.apple.com/documentation/CoreImage/CIRenderDestination/init(pixelBuffer:)
func (CIRenderDestination) AlphaMode ¶
func (r CIRenderDestination) AlphaMode() CIRenderDestinationAlphaMode
The render destination’s representation of alpha (transparency) values.
Discussion ¶
This property defaults to an appropriate value given the object with which you initialized the CIRenderDestination.
See: https://developer.apple.com/documentation/CoreImage/CIRenderDestination/alphaMode
func (CIRenderDestination) Autorelease ¶
func (r CIRenderDestination) Autorelease() CIRenderDestination
Autorelease adds the receiver to the current autorelease pool.
func (CIRenderDestination) BlendKernel ¶
func (r CIRenderDestination) BlendKernel() ICIBlendKernel
The destination’s blend kernel.
See: https://developer.apple.com/documentation/CoreImage/CIRenderDestination/blendKernel
func (CIRenderDestination) BlendsInDestinationColorSpace ¶
func (r CIRenderDestination) BlendsInDestinationColorSpace() bool
Indicator of whether to blend in the destination’s color space.
func (CIRenderDestination) CaptureTraceURL ¶
func (r CIRenderDestination) CaptureTraceURL() foundation.INSURL
Tell the next render using this destination to capture a Metal trace.
Discussion ¶
If this property is set to a file-based URL, then the next render using this destination will capture a Metal trace, deleting any existing file if present. This property is nil by default.
See: https://developer.apple.com/documentation/CoreImage/CIRenderDestination/captureTraceURL
func (CIRenderDestination) Clamped ¶
func (r CIRenderDestination) Clamped() bool
Indicator of whether or not the destination clamps.
See: https://developer.apple.com/documentation/CoreImage/CIRenderDestination/isClamped
func (CIRenderDestination) ColorSpace ¶
func (r CIRenderDestination) ColorSpace() coregraphics.CGColorSpaceRef
The destination’s color space.
See: https://developer.apple.com/documentation/CoreImage/CIRenderDestination/colorSpace
func (CIRenderDestination) Dithered ¶
func (r CIRenderDestination) Dithered() bool
Indicator of whether or not the destination dithers.
See: https://developer.apple.com/documentation/CoreImage/CIRenderDestination/isDithered
func (CIRenderDestination) Flipped ¶
func (r CIRenderDestination) Flipped() bool
Indicator of whether the destination is flipped.
See: https://developer.apple.com/documentation/CoreImage/CIRenderDestination/isFlipped
func (CIRenderDestination) Height ¶
func (r CIRenderDestination) Height() uint
The render destination’s buffer height.
See: https://developer.apple.com/documentation/CoreImage/CIRenderDestination/height
func (CIRenderDestination) Init ¶
func (r CIRenderDestination) Init() CIRenderDestination
Init initializes the instance.
func (CIRenderDestination) InitWithBitmapDataWidthHeightBytesPerRowFormat ¶
func (r CIRenderDestination) InitWithBitmapDataWidthHeightBytesPerRowFormat(data unsafe.Pointer, width uint, height uint, bytesPerRow uint, format int) CIRenderDestination
Creates a render destination based on a client-managed buffer.
data: Pointer to raw bits of a client-managed buffer that is at least (`bytesPerRow` * `height`) bytes in size.
width: Width of the bitmap image in pixels.
height: Height of the bitmap image in pixels.
bytesPerRow: Number of bytes per row of data.
format: Color format specifying how the colors are laid out in memory (for example, [RGBA8]). // [RGBA8]: https://developer.apple.com/documentation/CoreImage/CIFormat/RGBA8
Return Value ¶
A CIRenderDestination object for rendering to a client-managed buffer.
Discussion ¶
The destination’s [ColorSpace] property will default to a CGColorSpace created with sRGB, extendedSRGB, or genericGrayGamma2_2.
func (CIRenderDestination) InitWithGLTextureTargetWidthHeight ¶
func (r CIRenderDestination) InitWithGLTextureTargetWidthHeight(texture uint32, target uint32, width uint, height uint) CIRenderDestination
Creates a render destination based on an OpenGL texture.
texture: [GLTexture]-backed texture data.
target: A value denoting the type of destination. Use `GL_TEXTURE_2D` if your texture dimensions are a power of two, or `GL_TEXTURE_RECTANGLE_EXT` otherwise.
width: Width of the texture in texels.
height: Height of the texture in texels.
Return Value ¶
A CIRenderDestination object for rendering to a [GLTexture] supported by [GLContext]-backed CIContext.
Discussion ¶
Rendering to a [GLTexture]-backed CIRenderDestination is supported by only [GLContext]-backed CIContext.
The destination’s [ColorSpace] property will default to a CGColorSpace created with sRGB, extendedSRGB, or genericGrayGamma2_2.
func (CIRenderDestination) InitWithIOSurface ¶
func (r CIRenderDestination) InitWithIOSurface(surface iosurface.IOSurface) CIRenderDestination
Creates a render destination based on an [IOSurface] object.
surface: The [IOSurface] render target.
Return Value ¶
A CIRenderDestination object for rendering to an [IOSurface] object.
Discussion ¶
The destination’s [ColorSpace] property will default to a CGColorSpace created by querying the [IOSurface] object’s attributes.
See: https://developer.apple.com/documentation/CoreImage/CIRenderDestination/init(ioSurface:)
func (CIRenderDestination) InitWithMTLTextureCommandBuffer ¶
func (r CIRenderDestination) InitWithMTLTextureCommandBuffer(texture objectivec.IObject, commandBuffer objectivec.IObject) CIRenderDestination
Creates a render destination based on a Metal texture.
texture: The MTLTexture object for rendering with MTLTextureType of MTLTextureType.type2D. // MTLTextureType.type2D: https://developer.apple.com/documentation/Metal/MTLTextureType/type2D MTLTextureType: https://developer.apple.com/documentation/Metal/MTLTextureType MTLTexture: https://developer.apple.com/documentation/Metal/MTLTexture
commandBuffer: An optional [MTLCommandBuffer] to use for rendering to the MTLTexture destination. // [MTLCommandBuffer]: https://developer.apple.com/documentation/Metal/MTLCommandBuffer MTLTexture: https://developer.apple.com/documentation/Metal/MTLTexture
Return Value ¶
A CIRenderDestination object for rendering to a Metal buffer.
Discussion ¶
Rendering to a MTLTexture-backed CIRenderDestination is supported by only MTLTexture-backed CIContext objects. The texture must have MTLTextureType of MTLTextureType.type2D.
The destination’s [ColorSpace] property will default to a CGColorSpace created with sRGB, extendedSRGB, or genericGrayGamma2_2.
func (CIRenderDestination) InitWithPixelBuffer ¶
func (r CIRenderDestination) InitWithPixelBuffer(pixelBuffer corevideo.CVImageBufferRef) CIRenderDestination
Creates a render destination based on a Core Video pixel buffer.
pixelBuffer: The CVPixelBuffer render target. // CVPixelBuffer: https://developer.apple.com/documentation/CoreVideo/CVPixelBuffer
Return Value ¶
A CIRenderDestination object for rendering to a CVPixelBuffer.
Discussion ¶
The destination’s [ColorSpace] property will default to a CGColorSpace created by querying the CVPixelBuffer object’s attributes.
See: https://developer.apple.com/documentation/CoreImage/CIRenderDestination/init(pixelBuffer:)
func (CIRenderDestination) InitWithWidthHeightPixelFormatCommandBufferMtlTextureProvider ¶
func (r CIRenderDestination) InitWithWidthHeightPixelFormatCommandBufferMtlTextureProvider(width uint, height uint, pixelFormat objectivec.IObject, commandBuffer objectivec.IObject, block VoidHandler) CIRenderDestination
Creates a render destination based on a Metal texture with specified pixel format.
width: Width of the [MTLTexture] that will be returned by block. // [MTLTexture]: https://developer.apple.com/documentation/Metal/MTLTexture
height: Height of the [MTLTexture] that will be returned by block. // [MTLTexture]: https://developer.apple.com/documentation/Metal/MTLTexture
pixelFormat: Pixel format of the [MTLTexture] that will be returned by block. // [MTLTexture]: https://developer.apple.com/documentation/Metal/MTLTexture
commandBuffer: An optional [MTLCommandBuffer] used for rendering to the [MTLTexture]. // [MTLCommandBuffer]: https://developer.apple.com/documentation/Metal/MTLCommandBuffer [MTLTexture]: https://developer.apple.com/documentation/Metal/MTLTexture
block: [MTLTexture]-rendering provider block to be called lazily when the destination is rendered to. The block must return a texture of [MTLTextureType] of [MTLTextureType.type2D]. // [MTLTextureType.type2D]: https://developer.apple.com/documentation/Metal/MTLTextureType/type2D [MTLTextureType]: https://developer.apple.com/documentation/Metal/MTLTextureType [MTLTexture]: https://developer.apple.com/documentation/Metal/MTLTexture
Return Value ¶
A CIRenderDestination object for rendering to a Metal texture.
Discussion ¶
The destination’s [ColorSpace] property will default to a CGColorSpace created with sRGB, extendedSRGB, or genericGrayGamma2_2.
func (CIRenderDestination) InitWithWidthHeightPixelFormatCommandBufferMtlTextureProviderSync ¶
func (r CIRenderDestination) InitWithWidthHeightPixelFormatCommandBufferMtlTextureProviderSync(ctx context.Context, width uint, height uint, pixelFormat objectivec.IObject, commandBuffer objectivec.IObject) error
InitWithWidthHeightPixelFormatCommandBufferMtlTextureProviderSync is a synchronous wrapper around CIRenderDestination.InitWithWidthHeightPixelFormatCommandBufferMtlTextureProvider. It blocks until the completion handler fires or the context is cancelled.
func (CIRenderDestination) SetAlphaMode ¶
func (r CIRenderDestination) SetAlphaMode(value CIRenderDestinationAlphaMode)
func (CIRenderDestination) SetBlendKernel ¶
func (r CIRenderDestination) SetBlendKernel(value ICIBlendKernel)
func (CIRenderDestination) SetBlendsInDestinationColorSpace ¶
func (r CIRenderDestination) SetBlendsInDestinationColorSpace(value bool)
func (CIRenderDestination) SetCaptureTraceURL ¶
func (r CIRenderDestination) SetCaptureTraceURL(value foundation.INSURL)
func (CIRenderDestination) SetClamped ¶
func (r CIRenderDestination) SetClamped(value bool)
func (CIRenderDestination) SetColorSpace ¶
func (r CIRenderDestination) SetColorSpace(value coregraphics.CGColorSpaceRef)
func (CIRenderDestination) SetDithered ¶
func (r CIRenderDestination) SetDithered(value bool)
func (CIRenderDestination) SetFlipped ¶
func (r CIRenderDestination) SetFlipped(value bool)
func (CIRenderDestination) Width ¶
func (r CIRenderDestination) Width() uint
The render destination’s row width.
See: https://developer.apple.com/documentation/CoreImage/CIRenderDestination/width
type CIRenderDestinationAlphaMode ¶
type CIRenderDestinationAlphaMode int
See: https://developer.apple.com/documentation/CoreImage/CIRenderDestinationAlphaMode
const ( // CIRenderDestinationAlphaNone: Designates a destination with no alpha compositing. CIRenderDestinationAlphaNone CIRenderDestinationAlphaMode = 0 // CIRenderDestinationAlphaPremultiplied: Designates a destination that expects premultiplied alpha values. CIRenderDestinationAlphaPremultiplied CIRenderDestinationAlphaMode = 1 // CIRenderDestinationAlphaUnpremultiplied: Designates a destination that expects non-premultiplied alpha values. CIRenderDestinationAlphaUnpremultiplied CIRenderDestinationAlphaMode = 2 )
func (CIRenderDestinationAlphaMode) String ¶
func (e CIRenderDestinationAlphaMode) String() string
type CIRenderDestinationClass ¶
type CIRenderDestinationClass struct {
// contains filtered or unexported fields
}
func GetCIRenderDestinationClass ¶
func GetCIRenderDestinationClass() CIRenderDestinationClass
GetCIRenderDestinationClass returns the class object for CIRenderDestination.
func (CIRenderDestinationClass) Alloc ¶
func (cc CIRenderDestinationClass) Alloc() CIRenderDestination
Alloc allocates memory for a new instance of the class.
type CIRenderInfo ¶
type CIRenderInfo struct {
objectivec.Object
}
An encapsulation of a render task’s timing, passes, and pixels processed.
Overview ¶
A CIRenderInfo object allows Xcode Quick Look to visualize the render graph with detailed timing information.
Instance Properties ¶
- CIRenderInfo.KernelExecutionTime: The amount of time a render spent executing kernels.
- CIRenderInfo.PassCount: The number of passes the render took.
- CIRenderInfo.PixelsProcessed: The number of pixels the render produced executing kernels.
- CIRenderInfo.KernelCompileTime
See: https://developer.apple.com/documentation/CoreImage/CIRenderInfo
func CIRenderInfoFromID ¶
func CIRenderInfoFromID(id objc.ID) CIRenderInfo
CIRenderInfoFromID constructs a CIRenderInfo from an objc.ID.
An encapsulation of a render task’s timing, passes, and pixels processed.
func NewCIRenderInfo ¶
func NewCIRenderInfo() CIRenderInfo
NewCIRenderInfo creates a new CIRenderInfo instance.
func (CIRenderInfo) Autorelease ¶
func (r CIRenderInfo) Autorelease() CIRenderInfo
Autorelease adds the receiver to the current autorelease pool.
func (CIRenderInfo) KernelCompileTime ¶
func (r CIRenderInfo) KernelCompileTime() float64
See: https://developer.apple.com/documentation/CoreImage/CIRenderInfo/kernelCompileTime
func (CIRenderInfo) KernelExecutionTime ¶
func (r CIRenderInfo) KernelExecutionTime() float64
The amount of time a render spent executing kernels.
See: https://developer.apple.com/documentation/CoreImage/CIRenderInfo/kernelExecutionTime
func (CIRenderInfo) PassCount ¶
func (r CIRenderInfo) PassCount() int
The number of passes the render took.
See: https://developer.apple.com/documentation/CoreImage/CIRenderInfo/passCount
func (CIRenderInfo) PixelsProcessed ¶
func (r CIRenderInfo) PixelsProcessed() int
The number of pixels the render produced executing kernels.
See: https://developer.apple.com/documentation/CoreImage/CIRenderInfo/pixelsProcessed
type CIRenderInfoClass ¶
type CIRenderInfoClass struct {
// contains filtered or unexported fields
}
func GetCIRenderInfoClass ¶
func GetCIRenderInfoClass() CIRenderInfoClass
GetCIRenderInfoClass returns the class object for CIRenderInfo.
func (CIRenderInfoClass) Alloc ¶
func (cc CIRenderInfoClass) Alloc() CIRenderInfo
Alloc allocates memory for a new instance of the class.
type CIRenderTask ¶
type CIRenderTask struct {
objectivec.Object
}
A single render task.
Overview ¶
A single render task issued in conjunction with CIRenderDestination.
A CIRenderTask object appears in Xcode Quick Look as a graph.
Instance Methods ¶
- CIRenderTask.WaitUntilCompletedAndReturnError: Waits until the CIRenderTask(<doc://com.apple.coreimage/documentation/CoreImage/CIRenderTask>) finishes and returns.
See: https://developer.apple.com/documentation/CoreImage/CIRenderTask
func CIRenderTaskFromID ¶
func CIRenderTaskFromID(id objc.ID) CIRenderTask
CIRenderTaskFromID constructs a CIRenderTask from an objc.ID.
A single render task.
func NewCIRenderTask ¶
func NewCIRenderTask() CIRenderTask
NewCIRenderTask creates a new CIRenderTask instance.
func (CIRenderTask) Autorelease ¶
func (r CIRenderTask) Autorelease() CIRenderTask
Autorelease adds the receiver to the current autorelease pool.
func (CIRenderTask) WaitUntilCompletedAndReturnError ¶
func (r CIRenderTask) WaitUntilCompletedAndReturnError() (ICIRenderInfo, error)
Waits until the CIRenderTask finishes and returns.
Discussion ¶
Synchronously blocks execution until the CIRenderTask either completes or fails (with error). Calling this method after [StartTaskToRenderToDestinationError] or [StartTaskToRenderFromRectToDestinationAtPointError] makes the render task behave synchronously, as if the CPU and GPU were operating as a single unit.
See: https://developer.apple.com/documentation/CoreImage/CIRenderTask/waitUntilCompleted()
type CIRenderTaskClass ¶
type CIRenderTaskClass struct {
// contains filtered or unexported fields
}
func GetCIRenderTaskClass ¶
func GetCIRenderTaskClass() CIRenderTaskClass
GetCIRenderTaskClass returns the class object for CIRenderTask.
func (CIRenderTaskClass) Alloc ¶
func (cc CIRenderTaskClass) Alloc() CIRenderTask
Alloc allocates memory for a new instance of the class.
type CIRippleTransition ¶
type CIRippleTransition interface {
objectivec.IObject
CIFilterProtocol
CITransitionFilter
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRippleTransition/center
Center() corefoundation.CGPoint
// A rectangle that defines the extent of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRippleTransition/extent
Extent() corefoundation.CGRect
// A value that determines whether the ripple starts as a bulge (a higher value) or a dimple (a lower value).
//
// See: https://developer.apple.com/documentation/CoreImage/CIRippleTransition/scale
Scale() float32
// An image that looks like a shaded sphere enclosed in a square.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRippleTransition/shadingImage
ShadingImage() ICIImage
// The width of the ripple.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRippleTransition/width
Width() float32
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRippleTransition/center
SetCenter(value corefoundation.CGPoint)
// A rectangle that defines the extent of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRippleTransition/extent
SetExtent(value corefoundation.CGRect)
// A value that determines whether the ripple starts as a bulge (a higher value) or a dimple (a lower value).
//
// See: https://developer.apple.com/documentation/CoreImage/CIRippleTransition/scale
SetScale(value float32)
// An image that looks like a shaded sphere enclosed in a square.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRippleTransition/shadingImage
SetShadingImage(value ICIImage)
// The width of the ripple.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRippleTransition/width
SetWidth(value float32)
}
The properties you use to configure a ripple transition filter.
See: https://developer.apple.com/documentation/CoreImage/CIRippleTransition
type CIRippleTransitionObject ¶
type CIRippleTransitionObject struct {
objectivec.Object
}
CIRippleTransitionObject wraps an existing Objective-C object that conforms to the CIRippleTransition protocol.
func CIRippleTransitionObjectFromID ¶
func CIRippleTransitionObjectFromID(id objc.ID) CIRippleTransitionObject
CIRippleTransitionObjectFromID constructs a CIRippleTransitionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIRippleTransitionObject) BaseObject ¶
func (o CIRippleTransitionObject) BaseObject() objectivec.Object
func (CIRippleTransitionObject) Center ¶
func (o CIRippleTransitionObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIRippleTransition/center
func (CIRippleTransitionObject) Extent ¶
func (o CIRippleTransitionObject) Extent() corefoundation.CGRect
A rectangle that defines the extent of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIRippleTransition/extent
func (CIRippleTransitionObject) InputImage ¶
func (o CIRippleTransitionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/inputImage
func (CIRippleTransitionObject) OutputImage ¶
func (o CIRippleTransitionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIRippleTransitionObject) Scale ¶
func (o CIRippleTransitionObject) Scale() float32
A value that determines whether the ripple starts as a bulge (a higher value) or a dimple (a lower value).
See: https://developer.apple.com/documentation/CoreImage/CIRippleTransition/scale
func (CIRippleTransitionObject) SetCenter ¶
func (o CIRippleTransitionObject) SetCenter(value corefoundation.CGPoint)
func (CIRippleTransitionObject) SetExtent ¶
func (o CIRippleTransitionObject) SetExtent(value corefoundation.CGRect)
func (CIRippleTransitionObject) SetInputImage ¶
func (o CIRippleTransitionObject) SetInputImage(value ICIImage)
func (CIRippleTransitionObject) SetScale ¶
func (o CIRippleTransitionObject) SetScale(value float32)
func (CIRippleTransitionObject) SetShadingImage ¶
func (o CIRippleTransitionObject) SetShadingImage(value ICIImage)
func (CIRippleTransitionObject) SetTargetImage ¶
func (o CIRippleTransitionObject) SetTargetImage(value ICIImage)
func (CIRippleTransitionObject) SetTime ¶
func (o CIRippleTransitionObject) SetTime(value float32)
func (CIRippleTransitionObject) SetWidth ¶
func (o CIRippleTransitionObject) SetWidth(value float32)
func (CIRippleTransitionObject) ShadingImage ¶
func (o CIRippleTransitionObject) ShadingImage() ICIImage
An image that looks like a shaded sphere enclosed in a square.
See: https://developer.apple.com/documentation/CoreImage/CIRippleTransition/shadingImage
func (CIRippleTransitionObject) TargetImage ¶
func (o CIRippleTransitionObject) TargetImage() ICIImage
The target image for a transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/targetImage
func (CIRippleTransitionObject) Time ¶
func (o CIRippleTransitionObject) Time() float32
The parametric time of the transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/time
func (CIRippleTransitionObject) Width ¶
func (o CIRippleTransitionObject) Width() float32
The width of the ripple.
See: https://developer.apple.com/documentation/CoreImage/CIRippleTransition/width
type CIRoundedQRCodeGenerator ¶
type CIRoundedQRCodeGenerator interface {
objectivec.IObject
CIFilterProtocol
// The fraction of the center space of the QRCode to fill with Color 1. If the size is 0.0 or the Correction Level is L or M, the center of the QRCode will be unaltered. The size will be limited to 0.25 if the Correction Level is Q. The size will be limited to 0.33 if the Correction Level is H.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/centerSpaceSize
CenterSpaceSize() float32
// The background color for the QRCode
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/color0
Color0() ICIColor
// The foreground color for the QRCode
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/color1
Color1() ICIColor
// QR Code correction level L, M, Q, or H.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/correctionLevel
CorrectionLevel() string
// The message to encode in the QR Code
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/message
Message() foundation.INSData
// If true then the data points in the QRCode should have a rounded appearance.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/roundedData
RoundedData() bool
// If 1, then the Finder Patterns in the QRCode should have a rounded appearance. If 2, then the Alignment Patterns will also be rounded
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/roundedMarkers
RoundedMarkers() int
// The scale factor to enlarge the QRCode by.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/scale
Scale() float32
// The fraction of the center space of the QRCode to fill with Color 1. If the size is 0.0 or the Correction Level is L or M, the center of the QRCode will be unaltered. The size will be limited to 0.25 if the Correction Level is Q. The size will be limited to 0.33 if the Correction Level is H.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/centerSpaceSize
SetCenterSpaceSize(value float32)
// The background color for the QRCode
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/color0
SetColor0(value ICIColor)
// The foreground color for the QRCode
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/color1
SetColor1(value ICIColor)
// QR Code correction level L, M, Q, or H.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/correctionLevel
SetCorrectionLevel(value string)
// The message to encode in the QR Code
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/message
SetMessage(value foundation.INSData)
// If true then the data points in the QRCode should have a rounded appearance.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/roundedData
SetRoundedData(value bool)
// If 1, then the Finder Patterns in the QRCode should have a rounded appearance. If 2, then the Alignment Patterns will also be rounded
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/roundedMarkers
SetRoundedMarkers(value int)
// The scale factor to enlarge the QRCode by.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/scale
SetScale(value float32)
}
The protocol for the Rounded QR Code Generator filter.
See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator
type CIRoundedQRCodeGeneratorObject ¶
type CIRoundedQRCodeGeneratorObject struct {
objectivec.Object
}
CIRoundedQRCodeGeneratorObject wraps an existing Objective-C object that conforms to the CIRoundedQRCodeGenerator protocol.
func CIRoundedQRCodeGeneratorObjectFromID ¶
func CIRoundedQRCodeGeneratorObjectFromID(id objc.ID) CIRoundedQRCodeGeneratorObject
CIRoundedQRCodeGeneratorObjectFromID constructs a CIRoundedQRCodeGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIRoundedQRCodeGeneratorObject) BaseObject ¶
func (o CIRoundedQRCodeGeneratorObject) BaseObject() objectivec.Object
func (CIRoundedQRCodeGeneratorObject) CenterSpaceSize ¶
func (o CIRoundedQRCodeGeneratorObject) CenterSpaceSize() float32
The fraction of the center space of the QRCode to fill with Color 1. If the size is 0.0 or the Correction Level is L or M, the center of the QRCode will be unaltered. The size will be limited to 0.25 if the Correction Level is Q. The size will be limited to 0.33 if the Correction Level is H.
See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/centerSpaceSize
func (CIRoundedQRCodeGeneratorObject) Color0 ¶
func (o CIRoundedQRCodeGeneratorObject) Color0() ICIColor
The background color for the QRCode
See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/color0
func (CIRoundedQRCodeGeneratorObject) Color1 ¶
func (o CIRoundedQRCodeGeneratorObject) Color1() ICIColor
The foreground color for the QRCode
See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/color1
func (CIRoundedQRCodeGeneratorObject) CorrectionLevel ¶
func (o CIRoundedQRCodeGeneratorObject) CorrectionLevel() string
QR Code correction level L, M, Q, or H.
See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/correctionLevel
func (CIRoundedQRCodeGeneratorObject) Message ¶
func (o CIRoundedQRCodeGeneratorObject) Message() foundation.INSData
The message to encode in the QR Code
See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/message
func (CIRoundedQRCodeGeneratorObject) OutputImage ¶
func (o CIRoundedQRCodeGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIRoundedQRCodeGeneratorObject) RoundedData ¶
func (o CIRoundedQRCodeGeneratorObject) RoundedData() bool
If true then the data points in the QRCode should have a rounded appearance.
See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/roundedData
func (CIRoundedQRCodeGeneratorObject) RoundedMarkers ¶
func (o CIRoundedQRCodeGeneratorObject) RoundedMarkers() int
If 1, then the Finder Patterns in the QRCode should have a rounded appearance. If 2, then the Alignment Patterns will also be rounded
See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/roundedMarkers
func (CIRoundedQRCodeGeneratorObject) Scale ¶
func (o CIRoundedQRCodeGeneratorObject) Scale() float32
The scale factor to enlarge the QRCode by.
See: https://developer.apple.com/documentation/CoreImage/CIRoundedQRCodeGenerator/scale
func (CIRoundedQRCodeGeneratorObject) SetCenterSpaceSize ¶
func (o CIRoundedQRCodeGeneratorObject) SetCenterSpaceSize(value float32)
func (CIRoundedQRCodeGeneratorObject) SetColor0 ¶
func (o CIRoundedQRCodeGeneratorObject) SetColor0(value ICIColor)
func (CIRoundedQRCodeGeneratorObject) SetColor1 ¶
func (o CIRoundedQRCodeGeneratorObject) SetColor1(value ICIColor)
func (CIRoundedQRCodeGeneratorObject) SetCorrectionLevel ¶
func (o CIRoundedQRCodeGeneratorObject) SetCorrectionLevel(value string)
func (CIRoundedQRCodeGeneratorObject) SetMessage ¶
func (o CIRoundedQRCodeGeneratorObject) SetMessage(value foundation.INSData)
func (CIRoundedQRCodeGeneratorObject) SetRoundedData ¶
func (o CIRoundedQRCodeGeneratorObject) SetRoundedData(value bool)
func (CIRoundedQRCodeGeneratorObject) SetRoundedMarkers ¶
func (o CIRoundedQRCodeGeneratorObject) SetRoundedMarkers(value int)
func (CIRoundedQRCodeGeneratorObject) SetScale ¶
func (o CIRoundedQRCodeGeneratorObject) SetScale(value float32)
type CIRoundedRectangleGenerator ¶
type CIRoundedRectangleGenerator interface {
objectivec.IObject
CIFilterProtocol
// The color of the rounded rectangle.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleGenerator/color
Color() ICIColor
// A rectangle that defines the extent of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleGenerator/extent
Extent() corefoundation.CGRect
// The distance from the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleGenerator/radius
Radius() float32
// A value to control the smoothness of the transition between the curved and linear edges of the shape.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleGenerator/smoothness
Smoothness() float32
// The color of the rounded rectangle.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleGenerator/color
SetColor(value ICIColor)
// A rectangle that defines the extent of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleGenerator/extent
SetExtent(value corefoundation.CGRect)
// The distance from the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleGenerator/radius
SetRadius(value float32)
// A value to control the smoothness of the transition between the curved and linear edges of the shape.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleGenerator/smoothness
SetSmoothness(value float32)
}
The properties you use to configure a rounded rectangle generator filter.
See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleGenerator
type CIRoundedRectangleGeneratorObject ¶
type CIRoundedRectangleGeneratorObject struct {
objectivec.Object
}
CIRoundedRectangleGeneratorObject wraps an existing Objective-C object that conforms to the CIRoundedRectangleGenerator protocol.
func CIRoundedRectangleGeneratorObjectFromID ¶
func CIRoundedRectangleGeneratorObjectFromID(id objc.ID) CIRoundedRectangleGeneratorObject
CIRoundedRectangleGeneratorObjectFromID constructs a CIRoundedRectangleGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIRoundedRectangleGeneratorObject) BaseObject ¶
func (o CIRoundedRectangleGeneratorObject) BaseObject() objectivec.Object
func (CIRoundedRectangleGeneratorObject) Color ¶
func (o CIRoundedRectangleGeneratorObject) Color() ICIColor
The color of the rounded rectangle.
See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleGenerator/color
func (CIRoundedRectangleGeneratorObject) Extent ¶
func (o CIRoundedRectangleGeneratorObject) Extent() corefoundation.CGRect
A rectangle that defines the extent of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleGenerator/extent
func (CIRoundedRectangleGeneratorObject) OutputImage ¶
func (o CIRoundedRectangleGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIRoundedRectangleGeneratorObject) Radius ¶
func (o CIRoundedRectangleGeneratorObject) Radius() float32
The distance from the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleGenerator/radius
func (CIRoundedRectangleGeneratorObject) SetColor ¶
func (o CIRoundedRectangleGeneratorObject) SetColor(value ICIColor)
func (CIRoundedRectangleGeneratorObject) SetExtent ¶
func (o CIRoundedRectangleGeneratorObject) SetExtent(value corefoundation.CGRect)
func (CIRoundedRectangleGeneratorObject) SetRadius ¶
func (o CIRoundedRectangleGeneratorObject) SetRadius(value float32)
func (CIRoundedRectangleGeneratorObject) SetSmoothness ¶
func (o CIRoundedRectangleGeneratorObject) SetSmoothness(value float32)
func (CIRoundedRectangleGeneratorObject) Smoothness ¶
func (o CIRoundedRectangleGeneratorObject) Smoothness() float32
A value to control the smoothness of the transition between the curved and linear edges of the shape.
See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleGenerator/smoothness
type CIRoundedRectangleStrokeGenerator ¶
type CIRoundedRectangleStrokeGenerator interface {
objectivec.IObject
CIFilterProtocol
// Color protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleStrokeGenerator/color
Color() ICIColor
// Extent protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleStrokeGenerator/extent
Extent() corefoundation.CGRect
// Radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleStrokeGenerator/radius
Radius() float32
// Width protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleStrokeGenerator/width
Width() float32
// A value to control the smoothness of the transition between the curved and linear edges of the shape.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleStrokeGenerator/smoothness
Smoothness() float32
// color protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleStrokeGenerator/color
SetColor(value ICIColor)
// extent protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleStrokeGenerator/extent
SetExtent(value corefoundation.CGRect)
// radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleStrokeGenerator/radius
SetRadius(value float32)
// width protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleStrokeGenerator/width
SetWidth(value float32)
// A value to control the smoothness of the transition between the curved and linear edges of the shape.
//
// See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleStrokeGenerator/smoothness
SetSmoothness(value float32)
}
CIRoundedRectangleStrokeGenerator protocol.
See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleStrokeGenerator
type CIRoundedRectangleStrokeGeneratorObject ¶
type CIRoundedRectangleStrokeGeneratorObject struct {
objectivec.Object
}
CIRoundedRectangleStrokeGeneratorObject wraps an existing Objective-C object that conforms to the CIRoundedRectangleStrokeGenerator protocol.
func CIRoundedRectangleStrokeGeneratorObjectFromID ¶
func CIRoundedRectangleStrokeGeneratorObjectFromID(id objc.ID) CIRoundedRectangleStrokeGeneratorObject
CIRoundedRectangleStrokeGeneratorObjectFromID constructs a CIRoundedRectangleStrokeGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIRoundedRectangleStrokeGeneratorObject) BaseObject ¶
func (o CIRoundedRectangleStrokeGeneratorObject) BaseObject() objectivec.Object
func (CIRoundedRectangleStrokeGeneratorObject) Color ¶
func (o CIRoundedRectangleStrokeGeneratorObject) Color() ICIColor
See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleStrokeGenerator/color
func (CIRoundedRectangleStrokeGeneratorObject) Extent ¶
func (o CIRoundedRectangleStrokeGeneratorObject) Extent() corefoundation.CGRect
See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleStrokeGenerator/extent
func (CIRoundedRectangleStrokeGeneratorObject) OutputImage ¶
func (o CIRoundedRectangleStrokeGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIRoundedRectangleStrokeGeneratorObject) Radius ¶
func (o CIRoundedRectangleStrokeGeneratorObject) Radius() float32
See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleStrokeGenerator/radius
func (CIRoundedRectangleStrokeGeneratorObject) SetColor ¶
func (o CIRoundedRectangleStrokeGeneratorObject) SetColor(value ICIColor)
func (CIRoundedRectangleStrokeGeneratorObject) SetExtent ¶
func (o CIRoundedRectangleStrokeGeneratorObject) SetExtent(value corefoundation.CGRect)
func (CIRoundedRectangleStrokeGeneratorObject) SetRadius ¶
func (o CIRoundedRectangleStrokeGeneratorObject) SetRadius(value float32)
func (CIRoundedRectangleStrokeGeneratorObject) SetSmoothness ¶
func (o CIRoundedRectangleStrokeGeneratorObject) SetSmoothness(value float32)
func (CIRoundedRectangleStrokeGeneratorObject) SetWidth ¶
func (o CIRoundedRectangleStrokeGeneratorObject) SetWidth(value float32)
func (CIRoundedRectangleStrokeGeneratorObject) Smoothness ¶
func (o CIRoundedRectangleStrokeGeneratorObject) Smoothness() float32
A value to control the smoothness of the transition between the curved and linear edges of the shape.
See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleStrokeGenerator/smoothness
func (CIRoundedRectangleStrokeGeneratorObject) Width ¶
func (o CIRoundedRectangleStrokeGeneratorObject) Width() float32
See: https://developer.apple.com/documentation/CoreImage/CIRoundedRectangleStrokeGenerator/width
type CIRowAverage ¶
type CIRowAverage interface {
objectivec.IObject
CIAreaReductionFilter
CIFilterProtocol
}
CIRowAverage protocol.
See: https://developer.apple.com/documentation/CoreImage/CIRowAverage
type CIRowAverageObject ¶
type CIRowAverageObject struct {
objectivec.Object
}
CIRowAverageObject wraps an existing Objective-C object that conforms to the CIRowAverage protocol.
func CIRowAverageObjectFromID ¶
func CIRowAverageObjectFromID(id objc.ID) CIRowAverageObject
CIRowAverageObjectFromID constructs a CIRowAverageObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIRowAverageObject) BaseObject ¶
func (o CIRowAverageObject) BaseObject() objectivec.Object
func (CIRowAverageObject) Extent ¶
func (o CIRowAverageObject) Extent() corefoundation.CGRect
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/extent
func (CIRowAverageObject) InputImage ¶
func (o CIRowAverageObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIAreaReductionFilter/inputImage
func (CIRowAverageObject) OutputImage ¶
func (o CIRowAverageObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIRowAverageObject) SetExtent ¶
func (o CIRowAverageObject) SetExtent(value corefoundation.CGRect)
func (CIRowAverageObject) SetInputImage ¶
func (o CIRowAverageObject) SetInputImage(value ICIImage)
type CISRGBToneCurveToLinear ¶
type CISRGBToneCurveToLinear interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CISRGBToneCurveToLinear/inputImage
InputImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CISRGBToneCurveToLinear/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure an sRGB-to-linear filter.
See: https://developer.apple.com/documentation/CoreImage/CISRGBToneCurveToLinear
type CISRGBToneCurveToLinearObject ¶
type CISRGBToneCurveToLinearObject struct {
objectivec.Object
}
CISRGBToneCurveToLinearObject wraps an existing Objective-C object that conforms to the CISRGBToneCurveToLinear protocol.
func CISRGBToneCurveToLinearObjectFromID ¶
func CISRGBToneCurveToLinearObjectFromID(id objc.ID) CISRGBToneCurveToLinearObject
CISRGBToneCurveToLinearObjectFromID constructs a CISRGBToneCurveToLinearObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CISRGBToneCurveToLinearObject) BaseObject ¶
func (o CISRGBToneCurveToLinearObject) BaseObject() objectivec.Object
func (CISRGBToneCurveToLinearObject) InputImage ¶
func (o CISRGBToneCurveToLinearObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CISRGBToneCurveToLinear/inputImage
func (CISRGBToneCurveToLinearObject) OutputImage ¶
func (o CISRGBToneCurveToLinearObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CISRGBToneCurveToLinearObject) SetInputImage ¶
func (o CISRGBToneCurveToLinearObject) SetInputImage(value ICIImage)
type CISaliencyMap ¶
type CISaliencyMap interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CISaliencyMap/inputImage
InputImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CISaliencyMap/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a saliency map filter.
See: https://developer.apple.com/documentation/CoreImage/CISaliencyMap
type CISaliencyMapObject ¶
type CISaliencyMapObject struct {
objectivec.Object
}
CISaliencyMapObject wraps an existing Objective-C object that conforms to the CISaliencyMap protocol.
func CISaliencyMapObjectFromID ¶
func CISaliencyMapObjectFromID(id objc.ID) CISaliencyMapObject
CISaliencyMapObjectFromID constructs a CISaliencyMapObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CISaliencyMapObject) BaseObject ¶
func (o CISaliencyMapObject) BaseObject() objectivec.Object
func (CISaliencyMapObject) InputImage ¶
func (o CISaliencyMapObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CISaliencyMap/inputImage
func (CISaliencyMapObject) OutputImage ¶
func (o CISaliencyMapObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CISaliencyMapObject) SetInputImage ¶
func (o CISaliencyMapObject) SetInputImage(value ICIImage)
type CISampler ¶
type CISampler struct {
objectivec.Object
}
An object that retrieves pixel samples for processing by a filter kernel.
Overview ¶
The CISampler class retrieves samples of images for processing by a CIKernel object. A CISampler object defines a coordinate transform, and modes for interpolation and wrapping. You use CISampler objects in conjunction with other Core Image classes, such as CIFilter, CIKernel, and CIFilterShape, to create custom filters.
Initializing a Sampler ¶
- CISampler.InitWithImage: Initializes a sampler with an image object.
- CISampler.InitWithImageOptions: Initializes the sampler with an image object using options specified in a dictionary.
Getting Information About the Sampler Object ¶
- CISampler.Definition: The domain of definition (DOD) of the sampler
- CISampler.Extent: The rectangle that specifies the extent of the sampler
See: https://developer.apple.com/documentation/CoreImage/CISampler
func CISamplerFromID ¶
CISamplerFromID constructs a CISampler from an objc.ID.
An object that retrieves pixel samples for processing by a filter kernel.
func NewSamplerWithImage ¶
Initializes a sampler with an image object.
im: The image object to initialize the sampler with.
See: https://developer.apple.com/documentation/CoreImage/CISampler/init(image:)
func NewSamplerWithImageKeysAndValues ¶
func NewSamplerWithImageKeysAndValues(im ICIImage, key0 objectivec.IObject) CISampler
Initializes the sampler with an image object using options specified as key-value pairs.
im: The image object to initialize the sampler with.
key0: A list of key-value pairs that represent options. Each key needs to be followed by that appropriate value. You can supply one or more key-value pairs. Use `nil` to specify the end of the key-value options. See [Sampler Option Keys]. // [Sampler Option Keys]: https://developer.apple.com/documentation/CoreImage/sampler-option-keys
See: https://developer.apple.com/documentation/CoreImage/CISampler/initWithImage:keysAndValues:
func NewSamplerWithImageOptions ¶
func NewSamplerWithImageOptions(im ICIImage, dict foundation.INSDictionary) CISampler
Initializes the sampler with an image object using options specified in a dictionary.
im: The image to initialize the sampler with.
dict: A dictionary that contains options specified as key-value pairs. See [Sampler Option Keys]. // [Sampler Option Keys]: https://developer.apple.com/documentation/CoreImage/sampler-option-keys
See: https://developer.apple.com/documentation/CoreImage/CISampler/init(image:options:)
func (CISampler) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
func (CISampler) Definition ¶
func (s CISampler) Definition() ICIFilterShape
The domain of definition (DOD) of the sampler
Discussion ¶
The DOD contains all nontransparent pixels produced by referencing the sampler.
See: https://developer.apple.com/documentation/CoreImage/CISampler/definition
func (CISampler) Extent ¶
func (s CISampler) Extent() corefoundation.CGRect
The rectangle that specifies the extent of the sampler
Discussion ¶
Extent is the rectangle that specifies the area outside which the wrap mode set for the sampler is invoked.
See: https://developer.apple.com/documentation/CoreImage/CISampler/extent
func (CISampler) InitWithImage ¶
Initializes a sampler with an image object.
im: The image object to initialize the sampler with.
See: https://developer.apple.com/documentation/CoreImage/CISampler/init(image:)
func (CISampler) InitWithImageKeysAndValues ¶
func (s CISampler) InitWithImageKeysAndValues(im ICIImage, key0 objectivec.IObject) CISampler
Initializes the sampler with an image object using options specified as key-value pairs.
im: The image object to initialize the sampler with.
key0: A list of key-value pairs that represent options. Each key needs to be followed by that appropriate value. You can supply one or more key-value pairs. Use `nil` to specify the end of the key-value options. See [Sampler Option Keys]. // [Sampler Option Keys]: https://developer.apple.com/documentation/CoreImage/sampler-option-keys
See: https://developer.apple.com/documentation/CoreImage/CISampler/initWithImage:keysAndValues:
func (CISampler) InitWithImageOptions ¶
func (s CISampler) InitWithImageOptions(im ICIImage, dict foundation.INSDictionary) CISampler
Initializes the sampler with an image object using options specified in a dictionary.
im: The image to initialize the sampler with.
dict: A dictionary that contains options specified as key-value pairs. See [Sampler Option Keys]. // [Sampler Option Keys]: https://developer.apple.com/documentation/CoreImage/sampler-option-keys
See: https://developer.apple.com/documentation/CoreImage/CISampler/init(image:options:)
type CISamplerClass ¶
type CISamplerClass struct {
// contains filtered or unexported fields
}
func GetCISamplerClass ¶
func GetCISamplerClass() CISamplerClass
GetCISamplerClass returns the class object for CISampler.
func (CISamplerClass) Alloc ¶
func (cc CISamplerClass) Alloc() CISampler
Alloc allocates memory for a new instance of the class.
func (CISamplerClass) SamplerWithImage ¶
func (_CISamplerClass CISamplerClass) SamplerWithImage(im ICIImage) CISampler
Creates and returns a sampler that references an image.
im: The image that you want the sampler to reference.
Return Value ¶
A sampler object that references the image specified by the `im` argument.
See: https://developer.apple.com/documentation/CoreImage/CISampler/samplerWithImage:
func (CISamplerClass) SamplerWithImageKeysAndValues ¶
func (_CISamplerClass CISamplerClass) SamplerWithImageKeysAndValues(im ICIImage, key0 objectivec.IObject) CISampler
Creates and returns a sampler that references an image using options specified as key-value pairs.
im: The image that you want the sampler to reference.
key0: A list of key-value pairs that represent options. Each key needs to be followed by that appropriate value. You can supply one or more key-value pairs. Use `nil` to specify the end of the key-value options. See [Sampler Option Keys]. // [Sampler Option Keys]: https://developer.apple.com/documentation/CoreImage/sampler-option-keys
Return Value ¶
A sampler that references the image specified by the `im` argument and uses the specified options.
See: https://developer.apple.com/documentation/CoreImage/CISampler/samplerWithImage:keysAndValues:
func (CISamplerClass) SamplerWithImageOptions ¶
func (_CISamplerClass CISamplerClass) SamplerWithImageOptions(im ICIImage, dict foundation.INSDictionary) CISampler
Creates and returns a sampler that references an image using options specified in a dictionary.
im: The image that you want the sampler to reference.
dict: A dictionary that contains options specified as key-value pairs. See [Sampler Option Keys]. // [Sampler Option Keys]: https://developer.apple.com/documentation/CoreImage/sampler-option-keys
Return Value ¶
A sampler that references the image specified by the `im` argument and uses the options specified in the dictionary.
See: https://developer.apple.com/documentation/CoreImage/CISampler/samplerWithImage:options:
type CISepiaTone ¶
type CISepiaTone interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CISepiaTone/inputImage
InputImage() ICIImage
// The intensity of the sepia effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CISepiaTone/intensity
Intensity() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CISepiaTone/inputImage
SetInputImage(value ICIImage)
// The intensity of the sepia effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CISepiaTone/intensity
SetIntensity(value float32)
}
The properties you use to configure a sepia-tone filter.
See: https://developer.apple.com/documentation/CoreImage/CISepiaTone
type CISepiaToneObject ¶
type CISepiaToneObject struct {
objectivec.Object
}
CISepiaToneObject wraps an existing Objective-C object that conforms to the CISepiaTone protocol.
func CISepiaToneObjectFromID ¶
func CISepiaToneObjectFromID(id objc.ID) CISepiaToneObject
CISepiaToneObjectFromID constructs a CISepiaToneObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CISepiaToneObject) BaseObject ¶
func (o CISepiaToneObject) BaseObject() objectivec.Object
func (CISepiaToneObject) InputImage ¶
func (o CISepiaToneObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CISepiaTone/inputImage
func (CISepiaToneObject) Intensity ¶
func (o CISepiaToneObject) Intensity() float32
The intensity of the sepia effect.
See: https://developer.apple.com/documentation/CoreImage/CISepiaTone/intensity
func (CISepiaToneObject) OutputImage ¶
func (o CISepiaToneObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CISepiaToneObject) SetInputImage ¶
func (o CISepiaToneObject) SetInputImage(value ICIImage)
func (CISepiaToneObject) SetIntensity ¶
func (o CISepiaToneObject) SetIntensity(value float32)
type CIShadedMaterial ¶
type CIShadedMaterial interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIShadedMaterial/inputImage
InputImage() ICIImage
// The scale of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIShadedMaterial/scale
Scale() float32
// The image to use as the height field.
//
// See: https://developer.apple.com/documentation/CoreImage/CIShadedMaterial/shadingImage
ShadingImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIShadedMaterial/inputImage
SetInputImage(value ICIImage)
// The scale of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIShadedMaterial/scale
SetScale(value float32)
// The image to use as the height field.
//
// See: https://developer.apple.com/documentation/CoreImage/CIShadedMaterial/shadingImage
SetShadingImage(value ICIImage)
}
The properties you use to configure a shaded material filter.
See: https://developer.apple.com/documentation/CoreImage/CIShadedMaterial
type CIShadedMaterialObject ¶
type CIShadedMaterialObject struct {
objectivec.Object
}
CIShadedMaterialObject wraps an existing Objective-C object that conforms to the CIShadedMaterial protocol.
func CIShadedMaterialObjectFromID ¶
func CIShadedMaterialObjectFromID(id objc.ID) CIShadedMaterialObject
CIShadedMaterialObjectFromID constructs a CIShadedMaterialObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIShadedMaterialObject) BaseObject ¶
func (o CIShadedMaterialObject) BaseObject() objectivec.Object
func (CIShadedMaterialObject) InputImage ¶
func (o CIShadedMaterialObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIShadedMaterial/inputImage
func (CIShadedMaterialObject) OutputImage ¶
func (o CIShadedMaterialObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIShadedMaterialObject) Scale ¶
func (o CIShadedMaterialObject) Scale() float32
The scale of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIShadedMaterial/scale
func (CIShadedMaterialObject) SetInputImage ¶
func (o CIShadedMaterialObject) SetInputImage(value ICIImage)
func (CIShadedMaterialObject) SetScale ¶
func (o CIShadedMaterialObject) SetScale(value float32)
func (CIShadedMaterialObject) SetShadingImage ¶
func (o CIShadedMaterialObject) SetShadingImage(value ICIImage)
func (CIShadedMaterialObject) ShadingImage ¶
func (o CIShadedMaterialObject) ShadingImage() ICIImage
The image to use as the height field.
See: https://developer.apple.com/documentation/CoreImage/CIShadedMaterial/shadingImage
type CISharpenLuminance ¶
type CISharpenLuminance interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CISharpenLuminance/inputImage
InputImage() ICIImage
// The distance from the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CISharpenLuminance/radius
Radius() float32
// The amount of sharpening to apply.
//
// See: https://developer.apple.com/documentation/CoreImage/CISharpenLuminance/sharpness
Sharpness() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CISharpenLuminance/inputImage
SetInputImage(value ICIImage)
// The distance from the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CISharpenLuminance/radius
SetRadius(value float32)
// The amount of sharpening to apply.
//
// See: https://developer.apple.com/documentation/CoreImage/CISharpenLuminance/sharpness
SetSharpness(value float32)
}
The properties you use to configure a sharpen luminance filter.
See: https://developer.apple.com/documentation/CoreImage/CISharpenLuminance
type CISharpenLuminanceObject ¶
type CISharpenLuminanceObject struct {
objectivec.Object
}
CISharpenLuminanceObject wraps an existing Objective-C object that conforms to the CISharpenLuminance protocol.
func CISharpenLuminanceObjectFromID ¶
func CISharpenLuminanceObjectFromID(id objc.ID) CISharpenLuminanceObject
CISharpenLuminanceObjectFromID constructs a CISharpenLuminanceObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CISharpenLuminanceObject) BaseObject ¶
func (o CISharpenLuminanceObject) BaseObject() objectivec.Object
func (CISharpenLuminanceObject) InputImage ¶
func (o CISharpenLuminanceObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CISharpenLuminance/inputImage
func (CISharpenLuminanceObject) OutputImage ¶
func (o CISharpenLuminanceObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CISharpenLuminanceObject) Radius ¶
func (o CISharpenLuminanceObject) Radius() float32
The distance from the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CISharpenLuminance/radius
func (CISharpenLuminanceObject) SetInputImage ¶
func (o CISharpenLuminanceObject) SetInputImage(value ICIImage)
func (CISharpenLuminanceObject) SetRadius ¶
func (o CISharpenLuminanceObject) SetRadius(value float32)
func (CISharpenLuminanceObject) SetSharpness ¶
func (o CISharpenLuminanceObject) SetSharpness(value float32)
func (CISharpenLuminanceObject) Sharpness ¶
func (o CISharpenLuminanceObject) Sharpness() float32
The amount of sharpening to apply.
See: https://developer.apple.com/documentation/CoreImage/CISharpenLuminance/sharpness
type CISignedDistanceGradientFromRedMask ¶
type CISignedDistanceGradientFromRedMask interface {
objectivec.IObject
CIFilterProtocol
// The input image whose red channel defines a mask. If the red channel pixel value is greater than 0.5 then the point is considered in the mask and output pixel will be a value between zero and negative one. Otherwise the output pixel will be a value between zero and one.
//
// See: https://developer.apple.com/documentation/CoreImage/CISignedDistanceGradientFromRedMask/inputImage
InputImage() ICIImage
// Determines the maximum distance to the mask that can be measured. Distances between zero and the maximum will be normalized to negative one and one.
//
// See: https://developer.apple.com/documentation/CoreImage/CISignedDistanceGradientFromRedMask/maximumDistance
MaximumDistance() float32
// The input image whose red channel defines a mask. If the red channel pixel value is greater than 0.5 then the point is considered in the mask and output pixel will be a value between zero and negative one. Otherwise the output pixel will be a value between zero and one.
//
// See: https://developer.apple.com/documentation/CoreImage/CISignedDistanceGradientFromRedMask/inputImage
SetInputImage(value ICIImage)
// Determines the maximum distance to the mask that can be measured. Distances between zero and the maximum will be normalized to negative one and one.
//
// See: https://developer.apple.com/documentation/CoreImage/CISignedDistanceGradientFromRedMask/maximumDistance
SetMaximumDistance(value float32)
}
The protocol for the Signed Distance Gradient From Red Mask filter.
See: https://developer.apple.com/documentation/CoreImage/CISignedDistanceGradientFromRedMask
type CISignedDistanceGradientFromRedMaskObject ¶
type CISignedDistanceGradientFromRedMaskObject struct {
objectivec.Object
}
CISignedDistanceGradientFromRedMaskObject wraps an existing Objective-C object that conforms to the CISignedDistanceGradientFromRedMask protocol.
func CISignedDistanceGradientFromRedMaskObjectFromID ¶
func CISignedDistanceGradientFromRedMaskObjectFromID(id objc.ID) CISignedDistanceGradientFromRedMaskObject
CISignedDistanceGradientFromRedMaskObjectFromID constructs a CISignedDistanceGradientFromRedMaskObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CISignedDistanceGradientFromRedMaskObject) BaseObject ¶
func (o CISignedDistanceGradientFromRedMaskObject) BaseObject() objectivec.Object
func (CISignedDistanceGradientFromRedMaskObject) InputImage ¶
func (o CISignedDistanceGradientFromRedMaskObject) InputImage() ICIImage
The input image whose red channel defines a mask. If the red channel pixel value is greater than 0.5 then the point is considered in the mask and output pixel will be a value between zero and negative one. Otherwise the output pixel will be a value between zero and one.
See: https://developer.apple.com/documentation/CoreImage/CISignedDistanceGradientFromRedMask/inputImage
func (CISignedDistanceGradientFromRedMaskObject) MaximumDistance ¶
func (o CISignedDistanceGradientFromRedMaskObject) MaximumDistance() float32
Determines the maximum distance to the mask that can be measured. Distances between zero and the maximum will be normalized to negative one and one.
func (CISignedDistanceGradientFromRedMaskObject) OutputImage ¶
func (o CISignedDistanceGradientFromRedMaskObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CISignedDistanceGradientFromRedMaskObject) SetInputImage ¶
func (o CISignedDistanceGradientFromRedMaskObject) SetInputImage(value ICIImage)
func (CISignedDistanceGradientFromRedMaskObject) SetMaximumDistance ¶
func (o CISignedDistanceGradientFromRedMaskObject) SetMaximumDistance(value float32)
type CISixfoldReflectedTile ¶
type CISixfoldReflectedTile interface {
objectivec.IObject
CIFilterProtocol
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CISixfoldReflectedTile/angle
Angle() float32
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CISixfoldReflectedTile/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CISixfoldReflectedTile/inputImage
InputImage() ICIImage
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CISixfoldReflectedTile/width
Width() float32
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CISixfoldReflectedTile/angle
SetAngle(value float32)
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CISixfoldReflectedTile/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CISixfoldReflectedTile/inputImage
SetInputImage(value ICIImage)
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CISixfoldReflectedTile/width
SetWidth(value float32)
}
The properties you use to configure a sixfold reflected tile filter.
See: https://developer.apple.com/documentation/CoreImage/CISixfoldReflectedTile
type CISixfoldReflectedTileObject ¶
type CISixfoldReflectedTileObject struct {
objectivec.Object
}
CISixfoldReflectedTileObject wraps an existing Objective-C object that conforms to the CISixfoldReflectedTile protocol.
func CISixfoldReflectedTileObjectFromID ¶
func CISixfoldReflectedTileObjectFromID(id objc.ID) CISixfoldReflectedTileObject
CISixfoldReflectedTileObjectFromID constructs a CISixfoldReflectedTileObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CISixfoldReflectedTileObject) Angle ¶
func (o CISixfoldReflectedTileObject) Angle() float32
The angle, in radians, of the tiled pattern.
See: https://developer.apple.com/documentation/CoreImage/CISixfoldReflectedTile/angle
func (CISixfoldReflectedTileObject) BaseObject ¶
func (o CISixfoldReflectedTileObject) BaseObject() objectivec.Object
func (CISixfoldReflectedTileObject) Center ¶
func (o CISixfoldReflectedTileObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CISixfoldReflectedTile/center
func (CISixfoldReflectedTileObject) InputImage ¶
func (o CISixfoldReflectedTileObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CISixfoldReflectedTile/inputImage
func (CISixfoldReflectedTileObject) OutputImage ¶
func (o CISixfoldReflectedTileObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CISixfoldReflectedTileObject) SetAngle ¶
func (o CISixfoldReflectedTileObject) SetAngle(value float32)
func (CISixfoldReflectedTileObject) SetCenter ¶
func (o CISixfoldReflectedTileObject) SetCenter(value corefoundation.CGPoint)
func (CISixfoldReflectedTileObject) SetInputImage ¶
func (o CISixfoldReflectedTileObject) SetInputImage(value ICIImage)
func (CISixfoldReflectedTileObject) SetWidth ¶
func (o CISixfoldReflectedTileObject) SetWidth(value float32)
func (CISixfoldReflectedTileObject) Width ¶
func (o CISixfoldReflectedTileObject) Width() float32
The width of a tile.
See: https://developer.apple.com/documentation/CoreImage/CISixfoldReflectedTile/width
type CISixfoldRotatedTile ¶
type CISixfoldRotatedTile interface {
objectivec.IObject
CIFilterProtocol
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CISixfoldRotatedTile/angle
Angle() float32
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CISixfoldRotatedTile/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CISixfoldRotatedTile/inputImage
InputImage() ICIImage
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CISixfoldRotatedTile/width
Width() float32
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CISixfoldRotatedTile/angle
SetAngle(value float32)
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CISixfoldRotatedTile/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CISixfoldRotatedTile/inputImage
SetInputImage(value ICIImage)
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CISixfoldRotatedTile/width
SetWidth(value float32)
}
The properties you use to configure a sixfold rotated tile filter.
See: https://developer.apple.com/documentation/CoreImage/CISixfoldRotatedTile
type CISixfoldRotatedTileObject ¶
type CISixfoldRotatedTileObject struct {
objectivec.Object
}
CISixfoldRotatedTileObject wraps an existing Objective-C object that conforms to the CISixfoldRotatedTile protocol.
func CISixfoldRotatedTileObjectFromID ¶
func CISixfoldRotatedTileObjectFromID(id objc.ID) CISixfoldRotatedTileObject
CISixfoldRotatedTileObjectFromID constructs a CISixfoldRotatedTileObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CISixfoldRotatedTileObject) Angle ¶
func (o CISixfoldRotatedTileObject) Angle() float32
The angle, in radians, of the tiled pattern.
See: https://developer.apple.com/documentation/CoreImage/CISixfoldRotatedTile/angle
func (CISixfoldRotatedTileObject) BaseObject ¶
func (o CISixfoldRotatedTileObject) BaseObject() objectivec.Object
func (CISixfoldRotatedTileObject) Center ¶
func (o CISixfoldRotatedTileObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CISixfoldRotatedTile/center
func (CISixfoldRotatedTileObject) InputImage ¶
func (o CISixfoldRotatedTileObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CISixfoldRotatedTile/inputImage
func (CISixfoldRotatedTileObject) OutputImage ¶
func (o CISixfoldRotatedTileObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CISixfoldRotatedTileObject) SetAngle ¶
func (o CISixfoldRotatedTileObject) SetAngle(value float32)
func (CISixfoldRotatedTileObject) SetCenter ¶
func (o CISixfoldRotatedTileObject) SetCenter(value corefoundation.CGPoint)
func (CISixfoldRotatedTileObject) SetInputImage ¶
func (o CISixfoldRotatedTileObject) SetInputImage(value ICIImage)
func (CISixfoldRotatedTileObject) SetWidth ¶
func (o CISixfoldRotatedTileObject) SetWidth(value float32)
func (CISixfoldRotatedTileObject) Width ¶
func (o CISixfoldRotatedTileObject) Width() float32
The width of a tile.
See: https://developer.apple.com/documentation/CoreImage/CISixfoldRotatedTile/width
type CISmoothLinearGradient ¶
type CISmoothLinearGradient interface {
objectivec.IObject
CIFilterProtocol
// The first color to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CISmoothLinearGradient/color0
Color0() ICIColor
// The second color to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CISmoothLinearGradient/color1
Color1() ICIColor
// The starting position of the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CISmoothLinearGradient/point0
Point0() corefoundation.CGPoint
// The ending position of the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CISmoothLinearGradient/point1
Point1() corefoundation.CGPoint
// The first color to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CISmoothLinearGradient/color0
SetColor0(value ICIColor)
// The second color to use in the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CISmoothLinearGradient/color1
SetColor1(value ICIColor)
// The starting position of the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CISmoothLinearGradient/point0
SetPoint0(value corefoundation.CGPoint)
// The ending position of the gradient.
//
// See: https://developer.apple.com/documentation/CoreImage/CISmoothLinearGradient/point1
SetPoint1(value corefoundation.CGPoint)
}
The properties you use to configure a smooth linear gradient filter.
See: https://developer.apple.com/documentation/CoreImage/CISmoothLinearGradient
type CISmoothLinearGradientObject ¶
type CISmoothLinearGradientObject struct {
objectivec.Object
}
CISmoothLinearGradientObject wraps an existing Objective-C object that conforms to the CISmoothLinearGradient protocol.
func CISmoothLinearGradientObjectFromID ¶
func CISmoothLinearGradientObjectFromID(id objc.ID) CISmoothLinearGradientObject
CISmoothLinearGradientObjectFromID constructs a CISmoothLinearGradientObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CISmoothLinearGradientObject) BaseObject ¶
func (o CISmoothLinearGradientObject) BaseObject() objectivec.Object
func (CISmoothLinearGradientObject) Color0 ¶
func (o CISmoothLinearGradientObject) Color0() ICIColor
The first color to use in the gradient.
See: https://developer.apple.com/documentation/CoreImage/CISmoothLinearGradient/color0
func (CISmoothLinearGradientObject) Color1 ¶
func (o CISmoothLinearGradientObject) Color1() ICIColor
The second color to use in the gradient.
See: https://developer.apple.com/documentation/CoreImage/CISmoothLinearGradient/color1
func (CISmoothLinearGradientObject) OutputImage ¶
func (o CISmoothLinearGradientObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CISmoothLinearGradientObject) Point0 ¶
func (o CISmoothLinearGradientObject) Point0() corefoundation.CGPoint
The starting position of the gradient.
See: https://developer.apple.com/documentation/CoreImage/CISmoothLinearGradient/point0
func (CISmoothLinearGradientObject) Point1 ¶
func (o CISmoothLinearGradientObject) Point1() corefoundation.CGPoint
The ending position of the gradient.
See: https://developer.apple.com/documentation/CoreImage/CISmoothLinearGradient/point1
func (CISmoothLinearGradientObject) SetColor0 ¶
func (o CISmoothLinearGradientObject) SetColor0(value ICIColor)
func (CISmoothLinearGradientObject) SetColor1 ¶
func (o CISmoothLinearGradientObject) SetColor1(value ICIColor)
func (CISmoothLinearGradientObject) SetPoint0 ¶
func (o CISmoothLinearGradientObject) SetPoint0(value corefoundation.CGPoint)
func (CISmoothLinearGradientObject) SetPoint1 ¶
func (o CISmoothLinearGradientObject) SetPoint1(value corefoundation.CGPoint)
type CISobelGradients ¶
type CISobelGradients interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CISobelGradients/inputImage
InputImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CISobelGradients/inputImage
SetInputImage(value ICIImage)
}
CISobelGradients protocol.
See: https://developer.apple.com/documentation/CoreImage/CISobelGradients
type CISobelGradientsObject ¶
type CISobelGradientsObject struct {
objectivec.Object
}
CISobelGradientsObject wraps an existing Objective-C object that conforms to the CISobelGradients protocol.
func CISobelGradientsObjectFromID ¶
func CISobelGradientsObjectFromID(id objc.ID) CISobelGradientsObject
CISobelGradientsObjectFromID constructs a CISobelGradientsObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CISobelGradientsObject) BaseObject ¶
func (o CISobelGradientsObject) BaseObject() objectivec.Object
func (CISobelGradientsObject) InputImage ¶
func (o CISobelGradientsObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CISobelGradients/inputImage
func (CISobelGradientsObject) OutputImage ¶
func (o CISobelGradientsObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CISobelGradientsObject) SetInputImage ¶
func (o CISobelGradientsObject) SetInputImage(value ICIImage)
type CISpotColor ¶
type CISpotColor interface {
objectivec.IObject
CIFilterProtocol
// The center value of the first color range to replace.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/centerColor1
CenterColor1() ICIColor
// The center value of the second color range to replace.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/centerColor2
CenterColor2() ICIColor
// The center value of the third color range to replace.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/centerColor3
CenterColor3() ICIColor
// A value that indicates how closely the first color must match before it’s replaced.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/closeness1
Closeness1() float32
// A value that indicates how closely the second color must match before it’s replaced.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/closeness2
Closeness2() float32
// A value that indicates how closely the third color must match before it’s replaced.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/closeness3
Closeness3() float32
// The contrast of the first replacement color.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/contrast1
Contrast1() float32
// The contrast of the second replacement color.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/contrast2
Contrast2() float32
// The contrast of the third replacement color.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/contrast3
Contrast3() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/inputImage
InputImage() ICIImage
// A replacement color for the first color range.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/replacementColor1
ReplacementColor1() ICIColor
// A replacement color for the second color range.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/replacementColor2
ReplacementColor2() ICIColor
// A replacement color for the third color range.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/replacementColor3
ReplacementColor3() ICIColor
// The center value of the first color range to replace.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/centerColor1
SetCenterColor1(value ICIColor)
// The center value of the second color range to replace.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/centerColor2
SetCenterColor2(value ICIColor)
// The center value of the third color range to replace.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/centerColor3
SetCenterColor3(value ICIColor)
// A value that indicates how closely the first color must match before it’s replaced.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/closeness1
SetCloseness1(value float32)
// A value that indicates how closely the second color must match before it’s replaced.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/closeness2
SetCloseness2(value float32)
// A value that indicates how closely the third color must match before it’s replaced.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/closeness3
SetCloseness3(value float32)
// The contrast of the first replacement color.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/contrast1
SetContrast1(value float32)
// The contrast of the second replacement color.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/contrast2
SetContrast2(value float32)
// The contrast of the third replacement color.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/contrast3
SetContrast3(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/inputImage
SetInputImage(value ICIImage)
// A replacement color for the first color range.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/replacementColor1
SetReplacementColor1(value ICIColor)
// A replacement color for the second color range.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/replacementColor2
SetReplacementColor2(value ICIColor)
// A replacement color for the third color range.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotColor/replacementColor3
SetReplacementColor3(value ICIColor)
}
The properties you use to configure a spot color filter.
See: https://developer.apple.com/documentation/CoreImage/CISpotColor
type CISpotColorObject ¶
type CISpotColorObject struct {
objectivec.Object
}
CISpotColorObject wraps an existing Objective-C object that conforms to the CISpotColor protocol.
func CISpotColorObjectFromID ¶
func CISpotColorObjectFromID(id objc.ID) CISpotColorObject
CISpotColorObjectFromID constructs a CISpotColorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CISpotColorObject) BaseObject ¶
func (o CISpotColorObject) BaseObject() objectivec.Object
func (CISpotColorObject) CenterColor1 ¶
func (o CISpotColorObject) CenterColor1() ICIColor
The center value of the first color range to replace.
See: https://developer.apple.com/documentation/CoreImage/CISpotColor/centerColor1
func (CISpotColorObject) CenterColor2 ¶
func (o CISpotColorObject) CenterColor2() ICIColor
The center value of the second color range to replace.
See: https://developer.apple.com/documentation/CoreImage/CISpotColor/centerColor2
func (CISpotColorObject) CenterColor3 ¶
func (o CISpotColorObject) CenterColor3() ICIColor
The center value of the third color range to replace.
See: https://developer.apple.com/documentation/CoreImage/CISpotColor/centerColor3
func (CISpotColorObject) Closeness1 ¶
func (o CISpotColorObject) Closeness1() float32
A value that indicates how closely the first color must match before it’s replaced.
See: https://developer.apple.com/documentation/CoreImage/CISpotColor/closeness1
func (CISpotColorObject) Closeness2 ¶
func (o CISpotColorObject) Closeness2() float32
A value that indicates how closely the second color must match before it’s replaced.
See: https://developer.apple.com/documentation/CoreImage/CISpotColor/closeness2
func (CISpotColorObject) Closeness3 ¶
func (o CISpotColorObject) Closeness3() float32
A value that indicates how closely the third color must match before it’s replaced.
See: https://developer.apple.com/documentation/CoreImage/CISpotColor/closeness3
func (CISpotColorObject) Contrast1 ¶
func (o CISpotColorObject) Contrast1() float32
The contrast of the first replacement color.
See: https://developer.apple.com/documentation/CoreImage/CISpotColor/contrast1
func (CISpotColorObject) Contrast2 ¶
func (o CISpotColorObject) Contrast2() float32
The contrast of the second replacement color.
See: https://developer.apple.com/documentation/CoreImage/CISpotColor/contrast2
func (CISpotColorObject) Contrast3 ¶
func (o CISpotColorObject) Contrast3() float32
The contrast of the third replacement color.
See: https://developer.apple.com/documentation/CoreImage/CISpotColor/contrast3
func (CISpotColorObject) InputImage ¶
func (o CISpotColorObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CISpotColor/inputImage
func (CISpotColorObject) OutputImage ¶
func (o CISpotColorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CISpotColorObject) ReplacementColor1 ¶
func (o CISpotColorObject) ReplacementColor1() ICIColor
A replacement color for the first color range.
See: https://developer.apple.com/documentation/CoreImage/CISpotColor/replacementColor1
func (CISpotColorObject) ReplacementColor2 ¶
func (o CISpotColorObject) ReplacementColor2() ICIColor
A replacement color for the second color range.
See: https://developer.apple.com/documentation/CoreImage/CISpotColor/replacementColor2
func (CISpotColorObject) ReplacementColor3 ¶
func (o CISpotColorObject) ReplacementColor3() ICIColor
A replacement color for the third color range.
See: https://developer.apple.com/documentation/CoreImage/CISpotColor/replacementColor3
func (CISpotColorObject) SetCenterColor1 ¶
func (o CISpotColorObject) SetCenterColor1(value ICIColor)
func (CISpotColorObject) SetCenterColor2 ¶
func (o CISpotColorObject) SetCenterColor2(value ICIColor)
func (CISpotColorObject) SetCenterColor3 ¶
func (o CISpotColorObject) SetCenterColor3(value ICIColor)
func (CISpotColorObject) SetCloseness1 ¶
func (o CISpotColorObject) SetCloseness1(value float32)
func (CISpotColorObject) SetCloseness2 ¶
func (o CISpotColorObject) SetCloseness2(value float32)
func (CISpotColorObject) SetCloseness3 ¶
func (o CISpotColorObject) SetCloseness3(value float32)
func (CISpotColorObject) SetContrast1 ¶
func (o CISpotColorObject) SetContrast1(value float32)
func (CISpotColorObject) SetContrast2 ¶
func (o CISpotColorObject) SetContrast2(value float32)
func (CISpotColorObject) SetContrast3 ¶
func (o CISpotColorObject) SetContrast3(value float32)
func (CISpotColorObject) SetInputImage ¶
func (o CISpotColorObject) SetInputImage(value ICIImage)
func (CISpotColorObject) SetReplacementColor1 ¶
func (o CISpotColorObject) SetReplacementColor1(value ICIColor)
func (CISpotColorObject) SetReplacementColor2 ¶
func (o CISpotColorObject) SetReplacementColor2(value ICIColor)
func (CISpotColorObject) SetReplacementColor3 ¶
func (o CISpotColorObject) SetReplacementColor3(value ICIColor)
type CISpotLight ¶
type CISpotLight interface {
objectivec.IObject
CIFilterProtocol
// The brightness of the spotlight.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotLight/brightness
Brightness() float32
// The color of the spotlight.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotLight/color
Color() ICIColor
// The size of the spotlight.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotLight/concentration
Concentration() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotLight/inputImage
InputImage() ICIImage
// The x and y position that the spotlight points at.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotLight/lightPointsAt
LightPointsAt() ICIVector
// The x and y position of the spotlight.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotLight/lightPosition
LightPosition() ICIVector
// The brightness of the spotlight.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotLight/brightness
SetBrightness(value float32)
// The color of the spotlight.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotLight/color
SetColor(value ICIColor)
// The size of the spotlight.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotLight/concentration
SetConcentration(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotLight/inputImage
SetInputImage(value ICIImage)
// The x and y position that the spotlight points at.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotLight/lightPointsAt
SetLightPointsAt(value ICIVector)
// The x and y position of the spotlight.
//
// See: https://developer.apple.com/documentation/CoreImage/CISpotLight/lightPosition
SetLightPosition(value ICIVector)
}
The properties you use to configure a spotlight filter.
See: https://developer.apple.com/documentation/CoreImage/CISpotLight
type CISpotLightObject ¶
type CISpotLightObject struct {
objectivec.Object
}
CISpotLightObject wraps an existing Objective-C object that conforms to the CISpotLight protocol.
func CISpotLightObjectFromID ¶
func CISpotLightObjectFromID(id objc.ID) CISpotLightObject
CISpotLightObjectFromID constructs a CISpotLightObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CISpotLightObject) BaseObject ¶
func (o CISpotLightObject) BaseObject() objectivec.Object
func (CISpotLightObject) Brightness ¶
func (o CISpotLightObject) Brightness() float32
The brightness of the spotlight.
See: https://developer.apple.com/documentation/CoreImage/CISpotLight/brightness
func (CISpotLightObject) Color ¶
func (o CISpotLightObject) Color() ICIColor
The color of the spotlight.
See: https://developer.apple.com/documentation/CoreImage/CISpotLight/color
func (CISpotLightObject) Concentration ¶
func (o CISpotLightObject) Concentration() float32
The size of the spotlight.
See: https://developer.apple.com/documentation/CoreImage/CISpotLight/concentration
func (CISpotLightObject) InputImage ¶
func (o CISpotLightObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CISpotLight/inputImage
func (CISpotLightObject) LightPointsAt ¶
func (o CISpotLightObject) LightPointsAt() ICIVector
The x and y position that the spotlight points at.
See: https://developer.apple.com/documentation/CoreImage/CISpotLight/lightPointsAt
func (CISpotLightObject) LightPosition ¶
func (o CISpotLightObject) LightPosition() ICIVector
The x and y position of the spotlight.
See: https://developer.apple.com/documentation/CoreImage/CISpotLight/lightPosition
func (CISpotLightObject) OutputImage ¶
func (o CISpotLightObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CISpotLightObject) SetBrightness ¶
func (o CISpotLightObject) SetBrightness(value float32)
func (CISpotLightObject) SetColor ¶
func (o CISpotLightObject) SetColor(value ICIColor)
func (CISpotLightObject) SetConcentration ¶
func (o CISpotLightObject) SetConcentration(value float32)
func (CISpotLightObject) SetInputImage ¶
func (o CISpotLightObject) SetInputImage(value ICIImage)
func (CISpotLightObject) SetLightPointsAt ¶
func (o CISpotLightObject) SetLightPointsAt(value ICIVector)
func (CISpotLightObject) SetLightPosition ¶
func (o CISpotLightObject) SetLightPosition(value ICIVector)
type CIStarShineGenerator ¶
type CIStarShineGenerator interface {
objectivec.IObject
CIFilterProtocol
// The x and y position to use as the center of the star.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/center
Center() corefoundation.CGPoint
// The color to use for the outer shell of the circular star.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/color
Color() ICIColor
// The angle of the cross pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/crossAngle
CrossAngle() float32
// The opacity of the cross pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/crossOpacity
CrossOpacity() float32
// The size of the cross pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/crossScale
CrossScale() float32
// The width of the cross pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/crossWidth
CrossWidth() float32
// The length of the cross spikes.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/epsilon
Epsilon() float32
// The radius of the star.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/radius
Radius() float32
// The x and y position to use as the center of the star.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/center
SetCenter(value corefoundation.CGPoint)
// The color to use for the outer shell of the circular star.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/color
SetColor(value ICIColor)
// The angle of the cross pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/crossAngle
SetCrossAngle(value float32)
// The opacity of the cross pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/crossOpacity
SetCrossOpacity(value float32)
// The size of the cross pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/crossScale
SetCrossScale(value float32)
// The width of the cross pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/crossWidth
SetCrossWidth(value float32)
// The length of the cross spikes.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/epsilon
SetEpsilon(value float32)
// The radius of the star.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/radius
SetRadius(value float32)
}
The properties you use to configure a star-shine generator filter.
See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator
type CIStarShineGeneratorObject ¶
type CIStarShineGeneratorObject struct {
objectivec.Object
}
CIStarShineGeneratorObject wraps an existing Objective-C object that conforms to the CIStarShineGenerator protocol.
func CIStarShineGeneratorObjectFromID ¶
func CIStarShineGeneratorObjectFromID(id objc.ID) CIStarShineGeneratorObject
CIStarShineGeneratorObjectFromID constructs a CIStarShineGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIStarShineGeneratorObject) BaseObject ¶
func (o CIStarShineGeneratorObject) BaseObject() objectivec.Object
func (CIStarShineGeneratorObject) Center ¶
func (o CIStarShineGeneratorObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the star.
See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/center
func (CIStarShineGeneratorObject) Color ¶
func (o CIStarShineGeneratorObject) Color() ICIColor
The color to use for the outer shell of the circular star.
See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/color
func (CIStarShineGeneratorObject) CrossAngle ¶
func (o CIStarShineGeneratorObject) CrossAngle() float32
The angle of the cross pattern.
See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/crossAngle
func (CIStarShineGeneratorObject) CrossOpacity ¶
func (o CIStarShineGeneratorObject) CrossOpacity() float32
The opacity of the cross pattern.
See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/crossOpacity
func (CIStarShineGeneratorObject) CrossScale ¶
func (o CIStarShineGeneratorObject) CrossScale() float32
The size of the cross pattern.
See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/crossScale
func (CIStarShineGeneratorObject) CrossWidth ¶
func (o CIStarShineGeneratorObject) CrossWidth() float32
The width of the cross pattern.
See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/crossWidth
func (CIStarShineGeneratorObject) Epsilon ¶
func (o CIStarShineGeneratorObject) Epsilon() float32
The length of the cross spikes.
See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/epsilon
func (CIStarShineGeneratorObject) OutputImage ¶
func (o CIStarShineGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIStarShineGeneratorObject) Radius ¶
func (o CIStarShineGeneratorObject) Radius() float32
The radius of the star.
See: https://developer.apple.com/documentation/CoreImage/CIStarShineGenerator/radius
func (CIStarShineGeneratorObject) SetCenter ¶
func (o CIStarShineGeneratorObject) SetCenter(value corefoundation.CGPoint)
func (CIStarShineGeneratorObject) SetColor ¶
func (o CIStarShineGeneratorObject) SetColor(value ICIColor)
func (CIStarShineGeneratorObject) SetCrossAngle ¶
func (o CIStarShineGeneratorObject) SetCrossAngle(value float32)
func (CIStarShineGeneratorObject) SetCrossOpacity ¶
func (o CIStarShineGeneratorObject) SetCrossOpacity(value float32)
func (CIStarShineGeneratorObject) SetCrossScale ¶
func (o CIStarShineGeneratorObject) SetCrossScale(value float32)
func (CIStarShineGeneratorObject) SetCrossWidth ¶
func (o CIStarShineGeneratorObject) SetCrossWidth(value float32)
func (CIStarShineGeneratorObject) SetEpsilon ¶
func (o CIStarShineGeneratorObject) SetEpsilon(value float32)
func (CIStarShineGeneratorObject) SetRadius ¶
func (o CIStarShineGeneratorObject) SetRadius(value float32)
type CIStraighten ¶
type CIStraighten interface {
objectivec.IObject
CIFilterProtocol
// The rotation angle, in radians.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStraighten/angle
Angle() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStraighten/inputImage
InputImage() ICIImage
// The rotation angle, in radians.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStraighten/angle
SetAngle(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStraighten/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a straighten filter.
See: https://developer.apple.com/documentation/CoreImage/CIStraighten
type CIStraightenObject ¶
type CIStraightenObject struct {
objectivec.Object
}
CIStraightenObject wraps an existing Objective-C object that conforms to the CIStraighten protocol.
func CIStraightenObjectFromID ¶
func CIStraightenObjectFromID(id objc.ID) CIStraightenObject
CIStraightenObjectFromID constructs a CIStraightenObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIStraightenObject) Angle ¶
func (o CIStraightenObject) Angle() float32
The rotation angle, in radians.
See: https://developer.apple.com/documentation/CoreImage/CIStraighten/angle
func (CIStraightenObject) BaseObject ¶
func (o CIStraightenObject) BaseObject() objectivec.Object
func (CIStraightenObject) InputImage ¶
func (o CIStraightenObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIStraighten/inputImage
func (CIStraightenObject) OutputImage ¶
func (o CIStraightenObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIStraightenObject) SetAngle ¶
func (o CIStraightenObject) SetAngle(value float32)
func (CIStraightenObject) SetInputImage ¶
func (o CIStraightenObject) SetInputImage(value ICIImage)
type CIStretchCrop ¶
type CIStretchCrop interface {
objectivec.IObject
CIFilterProtocol
// CenterStretchAmount protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStretchCrop/centerStretchAmount
CenterStretchAmount() float32
// CropAmount protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStretchCrop/cropAmount
CropAmount() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStretchCrop/inputImage
InputImage() ICIImage
// Size protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStretchCrop/size
Size() corefoundation.CGPoint
// centerStretchAmount protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStretchCrop/centerStretchAmount
SetCenterStretchAmount(value float32)
// cropAmount protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStretchCrop/cropAmount
SetCropAmount(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStretchCrop/inputImage
SetInputImage(value ICIImage)
// size protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStretchCrop/size
SetSize(value corefoundation.CGPoint)
}
CIStretchCrop protocol.
See: https://developer.apple.com/documentation/CoreImage/CIStretchCrop
type CIStretchCropObject ¶
type CIStretchCropObject struct {
objectivec.Object
}
CIStretchCropObject wraps an existing Objective-C object that conforms to the CIStretchCrop protocol.
func CIStretchCropObjectFromID ¶
func CIStretchCropObjectFromID(id objc.ID) CIStretchCropObject
CIStretchCropObjectFromID constructs a CIStretchCropObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIStretchCropObject) BaseObject ¶
func (o CIStretchCropObject) BaseObject() objectivec.Object
func (CIStretchCropObject) CenterStretchAmount ¶
func (o CIStretchCropObject) CenterStretchAmount() float32
See: https://developer.apple.com/documentation/CoreImage/CIStretchCrop/centerStretchAmount
func (CIStretchCropObject) CropAmount ¶
func (o CIStretchCropObject) CropAmount() float32
See: https://developer.apple.com/documentation/CoreImage/CIStretchCrop/cropAmount
func (CIStretchCropObject) InputImage ¶
func (o CIStretchCropObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIStretchCrop/inputImage
func (CIStretchCropObject) OutputImage ¶
func (o CIStretchCropObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIStretchCropObject) SetCenterStretchAmount ¶
func (o CIStretchCropObject) SetCenterStretchAmount(value float32)
func (CIStretchCropObject) SetCropAmount ¶
func (o CIStretchCropObject) SetCropAmount(value float32)
func (CIStretchCropObject) SetInputImage ¶
func (o CIStretchCropObject) SetInputImage(value ICIImage)
func (CIStretchCropObject) SetSize ¶
func (o CIStretchCropObject) SetSize(value corefoundation.CGPoint)
func (CIStretchCropObject) Size ¶
func (o CIStretchCropObject) Size() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIStretchCrop/size
type CIStripesGenerator ¶
type CIStripesGenerator interface {
objectivec.IObject
CIFilterProtocol
// The x and y position to use as the center of the stripe pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStripesGenerator/center
Center() corefoundation.CGPoint
// A color to use for the odd stripes.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStripesGenerator/color0
Color0() ICIColor
// A color to use for the even stripes.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStripesGenerator/color1
Color1() ICIColor
// The sharpness of the stripe pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStripesGenerator/sharpness
Sharpness() float32
// The width of a stripe.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStripesGenerator/width
Width() float32
// The x and y position to use as the center of the stripe pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStripesGenerator/center
SetCenter(value corefoundation.CGPoint)
// A color to use for the odd stripes.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStripesGenerator/color0
SetColor0(value ICIColor)
// A color to use for the even stripes.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStripesGenerator/color1
SetColor1(value ICIColor)
// The sharpness of the stripe pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStripesGenerator/sharpness
SetSharpness(value float32)
// The width of a stripe.
//
// See: https://developer.apple.com/documentation/CoreImage/CIStripesGenerator/width
SetWidth(value float32)
}
The properties you use to configure a stripes generator filter.
See: https://developer.apple.com/documentation/CoreImage/CIStripesGenerator
type CIStripesGeneratorObject ¶
type CIStripesGeneratorObject struct {
objectivec.Object
}
CIStripesGeneratorObject wraps an existing Objective-C object that conforms to the CIStripesGenerator protocol.
func CIStripesGeneratorObjectFromID ¶
func CIStripesGeneratorObjectFromID(id objc.ID) CIStripesGeneratorObject
CIStripesGeneratorObjectFromID constructs a CIStripesGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIStripesGeneratorObject) BaseObject ¶
func (o CIStripesGeneratorObject) BaseObject() objectivec.Object
func (CIStripesGeneratorObject) Center ¶
func (o CIStripesGeneratorObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the stripe pattern.
See: https://developer.apple.com/documentation/CoreImage/CIStripesGenerator/center
func (CIStripesGeneratorObject) Color0 ¶
func (o CIStripesGeneratorObject) Color0() ICIColor
A color to use for the odd stripes.
See: https://developer.apple.com/documentation/CoreImage/CIStripesGenerator/color0
func (CIStripesGeneratorObject) Color1 ¶
func (o CIStripesGeneratorObject) Color1() ICIColor
A color to use for the even stripes.
See: https://developer.apple.com/documentation/CoreImage/CIStripesGenerator/color1
func (CIStripesGeneratorObject) OutputImage ¶
func (o CIStripesGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIStripesGeneratorObject) SetCenter ¶
func (o CIStripesGeneratorObject) SetCenter(value corefoundation.CGPoint)
func (CIStripesGeneratorObject) SetColor0 ¶
func (o CIStripesGeneratorObject) SetColor0(value ICIColor)
func (CIStripesGeneratorObject) SetColor1 ¶
func (o CIStripesGeneratorObject) SetColor1(value ICIColor)
func (CIStripesGeneratorObject) SetSharpness ¶
func (o CIStripesGeneratorObject) SetSharpness(value float32)
func (CIStripesGeneratorObject) SetWidth ¶
func (o CIStripesGeneratorObject) SetWidth(value float32)
func (CIStripesGeneratorObject) Sharpness ¶
func (o CIStripesGeneratorObject) Sharpness() float32
The sharpness of the stripe pattern.
See: https://developer.apple.com/documentation/CoreImage/CIStripesGenerator/sharpness
func (CIStripesGeneratorObject) Width ¶
func (o CIStripesGeneratorObject) Width() float32
The width of a stripe.
See: https://developer.apple.com/documentation/CoreImage/CIStripesGenerator/width
type CISunbeamsGenerator ¶
type CISunbeamsGenerator interface {
objectivec.IObject
CIFilterProtocol
// The x and y position to use as the center of the sunbeam pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/center
Center() corefoundation.CGPoint
// The color of the sun.
//
// See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/color
Color() ICIColor
// The radius of the sunbeams.
//
// See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/maxStriationRadius
MaxStriationRadius() float32
// The contrast of the sunbeams.
//
// See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/striationContrast
StriationContrast() float32
// The intensity of the sunbeams.
//
// See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/striationStrength
StriationStrength() float32
// The radius of the sun.
//
// See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/sunRadius
SunRadius() float32
// The duration of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/time
Time() float32
// The x and y position to use as the center of the sunbeam pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/center
SetCenter(value corefoundation.CGPoint)
// The color of the sun.
//
// See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/color
SetColor(value ICIColor)
// The radius of the sunbeams.
//
// See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/maxStriationRadius
SetMaxStriationRadius(value float32)
// The contrast of the sunbeams.
//
// See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/striationContrast
SetStriationContrast(value float32)
// The intensity of the sunbeams.
//
// See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/striationStrength
SetStriationStrength(value float32)
// The radius of the sun.
//
// See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/sunRadius
SetSunRadius(value float32)
// The duration of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/time
SetTime(value float32)
}
The properties you use to configure a sunbeams generator filter.
See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator
type CISunbeamsGeneratorObject ¶
type CISunbeamsGeneratorObject struct {
objectivec.Object
}
CISunbeamsGeneratorObject wraps an existing Objective-C object that conforms to the CISunbeamsGenerator protocol.
func CISunbeamsGeneratorObjectFromID ¶
func CISunbeamsGeneratorObjectFromID(id objc.ID) CISunbeamsGeneratorObject
CISunbeamsGeneratorObjectFromID constructs a CISunbeamsGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CISunbeamsGeneratorObject) BaseObject ¶
func (o CISunbeamsGeneratorObject) BaseObject() objectivec.Object
func (CISunbeamsGeneratorObject) Center ¶
func (o CISunbeamsGeneratorObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the sunbeam pattern.
See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/center
func (CISunbeamsGeneratorObject) Color ¶
func (o CISunbeamsGeneratorObject) Color() ICIColor
The color of the sun.
See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/color
func (CISunbeamsGeneratorObject) MaxStriationRadius ¶
func (o CISunbeamsGeneratorObject) MaxStriationRadius() float32
The radius of the sunbeams.
See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/maxStriationRadius
func (CISunbeamsGeneratorObject) OutputImage ¶
func (o CISunbeamsGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CISunbeamsGeneratorObject) SetCenter ¶
func (o CISunbeamsGeneratorObject) SetCenter(value corefoundation.CGPoint)
func (CISunbeamsGeneratorObject) SetColor ¶
func (o CISunbeamsGeneratorObject) SetColor(value ICIColor)
func (CISunbeamsGeneratorObject) SetMaxStriationRadius ¶
func (o CISunbeamsGeneratorObject) SetMaxStriationRadius(value float32)
func (CISunbeamsGeneratorObject) SetStriationContrast ¶
func (o CISunbeamsGeneratorObject) SetStriationContrast(value float32)
func (CISunbeamsGeneratorObject) SetStriationStrength ¶
func (o CISunbeamsGeneratorObject) SetStriationStrength(value float32)
func (CISunbeamsGeneratorObject) SetSunRadius ¶
func (o CISunbeamsGeneratorObject) SetSunRadius(value float32)
func (CISunbeamsGeneratorObject) SetTime ¶
func (o CISunbeamsGeneratorObject) SetTime(value float32)
func (CISunbeamsGeneratorObject) StriationContrast ¶
func (o CISunbeamsGeneratorObject) StriationContrast() float32
The contrast of the sunbeams.
See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/striationContrast
func (CISunbeamsGeneratorObject) StriationStrength ¶
func (o CISunbeamsGeneratorObject) StriationStrength() float32
The intensity of the sunbeams.
See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/striationStrength
func (CISunbeamsGeneratorObject) SunRadius ¶
func (o CISunbeamsGeneratorObject) SunRadius() float32
The radius of the sun.
See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/sunRadius
func (CISunbeamsGeneratorObject) Time ¶
func (o CISunbeamsGeneratorObject) Time() float32
The duration of the effect.
See: https://developer.apple.com/documentation/CoreImage/CISunbeamsGenerator/time
type CISwipeTransition ¶
type CISwipeTransition interface {
objectivec.IObject
CIFilterProtocol
CITransitionFilter
// The angle of the swipe.
//
// See: https://developer.apple.com/documentation/CoreImage/CISwipeTransition/angle
Angle() float32
// The color of the swipe.
//
// See: https://developer.apple.com/documentation/CoreImage/CISwipeTransition/color
Color() ICIColor
// The extent of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CISwipeTransition/extent
Extent() corefoundation.CGRect
// The opacity of the swipe.
//
// See: https://developer.apple.com/documentation/CoreImage/CISwipeTransition/opacity
Opacity() float32
// The width of the swipe.
//
// See: https://developer.apple.com/documentation/CoreImage/CISwipeTransition/width
Width() float32
// The angle of the swipe.
//
// See: https://developer.apple.com/documentation/CoreImage/CISwipeTransition/angle
SetAngle(value float32)
// The color of the swipe.
//
// See: https://developer.apple.com/documentation/CoreImage/CISwipeTransition/color
SetColor(value ICIColor)
// The extent of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CISwipeTransition/extent
SetExtent(value corefoundation.CGRect)
// The opacity of the swipe.
//
// See: https://developer.apple.com/documentation/CoreImage/CISwipeTransition/opacity
SetOpacity(value float32)
// The width of the swipe.
//
// See: https://developer.apple.com/documentation/CoreImage/CISwipeTransition/width
SetWidth(value float32)
}
The properties you use to configure a swipe transition filter.
See: https://developer.apple.com/documentation/CoreImage/CISwipeTransition
type CISwipeTransitionObject ¶
type CISwipeTransitionObject struct {
objectivec.Object
}
CISwipeTransitionObject wraps an existing Objective-C object that conforms to the CISwipeTransition protocol.
func CISwipeTransitionObjectFromID ¶
func CISwipeTransitionObjectFromID(id objc.ID) CISwipeTransitionObject
CISwipeTransitionObjectFromID constructs a CISwipeTransitionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CISwipeTransitionObject) Angle ¶
func (o CISwipeTransitionObject) Angle() float32
The angle of the swipe.
See: https://developer.apple.com/documentation/CoreImage/CISwipeTransition/angle
func (CISwipeTransitionObject) BaseObject ¶
func (o CISwipeTransitionObject) BaseObject() objectivec.Object
func (CISwipeTransitionObject) Color ¶
func (o CISwipeTransitionObject) Color() ICIColor
The color of the swipe.
See: https://developer.apple.com/documentation/CoreImage/CISwipeTransition/color
func (CISwipeTransitionObject) Extent ¶
func (o CISwipeTransitionObject) Extent() corefoundation.CGRect
The extent of the effect.
See: https://developer.apple.com/documentation/CoreImage/CISwipeTransition/extent
func (CISwipeTransitionObject) InputImage ¶
func (o CISwipeTransitionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/inputImage
func (CISwipeTransitionObject) Opacity ¶
func (o CISwipeTransitionObject) Opacity() float32
The opacity of the swipe.
See: https://developer.apple.com/documentation/CoreImage/CISwipeTransition/opacity
func (CISwipeTransitionObject) OutputImage ¶
func (o CISwipeTransitionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CISwipeTransitionObject) SetAngle ¶
func (o CISwipeTransitionObject) SetAngle(value float32)
func (CISwipeTransitionObject) SetColor ¶
func (o CISwipeTransitionObject) SetColor(value ICIColor)
func (CISwipeTransitionObject) SetExtent ¶
func (o CISwipeTransitionObject) SetExtent(value corefoundation.CGRect)
func (CISwipeTransitionObject) SetInputImage ¶
func (o CISwipeTransitionObject) SetInputImage(value ICIImage)
func (CISwipeTransitionObject) SetOpacity ¶
func (o CISwipeTransitionObject) SetOpacity(value float32)
func (CISwipeTransitionObject) SetTargetImage ¶
func (o CISwipeTransitionObject) SetTargetImage(value ICIImage)
func (CISwipeTransitionObject) SetTime ¶
func (o CISwipeTransitionObject) SetTime(value float32)
func (CISwipeTransitionObject) SetWidth ¶
func (o CISwipeTransitionObject) SetWidth(value float32)
func (CISwipeTransitionObject) TargetImage ¶
func (o CISwipeTransitionObject) TargetImage() ICIImage
The target image for a transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/targetImage
func (CISwipeTransitionObject) Time ¶
func (o CISwipeTransitionObject) Time() float32
The parametric time of the transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/time
func (CISwipeTransitionObject) Width ¶
func (o CISwipeTransitionObject) Width() float32
The width of the swipe.
See: https://developer.apple.com/documentation/CoreImage/CISwipeTransition/width
type CISystemToneMap ¶
type CISystemToneMap interface {
objectivec.IObject
CIFilterProtocol
// Specifies the current headroom of the intended display.
//
// See: https://developer.apple.com/documentation/CoreImage/CISystemToneMap/displayHeadroom
DisplayHeadroom() float32
// Specifies input image with content headroom and average light level properties.
//
// See: https://developer.apple.com/documentation/CoreImage/CISystemToneMap/inputImage
InputImage() ICIImage
// Specifies the preferred dynamic range behavior of the tone mapping. The value should be kCIDynamicRangeStandard, kCIDynamicRangeConstrainedHigh, kCIDynamicRangeHigh or nil. If nil then it will behave as kCIDynamicRangeHigh.
//
// See: https://developer.apple.com/documentation/CoreImage/CISystemToneMap/preferredDynamicRange
PreferredDynamicRange() CIDynamicRangeOption
// Specifies the current headroom of the intended display.
//
// See: https://developer.apple.com/documentation/CoreImage/CISystemToneMap/displayHeadroom
SetDisplayHeadroom(value float32)
// Specifies input image with content headroom and average light level properties.
//
// See: https://developer.apple.com/documentation/CoreImage/CISystemToneMap/inputImage
SetInputImage(value ICIImage)
// Specifies the preferred dynamic range behavior of the tone mapping. The value should be kCIDynamicRangeStandard, kCIDynamicRangeConstrainedHigh, kCIDynamicRangeHigh or nil. If nil then it will behave as kCIDynamicRangeHigh.
//
// See: https://developer.apple.com/documentation/CoreImage/CISystemToneMap/preferredDynamicRange
SetPreferredDynamicRange(value CIDynamicRangeOption)
}
The protocol for the System Tone Map filter.
See: https://developer.apple.com/documentation/CoreImage/CISystemToneMap
type CISystemToneMapObject ¶
type CISystemToneMapObject struct {
objectivec.Object
}
CISystemToneMapObject wraps an existing Objective-C object that conforms to the CISystemToneMap protocol.
func CISystemToneMapObjectFromID ¶
func CISystemToneMapObjectFromID(id objc.ID) CISystemToneMapObject
CISystemToneMapObjectFromID constructs a CISystemToneMapObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CISystemToneMapObject) BaseObject ¶
func (o CISystemToneMapObject) BaseObject() objectivec.Object
func (CISystemToneMapObject) DisplayHeadroom ¶
func (o CISystemToneMapObject) DisplayHeadroom() float32
Specifies the current headroom of the intended display.
See: https://developer.apple.com/documentation/CoreImage/CISystemToneMap/displayHeadroom
func (CISystemToneMapObject) InputImage ¶
func (o CISystemToneMapObject) InputImage() ICIImage
Specifies input image with content headroom and average light level properties.
See: https://developer.apple.com/documentation/CoreImage/CISystemToneMap/inputImage
func (CISystemToneMapObject) OutputImage ¶
func (o CISystemToneMapObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CISystemToneMapObject) PreferredDynamicRange ¶
func (o CISystemToneMapObject) PreferredDynamicRange() CIDynamicRangeOption
Specifies the preferred dynamic range behavior of the tone mapping. The value should be kCIDynamicRangeStandard, kCIDynamicRangeConstrainedHigh, kCIDynamicRangeHigh or nil. If nil then it will behave as kCIDynamicRangeHigh.
See: https://developer.apple.com/documentation/CoreImage/CISystemToneMap/preferredDynamicRange
func (CISystemToneMapObject) SetDisplayHeadroom ¶
func (o CISystemToneMapObject) SetDisplayHeadroom(value float32)
func (CISystemToneMapObject) SetInputImage ¶
func (o CISystemToneMapObject) SetInputImage(value ICIImage)
func (CISystemToneMapObject) SetPreferredDynamicRange ¶
func (o CISystemToneMapObject) SetPreferredDynamicRange(value CIDynamicRangeOption)
type CITemperatureAndTint ¶
type CITemperatureAndTint interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CITemperatureAndTint/inputImage
InputImage() ICIImage
// A vector containing the source white point defined by color temperature and tint.
//
// See: https://developer.apple.com/documentation/CoreImage/CITemperatureAndTint/neutral
Neutral() ICIVector
// A vector containing the desired white point defined by color temperature and tint.
//
// See: https://developer.apple.com/documentation/CoreImage/CITemperatureAndTint/targetNeutral
TargetNeutral() ICIVector
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CITemperatureAndTint/inputImage
SetInputImage(value ICIImage)
// A vector containing the source white point defined by color temperature and tint.
//
// See: https://developer.apple.com/documentation/CoreImage/CITemperatureAndTint/neutral
SetNeutral(value ICIVector)
// A vector containing the desired white point defined by color temperature and tint.
//
// See: https://developer.apple.com/documentation/CoreImage/CITemperatureAndTint/targetNeutral
SetTargetNeutral(value ICIVector)
}
The properties you use to configure a temperature and tint filter.
See: https://developer.apple.com/documentation/CoreImage/CITemperatureAndTint
type CITemperatureAndTintObject ¶
type CITemperatureAndTintObject struct {
objectivec.Object
}
CITemperatureAndTintObject wraps an existing Objective-C object that conforms to the CITemperatureAndTint protocol.
func CITemperatureAndTintObjectFromID ¶
func CITemperatureAndTintObjectFromID(id objc.ID) CITemperatureAndTintObject
CITemperatureAndTintObjectFromID constructs a CITemperatureAndTintObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CITemperatureAndTintObject) BaseObject ¶
func (o CITemperatureAndTintObject) BaseObject() objectivec.Object
func (CITemperatureAndTintObject) InputImage ¶
func (o CITemperatureAndTintObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CITemperatureAndTint/inputImage
func (CITemperatureAndTintObject) Neutral ¶
func (o CITemperatureAndTintObject) Neutral() ICIVector
A vector containing the source white point defined by color temperature and tint.
See: https://developer.apple.com/documentation/CoreImage/CITemperatureAndTint/neutral
func (CITemperatureAndTintObject) OutputImage ¶
func (o CITemperatureAndTintObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CITemperatureAndTintObject) SetInputImage ¶
func (o CITemperatureAndTintObject) SetInputImage(value ICIImage)
func (CITemperatureAndTintObject) SetNeutral ¶
func (o CITemperatureAndTintObject) SetNeutral(value ICIVector)
func (CITemperatureAndTintObject) SetTargetNeutral ¶
func (o CITemperatureAndTintObject) SetTargetNeutral(value ICIVector)
func (CITemperatureAndTintObject) TargetNeutral ¶
func (o CITemperatureAndTintObject) TargetNeutral() ICIVector
A vector containing the desired white point defined by color temperature and tint.
See: https://developer.apple.com/documentation/CoreImage/CITemperatureAndTint/targetNeutral
type CITextFeature ¶
type CITextFeature struct {
CIFeature
}
Information about a text that was detected in a still or video image.
Overview ¶
A detected text feature is not necessarily rectangular in the plane of the image; rather, the feature identifies a shape that may be rectangular in space (for example a text on a sign) but which appears as a four-sided polygon in the image. The properties of a CITextFeature object identify its four corners in image coordinates.
To detect text in an image or video, choose the CITextFeature.CIDetectorTypeText type when initializing a CIDetector object, and use the CIDetectorImageOrientation option to specify the desired orientation for finding upright text.
Locating Features Within a Detected Region ¶
- CITextFeature.SubFeatures: An array containing additional features detected within the feature.
Identifying the Corners of a Detected Text Region ¶
- CITextFeature.BottomLeft: The image coordinate of the lower-left corner of the detected text.
- CITextFeature.BottomRight: The image coordinate of the lower-right corner of the detected text.
- CITextFeature.TopLeft: The image coordinate of the upper-left corner of the detected text.
- CITextFeature.TopRight: The image coordinate of the upper-right corner of the detected text.
See: https://developer.apple.com/documentation/CoreImage/CITextFeature
func CITextFeatureFromID ¶
func CITextFeatureFromID(id objc.ID) CITextFeature
CITextFeatureFromID constructs a CITextFeature from an objc.ID.
Information about a text that was detected in a still or video image.
func NewCITextFeature ¶
func NewCITextFeature() CITextFeature
NewCITextFeature creates a new CITextFeature instance.
func (CITextFeature) Autorelease ¶
func (t CITextFeature) Autorelease() CITextFeature
Autorelease adds the receiver to the current autorelease pool.
func (CITextFeature) BottomLeft ¶
func (t CITextFeature) BottomLeft() corefoundation.CGPoint
The image coordinate of the lower-left corner of the detected text.
See: https://developer.apple.com/documentation/CoreImage/CITextFeature/bottomLeft
func (CITextFeature) BottomRight ¶
func (t CITextFeature) BottomRight() corefoundation.CGPoint
The image coordinate of the lower-right corner of the detected text.
See: https://developer.apple.com/documentation/CoreImage/CITextFeature/bottomRight
func (CITextFeature) CIDetectorTypeText ¶
func (t CITextFeature) CIDetectorTypeText() string
A detector that searches for text in a still image or video, returning
See: https://developer.apple.com/documentation/coreimage/cidetectortypetext
func (CITextFeature) Init ¶
func (t CITextFeature) Init() CITextFeature
Init initializes the instance.
func (CITextFeature) SubFeatures ¶
func (t CITextFeature) SubFeatures() foundation.INSArray
An array containing additional features detected within the feature.
Discussion ¶
A text detector can identify both a major region that is likely to contain text as well as the areas within that region that likely to contain individual text features. Such features might be single characters, groups of closely-packed characters, or entire words.
To detect sub-features, `/CIDetector/` needs to be called with the CIDetectorReturnSubFeatures option set to true.
See: https://developer.apple.com/documentation/CoreImage/CITextFeature/subFeatures
func (CITextFeature) TopLeft ¶
func (t CITextFeature) TopLeft() corefoundation.CGPoint
The image coordinate of the upper-left corner of the detected text.
See: https://developer.apple.com/documentation/CoreImage/CITextFeature/topLeft
func (CITextFeature) TopRight ¶
func (t CITextFeature) TopRight() corefoundation.CGPoint
The image coordinate of the upper-right corner of the detected text.
See: https://developer.apple.com/documentation/CoreImage/CITextFeature/topRight
type CITextFeatureClass ¶
type CITextFeatureClass struct {
// contains filtered or unexported fields
}
func GetCITextFeatureClass ¶
func GetCITextFeatureClass() CITextFeatureClass
GetCITextFeatureClass returns the class object for CITextFeature.
func (CITextFeatureClass) Alloc ¶
func (cc CITextFeatureClass) Alloc() CITextFeature
Alloc allocates memory for a new instance of the class.
type CITextImageGenerator ¶
type CITextImageGenerator interface {
objectivec.IObject
CIFilterProtocol
// The name of the font to use for the generated text.
//
// See: https://developer.apple.com/documentation/CoreImage/CITextImageGenerator/fontName
FontName() string
// The size of the font to use for the generated text.
//
// See: https://developer.apple.com/documentation/CoreImage/CITextImageGenerator/fontSize
FontSize() float32
// The scale of the font to use for the generated text.
//
// See: https://developer.apple.com/documentation/CoreImage/CITextImageGenerator/scaleFactor
ScaleFactor() float32
// The text to render.
//
// See: https://developer.apple.com/documentation/CoreImage/CITextImageGenerator/text
Text() string
// Padding protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CITextImageGenerator/padding
Padding() float32
// The name of the font to use for the generated text.
//
// See: https://developer.apple.com/documentation/CoreImage/CITextImageGenerator/fontName
SetFontName(value string)
// The size of the font to use for the generated text.
//
// See: https://developer.apple.com/documentation/CoreImage/CITextImageGenerator/fontSize
SetFontSize(value float32)
// The scale of the font to use for the generated text.
//
// See: https://developer.apple.com/documentation/CoreImage/CITextImageGenerator/scaleFactor
SetScaleFactor(value float32)
// The text to render.
//
// See: https://developer.apple.com/documentation/CoreImage/CITextImageGenerator/text
SetText(value string)
// padding protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CITextImageGenerator/padding
SetPadding(value float32)
}
The properties you use to configure a text image generator filter.
See: https://developer.apple.com/documentation/CoreImage/CITextImageGenerator
type CITextImageGeneratorObject ¶
type CITextImageGeneratorObject struct {
objectivec.Object
}
CITextImageGeneratorObject wraps an existing Objective-C object that conforms to the CITextImageGenerator protocol.
func CITextImageGeneratorObjectFromID ¶
func CITextImageGeneratorObjectFromID(id objc.ID) CITextImageGeneratorObject
CITextImageGeneratorObjectFromID constructs a CITextImageGeneratorObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CITextImageGeneratorObject) BaseObject ¶
func (o CITextImageGeneratorObject) BaseObject() objectivec.Object
func (CITextImageGeneratorObject) FontName ¶
func (o CITextImageGeneratorObject) FontName() string
The name of the font to use for the generated text.
See: https://developer.apple.com/documentation/CoreImage/CITextImageGenerator/fontName
func (CITextImageGeneratorObject) FontSize ¶
func (o CITextImageGeneratorObject) FontSize() float32
The size of the font to use for the generated text.
See: https://developer.apple.com/documentation/CoreImage/CITextImageGenerator/fontSize
func (CITextImageGeneratorObject) OutputImage ¶
func (o CITextImageGeneratorObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CITextImageGeneratorObject) Padding ¶
func (o CITextImageGeneratorObject) Padding() float32
See: https://developer.apple.com/documentation/CoreImage/CITextImageGenerator/padding
func (CITextImageGeneratorObject) ScaleFactor ¶
func (o CITextImageGeneratorObject) ScaleFactor() float32
The scale of the font to use for the generated text.
See: https://developer.apple.com/documentation/CoreImage/CITextImageGenerator/scaleFactor
func (CITextImageGeneratorObject) SetFontName ¶
func (o CITextImageGeneratorObject) SetFontName(value string)
func (CITextImageGeneratorObject) SetFontSize ¶
func (o CITextImageGeneratorObject) SetFontSize(value float32)
func (CITextImageGeneratorObject) SetPadding ¶
func (o CITextImageGeneratorObject) SetPadding(value float32)
func (CITextImageGeneratorObject) SetScaleFactor ¶
func (o CITextImageGeneratorObject) SetScaleFactor(value float32)
func (CITextImageGeneratorObject) SetText ¶
func (o CITextImageGeneratorObject) SetText(value string)
func (CITextImageGeneratorObject) Text ¶
func (o CITextImageGeneratorObject) Text() string
The text to render.
See: https://developer.apple.com/documentation/CoreImage/CITextImageGenerator/text
type CIThermal ¶
type CIThermal interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIThermal/inputImage
InputImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIThermal/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a thermal filter.
See: https://developer.apple.com/documentation/CoreImage/CIThermal
type CIThermalObject ¶
type CIThermalObject struct {
objectivec.Object
}
CIThermalObject wraps an existing Objective-C object that conforms to the CIThermal protocol.
func CIThermalObjectFromID ¶
func CIThermalObjectFromID(id objc.ID) CIThermalObject
CIThermalObjectFromID constructs a CIThermalObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIThermalObject) BaseObject ¶
func (o CIThermalObject) BaseObject() objectivec.Object
func (CIThermalObject) InputImage ¶
func (o CIThermalObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIThermal/inputImage
func (CIThermalObject) OutputImage ¶
func (o CIThermalObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIThermalObject) SetInputImage ¶
func (o CIThermalObject) SetInputImage(value ICIImage)
type CIToneCurve ¶
type CIToneCurve interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/inputImage
InputImage() ICIImage
// A vector containing the position of the first point of the tone curve.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/point0
Point0() corefoundation.CGPoint
// A vector containing the position of the second point of the tone curve.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/point1
Point1() corefoundation.CGPoint
// A vector containing the position of the third point of the tone curve.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/point2
Point2() corefoundation.CGPoint
// A vector containing the position of the fourth point of the tone curve.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/point3
Point3() corefoundation.CGPoint
// A vector containing the position of the fifth point of the tone curve.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/point4
Point4() corefoundation.CGPoint
// If true, then the color effect will be extrapolated if the input image contains RGB component values outside the range 0.0 to 1.0.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/extrapolate
Extrapolate() bool
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/inputImage
SetInputImage(value ICIImage)
// A vector containing the position of the first point of the tone curve.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/point0
SetPoint0(value corefoundation.CGPoint)
// A vector containing the position of the second point of the tone curve.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/point1
SetPoint1(value corefoundation.CGPoint)
// A vector containing the position of the third point of the tone curve.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/point2
SetPoint2(value corefoundation.CGPoint)
// A vector containing the position of the fourth point of the tone curve.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/point3
SetPoint3(value corefoundation.CGPoint)
// A vector containing the position of the fifth point of the tone curve.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/point4
SetPoint4(value corefoundation.CGPoint)
// If true, then the color effect will be extrapolated if the input image contains RGB component values outside the range 0.0 to 1.0.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/extrapolate
SetExtrapolate(value bool)
}
The properties you use to configure a tone curve filter.
See: https://developer.apple.com/documentation/CoreImage/CIToneCurve
type CIToneCurveObject ¶
type CIToneCurveObject struct {
objectivec.Object
}
CIToneCurveObject wraps an existing Objective-C object that conforms to the CIToneCurve protocol.
func CIToneCurveObjectFromID ¶
func CIToneCurveObjectFromID(id objc.ID) CIToneCurveObject
CIToneCurveObjectFromID constructs a CIToneCurveObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIToneCurveObject) BaseObject ¶
func (o CIToneCurveObject) BaseObject() objectivec.Object
func (CIToneCurveObject) Extrapolate ¶
func (o CIToneCurveObject) Extrapolate() bool
If true, then the color effect will be extrapolated if the input image contains RGB component values outside the range 0.0 to 1.0.
See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/extrapolate
func (CIToneCurveObject) InputImage ¶
func (o CIToneCurveObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/inputImage
func (CIToneCurveObject) OutputImage ¶
func (o CIToneCurveObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIToneCurveObject) Point0 ¶
func (o CIToneCurveObject) Point0() corefoundation.CGPoint
A vector containing the position of the first point of the tone curve.
See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/point0
func (CIToneCurveObject) Point1 ¶
func (o CIToneCurveObject) Point1() corefoundation.CGPoint
A vector containing the position of the second point of the tone curve.
See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/point1
func (CIToneCurveObject) Point2 ¶
func (o CIToneCurveObject) Point2() corefoundation.CGPoint
A vector containing the position of the third point of the tone curve.
See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/point2
func (CIToneCurveObject) Point3 ¶
func (o CIToneCurveObject) Point3() corefoundation.CGPoint
A vector containing the position of the fourth point of the tone curve.
See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/point3
func (CIToneCurveObject) Point4 ¶
func (o CIToneCurveObject) Point4() corefoundation.CGPoint
A vector containing the position of the fifth point of the tone curve.
See: https://developer.apple.com/documentation/CoreImage/CIToneCurve/point4
func (CIToneCurveObject) SetExtrapolate ¶
func (o CIToneCurveObject) SetExtrapolate(value bool)
func (CIToneCurveObject) SetInputImage ¶
func (o CIToneCurveObject) SetInputImage(value ICIImage)
func (CIToneCurveObject) SetPoint0 ¶
func (o CIToneCurveObject) SetPoint0(value corefoundation.CGPoint)
func (CIToneCurveObject) SetPoint1 ¶
func (o CIToneCurveObject) SetPoint1(value corefoundation.CGPoint)
func (CIToneCurveObject) SetPoint2 ¶
func (o CIToneCurveObject) SetPoint2(value corefoundation.CGPoint)
func (CIToneCurveObject) SetPoint3 ¶
func (o CIToneCurveObject) SetPoint3(value corefoundation.CGPoint)
func (CIToneCurveObject) SetPoint4 ¶
func (o CIToneCurveObject) SetPoint4(value corefoundation.CGPoint)
type CIToneMapHeadroom ¶
type CIToneMapHeadroom interface {
objectivec.IObject
CIFilterProtocol
// InputImage protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneMapHeadroom/inputImage
InputImage() ICIImage
// SourceHeadroom protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneMapHeadroom/sourceHeadroom
SourceHeadroom() float32
// TargetHeadroom protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneMapHeadroom/targetHeadroom
TargetHeadroom() float32
// inputImage protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneMapHeadroom/inputImage
SetInputImage(value ICIImage)
// sourceHeadroom protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneMapHeadroom/sourceHeadroom
SetSourceHeadroom(value float32)
// targetHeadroom protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIToneMapHeadroom/targetHeadroom
SetTargetHeadroom(value float32)
}
CIToneMapHeadroom protocol.
See: https://developer.apple.com/documentation/CoreImage/CIToneMapHeadroom
type CIToneMapHeadroomObject ¶
type CIToneMapHeadroomObject struct {
objectivec.Object
}
CIToneMapHeadroomObject wraps an existing Objective-C object that conforms to the CIToneMapHeadroom protocol.
func CIToneMapHeadroomObjectFromID ¶
func CIToneMapHeadroomObjectFromID(id objc.ID) CIToneMapHeadroomObject
CIToneMapHeadroomObjectFromID constructs a CIToneMapHeadroomObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIToneMapHeadroomObject) BaseObject ¶
func (o CIToneMapHeadroomObject) BaseObject() objectivec.Object
func (CIToneMapHeadroomObject) InputImage ¶
func (o CIToneMapHeadroomObject) InputImage() ICIImage
See: https://developer.apple.com/documentation/CoreImage/CIToneMapHeadroom/inputImage
func (CIToneMapHeadroomObject) OutputImage ¶
func (o CIToneMapHeadroomObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIToneMapHeadroomObject) SetInputImage ¶
func (o CIToneMapHeadroomObject) SetInputImage(value ICIImage)
func (CIToneMapHeadroomObject) SetSourceHeadroom ¶
func (o CIToneMapHeadroomObject) SetSourceHeadroom(value float32)
func (CIToneMapHeadroomObject) SetTargetHeadroom ¶
func (o CIToneMapHeadroomObject) SetTargetHeadroom(value float32)
func (CIToneMapHeadroomObject) SourceHeadroom ¶
func (o CIToneMapHeadroomObject) SourceHeadroom() float32
See: https://developer.apple.com/documentation/CoreImage/CIToneMapHeadroom/sourceHeadroom
func (CIToneMapHeadroomObject) TargetHeadroom ¶
func (o CIToneMapHeadroomObject) TargetHeadroom() float32
See: https://developer.apple.com/documentation/CoreImage/CIToneMapHeadroom/targetHeadroom
type CITorusLensDistortion ¶
type CITorusLensDistortion interface {
objectivec.IObject
CIFilterProtocol
// Center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CITorusLensDistortion/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CITorusLensDistortion/inputImage
InputImage() ICIImage
// Radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CITorusLensDistortion/radius
Radius() float32
// Refraction protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CITorusLensDistortion/refraction
Refraction() float32
// Width protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CITorusLensDistortion/width
Width() float32
// center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CITorusLensDistortion/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CITorusLensDistortion/inputImage
SetInputImage(value ICIImage)
// radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CITorusLensDistortion/radius
SetRadius(value float32)
// refraction protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CITorusLensDistortion/refraction
SetRefraction(value float32)
// width protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CITorusLensDistortion/width
SetWidth(value float32)
}
CITorusLensDistortion protocol.
See: https://developer.apple.com/documentation/CoreImage/CITorusLensDistortion
type CITorusLensDistortionObject ¶
type CITorusLensDistortionObject struct {
objectivec.Object
}
CITorusLensDistortionObject wraps an existing Objective-C object that conforms to the CITorusLensDistortion protocol.
func CITorusLensDistortionObjectFromID ¶
func CITorusLensDistortionObjectFromID(id objc.ID) CITorusLensDistortionObject
CITorusLensDistortionObjectFromID constructs a CITorusLensDistortionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CITorusLensDistortionObject) BaseObject ¶
func (o CITorusLensDistortionObject) BaseObject() objectivec.Object
func (CITorusLensDistortionObject) Center ¶
func (o CITorusLensDistortionObject) Center() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CITorusLensDistortion/center
func (CITorusLensDistortionObject) InputImage ¶
func (o CITorusLensDistortionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CITorusLensDistortion/inputImage
func (CITorusLensDistortionObject) OutputImage ¶
func (o CITorusLensDistortionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CITorusLensDistortionObject) Radius ¶
func (o CITorusLensDistortionObject) Radius() float32
See: https://developer.apple.com/documentation/CoreImage/CITorusLensDistortion/radius
func (CITorusLensDistortionObject) Refraction ¶
func (o CITorusLensDistortionObject) Refraction() float32
See: https://developer.apple.com/documentation/CoreImage/CITorusLensDistortion/refraction
func (CITorusLensDistortionObject) SetCenter ¶
func (o CITorusLensDistortionObject) SetCenter(value corefoundation.CGPoint)
func (CITorusLensDistortionObject) SetInputImage ¶
func (o CITorusLensDistortionObject) SetInputImage(value ICIImage)
func (CITorusLensDistortionObject) SetRadius ¶
func (o CITorusLensDistortionObject) SetRadius(value float32)
func (CITorusLensDistortionObject) SetRefraction ¶
func (o CITorusLensDistortionObject) SetRefraction(value float32)
func (CITorusLensDistortionObject) SetWidth ¶
func (o CITorusLensDistortionObject) SetWidth(value float32)
func (CITorusLensDistortionObject) Width ¶
func (o CITorusLensDistortionObject) Width() float32
See: https://developer.apple.com/documentation/CoreImage/CITorusLensDistortion/width
type CITransitionFilter ¶
type CITransitionFilter interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/inputImage
InputImage() ICIImage
// The target image for a transition.
//
// See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/targetImage
TargetImage() ICIImage
// The parametric time of the transition.
//
// See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/time
Time() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/inputImage
SetInputImage(value ICIImage)
// The target image for a transition.
//
// See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/targetImage
SetTargetImage(value ICIImage)
// The parametric time of the transition.
//
// See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/time
SetTime(value float32)
}
The properties you use to configure a transition filter.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter
type CITransitionFilterObject ¶
type CITransitionFilterObject struct {
objectivec.Object
}
CITransitionFilterObject wraps an existing Objective-C object that conforms to the CITransitionFilter protocol.
func CITransitionFilterObjectFromID ¶
func CITransitionFilterObjectFromID(id objc.ID) CITransitionFilterObject
CITransitionFilterObjectFromID constructs a CITransitionFilterObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CITransitionFilterObject) BaseObject ¶
func (o CITransitionFilterObject) BaseObject() objectivec.Object
func (CITransitionFilterObject) InputImage ¶
func (o CITransitionFilterObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/inputImage
func (CITransitionFilterObject) OutputImage ¶
func (o CITransitionFilterObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CITransitionFilterObject) SetInputImage ¶
func (o CITransitionFilterObject) SetInputImage(value ICIImage)
func (CITransitionFilterObject) SetTargetImage ¶
func (o CITransitionFilterObject) SetTargetImage(value ICIImage)
func (CITransitionFilterObject) SetTime ¶
func (o CITransitionFilterObject) SetTime(value float32)
func (CITransitionFilterObject) TargetImage ¶
func (o CITransitionFilterObject) TargetImage() ICIImage
The target image for a transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/targetImage
func (CITransitionFilterObject) Time ¶
func (o CITransitionFilterObject) Time() float32
The parametric time of the transition.
See: https://developer.apple.com/documentation/CoreImage/CITransitionFilter/time
type CITriangleKaleidoscope ¶
type CITriangleKaleidoscope interface {
objectivec.IObject
CIFilterProtocol
// A value that determines how fast the color fades from the center triangle.
//
// See: https://developer.apple.com/documentation/CoreImage/CITriangleKaleidoscope/decay
Decay() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CITriangleKaleidoscope/inputImage
InputImage() ICIImage
// The x and y position to use as the center of the triangular area in the input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CITriangleKaleidoscope/point
Point() corefoundation.CGPoint
// The rotation angle of the triangle.
//
// See: https://developer.apple.com/documentation/CoreImage/CITriangleKaleidoscope/rotation
Rotation() float32
// The size, in pixels, of the triangle.
//
// See: https://developer.apple.com/documentation/CoreImage/CITriangleKaleidoscope/size
Size() float32
// A value that determines how fast the color fades from the center triangle.
//
// See: https://developer.apple.com/documentation/CoreImage/CITriangleKaleidoscope/decay
SetDecay(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CITriangleKaleidoscope/inputImage
SetInputImage(value ICIImage)
// The x and y position to use as the center of the triangular area in the input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CITriangleKaleidoscope/point
SetPoint(value corefoundation.CGPoint)
// The rotation angle of the triangle.
//
// See: https://developer.apple.com/documentation/CoreImage/CITriangleKaleidoscope/rotation
SetRotation(value float32)
// The size, in pixels, of the triangle.
//
// See: https://developer.apple.com/documentation/CoreImage/CITriangleKaleidoscope/size
SetSize(value float32)
}
The properties you use to configure a triangle kaleidoscope filter.
See: https://developer.apple.com/documentation/CoreImage/CITriangleKaleidoscope
type CITriangleKaleidoscopeObject ¶
type CITriangleKaleidoscopeObject struct {
objectivec.Object
}
CITriangleKaleidoscopeObject wraps an existing Objective-C object that conforms to the CITriangleKaleidoscope protocol.
func CITriangleKaleidoscopeObjectFromID ¶
func CITriangleKaleidoscopeObjectFromID(id objc.ID) CITriangleKaleidoscopeObject
CITriangleKaleidoscopeObjectFromID constructs a CITriangleKaleidoscopeObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CITriangleKaleidoscopeObject) BaseObject ¶
func (o CITriangleKaleidoscopeObject) BaseObject() objectivec.Object
func (CITriangleKaleidoscopeObject) Decay ¶
func (o CITriangleKaleidoscopeObject) Decay() float32
A value that determines how fast the color fades from the center triangle.
See: https://developer.apple.com/documentation/CoreImage/CITriangleKaleidoscope/decay
func (CITriangleKaleidoscopeObject) InputImage ¶
func (o CITriangleKaleidoscopeObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CITriangleKaleidoscope/inputImage
func (CITriangleKaleidoscopeObject) OutputImage ¶
func (o CITriangleKaleidoscopeObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CITriangleKaleidoscopeObject) Point ¶
func (o CITriangleKaleidoscopeObject) Point() corefoundation.CGPoint
The x and y position to use as the center of the triangular area in the input image.
See: https://developer.apple.com/documentation/CoreImage/CITriangleKaleidoscope/point
func (CITriangleKaleidoscopeObject) Rotation ¶
func (o CITriangleKaleidoscopeObject) Rotation() float32
The rotation angle of the triangle.
See: https://developer.apple.com/documentation/CoreImage/CITriangleKaleidoscope/rotation
func (CITriangleKaleidoscopeObject) SetDecay ¶
func (o CITriangleKaleidoscopeObject) SetDecay(value float32)
func (CITriangleKaleidoscopeObject) SetInputImage ¶
func (o CITriangleKaleidoscopeObject) SetInputImage(value ICIImage)
func (CITriangleKaleidoscopeObject) SetPoint ¶
func (o CITriangleKaleidoscopeObject) SetPoint(value corefoundation.CGPoint)
func (CITriangleKaleidoscopeObject) SetRotation ¶
func (o CITriangleKaleidoscopeObject) SetRotation(value float32)
func (CITriangleKaleidoscopeObject) SetSize ¶
func (o CITriangleKaleidoscopeObject) SetSize(value float32)
func (CITriangleKaleidoscopeObject) Size ¶
func (o CITriangleKaleidoscopeObject) Size() float32
The size, in pixels, of the triangle.
See: https://developer.apple.com/documentation/CoreImage/CITriangleKaleidoscope/size
type CITriangleTile ¶
type CITriangleTile interface {
objectivec.IObject
CIFilterProtocol
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CITriangleTile/angle
Angle() float32
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CITriangleTile/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CITriangleTile/inputImage
InputImage() ICIImage
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CITriangleTile/width
Width() float32
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CITriangleTile/angle
SetAngle(value float32)
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CITriangleTile/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CITriangleTile/inputImage
SetInputImage(value ICIImage)
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CITriangleTile/width
SetWidth(value float32)
}
The properties you use to configure a triangle tile filter.
See: https://developer.apple.com/documentation/CoreImage/CITriangleTile
type CITriangleTileObject ¶
type CITriangleTileObject struct {
objectivec.Object
}
CITriangleTileObject wraps an existing Objective-C object that conforms to the CITriangleTile protocol.
func CITriangleTileObjectFromID ¶
func CITriangleTileObjectFromID(id objc.ID) CITriangleTileObject
CITriangleTileObjectFromID constructs a CITriangleTileObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CITriangleTileObject) Angle ¶
func (o CITriangleTileObject) Angle() float32
The angle, in radians, of the tiled pattern.
See: https://developer.apple.com/documentation/CoreImage/CITriangleTile/angle
func (CITriangleTileObject) BaseObject ¶
func (o CITriangleTileObject) BaseObject() objectivec.Object
func (CITriangleTileObject) Center ¶
func (o CITriangleTileObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CITriangleTile/center
func (CITriangleTileObject) InputImage ¶
func (o CITriangleTileObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CITriangleTile/inputImage
func (CITriangleTileObject) OutputImage ¶
func (o CITriangleTileObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CITriangleTileObject) SetAngle ¶
func (o CITriangleTileObject) SetAngle(value float32)
func (CITriangleTileObject) SetCenter ¶
func (o CITriangleTileObject) SetCenter(value corefoundation.CGPoint)
func (CITriangleTileObject) SetInputImage ¶
func (o CITriangleTileObject) SetInputImage(value ICIImage)
func (CITriangleTileObject) SetWidth ¶
func (o CITriangleTileObject) SetWidth(value float32)
func (CITriangleTileObject) Width ¶
func (o CITriangleTileObject) Width() float32
The width of a tile.
See: https://developer.apple.com/documentation/CoreImage/CITriangleTile/width
type CITwelvefoldReflectedTile ¶
type CITwelvefoldReflectedTile interface {
objectivec.IObject
CIFilterProtocol
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CITwelvefoldReflectedTile/angle
Angle() float32
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CITwelvefoldReflectedTile/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CITwelvefoldReflectedTile/inputImage
InputImage() ICIImage
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CITwelvefoldReflectedTile/width
Width() float32
// The angle, in radians, of the tiled pattern.
//
// See: https://developer.apple.com/documentation/CoreImage/CITwelvefoldReflectedTile/angle
SetAngle(value float32)
// The x and y position to use as the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CITwelvefoldReflectedTile/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CITwelvefoldReflectedTile/inputImage
SetInputImage(value ICIImage)
// The width of a tile.
//
// See: https://developer.apple.com/documentation/CoreImage/CITwelvefoldReflectedTile/width
SetWidth(value float32)
}
The properties you use to configure a twelvefold reflected tile filter.
See: https://developer.apple.com/documentation/CoreImage/CITwelvefoldReflectedTile
type CITwelvefoldReflectedTileObject ¶
type CITwelvefoldReflectedTileObject struct {
objectivec.Object
}
CITwelvefoldReflectedTileObject wraps an existing Objective-C object that conforms to the CITwelvefoldReflectedTile protocol.
func CITwelvefoldReflectedTileObjectFromID ¶
func CITwelvefoldReflectedTileObjectFromID(id objc.ID) CITwelvefoldReflectedTileObject
CITwelvefoldReflectedTileObjectFromID constructs a CITwelvefoldReflectedTileObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CITwelvefoldReflectedTileObject) Angle ¶
func (o CITwelvefoldReflectedTileObject) Angle() float32
The angle, in radians, of the tiled pattern.
See: https://developer.apple.com/documentation/CoreImage/CITwelvefoldReflectedTile/angle
func (CITwelvefoldReflectedTileObject) BaseObject ¶
func (o CITwelvefoldReflectedTileObject) BaseObject() objectivec.Object
func (CITwelvefoldReflectedTileObject) Center ¶
func (o CITwelvefoldReflectedTileObject) Center() corefoundation.CGPoint
The x and y position to use as the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CITwelvefoldReflectedTile/center
func (CITwelvefoldReflectedTileObject) InputImage ¶
func (o CITwelvefoldReflectedTileObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CITwelvefoldReflectedTile/inputImage
func (CITwelvefoldReflectedTileObject) OutputImage ¶
func (o CITwelvefoldReflectedTileObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CITwelvefoldReflectedTileObject) SetAngle ¶
func (o CITwelvefoldReflectedTileObject) SetAngle(value float32)
func (CITwelvefoldReflectedTileObject) SetCenter ¶
func (o CITwelvefoldReflectedTileObject) SetCenter(value corefoundation.CGPoint)
func (CITwelvefoldReflectedTileObject) SetInputImage ¶
func (o CITwelvefoldReflectedTileObject) SetInputImage(value ICIImage)
func (CITwelvefoldReflectedTileObject) SetWidth ¶
func (o CITwelvefoldReflectedTileObject) SetWidth(value float32)
func (CITwelvefoldReflectedTileObject) Width ¶
func (o CITwelvefoldReflectedTileObject) Width() float32
The width of a tile.
See: https://developer.apple.com/documentation/CoreImage/CITwelvefoldReflectedTile/width
type CITwirlDistortion ¶
type CITwirlDistortion interface {
objectivec.IObject
CIFilterProtocol
// Angle protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CITwirlDistortion/angle
Angle() float32
// Center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CITwirlDistortion/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CITwirlDistortion/inputImage
InputImage() ICIImage
// Radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CITwirlDistortion/radius
Radius() float32
// angle protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CITwirlDistortion/angle
SetAngle(value float32)
// center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CITwirlDistortion/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CITwirlDistortion/inputImage
SetInputImage(value ICIImage)
// radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CITwirlDistortion/radius
SetRadius(value float32)
}
CITwirlDistortion protocol.
See: https://developer.apple.com/documentation/CoreImage/CITwirlDistortion
type CITwirlDistortionObject ¶
type CITwirlDistortionObject struct {
objectivec.Object
}
CITwirlDistortionObject wraps an existing Objective-C object that conforms to the CITwirlDistortion protocol.
func CITwirlDistortionObjectFromID ¶
func CITwirlDistortionObjectFromID(id objc.ID) CITwirlDistortionObject
CITwirlDistortionObjectFromID constructs a CITwirlDistortionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CITwirlDistortionObject) Angle ¶
func (o CITwirlDistortionObject) Angle() float32
See: https://developer.apple.com/documentation/CoreImage/CITwirlDistortion/angle
func (CITwirlDistortionObject) BaseObject ¶
func (o CITwirlDistortionObject) BaseObject() objectivec.Object
func (CITwirlDistortionObject) Center ¶
func (o CITwirlDistortionObject) Center() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CITwirlDistortion/center
func (CITwirlDistortionObject) InputImage ¶
func (o CITwirlDistortionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CITwirlDistortion/inputImage
func (CITwirlDistortionObject) OutputImage ¶
func (o CITwirlDistortionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CITwirlDistortionObject) Radius ¶
func (o CITwirlDistortionObject) Radius() float32
See: https://developer.apple.com/documentation/CoreImage/CITwirlDistortion/radius
func (CITwirlDistortionObject) SetAngle ¶
func (o CITwirlDistortionObject) SetAngle(value float32)
func (CITwirlDistortionObject) SetCenter ¶
func (o CITwirlDistortionObject) SetCenter(value corefoundation.CGPoint)
func (CITwirlDistortionObject) SetInputImage ¶
func (o CITwirlDistortionObject) SetInputImage(value ICIImage)
func (CITwirlDistortionObject) SetRadius ¶
func (o CITwirlDistortionObject) SetRadius(value float32)
type CIUnsharpMask ¶
type CIUnsharpMask interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIUnsharpMask/inputImage
InputImage() ICIImage
// The intensity of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIUnsharpMask/intensity
Intensity() float32
// The radius of the unsharp mask effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIUnsharpMask/radius
Radius() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIUnsharpMask/inputImage
SetInputImage(value ICIImage)
// The intensity of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIUnsharpMask/intensity
SetIntensity(value float32)
// The radius of the unsharp mask effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIUnsharpMask/radius
SetRadius(value float32)
}
The properties you use to configure an unsharp mask filter.
See: https://developer.apple.com/documentation/CoreImage/CIUnsharpMask
type CIUnsharpMaskObject ¶
type CIUnsharpMaskObject struct {
objectivec.Object
}
CIUnsharpMaskObject wraps an existing Objective-C object that conforms to the CIUnsharpMask protocol.
func CIUnsharpMaskObjectFromID ¶
func CIUnsharpMaskObjectFromID(id objc.ID) CIUnsharpMaskObject
CIUnsharpMaskObjectFromID constructs a CIUnsharpMaskObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIUnsharpMaskObject) BaseObject ¶
func (o CIUnsharpMaskObject) BaseObject() objectivec.Object
func (CIUnsharpMaskObject) InputImage ¶
func (o CIUnsharpMaskObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIUnsharpMask/inputImage
func (CIUnsharpMaskObject) Intensity ¶
func (o CIUnsharpMaskObject) Intensity() float32
The intensity of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIUnsharpMask/intensity
func (CIUnsharpMaskObject) OutputImage ¶
func (o CIUnsharpMaskObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIUnsharpMaskObject) Radius ¶
func (o CIUnsharpMaskObject) Radius() float32
The radius of the unsharp mask effect.
See: https://developer.apple.com/documentation/CoreImage/CIUnsharpMask/radius
func (CIUnsharpMaskObject) SetInputImage ¶
func (o CIUnsharpMaskObject) SetInputImage(value ICIImage)
func (CIUnsharpMaskObject) SetIntensity ¶
func (o CIUnsharpMaskObject) SetIntensity(value float32)
func (CIUnsharpMaskObject) SetRadius ¶
func (o CIUnsharpMaskObject) SetRadius(value float32)
type CIVector ¶
type CIVector struct {
objectivec.Object
}
The Core Image class that defines a vector object.
Overview ¶
A CIVector can store one or more [CGFloat] in one object. They can store a group of float values for a variety of different uses such as coordinate points, direction vectors, geometric rectangles, transform matrices, convolution weights, or just a list a parameter values.
You use CIVector objects in conjunction with other Core Image classes, such as CIFilter and CIKernel. Many of the built-in Core Image filters have one or more CIVector inputs that you can set to affect the filter’s behavior.
Initializing a Vector ¶
- CIVector.InitWithValuesCount: Initialize a Core Image vector object with the specified the values.
- CIVector.InitWithX: Initialize a Core Image vector object with one value.
- CIVector.InitWithXY: Initialize a Core Image vector object with two values.
- CIVector.InitWithXYZ: Initialize a Core Image vector object with three values.
- CIVector.InitWithXYZW: Initialize a Core Image vector object with four values.
- CIVector.InitWithString: Initialize a Core Image vector object with values provided in a string representation.
- CIVector.InitWithCGAffineTransform: Initialize a Core Image vector object with six values provided by a [CGAffineTransform] structure.
- CIVector.InitWithCGPoint: Initialize a Core Image vector object with two values provided by a [CGPoint] structure.
- CIVector.InitWithCGRect: Initialize a Core Image vector object with four values provided by a [CGRect] structure.
Getting Values From a Vector ¶
- CIVector.ValueAtIndex: Returns a value from a specific position in the vector.
- CIVector.Count: The number of items in the vector.
- CIVector.X: The value located in the first position in the vector.
- CIVector.Y: The value located in the second position in the vector.
- CIVector.Z: The value located in the third position in the vector.
- CIVector.W: The value located in the forth position in the vector.
- CIVector.StringRepresentation: Returns a formatted string with all the values of a CIVector.
- CIVector.CGAffineTransformValue: Returns the values in the vector as a [CGAffineTransformValue] structure.
- CIVector.CGPointValue: Returns the values in the vector as a [CGPoint] structure.
- CIVector.CGRectValue: Returns the values in the vector as a [CGRect] structure.
See: https://developer.apple.com/documentation/CoreImage/CIVector
func CIVectorFromID ¶
CIVectorFromID constructs a CIVector from an objc.ID.
The Core Image class that defines a vector object.
func NewVectorWithCGAffineTransform ¶
func NewVectorWithCGAffineTransform(t corefoundation.CGAffineTransform) CIVector
Initialize a Core Image vector object with six values provided by a [CGAffineTransform] structure.
t: The [CGAffineTransform] structure.
Return Value ¶
An initialized CIVector object of length 6.
Discussion ¶
The [CGAffineTransform] structure’s `a`, `b`, `c`, `c`, `tx` and `ty` values are stored in the vector’s six values.
See: https://developer.apple.com/documentation/CoreImage/CIVector/init(cgAffineTransform:)
func NewVectorWithCGPoint ¶
func NewVectorWithCGPoint(p corefoundation.CGPoint) CIVector
Initialize a Core Image vector object with two values provided by a [CGPoint] structure.
p: The [CGPoint] structure.
Return Value ¶
An initialized CIVector object of length 2.
Discussion ¶
The [CGRect] structure’s `y` and `y` values are stored in the vector’s two values.
See: https://developer.apple.com/documentation/CoreImage/CIVector/init(cgPoint:)
func NewVectorWithCGRect ¶
func NewVectorWithCGRect(r corefoundation.CGRect) CIVector
Initialize a Core Image vector object with four values provided by a [CGRect] structure.
r: The [CGRect] structure.
Return Value ¶
An initialized CIVector object of length 4.
Discussion ¶
The [CGRect] structure’s `x`, `y`, `height` and `width` values are stored in the vector’s four values.
See: https://developer.apple.com/documentation/CoreImage/CIVector/init(cgRect:)
func NewVectorWithString ¶
Initialize a Core Image vector object with values provided in a string representation.
representation: A string that is in one of the formats returned by the `stringRepresentation` method.
Return Value ¶
An initialized CIVector object.
See: https://developer.apple.com/documentation/CoreImage/CIVector/init(string:)
func NewVectorWithValuesCount ¶
Initialize a Core Image vector object with the specified the values.
values: A pointer [CGFloat] values for vector.
count: The number of [CGFloats] specified by the `values` parameter.
Return Value ¶
An initialized CIVector object of length `count`.
See: https://developer.apple.com/documentation/CoreImage/CIVector/init(values:count:)
func NewVectorWithX ¶
Initialize a Core Image vector object with one value.
x: The value for the first position in the vector.
Return Value ¶
An initialized CIVector object of length 1.
See: https://developer.apple.com/documentation/CoreImage/CIVector/init(x:)
func NewVectorWithXY ¶
Initialize a Core Image vector object with two values.
x: The value for the first position in the vector.
y: The value for the second position in the vector.
Return Value ¶
An initialized CIVector object of length 2.
See: https://developer.apple.com/documentation/CoreImage/CIVector/init(x:y:)
func NewVectorWithXYZ ¶
Initialize a Core Image vector object with three values.
x: The value for the first position in the vector.
y: The value for the second position in the vector.
z: The value for the third position in the vector.
Return Value ¶
An initialized CIVector object of length 3.
See: https://developer.apple.com/documentation/CoreImage/CIVector/init(x:y:z:)
func NewVectorWithXYZW ¶
Initialize a Core Image vector object with four values.
x: The value for the first position in the vector.
y: The value for the second position in the vector.
z: The value for the third position in the vector.
w: The value for the forth position in the vector.
Return Value ¶
An initialized CIVector object of length 4.
See: https://developer.apple.com/documentation/CoreImage/CIVector/init(x:y:z:w:)
func (CIVector) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
func (CIVector) CGAffineTransformValue ¶
func (v CIVector) CGAffineTransformValue() corefoundation.CGAffineTransform
Returns the values in the vector as a [CGAffineTransformValue] structure.
Return Value ¶
Reading this property creates a [CGAffineTransformValue] structure from the first six values in the vector.
See: https://developer.apple.com/documentation/CoreImage/CIVector/cgAffineTransformValue
func (CIVector) CGPointValue ¶
func (v CIVector) CGPointValue() corefoundation.CGPoint
Returns the values in the vector as a [CGPoint] structure.
Return Value ¶
Reading this property returns a [CGPoint] structure from the [X] and [Y] values from the vector.
See: https://developer.apple.com/documentation/CoreImage/CIVector/cgPointValue
func (CIVector) CGRectValue ¶
func (v CIVector) CGRectValue() corefoundation.CGRect
Returns the values in the vector as a [CGRect] structure.
Return Value ¶
Reading this property creates a [CGRect] structure whose origin is the [X], [Y], [Z] and [W] values from the vector.
See: https://developer.apple.com/documentation/CoreImage/CIVector/cgRectValue
func (CIVector) Count ¶
The number of items in the vector.
See: https://developer.apple.com/documentation/CoreImage/CIVector/count
func (CIVector) EncodeWithCoder ¶
func (v CIVector) EncodeWithCoder(coder foundation.INSCoder)
func (CIVector) InitWithCGAffineTransform ¶
func (v CIVector) InitWithCGAffineTransform(t corefoundation.CGAffineTransform) CIVector
Initialize a Core Image vector object with six values provided by a [CGAffineTransform] structure.
t: The [CGAffineTransform] structure.
Return Value ¶
An initialized CIVector object of length 6.
Discussion ¶
The [CGAffineTransform] structure’s `a`, `b`, `c`, `c`, `tx` and `ty` values are stored in the vector’s six values.
See: https://developer.apple.com/documentation/CoreImage/CIVector/init(cgAffineTransform:)
func (CIVector) InitWithCGPoint ¶
func (v CIVector) InitWithCGPoint(p corefoundation.CGPoint) CIVector
Initialize a Core Image vector object with two values provided by a [CGPoint] structure.
p: The [CGPoint] structure.
Return Value ¶
An initialized CIVector object of length 2.
Discussion ¶
The [CGRect] structure’s `y` and `y` values are stored in the vector’s two values.
See: https://developer.apple.com/documentation/CoreImage/CIVector/init(cgPoint:)
func (CIVector) InitWithCGRect ¶
func (v CIVector) InitWithCGRect(r corefoundation.CGRect) CIVector
Initialize a Core Image vector object with four values provided by a [CGRect] structure.
r: The [CGRect] structure.
Return Value ¶
An initialized CIVector object of length 4.
Discussion ¶
The [CGRect] structure’s `x`, `y`, `height` and `width` values are stored in the vector’s four values.
See: https://developer.apple.com/documentation/CoreImage/CIVector/init(cgRect:)
func (CIVector) InitWithString ¶
Initialize a Core Image vector object with values provided in a string representation.
representation: A string that is in one of the formats returned by the `stringRepresentation` method.
Return Value ¶
An initialized CIVector object.
See: https://developer.apple.com/documentation/CoreImage/CIVector/init(string:)
func (CIVector) InitWithValuesCount ¶
Initialize a Core Image vector object with the specified the values.
values: A pointer [CGFloat] values for vector.
count: The number of [CGFloats] specified by the `values` parameter.
Return Value ¶
An initialized CIVector object of length `count`.
See: https://developer.apple.com/documentation/CoreImage/CIVector/init(values:count:)
func (CIVector) InitWithX ¶
Initialize a Core Image vector object with one value.
x: The value for the first position in the vector.
Return Value ¶
An initialized CIVector object of length 1.
See: https://developer.apple.com/documentation/CoreImage/CIVector/init(x:)
func (CIVector) InitWithXY ¶
Initialize a Core Image vector object with two values.
x: The value for the first position in the vector.
y: The value for the second position in the vector.
Return Value ¶
An initialized CIVector object of length 2.
See: https://developer.apple.com/documentation/CoreImage/CIVector/init(x:y:)
func (CIVector) InitWithXYZ ¶
Initialize a Core Image vector object with three values.
x: The value for the first position in the vector.
y: The value for the second position in the vector.
z: The value for the third position in the vector.
Return Value ¶
An initialized CIVector object of length 3.
See: https://developer.apple.com/documentation/CoreImage/CIVector/init(x:y:z:)
func (CIVector) InitWithXYZW ¶
Initialize a Core Image vector object with four values.
x: The value for the first position in the vector.
y: The value for the second position in the vector.
z: The value for the third position in the vector.
w: The value for the forth position in the vector.
Return Value ¶
An initialized CIVector object of length 4.
See: https://developer.apple.com/documentation/CoreImage/CIVector/init(x:y:z:w:)
func (CIVector) StringRepresentation ¶
Returns a formatted string with all the values of a CIVector.
Discussion ¶
Some example string representations of vectors:
[Table data omitted]
To create a CIVector object from a string representation, use the [VectorWithString] method.
See: https://developer.apple.com/documentation/CoreImage/CIVector/stringRepresentation
func (CIVector) ValueAtIndex ¶
Returns a value from a specific position in the vector.
index: The position in the vector of the value that you want to retrieve.
Return Value ¶
The value retrieved from the vector or `0` if the position is undefined.
Discussion ¶
The numbering of elements in a vector begins with zero.
See: https://developer.apple.com/documentation/CoreImage/CIVector/value(at:)
func (CIVector) W ¶
The value located in the forth position in the vector.
See: https://developer.apple.com/documentation/CoreImage/CIVector/w
func (CIVector) X ¶
The value located in the first position in the vector.
See: https://developer.apple.com/documentation/CoreImage/CIVector/x
func (CIVector) Y ¶
The value located in the second position in the vector.
See: https://developer.apple.com/documentation/CoreImage/CIVector/y
func (CIVector) Z ¶
The value located in the third position in the vector.
See: https://developer.apple.com/documentation/CoreImage/CIVector/z
type CIVectorClass ¶
type CIVectorClass struct {
// contains filtered or unexported fields
}
func GetCIVectorClass ¶
func GetCIVectorClass() CIVectorClass
GetCIVectorClass returns the class object for CIVector.
func (CIVectorClass) Alloc ¶
func (cc CIVectorClass) Alloc() CIVector
Alloc allocates memory for a new instance of the class.
func (CIVectorClass) VectorWithCGAffineTransform ¶
func (_CIVectorClass CIVectorClass) VectorWithCGAffineTransform(t corefoundation.CGAffineTransform) CIVector
Create a Core Image vector object that is initialized with six values provided by a [CGAffineTransform] structure.
t: The [CGAffineTransform] structure.
Return Value ¶
An autoreleased CIVector object of length 6.
Discussion ¶
The [CGAffineTransform] structure’s `a`, `b`, `c`, `d`, `tx` and `ty` values are stored in the vector’s six values.
See: https://developer.apple.com/documentation/CoreImage/CIVector/vectorWithCGAffineTransform:
func (CIVectorClass) VectorWithCGPoint ¶
func (_CIVectorClass CIVectorClass) VectorWithCGPoint(p corefoundation.CGPoint) CIVector
Create a Core Image vector object that is initialized with two values provided by a [CGPoint] structure.
p: The [CGPoint] structure.
Return Value ¶
An autoreleased CIVector object of length 2.
Discussion ¶
The [CGRect] structure’s `y` and `y` values are stored in the vector’s two values.
See: https://developer.apple.com/documentation/CoreImage/CIVector/vectorWithCGPoint:
func (CIVectorClass) VectorWithCGRect ¶
func (_CIVectorClass CIVectorClass) VectorWithCGRect(r corefoundation.CGRect) CIVector
Create a Core Image vector object that is initialized with four values provided by a [CGRect] structure.
r: The [CGRect] structure.
Return Value ¶
An autoreleased CIVector object of length 4.
Discussion ¶
The [CGRect] structure’s `x`, `y`, `height` and `width` values are stored in the vector’s four values.
See: https://developer.apple.com/documentation/CoreImage/CIVector/vectorWithCGRect:
func (CIVectorClass) VectorWithString ¶
func (_CIVectorClass CIVectorClass) VectorWithString(representation string) CIVector
Create a Core Image vector object with values provided in a string representation.
representation: A string that is in one of the formats returned by the `stringRepresentation` method.
Return Value ¶
An autoreleased CIVector object.
See: https://developer.apple.com/documentation/CoreImage/CIVector/vectorWithString:
func (CIVectorClass) VectorWithValuesCount ¶
func (_CIVectorClass CIVectorClass) VectorWithValuesCount(values []float64, count uintptr) CIVector
Create a Core Image vector object that is initialized with the specified values.
values: The pointer [CGFloat] values to initialize the vector with.
count: The number of [CGFloats] specified by the `values` parameter.
Return Value ¶
An autoreleased CIVector object of length `count`.
See: https://developer.apple.com/documentation/CoreImage/CIVector/vectorWithValues:count:
func (CIVectorClass) VectorWithX ¶
func (_CIVectorClass CIVectorClass) VectorWithX(x float64) CIVector
Create a Core Image vector object that is initialized with one value.
x: The value for the first position in the vector.
Return Value ¶
An autoreleased CIVector object of length 1.
See: https://developer.apple.com/documentation/CoreImage/CIVector/vectorWithX:
func (CIVectorClass) VectorWithXY ¶
func (_CIVectorClass CIVectorClass) VectorWithXY(x float64, y float64) CIVector
Create a Core Image vector object that is initialized with two values.
x: The value for the first position in the vector.
y: The value for the second position in the vector.
Return Value ¶
An autoreleased CIVector object of length 2.
See: https://developer.apple.com/documentation/CoreImage/CIVector/vectorWithX:Y:
func (CIVectorClass) VectorWithXYZ ¶
func (_CIVectorClass CIVectorClass) VectorWithXYZ(x float64, y float64, z float64) CIVector
Create a Core Image vector object that is initialized with three values.
x: The value for the first position in the vector.
y: The value for the second position in the vector.
z: The value for the third position in the vector.
Return Value ¶
An autoreleased CIVector object of length 3.
See: https://developer.apple.com/documentation/CoreImage/CIVector/vectorWithX:Y:Z:
func (CIVectorClass) VectorWithXYZW ¶
func (_CIVectorClass CIVectorClass) VectorWithXYZW(x float64, y float64, z float64, w float64) CIVector
Create a Core Image vector object that is initialized with four values.
x: The value for the first position in the vector.
y: The value for the second position in the vector.
z: The value for the third position in the vector.
w: The value for the forth position in the vector.
Return Value ¶
An autoreleased CIVector object of length 4.
See: https://developer.apple.com/documentation/CoreImage/CIVector/vectorWithX:Y:Z:W:
type CIVibrance ¶
type CIVibrance interface {
objectivec.IObject
CIFilterProtocol
// The amount to adjust the saturation by.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVibrance/amount
Amount() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVibrance/inputImage
InputImage() ICIImage
// The amount to adjust the saturation by.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVibrance/amount
SetAmount(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVibrance/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a vibrance filter.
See: https://developer.apple.com/documentation/CoreImage/CIVibrance
type CIVibranceObject ¶
type CIVibranceObject struct {
objectivec.Object
}
CIVibranceObject wraps an existing Objective-C object that conforms to the CIVibrance protocol.
func CIVibranceObjectFromID ¶
func CIVibranceObjectFromID(id objc.ID) CIVibranceObject
CIVibranceObjectFromID constructs a CIVibranceObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIVibranceObject) Amount ¶
func (o CIVibranceObject) Amount() float32
The amount to adjust the saturation by.
See: https://developer.apple.com/documentation/CoreImage/CIVibrance/amount
func (CIVibranceObject) BaseObject ¶
func (o CIVibranceObject) BaseObject() objectivec.Object
func (CIVibranceObject) InputImage ¶
func (o CIVibranceObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIVibrance/inputImage
func (CIVibranceObject) OutputImage ¶
func (o CIVibranceObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIVibranceObject) SetAmount ¶
func (o CIVibranceObject) SetAmount(value float32)
func (CIVibranceObject) SetInputImage ¶
func (o CIVibranceObject) SetInputImage(value ICIImage)
type CIVignette ¶
type CIVignette interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVignette/inputImage
InputImage() ICIImage
// The intensity of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVignette/intensity
Intensity() float32
// The distance from the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVignette/radius
Radius() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVignette/inputImage
SetInputImage(value ICIImage)
// The intensity of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVignette/intensity
SetIntensity(value float32)
// The distance from the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVignette/radius
SetRadius(value float32)
}
The properties you use to configure a vignette filter.
See: https://developer.apple.com/documentation/CoreImage/CIVignette
type CIVignetteEffect ¶
type CIVignetteEffect interface {
objectivec.IObject
CIFilterProtocol
// The center of the effect as x and y coordinates.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVignetteEffect/center
Center() corefoundation.CGPoint
// The falloff of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVignetteEffect/falloff
Falloff() float32
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVignetteEffect/inputImage
InputImage() ICIImage
// The intensity of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVignetteEffect/intensity
Intensity() float32
// The distance from the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVignetteEffect/radius
Radius() float32
// The center of the effect as x and y coordinates.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVignetteEffect/center
SetCenter(value corefoundation.CGPoint)
// The falloff of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVignetteEffect/falloff
SetFalloff(value float32)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVignetteEffect/inputImage
SetInputImage(value ICIImage)
// The intensity of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVignetteEffect/intensity
SetIntensity(value float32)
// The distance from the center of the effect.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVignetteEffect/radius
SetRadius(value float32)
}
The properties you use to configure a vignette-effect filter.
See: https://developer.apple.com/documentation/CoreImage/CIVignetteEffect
type CIVignetteEffectObject ¶
type CIVignetteEffectObject struct {
objectivec.Object
}
CIVignetteEffectObject wraps an existing Objective-C object that conforms to the CIVignetteEffect protocol.
func CIVignetteEffectObjectFromID ¶
func CIVignetteEffectObjectFromID(id objc.ID) CIVignetteEffectObject
CIVignetteEffectObjectFromID constructs a CIVignetteEffectObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIVignetteEffectObject) BaseObject ¶
func (o CIVignetteEffectObject) BaseObject() objectivec.Object
func (CIVignetteEffectObject) Center ¶
func (o CIVignetteEffectObject) Center() corefoundation.CGPoint
The center of the effect as x and y coordinates.
See: https://developer.apple.com/documentation/CoreImage/CIVignetteEffect/center
func (CIVignetteEffectObject) Falloff ¶
func (o CIVignetteEffectObject) Falloff() float32
The falloff of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIVignetteEffect/falloff
func (CIVignetteEffectObject) InputImage ¶
func (o CIVignetteEffectObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIVignetteEffect/inputImage
func (CIVignetteEffectObject) Intensity ¶
func (o CIVignetteEffectObject) Intensity() float32
The intensity of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIVignetteEffect/intensity
func (CIVignetteEffectObject) OutputImage ¶
func (o CIVignetteEffectObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIVignetteEffectObject) Radius ¶
func (o CIVignetteEffectObject) Radius() float32
The distance from the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIVignetteEffect/radius
func (CIVignetteEffectObject) SetCenter ¶
func (o CIVignetteEffectObject) SetCenter(value corefoundation.CGPoint)
func (CIVignetteEffectObject) SetFalloff ¶
func (o CIVignetteEffectObject) SetFalloff(value float32)
func (CIVignetteEffectObject) SetInputImage ¶
func (o CIVignetteEffectObject) SetInputImage(value ICIImage)
func (CIVignetteEffectObject) SetIntensity ¶
func (o CIVignetteEffectObject) SetIntensity(value float32)
func (CIVignetteEffectObject) SetRadius ¶
func (o CIVignetteEffectObject) SetRadius(value float32)
type CIVignetteObject ¶
type CIVignetteObject struct {
objectivec.Object
}
CIVignetteObject wraps an existing Objective-C object that conforms to the CIVignette protocol.
func CIVignetteObjectFromID ¶
func CIVignetteObjectFromID(id objc.ID) CIVignetteObject
CIVignetteObjectFromID constructs a CIVignetteObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIVignetteObject) BaseObject ¶
func (o CIVignetteObject) BaseObject() objectivec.Object
func (CIVignetteObject) InputImage ¶
func (o CIVignetteObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIVignette/inputImage
func (CIVignetteObject) Intensity ¶
func (o CIVignetteObject) Intensity() float32
The intensity of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIVignette/intensity
func (CIVignetteObject) OutputImage ¶
func (o CIVignetteObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIVignetteObject) Radius ¶
func (o CIVignetteObject) Radius() float32
The distance from the center of the effect.
See: https://developer.apple.com/documentation/CoreImage/CIVignette/radius
func (CIVignetteObject) SetInputImage ¶
func (o CIVignetteObject) SetInputImage(value ICIImage)
func (CIVignetteObject) SetIntensity ¶
func (o CIVignetteObject) SetIntensity(value float32)
func (CIVignetteObject) SetRadius ¶
func (o CIVignetteObject) SetRadius(value float32)
type CIVortexDistortion ¶
type CIVortexDistortion interface {
objectivec.IObject
CIFilterProtocol
// Angle protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVortexDistortion/angle
Angle() float32
// Center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVortexDistortion/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVortexDistortion/inputImage
InputImage() ICIImage
// Radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVortexDistortion/radius
Radius() float32
// angle protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVortexDistortion/angle
SetAngle(value float32)
// center protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVortexDistortion/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVortexDistortion/inputImage
SetInputImage(value ICIImage)
// radius protocol.
//
// See: https://developer.apple.com/documentation/CoreImage/CIVortexDistortion/radius
SetRadius(value float32)
}
CIVortexDistortion protocol.
See: https://developer.apple.com/documentation/CoreImage/CIVortexDistortion
type CIVortexDistortionObject ¶
type CIVortexDistortionObject struct {
objectivec.Object
}
CIVortexDistortionObject wraps an existing Objective-C object that conforms to the CIVortexDistortion protocol.
func CIVortexDistortionObjectFromID ¶
func CIVortexDistortionObjectFromID(id objc.ID) CIVortexDistortionObject
CIVortexDistortionObjectFromID constructs a CIVortexDistortionObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIVortexDistortionObject) Angle ¶
func (o CIVortexDistortionObject) Angle() float32
See: https://developer.apple.com/documentation/CoreImage/CIVortexDistortion/angle
func (CIVortexDistortionObject) BaseObject ¶
func (o CIVortexDistortionObject) BaseObject() objectivec.Object
func (CIVortexDistortionObject) Center ¶
func (o CIVortexDistortionObject) Center() corefoundation.CGPoint
See: https://developer.apple.com/documentation/CoreImage/CIVortexDistortion/center
func (CIVortexDistortionObject) InputImage ¶
func (o CIVortexDistortionObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIVortexDistortion/inputImage
func (CIVortexDistortionObject) OutputImage ¶
func (o CIVortexDistortionObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIVortexDistortionObject) Radius ¶
func (o CIVortexDistortionObject) Radius() float32
See: https://developer.apple.com/documentation/CoreImage/CIVortexDistortion/radius
func (CIVortexDistortionObject) SetAngle ¶
func (o CIVortexDistortionObject) SetAngle(value float32)
func (CIVortexDistortionObject) SetCenter ¶
func (o CIVortexDistortionObject) SetCenter(value corefoundation.CGPoint)
func (CIVortexDistortionObject) SetInputImage ¶
func (o CIVortexDistortionObject) SetInputImage(value ICIImage)
func (CIVortexDistortionObject) SetRadius ¶
func (o CIVortexDistortionObject) SetRadius(value float32)
type CIWarpKernel ¶
type CIWarpKernel struct {
CIKernel
}
A GPU-based image-processing routine that processes only the geometry information in an image, used to create custom Core Image filters.
Overview ¶
The kernel language routine for a warp kernel has the following characteristics:
- It uses exactly one input image. - Its return type is `vec2` (Core Image Kernel Language) or `float2` (Metal Shading Language), specifying a position in source image coordinates.
A warp kernel routine requires no input parameters (but can use additional custom parameters you declare). Typically, a warp kernel uses the destination coordinate function to look up the coordinates of the destination pixel currently being rendered, then computes a corresponding position in source image coordinates (output using the `return` keyword). Core Image then samples from the source image at the returned coordinates to produce a pixel color for the output image. For example, the Metal Shading Language source below implements a filter that passes through its input image unchanged.
The equivalent code in Core Image Kernel Language is:
The Core Image Kernel Language is a dialect of the OpenGL Shading Language. See Core Image Kernel Language Reference and Core Image Programming Guide for more details.
Applying a Kernel to Filter an Image ¶
- CIWarpKernel.ApplyWithExtentRoiCallbackInputImageArguments: Creates a new image using the kernel and the specified input image and arguments.
See: https://developer.apple.com/documentation/CoreImage/CIWarpKernel
func CIWarpKernelFromID ¶
func CIWarpKernelFromID(id objc.ID) CIWarpKernel
CIWarpKernelFromID constructs a CIWarpKernel from an objc.ID.
A GPU-based image-processing routine that processes only the geometry information in an image, used to create custom Core Image filters.
func NewCIWarpKernel ¶
func NewCIWarpKernel() CIWarpKernel
NewCIWarpKernel creates a new CIWarpKernel instance.
func NewWarpKernelWithFunctionNameFromMetalLibraryDataError ¶
func NewWarpKernelWithFunctionNameFromMetalLibraryDataError(name string, data foundation.INSData) (CIWarpKernel, error)
Creates a single kernel object using a Metal Shading Language (MSL) kernel function.
Discussion ¶
- name: The name of the function in the Metal shading language. - data: A metallib file compiled with the Core Image Standard Library.
Discussion ¶
This method allows you to use MSL as the shader language for a Core Image kernel. Since MSL based kernels are precompiled, initializing them is faster than their than Core Image Kernel Language (CIKL) counterparts and Xcode can provide error diagnostics during development rather than at runtime. MSL is a more modern language than CIKL, and you can write shader code that uses arrays, structs and matrices.
MSL based kernels still support concatenation and tiling and can work in the same filter graph as traditional CIKL kernels.
Specifying Compiler and Linker Options ¶
To use MSL as the shader language for a CIKernel, you must specify some options in Xcode under the tab of your project’s target. The first option you need to specify is an `-fcikernel` flag in the Other Metal Compiler Flags option. The second is to add a user-defined setting with a key called `MTLLINKER_FLAGS` with a value of `-`
[media-2929842]
Creating a General Kernel in Swift ¶
The following code shows how you can create a general kernel based on a Metal function named `myKernel`.
The first step is to create a [Data] object that represents the default Metal library. If you have built this in Xcode, it will be called `default.Metallib()` and can be loaded using the Bundle type’s `url` method.
Using the representation of the Metal library and the function name `myKernel`, you initialize a CIKernel.
The code to create general, color, warp and blend filters is identical.
Metal Shading Language Extensions ¶
Core Image provides a set of language extensions to MSL in `CIKernelMetalLib.H()`. These extensions include three new data types for working with images: `sampler` (for accessing the input image), `sample_t` (represents a single color sample from the input image), and `destination` (for accessing the output image). The extensions also include convenience functions such as color conversion and premultiply / unpremultiply.
Whereas in CIKL, you typically called global functions when working with, for example, coordinates and samples, these functions are implemented as member functions on the new types.
The following table shows a summary of CIKL global functions and their equivalent MSL functions.
[Table data omitted]
func NewWarpKernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError ¶
func NewWarpKernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError(name string, data foundation.INSData, format int) (CIWarpKernel, error)
Creates a single kernel object using a Metal Shading Language kernel function with optional pixel format.
name: The name of the function in the Metal shading language.
data: A metallib file compiled with the Core Image Standard Library.
format: The pixel format of the output kernel.
Discussion ¶
This method allows you to use MSL as the shader language for a Core Image kernel. Since MSL based kernels are precompiled, initializing them is faster than their than Core Image Kernel Language (CIKL) counterparts and Xcode can provide error diagnostics during development rather than at runtime. MSL is a more modern language than CIKL, and you can write shader code that uses arrays, structs and matrices.
MSL based kernels still support concatenation and tiling and can work in the same filter graph as traditional CIKL kernels.
func (CIWarpKernel) ApplyWithExtentRoiCallbackInputImageArguments ¶
func (w CIWarpKernel) ApplyWithExtentRoiCallbackInputImageArguments(extent corefoundation.CGRect, callback CIKernelROICallback, image ICIImage, args []objectivec.IObject) ICIImage
Creates a new image using the kernel and the specified input image and arguments.
extent: The extent of the output image.
callback: A block or closure that computes the region of interest for a given rectangle of destination image pixels. See CIKernelROICallback.
image: The input image to be processed by the warp kernel.
args: An array of arguments to pass to the kernel routine. The type of each object in the array must be compatible with the corresponding parameter declared in the kernel routine source code. For details, see [Core Image Kernel Language Reference]. // [Core Image Kernel Language Reference]: https://developer.apple.com/library/archive/documentation/GraphicsImaging/Reference/CIKernelLangRef/Introduction/Introduction.html#//apple_ref/doc/uid/TP40004397
Return Value ¶
A new image object describing the result of applying the kernel.
Discussion ¶
This method is analogous to the CIFilter method [ApplyArgumentsOptions], but it does not require construction of a CIFilter object, and it allows you to specify a callback for determining the kernel’s region of interest as a block or closure. As with the similar CIFilter method, calling this method does not execute the kernel code—filters and their kernel code are evaluated only when rendering a final output image.
When applying a filter kernel, the region of interest (ROI) is the area of source image pixels that must be processed to produce a given area of destination image pixels. For a more detailed definition, see The Region of Interest. Core Image calls your `callback` block or closure to determine the ROI when rendering the filter output. Core Image automatically splits large images into smaller tiles for rendering, so your callback may be called multiple times.
func (CIWarpKernel) Autorelease ¶
func (w CIWarpKernel) Autorelease() CIWarpKernel
Autorelease adds the receiver to the current autorelease pool.
type CIWarpKernelClass ¶
type CIWarpKernelClass struct {
// contains filtered or unexported fields
}
func GetCIWarpKernelClass ¶
func GetCIWarpKernelClass() CIWarpKernelClass
GetCIWarpKernelClass returns the class object for CIWarpKernel.
func (CIWarpKernelClass) Alloc ¶
func (cc CIWarpKernelClass) Alloc() CIWarpKernel
Alloc allocates memory for a new instance of the class.
type CIWhitePointAdjust ¶
type CIWhitePointAdjust interface {
objectivec.IObject
CIFilterProtocol
// A color to use as the white point.
//
// See: https://developer.apple.com/documentation/CoreImage/CIWhitePointAdjust/color
Color() ICIColor
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIWhitePointAdjust/inputImage
InputImage() ICIImage
// A color to use as the white point.
//
// See: https://developer.apple.com/documentation/CoreImage/CIWhitePointAdjust/color
SetColor(value ICIColor)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIWhitePointAdjust/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a white-point adjust filter.
See: https://developer.apple.com/documentation/CoreImage/CIWhitePointAdjust
type CIWhitePointAdjustObject ¶
type CIWhitePointAdjustObject struct {
objectivec.Object
}
CIWhitePointAdjustObject wraps an existing Objective-C object that conforms to the CIWhitePointAdjust protocol.
func CIWhitePointAdjustObjectFromID ¶
func CIWhitePointAdjustObjectFromID(id objc.ID) CIWhitePointAdjustObject
CIWhitePointAdjustObjectFromID constructs a CIWhitePointAdjustObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIWhitePointAdjustObject) BaseObject ¶
func (o CIWhitePointAdjustObject) BaseObject() objectivec.Object
func (CIWhitePointAdjustObject) Color ¶
func (o CIWhitePointAdjustObject) Color() ICIColor
A color to use as the white point.
See: https://developer.apple.com/documentation/CoreImage/CIWhitePointAdjust/color
func (CIWhitePointAdjustObject) InputImage ¶
func (o CIWhitePointAdjustObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIWhitePointAdjust/inputImage
func (CIWhitePointAdjustObject) OutputImage ¶
func (o CIWhitePointAdjustObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIWhitePointAdjustObject) SetColor ¶
func (o CIWhitePointAdjustObject) SetColor(value ICIColor)
func (CIWhitePointAdjustObject) SetInputImage ¶
func (o CIWhitePointAdjustObject) SetInputImage(value ICIImage)
type CIXRay ¶
type CIXRay interface {
objectivec.IObject
CIFilterProtocol
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIXRay/inputImage
InputImage() ICIImage
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIXRay/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure an X-ray filter.
See: https://developer.apple.com/documentation/CoreImage/CIXRay
type CIXRayObject ¶
type CIXRayObject struct {
objectivec.Object
}
CIXRayObject wraps an existing Objective-C object that conforms to the CIXRay protocol.
func CIXRayObjectFromID ¶
func CIXRayObjectFromID(id objc.ID) CIXRayObject
CIXRayObjectFromID constructs a CIXRayObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIXRayObject) BaseObject ¶
func (o CIXRayObject) BaseObject() objectivec.Object
func (CIXRayObject) InputImage ¶
func (o CIXRayObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIXRay/inputImage
func (CIXRayObject) OutputImage ¶
func (o CIXRayObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIXRayObject) SetInputImage ¶
func (o CIXRayObject) SetInputImage(value ICIImage)
type CIZoomBlur ¶
type CIZoomBlur interface {
objectivec.IObject
CIFilterProtocol
// The zoom-in amount.
//
// See: https://developer.apple.com/documentation/CoreImage/CIZoomBlur/amount
Amount() float32
// The center of the effect, as x and y coordinates.
//
// See: https://developer.apple.com/documentation/CoreImage/CIZoomBlur/center
Center() corefoundation.CGPoint
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIZoomBlur/inputImage
InputImage() ICIImage
// The zoom-in amount.
//
// See: https://developer.apple.com/documentation/CoreImage/CIZoomBlur/amount
SetAmount(value float32)
// The center of the effect, as x and y coordinates.
//
// See: https://developer.apple.com/documentation/CoreImage/CIZoomBlur/center
SetCenter(value corefoundation.CGPoint)
// The image to use as an input image.
//
// See: https://developer.apple.com/documentation/CoreImage/CIZoomBlur/inputImage
SetInputImage(value ICIImage)
}
The properties you use to configure a zoom blur filter.
See: https://developer.apple.com/documentation/CoreImage/CIZoomBlur
type CIZoomBlurObject ¶
type CIZoomBlurObject struct {
objectivec.Object
}
CIZoomBlurObject wraps an existing Objective-C object that conforms to the CIZoomBlur protocol.
func CIZoomBlurObjectFromID ¶
func CIZoomBlurObjectFromID(id objc.ID) CIZoomBlurObject
CIZoomBlurObjectFromID constructs a CIZoomBlurObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CIZoomBlurObject) Amount ¶
func (o CIZoomBlurObject) Amount() float32
The zoom-in amount.
See: https://developer.apple.com/documentation/CoreImage/CIZoomBlur/amount
func (CIZoomBlurObject) BaseObject ¶
func (o CIZoomBlurObject) BaseObject() objectivec.Object
func (CIZoomBlurObject) Center ¶
func (o CIZoomBlurObject) Center() corefoundation.CGPoint
The center of the effect, as x and y coordinates.
See: https://developer.apple.com/documentation/CoreImage/CIZoomBlur/center
func (CIZoomBlurObject) InputImage ¶
func (o CIZoomBlurObject) InputImage() ICIImage
The image to use as an input image.
See: https://developer.apple.com/documentation/CoreImage/CIZoomBlur/inputImage
func (CIZoomBlurObject) OutputImage ¶
func (o CIZoomBlurObject) OutputImage() ICIImage
A CIImage object that encapsulates the operations configured in the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilterProtocol/outputImage
func (CIZoomBlurObject) SetAmount ¶
func (o CIZoomBlurObject) SetAmount(value float32)
func (CIZoomBlurObject) SetCenter ¶
func (o CIZoomBlurObject) SetCenter(value corefoundation.CGPoint)
func (CIZoomBlurObject) SetInputImage ¶
func (o CIZoomBlurObject) SetInputImage(value ICIImage)
type ColumnCount ¶
type ColumnCount struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIDataMatrixCodeDescriptor/columnCount-c.ivar
func ColumnCountFromID ¶
func ColumnCountFromID(id objc.ID) ColumnCount
ColumnCountFromID constructs a ColumnCount from an objc.ID.
func NewColumnCount ¶
func NewColumnCount() ColumnCount
NewColumnCount creates a new ColumnCount instance.
func (ColumnCount) Autorelease ¶
func (c ColumnCount) Autorelease() ColumnCount
Autorelease adds the receiver to the current autorelease pool.
type ColumnCountClass ¶
type ColumnCountClass struct {
// contains filtered or unexported fields
}
func GetColumnCountClass ¶
func GetColumnCountClass() ColumnCountClass
GetColumnCountClass returns the class object for columnCount.
func (ColumnCountClass) Alloc ¶
func (cc ColumnCountClass) Alloc() ColumnCount
Alloc allocates memory for a new instance of the class.
type DataCodewordCount ¶
type DataCodewordCount struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeDescriptor/dataCodewordCount-c.ivar
func DataCodewordCountFromID ¶
func DataCodewordCountFromID(id objc.ID) DataCodewordCount
DataCodewordCountFromID constructs a DataCodewordCount from an objc.ID.
func NewDataCodewordCount ¶
func NewDataCodewordCount() DataCodewordCount
NewDataCodewordCount creates a new DataCodewordCount instance.
func (DataCodewordCount) Autorelease ¶
func (d DataCodewordCount) Autorelease() DataCodewordCount
Autorelease adds the receiver to the current autorelease pool.
func (DataCodewordCount) Init ¶
func (d DataCodewordCount) Init() DataCodewordCount
Init initializes the instance.
type DataCodewordCountClass ¶
type DataCodewordCountClass struct {
// contains filtered or unexported fields
}
func GetDataCodewordCountClass ¶
func GetDataCodewordCountClass() DataCodewordCountClass
GetDataCodewordCountClass returns the class object for dataCodewordCount.
func (DataCodewordCountClass) Alloc ¶
func (dc DataCodewordCountClass) Alloc() DataCodewordCount
Alloc allocates memory for a new instance of the class.
type EccVersion ¶
type EccVersion struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIDataMatrixCodeDescriptor/eccVersion-c.ivar
func EccVersionFromID ¶
func EccVersionFromID(id objc.ID) EccVersion
EccVersionFromID constructs a EccVersion from an objc.ID.
func NewEccVersion ¶
func NewEccVersion() EccVersion
NewEccVersion creates a new EccVersion instance.
func (EccVersion) Autorelease ¶
func (e EccVersion) Autorelease() EccVersion
Autorelease adds the receiver to the current autorelease pool.
type EccVersionClass ¶
type EccVersionClass struct {
// contains filtered or unexported fields
}
func GetEccVersionClass ¶
func GetEccVersionClass() EccVersionClass
GetEccVersionClass returns the class object for eccVersion.
func (EccVersionClass) Alloc ¶
func (ec EccVersionClass) Alloc() EccVersion
Alloc allocates memory for a new instance of the class.
type ErrorCorrectedPayload ¶
type ErrorCorrectedPayload struct {
objectivec.Object
}
func ErrorCorrectedPayloadFromID ¶
func ErrorCorrectedPayloadFromID(id objc.ID) ErrorCorrectedPayload
ErrorCorrectedPayloadFromID constructs a ErrorCorrectedPayload from an objc.ID.
func NewErrorCorrectedPayload ¶
func NewErrorCorrectedPayload() ErrorCorrectedPayload
NewErrorCorrectedPayload creates a new ErrorCorrectedPayload instance.
func (ErrorCorrectedPayload) Autorelease ¶
func (e ErrorCorrectedPayload) Autorelease() ErrorCorrectedPayload
Autorelease adds the receiver to the current autorelease pool.
func (ErrorCorrectedPayload) Init ¶
func (e ErrorCorrectedPayload) Init() ErrorCorrectedPayload
Init initializes the instance.
type ErrorCorrectedPayloadClass ¶
type ErrorCorrectedPayloadClass struct {
// contains filtered or unexported fields
}
func GetErrorCorrectedPayloadClass ¶
func GetErrorCorrectedPayloadClass() ErrorCorrectedPayloadClass
GetErrorCorrectedPayloadClass returns the class object for errorCorrectedPayload.
func (ErrorCorrectedPayloadClass) Alloc ¶
func (ec ErrorCorrectedPayloadClass) Alloc() ErrorCorrectedPayload
Alloc allocates memory for a new instance of the class.
type ErrorCorrectionLevel ¶
type ErrorCorrectionLevel struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeDescriptor/errorCorrectionLevel-c.ivar
func ErrorCorrectionLevelFromID ¶
func ErrorCorrectionLevelFromID(id objc.ID) ErrorCorrectionLevel
ErrorCorrectionLevelFromID constructs a ErrorCorrectionLevel from an objc.ID.
func NewErrorCorrectionLevel ¶
func NewErrorCorrectionLevel() ErrorCorrectionLevel
NewErrorCorrectionLevel creates a new ErrorCorrectionLevel instance.
func (ErrorCorrectionLevel) Autorelease ¶
func (e ErrorCorrectionLevel) Autorelease() ErrorCorrectionLevel
Autorelease adds the receiver to the current autorelease pool.
func (ErrorCorrectionLevel) Init ¶
func (e ErrorCorrectionLevel) Init() ErrorCorrectionLevel
Init initializes the instance.
type ErrorCorrectionLevelClass ¶
type ErrorCorrectionLevelClass struct {
// contains filtered or unexported fields
}
func GetErrorCorrectionLevelClass ¶
func GetErrorCorrectionLevelClass() ErrorCorrectionLevelClass
GetErrorCorrectionLevelClass returns the class object for errorCorrectionLevel.
func (ErrorCorrectionLevelClass) Alloc ¶
func (ec ErrorCorrectionLevelClass) Alloc() ErrorCorrectionLevel
Alloc allocates memory for a new instance of the class.
type FaceAngle ¶
type FaceAngle struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/faceAngle-c.ivar
func FaceAngleFromID ¶
FaceAngleFromID constructs a FaceAngle from an objc.ID.
func (FaceAngle) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
type FaceAngleClass ¶
type FaceAngleClass struct {
// contains filtered or unexported fields
}
func GetFaceAngleClass ¶
func GetFaceAngleClass() FaceAngleClass
GetFaceAngleClass returns the class object for faceAngle.
func (FaceAngleClass) Alloc ¶
func (fc FaceAngleClass) Alloc() FaceAngle
Alloc allocates memory for a new instance of the class.
type HasFaceAngle ¶
type HasFaceAngle struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasFaceAngle-c.ivar
func HasFaceAngleFromID ¶
func HasFaceAngleFromID(id objc.ID) HasFaceAngle
HasFaceAngleFromID constructs a HasFaceAngle from an objc.ID.
func NewHasFaceAngle ¶
func NewHasFaceAngle() HasFaceAngle
NewHasFaceAngle creates a new HasFaceAngle instance.
func (HasFaceAngle) Autorelease ¶
func (h HasFaceAngle) Autorelease() HasFaceAngle
Autorelease adds the receiver to the current autorelease pool.
type HasFaceAngleClass ¶
type HasFaceAngleClass struct {
// contains filtered or unexported fields
}
func GetHasFaceAngleClass ¶
func GetHasFaceAngleClass() HasFaceAngleClass
GetHasFaceAngleClass returns the class object for hasFaceAngle.
func (HasFaceAngleClass) Alloc ¶
func (hc HasFaceAngleClass) Alloc() HasFaceAngle
Alloc allocates memory for a new instance of the class.
type HasLeftEyePosition ¶
type HasLeftEyePosition struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasLeftEyePosition-c.ivar
func HasLeftEyePositionFromID ¶
func HasLeftEyePositionFromID(id objc.ID) HasLeftEyePosition
HasLeftEyePositionFromID constructs a HasLeftEyePosition from an objc.ID.
func NewHasLeftEyePosition ¶
func NewHasLeftEyePosition() HasLeftEyePosition
NewHasLeftEyePosition creates a new HasLeftEyePosition instance.
func (HasLeftEyePosition) Autorelease ¶
func (h HasLeftEyePosition) Autorelease() HasLeftEyePosition
Autorelease adds the receiver to the current autorelease pool.
func (HasLeftEyePosition) Init ¶
func (h HasLeftEyePosition) Init() HasLeftEyePosition
Init initializes the instance.
type HasLeftEyePositionClass ¶
type HasLeftEyePositionClass struct {
// contains filtered or unexported fields
}
func GetHasLeftEyePositionClass ¶
func GetHasLeftEyePositionClass() HasLeftEyePositionClass
GetHasLeftEyePositionClass returns the class object for hasLeftEyePosition.
func (HasLeftEyePositionClass) Alloc ¶
func (hc HasLeftEyePositionClass) Alloc() HasLeftEyePosition
Alloc allocates memory for a new instance of the class.
type HasMouthPosition ¶
type HasMouthPosition struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasMouthPosition-c.ivar
func HasMouthPositionFromID ¶
func HasMouthPositionFromID(id objc.ID) HasMouthPosition
HasMouthPositionFromID constructs a HasMouthPosition from an objc.ID.
func NewHasMouthPosition ¶
func NewHasMouthPosition() HasMouthPosition
NewHasMouthPosition creates a new HasMouthPosition instance.
func (HasMouthPosition) Autorelease ¶
func (h HasMouthPosition) Autorelease() HasMouthPosition
Autorelease adds the receiver to the current autorelease pool.
func (HasMouthPosition) Init ¶
func (h HasMouthPosition) Init() HasMouthPosition
Init initializes the instance.
type HasMouthPositionClass ¶
type HasMouthPositionClass struct {
// contains filtered or unexported fields
}
func GetHasMouthPositionClass ¶
func GetHasMouthPositionClass() HasMouthPositionClass
GetHasMouthPositionClass returns the class object for hasMouthPosition.
func (HasMouthPositionClass) Alloc ¶
func (hc HasMouthPositionClass) Alloc() HasMouthPosition
Alloc allocates memory for a new instance of the class.
type HasRightEyePosition ¶
type HasRightEyePosition struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasRightEyePosition-c.ivar
func HasRightEyePositionFromID ¶
func HasRightEyePositionFromID(id objc.ID) HasRightEyePosition
HasRightEyePositionFromID constructs a HasRightEyePosition from an objc.ID.
func NewHasRightEyePosition ¶
func NewHasRightEyePosition() HasRightEyePosition
NewHasRightEyePosition creates a new HasRightEyePosition instance.
func (HasRightEyePosition) Autorelease ¶
func (h HasRightEyePosition) Autorelease() HasRightEyePosition
Autorelease adds the receiver to the current autorelease pool.
func (HasRightEyePosition) Init ¶
func (h HasRightEyePosition) Init() HasRightEyePosition
Init initializes the instance.
type HasRightEyePositionClass ¶
type HasRightEyePositionClass struct {
// contains filtered or unexported fields
}
func GetHasRightEyePositionClass ¶
func GetHasRightEyePositionClass() HasRightEyePositionClass
GetHasRightEyePositionClass returns the class object for hasRightEyePosition.
func (HasRightEyePositionClass) Alloc ¶
func (hc HasRightEyePositionClass) Alloc() HasRightEyePosition
Alloc allocates memory for a new instance of the class.
type HasSmile ¶
type HasSmile struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasSmile-c.ivar
func HasSmileFromID ¶
HasSmileFromID constructs a HasSmile from an objc.ID.
func (HasSmile) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
type HasSmileClass ¶
type HasSmileClass struct {
// contains filtered or unexported fields
}
func GetHasSmileClass ¶
func GetHasSmileClass() HasSmileClass
GetHasSmileClass returns the class object for hasSmile.
func (HasSmileClass) Alloc ¶
func (hc HasSmileClass) Alloc() HasSmile
Alloc allocates memory for a new instance of the class.
type HasTrackingFrameCount ¶
type HasTrackingFrameCount struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasTrackingFrameCount-c.ivar
func HasTrackingFrameCountFromID ¶
func HasTrackingFrameCountFromID(id objc.ID) HasTrackingFrameCount
HasTrackingFrameCountFromID constructs a HasTrackingFrameCount from an objc.ID.
func NewHasTrackingFrameCount ¶
func NewHasTrackingFrameCount() HasTrackingFrameCount
NewHasTrackingFrameCount creates a new HasTrackingFrameCount instance.
func (HasTrackingFrameCount) Autorelease ¶
func (h HasTrackingFrameCount) Autorelease() HasTrackingFrameCount
Autorelease adds the receiver to the current autorelease pool.
func (HasTrackingFrameCount) Init ¶
func (h HasTrackingFrameCount) Init() HasTrackingFrameCount
Init initializes the instance.
type HasTrackingFrameCountClass ¶
type HasTrackingFrameCountClass struct {
// contains filtered or unexported fields
}
func GetHasTrackingFrameCountClass ¶
func GetHasTrackingFrameCountClass() HasTrackingFrameCountClass
GetHasTrackingFrameCountClass returns the class object for hasTrackingFrameCount.
func (HasTrackingFrameCountClass) Alloc ¶
func (hc HasTrackingFrameCountClass) Alloc() HasTrackingFrameCount
Alloc allocates memory for a new instance of the class.
type HasTrackingID ¶
type HasTrackingID struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasTrackingID-c.ivar
func HasTrackingIDFromID ¶
func HasTrackingIDFromID(id objc.ID) HasTrackingID
HasTrackingIDFromID constructs a HasTrackingID from an objc.ID.
func NewHasTrackingID ¶
func NewHasTrackingID() HasTrackingID
NewHasTrackingID creates a new HasTrackingID instance.
func (HasTrackingID) Autorelease ¶
func (h HasTrackingID) Autorelease() HasTrackingID
Autorelease adds the receiver to the current autorelease pool.
func (HasTrackingID) Init ¶
func (h HasTrackingID) Init() HasTrackingID
Init initializes the instance.
type HasTrackingIDClass ¶
type HasTrackingIDClass struct {
// contains filtered or unexported fields
}
func GetHasTrackingIDClass ¶
func GetHasTrackingIDClass() HasTrackingIDClass
GetHasTrackingIDClass returns the class object for hasTrackingID.
func (HasTrackingIDClass) Alloc ¶
func (hc HasTrackingIDClass) Alloc() HasTrackingID
Alloc allocates memory for a new instance of the class.
type IBottomLeft ¶
type IBottomLeft interface {
objectivec.IObject
}
An interface definition for the BottomLeft class.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeFeature/bottomLeft-c.ivar
type IBottomRight ¶
type IBottomRight interface {
objectivec.IObject
}
An interface definition for the BottomRight class.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeFeature/bottomRight-c.ivar
type IBounds ¶
type IBounds interface {
objectivec.IObject
}
An interface definition for the Bounds class.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/bounds-c.ivar
type ICIAztecCodeDescriptor ¶
type ICIAztecCodeDescriptor interface {
ICIBarcodeDescriptor
// Initializes an Aztec code descriptor for the given payload and parameters.
InitWithPayloadIsCompactLayerCountDataCodewordCount(errorCorrectedPayload foundation.INSData, isCompact bool, layerCount int, dataCodewordCount int) CIAztecCodeDescriptor
// The error-corrected payload that comprises the the Aztec code symbol.
ErrorCorrectedPayload() foundation.INSData
// A Boolean value telling if the Aztec code is compact.
IsCompact() bool
// The number of data layers in the Aztec code symbol.
LayerCount() int
// The number of non-error-correction codewords carried by the Aztec code symbol.
DataCodewordCount() int
}
An interface definition for the CIAztecCodeDescriptor class.
Creating a Descriptor ¶
- [ICIAztecCodeDescriptor.InitWithPayloadIsCompactLayerCountDataCodewordCount]: Initializes an Aztec code descriptor for the given payload and parameters.
Examining a Descriptor ¶
- [ICIAztecCodeDescriptor.ErrorCorrectedPayload]: The error-corrected payload that comprises the the Aztec code symbol.
- [ICIAztecCodeDescriptor.IsCompact]: A Boolean value telling if the Aztec code is compact.
- [ICIAztecCodeDescriptor.LayerCount]: The number of data layers in the Aztec code symbol.
- [ICIAztecCodeDescriptor.DataCodewordCount]: The number of non-error-correction codewords carried by the Aztec code symbol.
See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeDescriptor
type ICIBarcodeDescriptor ¶
type ICIBarcodeDescriptor interface {
objectivec.IObject
EncodeWithCoder(coder foundation.INSCoder)
}
An interface definition for the CIBarcodeDescriptor class.
See: https://developer.apple.com/documentation/CoreImage/CIBarcodeDescriptor
type ICIBlendKernel ¶
type ICIBlendKernel interface {
ICIColorKernel
// Creates a new image using the blend kernel and specified foreground and background images.
ApplyWithForegroundBackground(foreground ICIImage, background ICIImage) ICIImage
ApplyWithForegroundBackgroundColorSpace(foreground ICIImage, background ICIImage, colorSpace coregraphics.CGColorSpaceRef) ICIImage
}
An interface definition for the CIBlendKernel class.
Applying a Kernel to Filter an Image ¶
- [ICIBlendKernel.ApplyWithForegroundBackground]: Creates a new image using the blend kernel and specified foreground and background images.
Instance Methods ¶
- [ICIBlendKernel.ApplyWithForegroundBackgroundColorSpace]
See: https://developer.apple.com/documentation/CoreImage/CIBlendKernel
type ICIColor ¶
type ICIColor interface {
objectivec.IObject
// Create a Core Image color object with a Core Graphics color object.
InitWithCGColor(color coregraphics.CGColorRef) CIColor
InitWithColor(color objectivec.IObject) CIColor
// Initialize a Core Image color object in the sRGB color space with the specified red, green, blue, and alpha component values.
InitWithRedGreenBlueAlpha(red float64, green float64, blue float64, alpha float64) CIColor
// Initialize a Core Image color object with the specified red, green, and blue component values as measured in the specified color space.
InitWithRedGreenBlueColorSpace(red float64, green float64, blue float64, colorSpace coregraphics.CGColorSpaceRef) CIColor
// Initialize a Core Image color object with the specified red, green, and blue component values as measured in the specified color space.
InitWithRedGreenBlueAlphaColorSpace(red float64, green float64, blue float64, alpha float64, colorSpace coregraphics.CGColorSpaceRef) CIColor
// Returns the [CGColorSpace] associated with the color
ColorSpace() coregraphics.CGColorSpaceRef
// Return a pointer to an array of [CGFloat] values including alpha.
Components() unsafe.Pointer
// Returns the color components of the color including alpha.
NumberOfComponents() uintptr
// Returns the unpremultiplied red component of the color.
Red() float64
// Returns the unpremultiplied green component of the color.
Green() float64
// Returns the unpremultiplied blue component of the color.
Blue() float64
// Returns the alpha value of the color.
Alpha() float64
// Returns a formatted string with the unpremultiplied color and alpha components of the color.
StringRepresentation() string
// Initialize a Core Image color object in the sRGB color space with the specified red, green, and blue component values.
InitWithRedGreenBlue(red float64, green float64, blue float64) CIColor
EncodeWithCoder(coder foundation.INSCoder)
}
An interface definition for the CIColor class.
Initializing Color Objects ¶
- [ICIColor.InitWithCGColor]: Create a Core Image color object with a Core Graphics color object.
- [ICIColor.InitWithColor]
- [ICIColor.InitWithRedGreenBlueAlpha]: Initialize a Core Image color object in the sRGB color space with the specified red, green, blue, and alpha component values.
- [ICIColor.InitWithRedGreenBlueColorSpace]: Initialize a Core Image color object with the specified red, green, and blue component values as measured in the specified color space.
- [ICIColor.InitWithRedGreenBlueAlphaColorSpace]: Initialize a Core Image color object with the specified red, green, and blue component values as measured in the specified color space.
Getting Color Components ¶
- [ICIColor.ColorSpace]: Returns the [CGColorSpace] associated with the color
- [ICIColor.Components]: Return a pointer to an array of [CGFloat] values including alpha.
- [ICIColor.NumberOfComponents]: Returns the color components of the color including alpha.
- [ICIColor.Red]: Returns the unpremultiplied red component of the color.
- [ICIColor.Green]: Returns the unpremultiplied green component of the color.
- [ICIColor.Blue]: Returns the unpremultiplied blue component of the color.
- [ICIColor.Alpha]: Returns the alpha value of the color.
- [ICIColor.StringRepresentation]: Returns a formatted string with the unpremultiplied color and alpha components of the color.
See: https://developer.apple.com/documentation/CoreImage/CIColor
type ICIColorKernel ¶
type ICIColorKernel interface {
ICIKernel
// Creates a new image using the kernel and specified arguments.
ApplyWithExtentArguments(extent corefoundation.CGRect, args []objectivec.IObject) ICIImage
}
An interface definition for the CIColorKernel class.
Applying a Kernel to Filter an Image ¶
- [ICIColorKernel.ApplyWithExtentArguments]: Creates a new image using the kernel and specified arguments.
See: https://developer.apple.com/documentation/CoreImage/CIColorKernel
type ICIContext ¶
type ICIContext interface {
objectivec.IObject
// Creates a Core Graphics image from a region of a Core Image image instance.
CreateCGImageFromRect(image ICIImage, fromRect corefoundation.CGRect) coregraphics.CGImageRef
// Creates a Core Graphics image from a region of a Core Image image instance with an option for controlling the pixel format and color space of the [CGImage].
CreateCGImageFromRectFormatColorSpace(image ICIImage, fromRect corefoundation.CGRect, format int, colorSpace coregraphics.CGColorSpaceRef) coregraphics.CGImageRef
// Creates a Core Graphics image from a region of a Core Image image instance with an option for controlling when the image is rendered.
CreateCGImageFromRectFormatColorSpaceDeferred(image ICIImage, fromRect corefoundation.CGRect, format int, colorSpace coregraphics.CGColorSpaceRef, deferred bool) coregraphics.CGImageRef
// Renders to the given bitmap.
RenderToBitmapRowBytesBoundsFormatColorSpace(image ICIImage, data unsafe.Pointer, rowBytes int, bounds corefoundation.CGRect, format int, colorSpace coregraphics.CGColorSpaceRef)
// Renders an image into a pixel buffer.
RenderToCVPixelBuffer(image ICIImage, buffer corevideo.CVImageBufferRef)
// Renders a region of an image into a pixel buffer.
RenderToCVPixelBufferBoundsColorSpace(image ICIImage, buffer corevideo.CVImageBufferRef, bounds corefoundation.CGRect, colorSpace coregraphics.CGColorSpaceRef)
// Renders a region of an image into an IOSurface object.
RenderToIOSurfaceBoundsColorSpace(image ICIImage, surface iosurface.IOSurfaceRef, bounds corefoundation.CGRect, colorSpace coregraphics.CGColorSpaceRef)
// Renders a region of an image to a Metal texture.
RenderToMTLTextureCommandBufferBoundsColorSpace(image ICIImage, texture objectivec.IObject, commandBuffer objectivec.IObject, bounds corefoundation.CGRect, colorSpace coregraphics.CGColorSpaceRef)
// Renders a region of an image to a rectangle in the context destination.
DrawImageInRectFromRect(image ICIImage, inRect corefoundation.CGRect, fromRect corefoundation.CGRect)
// Frees any cached data, such as temporary images, associated with the context and runs the garbage collector.
ClearCaches()
// Runs the garbage collector to reclaim any resources that the context no longer requires.
ReclaimResources()
// The working color space of the Core Image context.
WorkingColorSpace() coregraphics.CGColorSpaceRef
// The working pixel format of the Core Image context.
WorkingFormat() CIFormat
// Renders the image and exports the resulting image data in TIFF format.
TIFFRepresentationOfImageFormatColorSpaceOptions(image ICIImage, format int, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) foundation.INSData
// Renders the image and exports the resulting image data in JPEG format.
JPEGRepresentationOfImageColorSpaceOptions(image ICIImage, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) foundation.INSData
// Renders the image and exports the resulting image data in PNG format.
PNGRepresentationOfImageFormatColorSpaceOptions(image ICIImage, format int, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) foundation.INSData
// Renders the image and exports the resulting image data in HEIF format.
HEIFRepresentationOfImageFormatColorSpaceOptions(image ICIImage, format int, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) foundation.INSData
// Renders the image and exports the resulting image data in HEIF10 format.
HEIF10RepresentationOfImageColorSpaceOptionsError(image ICIImage, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) (foundation.INSData, error)
// Renders the image and exports the resulting image data in open EXR format.
OpenEXRRepresentationOfImageOptionsError(image ICIImage, options foundation.INSDictionary) (foundation.INSData, error)
// Renders the image and exports the resulting image data as a file in TIFF format.
WriteTIFFRepresentationOfImageToURLFormatColorSpaceOptionsError(image ICIImage, url foundation.INSURL, format int, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) (bool, error)
// Renders the image and exports the resulting image data as a file in JPEG format.
WriteJPEGRepresentationOfImageToURLColorSpaceOptionsError(image ICIImage, url foundation.INSURL, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) (bool, error)
// Renders the image and exports the resulting image data as a file in PNG format.
WritePNGRepresentationOfImageToURLFormatColorSpaceOptionsError(image ICIImage, url foundation.INSURL, format int, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) (bool, error)
// Renders the image and exports the resulting image data as a file in HEIF format.
WriteHEIFRepresentationOfImageToURLFormatColorSpaceOptionsError(image ICIImage, url foundation.INSURL, format int, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) (bool, error)
// Renders the image and exports the resulting image data as a file in HEIF10 format.
WriteHEIF10RepresentationOfImageToURLColorSpaceOptionsError(image ICIImage, url foundation.INSURL, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) (bool, error)
// Renders the image and exports the resulting image data as a file in open EXR format.
WriteOpenEXRRepresentationOfImageToURLOptionsError(image ICIImage, url foundation.INSURL, options foundation.INSDictionary) (bool, error)
DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteHairSemanticSegmentationGlassesMatteGainMapOrientationOptions(image ICIImage, disparityImage ICIImage, portraitEffectsMatte ICIImage, hairSemanticSegmentation ICIImage, glassesMatte ICIImage, gainMap ICIImage, orientation objectivec.IObject, options foundation.INSDictionary) CIFilter
DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteHairSemanticSegmentationOrientationOptions(image ICIImage, disparityImage ICIImage, portraitEffectsMatte ICIImage, hairSemanticSegmentation ICIImage, orientation objectivec.IObject, options foundation.INSDictionary) CIFilter
DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteOrientationOptions(image ICIImage, disparityImage ICIImage, portraitEffectsMatte ICIImage, orientation objectivec.IObject, options foundation.INSDictionary) CIFilter
DepthBlurEffectFilterForImageDataOptions(data foundation.INSData, options foundation.INSDictionary) CIFilter
DepthBlurEffectFilterForImageURLOptions(url foundation.INSURL, options foundation.INSDictionary) CIFilter
// An optional call to warm up a [CIContext](<doc://com.apple.coreimage/documentation/CoreImage/CIContext>) so that subsequent calls to render with the same arguments run more efficiently.
PrepareRenderFromRectToDestinationAtPointError(image ICIImage, fromRect corefoundation.CGRect, destination ICIRenderDestination, atPoint corefoundation.CGPoint) (bool, error)
// Fills the entire destination with black or clear depending on its [alphaMode](<doc://com.apple.coreimage/documentation/CoreImage/CIRenderDestination/alphaMode>).
StartTaskToClearError(destination ICIRenderDestination) (ICIRenderTask, error)
// Renders a portion of an image to a point in the destination.
StartTaskToRenderFromRectToDestinationAtPointError(image ICIImage, fromRect corefoundation.CGRect, destination ICIRenderDestination, atPoint corefoundation.CGPoint) (ICIRenderTask, error)
// Renders an image to a destination so that point (0, 0) of the image maps to point (0, 0) of the destination.
StartTaskToRenderToDestinationError(image ICIImage, destination ICIRenderDestination) (ICIRenderTask, error)
// Initializes a context without a specific rendering destination, using the specified options.
InitWithOptions(options foundation.INSDictionary) CIContext
// Given a Core Graphics image, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then return a new Core Graphics image that has the calculated values.
CalculateHDRStatsForCGImage(cgimage coregraphics.CGImageRef) coregraphics.CGImageRef
// Given an IOSurface, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then update the surface’s attachments to store the values.
CalculateHDRStatsForIOSurface(surface iosurface.IOSurfaceRef)
// Given a CVPixelBuffer, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then update the buffers’s attachments to store the values.
CalculateHDRStatsForCVPixelBuffer(buffer corevideo.CVImageBufferRef)
// Given a Core Image image, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then return a new Core Image image that has the calculated values.
CalculateHDRStatsForImage(image ICIImage) ICIImage
// Creates a Core Graphics image from a region of a Core Image image instance with an option for calculating HDR statistics.
CreateCGImageFromRectFormatColorSpaceDeferredCalculateHDRStats(image ICIImage, fromRect corefoundation.CGRect, format int, colorSpace coregraphics.CGColorSpaceRef, deferred bool, calculateHDRStats bool) coregraphics.CGImageRef
// The render destination’s representation of alpha (transparency) values.
AlphaMode() CIRenderDestinationAlphaMode
SetAlphaMode(value CIRenderDestinationAlphaMode)
}
An interface definition for the CIContext class.
Rendering Images ¶
- [ICIContext.CreateCGImageFromRect]: Creates a Core Graphics image from a region of a Core Image image instance.
- [ICIContext.CreateCGImageFromRectFormatColorSpace]: Creates a Core Graphics image from a region of a Core Image image instance with an option for controlling the pixel format and color space of the [CGImage].
- [ICIContext.CreateCGImageFromRectFormatColorSpaceDeferred]: Creates a Core Graphics image from a region of a Core Image image instance with an option for controlling when the image is rendered.
- [ICIContext.RenderToBitmapRowBytesBoundsFormatColorSpace]: Renders to the given bitmap.
- [ICIContext.RenderToCVPixelBuffer]: Renders an image into a pixel buffer.
- [ICIContext.RenderToCVPixelBufferBoundsColorSpace]: Renders a region of an image into a pixel buffer.
- [ICIContext.RenderToIOSurfaceBoundsColorSpace]: Renders a region of an image into an IOSurface object.
- [ICIContext.RenderToMTLTextureCommandBufferBoundsColorSpace]: Renders a region of an image to a Metal texture.
Drawing Images ¶
- [ICIContext.DrawImageInRectFromRect]: Renders a region of an image to a rectangle in the context destination.
Managing Resources ¶
- [ICIContext.ClearCaches]: Frees any cached data, such as temporary images, associated with the context and runs the garbage collector.
- [ICIContext.ReclaimResources]: Runs the garbage collector to reclaim any resources that the context no longer requires.
- [ICIContext.WorkingColorSpace]: The working color space of the Core Image context.
- [ICIContext.WorkingFormat]: The working pixel format of the Core Image context.
Rendering Images for Data or File Export ¶
- [ICIContext.TIFFRepresentationOfImageFormatColorSpaceOptions]: Renders the image and exports the resulting image data in TIFF format.
- [ICIContext.JPEGRepresentationOfImageColorSpaceOptions]: Renders the image and exports the resulting image data in JPEG format.
- [ICIContext.PNGRepresentationOfImageFormatColorSpaceOptions]: Renders the image and exports the resulting image data in PNG format.
- [ICIContext.HEIFRepresentationOfImageFormatColorSpaceOptions]: Renders the image and exports the resulting image data in HEIF format.
- [ICIContext.HEIF10RepresentationOfImageColorSpaceOptionsError]: Renders the image and exports the resulting image data in HEIF10 format.
- [ICIContext.OpenEXRRepresentationOfImageOptionsError]: Renders the image and exports the resulting image data in open EXR format.
- [ICIContext.WriteTIFFRepresentationOfImageToURLFormatColorSpaceOptionsError]: Renders the image and exports the resulting image data as a file in TIFF format.
- [ICIContext.WriteJPEGRepresentationOfImageToURLColorSpaceOptionsError]: Renders the image and exports the resulting image data as a file in JPEG format.
- [ICIContext.WritePNGRepresentationOfImageToURLFormatColorSpaceOptionsError]: Renders the image and exports the resulting image data as a file in PNG format.
- [ICIContext.WriteHEIFRepresentationOfImageToURLFormatColorSpaceOptionsError]: Renders the image and exports the resulting image data as a file in HEIF format.
- [ICIContext.WriteHEIF10RepresentationOfImageToURLColorSpaceOptionsError]: Renders the image and exports the resulting image data as a file in HEIF10 format.
- [ICIContext.WriteOpenEXRRepresentationOfImageToURLOptionsError]: Renders the image and exports the resulting image data as a file in open EXR format.
Creating Depth Blur Filters ¶
- [ICIContext.DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteHairSemanticSegmentationGlassesMatteGainMapOrientationOptions]
- [ICIContext.DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteHairSemanticSegmentationOrientationOptions]
- [ICIContext.DepthBlurEffectFilterForImageDisparityImagePortraitEffectsMatteOrientationOptions]
- [ICIContext.DepthBlurEffectFilterForImageDataOptions]
- [ICIContext.DepthBlurEffectFilterForImageURLOptions]
Customizing Render Destination ¶
- [ICIContext.PrepareRenderFromRectToDestinationAtPointError]: An optional call to warm up a CIContext(<doc://com.apple.coreimage/documentation/CoreImage/CIContext>) so that subsequent calls to render with the same arguments run more efficiently.
- [ICIContext.StartTaskToClearError]: Fills the entire destination with black or clear depending on its [alphaMode](<doc://com.apple.coreimage/documentation/CoreImage/CIRenderDestination/alphaMode>).
- [ICIContext.StartTaskToRenderFromRectToDestinationAtPointError]: Renders a portion of an image to a point in the destination.
- [ICIContext.StartTaskToRenderToDestinationError]: Renders an image to a destination so that point (0, 0) of the image maps to point (0, 0) of the destination.
Initializers ¶
- [ICIContext.InitWithOptions]: Initializes a context without a specific rendering destination, using the specified options.
Instance Methods ¶
- [ICIContext.CalculateHDRStatsForCGImage]: Given a Core Graphics image, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then return a new Core Graphics image that has the calculated values.
- [ICIContext.CalculateHDRStatsForIOSurface]: Given an IOSurface, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then update the surface’s attachments to store the values.
- [ICIContext.CalculateHDRStatsForCVPixelBuffer]: Given a CVPixelBuffer, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then update the buffers’s attachments to store the values.
- [ICIContext.CalculateHDRStatsForImage]: Given a Core Image image, use the receiving Core Image context to calculate its HDR statistics (content headroom and content average light level) and then return a new Core Image image that has the calculated values.
- [ICIContext.CreateCGImageFromRectFormatColorSpaceDeferredCalculateHDRStats]: Creates a Core Graphics image from a region of a Core Image image instance with an option for calculating HDR statistics.
See: https://developer.apple.com/documentation/CoreImage/CIContext
type ICIDataMatrixCodeDescriptor ¶
type ICIDataMatrixCodeDescriptor interface {
ICIBarcodeDescriptor
// Initializes a Data Matrix code descriptor for the given payload and parameters.
InitWithPayloadRowCountColumnCountEccVersion(errorCorrectedPayload foundation.INSData, rowCount int, columnCount int, eccVersion CIDataMatrixCodeECCVersion) CIDataMatrixCodeDescriptor
// The error-corrected payload containing the data encoded in the Data Matrix code symbol.
ErrorCorrectedPayload() foundation.INSData
// The number of rows in the Data Matrix code symbol.
RowCount() int
// The number of columns in the Data Matrix code symbol.
ColumnCount() int
// The error correction version of the Data Matrix code symbol.
EccVersion() CIDataMatrixCodeECCVersion
}
An interface definition for the CIDataMatrixCodeDescriptor class.
Creating a Descriptor ¶
- [ICIDataMatrixCodeDescriptor.InitWithPayloadRowCountColumnCountEccVersion]: Initializes a Data Matrix code descriptor for the given payload and parameters.
Examining a Descriptor ¶
- [ICIDataMatrixCodeDescriptor.ErrorCorrectedPayload]: The error-corrected payload containing the data encoded in the Data Matrix code symbol.
- [ICIDataMatrixCodeDescriptor.RowCount]: The number of rows in the Data Matrix code symbol.
- [ICIDataMatrixCodeDescriptor.ColumnCount]: The number of columns in the Data Matrix code symbol.
- [ICIDataMatrixCodeDescriptor.EccVersion]: The error correction version of the Data Matrix code symbol.
See: https://developer.apple.com/documentation/CoreImage/CIDataMatrixCodeDescriptor
type ICIDetector ¶
type ICIDetector interface {
objectivec.IObject
// Searches for features in an image.
FeaturesInImage(image ICIImage) []CIFeature
// Searches for features in an image based on the specified image orientation.
FeaturesInImageOptions(image ICIImage, options foundation.INSDictionary) []CIFeature
}
An interface definition for the CIDetector class.
Using a Detector Object to Find Features ¶
- [ICIDetector.FeaturesInImage]: Searches for features in an image.
- [ICIDetector.FeaturesInImageOptions]: Searches for features in an image based on the specified image orientation.
See: https://developer.apple.com/documentation/CoreImage/CIDetector
type ICIFaceFeature ¶
type ICIFaceFeature interface {
ICIFeature
// A Boolean value that indicates whether information about face rotation is available.
HasFaceAngle() bool
// The rotation of the face.
FaceAngle() float32
// A Boolean value that indicates whether the detector found the face’s left eye.
HasLeftEyePosition() bool
// A Boolean value that indicates whether the detector found the face’s right eye.
HasRightEyePosition() bool
// A Boolean value that indicates whether the detector found the face’s mouth.
HasMouthPosition() bool
// The image coordinate of the center of the left eye.
LeftEyePosition() corefoundation.CGPoint
// The image coordinate of the center of the right eye.
RightEyePosition() corefoundation.CGPoint
// The image coordinate of the center of the mouth.
MouthPosition() corefoundation.CGPoint
// A Boolean value that indicates whether a smile is detected in the face.
HasSmile() bool
// A Boolean value that indicates whether a closed left eye is detected in the face.
LeftEyeClosed() bool
// A Boolean value that indicates whether a closed right eye is detected in the face.
RightEyeClosed() bool
// A Boolean value that indicates whether the face object has a tracking ID.
HasTrackingID() bool
// The tracking identifier of the face object.
TrackingID() int
// A Boolean value that indicates the face object has a tracking frame count.
HasTrackingFrameCount() bool
// The tracking frame count of the face.
TrackingFrameCount() int
}
An interface definition for the CIFaceFeature class.
Locating Faces ¶
- [ICIFaceFeature.HasFaceAngle]: A Boolean value that indicates whether information about face rotation is available.
- [ICIFaceFeature.FaceAngle]: The rotation of the face.
Identifying Facial Features ¶
- [ICIFaceFeature.HasLeftEyePosition]: A Boolean value that indicates whether the detector found the face’s left eye.
- [ICIFaceFeature.HasRightEyePosition]: A Boolean value that indicates whether the detector found the face’s right eye.
- [ICIFaceFeature.HasMouthPosition]: A Boolean value that indicates whether the detector found the face’s mouth.
- [ICIFaceFeature.LeftEyePosition]: The image coordinate of the center of the left eye.
- [ICIFaceFeature.RightEyePosition]: The image coordinate of the center of the right eye.
- [ICIFaceFeature.MouthPosition]: The image coordinate of the center of the mouth.
- [ICIFaceFeature.HasSmile]: A Boolean value that indicates whether a smile is detected in the face.
- [ICIFaceFeature.LeftEyeClosed]: A Boolean value that indicates whether a closed left eye is detected in the face.
- [ICIFaceFeature.RightEyeClosed]: A Boolean value that indicates whether a closed right eye is detected in the face.
Tracking Distinct Faces in Video ¶
- [ICIFaceFeature.HasTrackingID]: A Boolean value that indicates whether the face object has a tracking ID.
- [ICIFaceFeature.TrackingID]: The tracking identifier of the face object.
- [ICIFaceFeature.HasTrackingFrameCount]: A Boolean value that indicates the face object has a tracking frame count.
- [ICIFaceFeature.TrackingFrameCount]: The tracking frame count of the face.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature
type ICIFeature ¶
type ICIFeature interface {
objectivec.IObject
// The rectangle that holds discovered feature.
Bounds() corefoundation.CGRect
// The type of feature that was discovered.
Type() string
// A Core Image feature type for person’s face.
CIFeatureTypeFace() string
// A Core Image feature type for rectangular object.
CIFeatureTypeRectangle() string
// A Core Image feature type for QR code object.
CIFeatureTypeQRCode() string
// A Core Image feature type for text.
CIFeatureTypeText() string
}
An interface definition for the CIFeature class.
Feature Properties ¶
- [ICIFeature.Bounds]: The rectangle that holds discovered feature.
- [ICIFeature.Type]: The type of feature that was discovered.
Feature Types ¶
- [ICIFeature.CIFeatureTypeFace]: A Core Image feature type for person’s face.
- [ICIFeature.CIFeatureTypeRectangle]: A Core Image feature type for rectangular object.
- [ICIFeature.CIFeatureTypeQRCode]: A Core Image feature type for QR code object.
- [ICIFeature.CIFeatureTypeText]: A Core Image feature type for text.
See: https://developer.apple.com/documentation/CoreImage/CIFeature
type ICIFilter ¶
type ICIFilter interface {
objectivec.IObject
// A name associated with a filter.
Name() string
SetName(value string)
// A Boolean value that determines whether the filter is enabled. Animatable.
Enabled() bool
SetEnabled(value bool)
// A dictionary of key-value pairs that describe the filter.
Attributes() foundation.INSDictionary
// The names of all input parameters to the filter.
InputKeys() []string
// The names of all output parameters from the filter.
OutputKeys() []string
// Returns a [CIImage](<doc://com.apple.coreimage/documentation/CoreImage/CIImage>) object that encapsulates the operations configured in the filter.
OutputImage() ICIImage
// Sets all input values for a filter to default values.
SetDefaults()
// Produces a [CIImage](<doc://com.apple.coreimage/documentation/CoreImage/CIImage>) object by applying arguments to a kernel function and using options to control how the kernel function is evaluated.
ApplyArgumentsOptions(k ICIKernel, args foundation.INSArray, dict foundation.INSDictionary) ICIImage
// Returns a filter view for the filter.
ViewForUIConfigurationExcludedKeys(inUIConfiguration foundation.INSDictionary, inKeys foundation.INSArray) objectivec.IObject
// Produces a [CIImage](<doc://com.apple.coreimage/documentation/CoreImage/CIImage>) object by applying a kernel function.
Apply(k ICIKernel) ICIImage
EncodeWithCoder(coder foundation.INSCoder)
// Sets the value of the property identified by the given key.
SetValueForKey(value objectivec.IObject, key string)
// Returns the value of the property identified by the given key.
ValueForKey(key string) objectivec.IObject
}
An interface definition for the CIFilter class.
Getting filter parameters and attributes ¶
- [ICIFilter.Name]: A name associated with a filter.
- [ICIFilter.SetName]
- [ICIFilter.Enabled]: A Boolean value that determines whether the filter is enabled. Animatable.
- [ICIFilter.SetEnabled]
- [ICIFilter.Attributes]: A dictionary of key-value pairs that describe the filter.
- [ICIFilter.InputKeys]: The names of all input parameters to the filter.
- [ICIFilter.OutputKeys]: The names of all output parameters from the filter.
- [ICIFilter.OutputImage]: Returns a CIImage(<doc://com.apple.coreimage/documentation/CoreImage/CIImage>) object that encapsulates the operations configured in the filter.
Setting default values ¶
- [ICIFilter.SetDefaults]: Sets all input values for a filter to default values.
Applying a filter ¶
- [ICIFilter.ApplyArgumentsOptions]: Produces a CIImage(<doc://com.apple.coreimage/documentation/CoreImage/CIImage>) object by applying arguments to a kernel function and using options to control how the kernel function is evaluated.
Creating a configuration view for a filter ¶
- [ICIFilter.ViewForUIConfigurationExcludedKeys]: Returns a filter view for the filter.
See: https://developer.apple.com/documentation/CoreImage/CIFilter-swift.class
type ICIFilterGenerator ¶
type ICIFilterGenerator interface {
objectivec.IObject
CIFilterConstructor
// Initializes a filter generator object with the contents of a filter generator file.
InitWithContentsOfURL(aURL foundation.INSURL) CIFilterGenerator
// Adds an object to the filter chain.
ConnectObjectWithKeyToObjectWithKey(sourceObject objectivec.IObject, sourceKey string, targetObject objectivec.IObject, targetKey string)
// Removes the connection between two objects in the filter chain.
DisconnectObjectWithKeyToObjectWithKey(sourceObject objectivec.IObject, sourceKey string, targetObject objectivec.IObject, targetKey string)
// Returns an array of the exported keys.
ExportedKeys() foundation.INSDictionary
// Exports an input or output key of an object in the filter chain.
ExportKeyFromObjectWithName(key string, targetObject objectivec.IObject, exportedKeyName string)
// Removes a key that was previously exported.
RemoveExportedKey(exportedKeyName string)
// Sets a dictionary of attributes for an exported key.
SetAttributesForExportedKey(attributes foundation.INSDictionary, key string)
// The class attributes associated with the filter.
ClassAttributes() foundation.INSDictionary
SetClassAttributes(value foundation.INSDictionary)
// Archives a filter generator object to a filter generator file.
WriteToURLAtomically(aURL foundation.INSURL, flag bool) bool
// Registers the name associated with a filter chain.
RegisterFilterName(name string)
// Creates a filter object based on the filter chain.
Filter() CIFilter
EncodeWithCoder(coder foundation.INSCoder)
}
An interface definition for the CIFilterGenerator class.
Initializing a Filter Generator Object ¶
- [ICIFilterGenerator.InitWithContentsOfURL]: Initializes a filter generator object with the contents of a filter generator file.
Connecting and Disconnecting Objects ¶
- [ICIFilterGenerator.ConnectObjectWithKeyToObjectWithKey]: Adds an object to the filter chain.
- [ICIFilterGenerator.DisconnectObjectWithKeyToObjectWithKey]: Removes the connection between two objects in the filter chain.
Managing Exported Keys ¶
- [ICIFilterGenerator.ExportedKeys]: Returns an array of the exported keys.
- [ICIFilterGenerator.ExportKeyFromObjectWithName]: Exports an input or output key of an object in the filter chain.
- [ICIFilterGenerator.RemoveExportedKey]: Removes a key that was previously exported.
- [ICIFilterGenerator.SetAttributesForExportedKey]: Sets a dictionary of attributes for an exported key.
Setting and Getting Class Attributes ¶
- [ICIFilterGenerator.ClassAttributes]: The class attributes associated with the filter.
- [ICIFilterGenerator.SetClassAttributes]
Archiving a Filter Generator Object ¶
- [ICIFilterGenerator.WriteToURLAtomically]: Archives a filter generator object to a filter generator file.
Registering a Filter Chain ¶
- [ICIFilterGenerator.RegisterFilterName]: Registers the name associated with a filter chain.
Creating a Filter from a Filter Chain ¶
- [ICIFilterGenerator.Filter]: Creates a filter object based on the filter chain.
See: https://developer.apple.com/documentation/CoreImage/CIFilterGenerator
type ICIFilterShape ¶
type ICIFilterShape interface {
objectivec.IObject
// Initializes a filter shape object with a rectangle.
InitWithRect(r corefoundation.CGRect) CIFilterShape
// The extent of the filter shape.
Extent() corefoundation.CGRect
// Modifies a filter shape object so that it is inset by the specified x and y values.
InsetByXY(dx int, dy int) ICIFilterShape
// Creates a filter shape object that represents the intersection of the current filter shape and the specified filter shape object.
IntersectWith(s2 ICIFilterShape) ICIFilterShape
// Creates a filter shape that represents the intersection of the current filter shape and a rectangle.
IntersectWithRect(r corefoundation.CGRect) ICIFilterShape
// Creates a filter shape that results from applying a transform to the current filter shape.
TransformByInterior(m corefoundation.CGAffineTransform, flag bool) ICIFilterShape
// Creates a filter shape that results from the union of the current filter shape and another filter shape object.
UnionWith(s2 ICIFilterShape) ICIFilterShape
// Creates a filter shape that results from the union of the current filter shape and a rectangle.
UnionWithRect(r corefoundation.CGRect) ICIFilterShape
}
An interface definition for the CIFilterShape class.
Initializing a Filter Shape ¶
- [ICIFilterShape.InitWithRect]: Initializes a filter shape object with a rectangle.
Inspecting a Filter Shape ¶
- [ICIFilterShape.Extent]: The extent of the filter shape.
Modifying a Filter Shape ¶
- [ICIFilterShape.InsetByXY]: Modifies a filter shape object so that it is inset by the specified x and y values.
- [ICIFilterShape.IntersectWith]: Creates a filter shape object that represents the intersection of the current filter shape and the specified filter shape object.
- [ICIFilterShape.IntersectWithRect]: Creates a filter shape that represents the intersection of the current filter shape and a rectangle.
- [ICIFilterShape.TransformByInterior]: Creates a filter shape that results from applying a transform to the current filter shape.
- [ICIFilterShape.UnionWith]: Creates a filter shape that results from the union of the current filter shape and another filter shape object.
- [ICIFilterShape.UnionWithRect]: Creates a filter shape that results from the union of the current filter shape and a rectangle.
See: https://developer.apple.com/documentation/CoreImage/CIFilterShape
type ICIImage ¶
type ICIImage interface {
objectivec.IObject
// Initializes an image object by reading an image from a URL.
InitWithContentsOfURL(url foundation.INSURL) CIImage
// Initializes an image object by reading an image from a URL, using the specified options.
InitWithContentsOfURLOptions(url foundation.INSURL, options foundation.INSDictionary) CIImage
// Initializes an image object with a Quartz 2D image.
InitWithCGImage(image coregraphics.CGImageRef) CIImage
// Initializes an image object with a Quartz 2D image, using the specified options.
InitWithCGImageOptions(image coregraphics.CGImageRef, options foundation.INSDictionary) CIImage
InitWithCGImageSourceIndexOptions(source objectivec.IObject, index uintptr, dict foundation.INSDictionary) CIImage
// Initializes an image object with the supplied image data.
InitWithData(data foundation.INSData) CIImage
// Initializes an image object with the supplied image data, using the specified options.
InitWithDataOptions(data foundation.INSData, options foundation.INSDictionary) CIImage
// Initializes an image object with bitmap data.
InitWithBitmapDataBytesPerRowSizeFormatColorSpace(data foundation.INSData, bytesPerRow uintptr, size corefoundation.CGSize, format int, colorSpace coregraphics.CGColorSpaceRef) CIImage
// Initializes an image object with the specified bitmap image representation.
InitWithBitmapImageRep(bitmapImageRep objectivec.IObject) CIImage
// Initializes an image object based on pixels from an image provider object.
InitWithImageProviderSizeFormatColorSpaceOptions(provider objectivec.IObject, width uintptr, height uintptr, format int, colorSpace coregraphics.CGColorSpaceRef, options foundation.INSDictionary) CIImage
InitWithDepthData(data objectivec.IObject) CIImage
InitWithDepthDataOptions(data objectivec.IObject, options foundation.INSDictionary) CIImage
InitWithPortaitEffectsMatte(matte objectivec.IObject) CIImage
InitWithPortaitEffectsMatteOptions(matte objectivec.IObject, options foundation.INSDictionary) CIImage
InitWithSemanticSegmentationMatte(matte objectivec.IObject) CIImage
InitWithSemanticSegmentationMatteOptions(matte objectivec.IObject, options foundation.INSDictionary) CIImage
// Initializes an image object from the contents of a Core Video image buffer.
InitWithCVImageBuffer(imageBuffer corevideo.CVImageBufferRef) CIImage
// Initializes an image object from the contents of a Core Video image buffer, using the specified options.
InitWithCVImageBufferOptions(imageBuffer corevideo.CVImageBufferRef, options foundation.INSDictionary) CIImage
// Initializes an image object from the contents of a Core Video pixel buffer.
InitWithCVPixelBuffer(pixelBuffer corevideo.CVImageBufferRef) CIImage
// Initializes an image object from the contents of a Core Video pixel buffer using the specified options.
InitWithCVPixelBufferOptions(pixelBuffer corevideo.CVImageBufferRef, options foundation.INSDictionary) CIImage
// Initializes an image object with data supplied by a Metal texture.
InitWithMTLTextureOptions(texture objectivec.IObject, options foundation.INSDictionary) CIImage
// Initializes an image with the contents of an IOSurface.
InitWithIOSurface(surface iosurface.IOSurfaceRef) CIImage
// Initializes, using the specified options, an image with the contents of an IOSurface.
InitWithIOSurfaceOptions(surface iosurface.IOSurfaceRef, options foundation.INSDictionary) CIImage
// Returns a new image created by applying a filter to the original image with the specified name and parameters.
ImageByApplyingFilterWithInputParameters(filterName string, params foundation.INSDictionary) ICIImage
// Applies the filter to an image and returns the output.
ImageByApplyingFilter(filterName string) ICIImage
// Returns a new image that represents the original image after applying an affine transform.
ImageByApplyingTransform(matrix corefoundation.CGAffineTransform) ICIImage
ImageByApplyingTransformHighQualityDownsample(matrix corefoundation.CGAffineTransform, highQualityDownsample bool) ICIImage
// Returns a new image with a cropped portion of the original image.
ImageByCroppingToRect(rect corefoundation.CGRect) ICIImage
// Returns a new image created by transforming the original image to the specified EXIF orientation.
ImageByApplyingOrientation(orientation int) ICIImage
// Returns a new image created by making the pixel colors along its edges extend infinitely in all directions.
ImageByClampingToExtent() ICIImage
// Returns a new image created by cropping to a specified area, then making the pixel colors along the edges of the cropped image extend infinitely in all directions.
ImageByClampingToRect(rect corefoundation.CGRect) ICIImage
// Returns a new image created by compositing the original image over the specified destination image.
ImageByCompositingOverImage(dest ICIImage) ICIImage
ImageByConvertingWorkingSpaceToLab() ICIImage
ImageByConvertingLabToWorkingSpace() ICIImage
// Returns a new image created by color matching from the specified color space to the context’s working color space.
ImageByColorMatchingColorSpaceToWorkingSpace(colorSpace coregraphics.CGColorSpaceRef) ICIImage
// Returns a new image created by color matching from the context’s working color space to the specified color space.
ImageByColorMatchingWorkingSpaceToColorSpace(colorSpace coregraphics.CGColorSpaceRef) ICIImage
// Returns a new image created by multiplying the image’s RGB values by its alpha values.
ImageByPremultiplyingAlpha() ICIImage
// Returns a new image created by dividing the image’s RGB values by its alpha values.
ImageByUnpremultiplyingAlpha() ICIImage
// Returns a new image created by setting all alpha values to 1.0 within the specified rectangle and to 0.0 outside of that area.
ImageBySettingAlphaOneInExtent(extent corefoundation.CGRect) ICIImage
// Create an image by applying a gaussian blur to the receiver.
ImageByApplyingGaussianBlurWithSigma(sigma float64) ICIImage
// Return a new image by changing the receiver’s metadata properties.
ImageBySettingProperties(properties foundation.INSDictionary) ICIImage
// Create an image that inserts a intermediate that is cacheable
ImageByInsertingIntermediate() ICIImage
// Create an image that inserts a intermediate that is cacheable.
ImageByInsertingIntermediateWithCache(cache bool) ICIImage
// Initializes an image of infinite extent whose entire content is the specified color.
InitWithColor(color ICIColor) CIImage
// Returns a filter shape object that represents the domain of definition of the image.
Definition() ICIFilterShape
// A rectangle that specifies the extent of the image.
Extent() corefoundation.CGRect
// Returns the metadata properties dictionary of the image.
Properties() foundation.INSDictionary
// The URL from which the image was loaded.
Url() foundation.INSURL
// The color space of the image.
ColorSpace() coregraphics.CGColorSpaceRef
// Returns the transformation needed to reorient the image to the specified orientation.
ImageTransformForOrientation(orientation int) corefoundation.CGAffineTransform
// Draws all or part of the image at the specified point in the current coordinate system.
DrawAtPointFromRectOperationFraction(point corefoundation.CGPoint, fromRect corefoundation.CGRect, op objectivec.IObject, delta float64)
// Draws all or part of the image in the specified rectangle in the current coordinate system
DrawInRectFromRectOperationFraction(rect corefoundation.CGRect, fromRect corefoundation.CGRect, op objectivec.IObject, delta float64)
// Returns all possible automatically selected and configured filters for adjusting the image.
AutoAdjustmentFilters() []CIFilter
// Returns a subset of automatically selected and configured filters for adjusting the image.
AutoAdjustmentFiltersWithOptions(options foundation.INSDictionary) []CIFilter
// Returns the region of interest for the filter chain that generates the image.
RegionOfInterestForImageInRect(image ICIImage, rect corefoundation.CGRect) corefoundation.CGRect
// Transforms the original image by a given orientation.
ImageByApplyingCGOrientation(orientation objectivec.IObject) ICIImage
// The affine transform for changing the image to the given orientation.
ImageTransformForCGOrientation(orientation objectivec.IObject) corefoundation.CGAffineTransform
// Create an image by changing the receiver’s sample mode to nearest neighbor.
ImageBySamplingNearest() ICIImage
// Create an image by changing the receiver’s sample mode to bilinear interpolation.
ImageBySamplingLinear() ICIImage
// The CoreGraphics image object this image was created from, if applicable.
CGImage() coregraphics.CGImageRef
// The CoreVideo pixel buffer this image was created from, if applicable.
PixelBuffer() corevideo.CVImageBufferRef
// Depth data associated with the image.
DepthData() objectivec.IObject
// The portrait effects matte associated with the image.
PortraitEffectsMatte() objectivec.IObject
SemanticSegmentationMatte() objectivec.IObject
// The key for an OpenGL texture target.
TextureTarget() CIImageOption
// The key for an OpenGL texture format.
TextureFormat() CIImageOption
// Returns the content headroom of the image.
ContentHeadroom() float32
// Returns YES if the image is known to have and alpha value of `1.0` over the entire image extent.
Opaque() bool
MetalTexture() objectivec.IObject
// Returns the content average light level of the image.
ContentAverageLightLevel() float32
// Create an image that applies a gain map Core Image image to the received Core Image image.
ImageByApplyingGainMap(gainmap ICIImage) ICIImage
// Create an image that applies a gain map Core Image image with a specified headroom to the received Core Image image.
ImageByApplyingGainMapHeadroom(gainmap ICIImage, headroom float32) ICIImage
// Create an image that inserts a intermediate that is cached in tiles
ImageByInsertingTiledIntermediate() ICIImage
// Create an image by changing the receiver’s contentAverageLightLevel property.
ImageBySettingContentAverageLightLevel(average float32) ICIImage
// Create an image by changing the receiver’s contentHeadroom property.
ImageBySettingContentHeadroom(headroom float32) ICIImage
EncodeWithCoder(coder foundation.INSCoder)
}
An interface definition for the CIImage class.
Creating an Image ¶
- [ICIImage.InitWithContentsOfURL]: Initializes an image object by reading an image from a URL.
- [ICIImage.InitWithContentsOfURLOptions]: Initializes an image object by reading an image from a URL, using the specified options.
- [ICIImage.InitWithCGImage]: Initializes an image object with a Quartz 2D image.
- [ICIImage.InitWithCGImageOptions]: Initializes an image object with a Quartz 2D image, using the specified options.
- [ICIImage.InitWithCGImageSourceIndexOptions]
- [ICIImage.InitWithData]: Initializes an image object with the supplied image data.
- [ICIImage.InitWithDataOptions]: Initializes an image object with the supplied image data, using the specified options.
- [ICIImage.InitWithBitmapDataBytesPerRowSizeFormatColorSpace]: Initializes an image object with bitmap data.
- [ICIImage.InitWithBitmapImageRep]: Initializes an image object with the specified bitmap image representation.
- [ICIImage.InitWithImageProviderSizeFormatColorSpaceOptions]: Initializes an image object based on pixels from an image provider object.
- [ICIImage.InitWithDepthData]
- [ICIImage.InitWithDepthDataOptions]
- [ICIImage.InitWithPortaitEffectsMatte]
- [ICIImage.InitWithPortaitEffectsMatteOptions]
- [ICIImage.InitWithSemanticSegmentationMatte]
- [ICIImage.InitWithSemanticSegmentationMatteOptions]
- [ICIImage.InitWithCVImageBuffer]: Initializes an image object from the contents of a Core Video image buffer.
- [ICIImage.InitWithCVImageBufferOptions]: Initializes an image object from the contents of a Core Video image buffer, using the specified options.
- [ICIImage.InitWithCVPixelBuffer]: Initializes an image object from the contents of a Core Video pixel buffer.
- [ICIImage.InitWithCVPixelBufferOptions]: Initializes an image object from the contents of a Core Video pixel buffer using the specified options.
- [ICIImage.InitWithMTLTextureOptions]: Initializes an image object with data supplied by a Metal texture.
- [ICIImage.InitWithIOSurface]: Initializes an image with the contents of an IOSurface.
- [ICIImage.InitWithIOSurfaceOptions]: Initializes, using the specified options, an image with the contents of an IOSurface.
Creating an Image by Modifying an Existing Image ¶
- [ICIImage.ImageByApplyingFilterWithInputParameters]: Returns a new image created by applying a filter to the original image with the specified name and parameters.
- [ICIImage.ImageByApplyingFilter]: Applies the filter to an image and returns the output.
- [ICIImage.ImageByApplyingTransform]: Returns a new image that represents the original image after applying an affine transform.
- [ICIImage.ImageByApplyingTransformHighQualityDownsample]
- [ICIImage.ImageByCroppingToRect]: Returns a new image with a cropped portion of the original image.
- [ICIImage.ImageByApplyingOrientation]: Returns a new image created by transforming the original image to the specified EXIF orientation.
- [ICIImage.ImageByClampingToExtent]: Returns a new image created by making the pixel colors along its edges extend infinitely in all directions.
- [ICIImage.ImageByClampingToRect]: Returns a new image created by cropping to a specified area, then making the pixel colors along the edges of the cropped image extend infinitely in all directions.
- [ICIImage.ImageByCompositingOverImage]: Returns a new image created by compositing the original image over the specified destination image.
- [ICIImage.ImageByConvertingWorkingSpaceToLab]
- [ICIImage.ImageByConvertingLabToWorkingSpace]
- [ICIImage.ImageByColorMatchingColorSpaceToWorkingSpace]: Returns a new image created by color matching from the specified color space to the context’s working color space.
- [ICIImage.ImageByColorMatchingWorkingSpaceToColorSpace]: Returns a new image created by color matching from the context’s working color space to the specified color space.
- [ICIImage.ImageByPremultiplyingAlpha]: Returns a new image created by multiplying the image’s RGB values by its alpha values.
- [ICIImage.ImageByUnpremultiplyingAlpha]: Returns a new image created by dividing the image’s RGB values by its alpha values.
- [ICIImage.ImageBySettingAlphaOneInExtent]: Returns a new image created by setting all alpha values to 1.0 within the specified rectangle and to 0.0 outside of that area.
- [ICIImage.ImageByApplyingGaussianBlurWithSigma]: Create an image by applying a gaussian blur to the receiver.
- [ICIImage.ImageBySettingProperties]: Return a new image by changing the receiver’s metadata properties.
- [ICIImage.ImageByInsertingIntermediate]: Create an image that inserts a intermediate that is cacheable
- [ICIImage.ImageByInsertingIntermediateWithCache]: Create an image that inserts a intermediate that is cacheable.
Creating Solid Colors ¶
- [ICIImage.InitWithColor]: Initializes an image of infinite extent whose entire content is the specified color.
Getting Image Information ¶
- [ICIImage.Definition]: Returns a filter shape object that represents the domain of definition of the image.
- [ICIImage.Extent]: A rectangle that specifies the extent of the image.
- [ICIImage.Properties]: Returns the metadata properties dictionary of the image.
- [ICIImage.Url]: The URL from which the image was loaded.
- [ICIImage.ColorSpace]: The color space of the image.
- [ICIImage.ImageTransformForOrientation]: Returns the transformation needed to reorient the image to the specified orientation.
Drawing Images ¶
- [ICIImage.DrawAtPointFromRectOperationFraction]: Draws all or part of the image at the specified point in the current coordinate system.
- [ICIImage.DrawInRectFromRectOperationFraction]: Draws all or part of the image in the specified rectangle in the current coordinate system
Getting Autoadjustment Filters ¶
- [ICIImage.AutoAdjustmentFilters]: Returns all possible automatically selected and configured filters for adjusting the image.
- [ICIImage.AutoAdjustmentFiltersWithOptions]: Returns a subset of automatically selected and configured filters for adjusting the image.
Working with Filter Regions of Interest ¶
- [ICIImage.RegionOfInterestForImageInRect]: Returns the region of interest for the filter chain that generates the image.
Working with Orientation ¶
- [ICIImage.ImageByApplyingCGOrientation]: Transforms the original image by a given orientation.
- [ICIImage.ImageTransformForCGOrientation]: The affine transform for changing the image to the given orientation.
Sampling the Image ¶
- [ICIImage.ImageBySamplingNearest]: Create an image by changing the receiver’s sample mode to nearest neighbor.
- [ICIImage.ImageBySamplingLinear]: Create an image by changing the receiver’s sample mode to bilinear interpolation.
Accessing Original Image Content ¶
- [ICIImage.CGImage]: The CoreGraphics image object this image was created from, if applicable.
- [ICIImage.PixelBuffer]: The CoreVideo pixel buffer this image was created from, if applicable.
- [ICIImage.DepthData]: Depth data associated with the image.
- [ICIImage.PortraitEffectsMatte]: The portrait effects matte associated with the image.
- [ICIImage.SemanticSegmentationMatte]
Deprecated ¶
- [ICIImage.TextureTarget]: The key for an OpenGL texture target.
- [ICIImage.TextureFormat]: The key for an OpenGL texture format.
Instance Properties ¶
- [ICIImage.ContentHeadroom]: Returns the content headroom of the image.
- [ICIImage.Opaque]: Returns YES if the image is known to have and alpha value of `1.0` over the entire image extent.
- [ICIImage.MetalTexture]
- [ICIImage.ContentAverageLightLevel]: Returns the content average light level of the image.
Instance Methods ¶
- [ICIImage.ImageByApplyingGainMap]: Create an image that applies a gain map Core Image image to the received Core Image image.
- [ICIImage.ImageByApplyingGainMapHeadroom]: Create an image that applies a gain map Core Image image with a specified headroom to the received Core Image image.
- [ICIImage.ImageByInsertingTiledIntermediate]: Create an image that inserts a intermediate that is cached in tiles
- [ICIImage.ImageBySettingContentAverageLightLevel]: Create an image by changing the receiver’s contentAverageLightLevel property.
- [ICIImage.ImageBySettingContentHeadroom]: Create an image by changing the receiver’s contentHeadroom property.
See: https://developer.apple.com/documentation/CoreImage/CIImage
type ICIImageAccumulator ¶
type ICIImageAccumulator interface {
objectivec.IObject
// Initializes an image accumulator with the specified extent and pixel format.
InitWithExtentFormat(extent corefoundation.CGRect, format int) CIImageAccumulator
// Initializes an image accumulator with the specified extent, pixel format, and color space.
InitWithExtentFormatColorSpace(extent corefoundation.CGRect, format int, colorSpace coregraphics.CGColorSpaceRef) CIImageAccumulator
// Sets the contents of the image accumulator to the contents of the specified image object.
SetImage(image ICIImage)
// Updates an image accumulator with a subregion of an image object.
SetImageDirtyRect(image ICIImage, dirtyRect corefoundation.CGRect)
// The extent of the image associated with the image accumulator.
Extent() corefoundation.CGRect
// The pixel format of the image accumulator.
Format() CIFormat
// Returns the current contents of the image accumulator.
Image() ICIImage
// Resets the accumulator, discarding any pending updates and the current content.
Clear()
}
An interface definition for the CIImageAccumulator class.
Initializing an Image Accumulator ¶
- [ICIImageAccumulator.InitWithExtentFormat]: Initializes an image accumulator with the specified extent and pixel format.
- [ICIImageAccumulator.InitWithExtentFormatColorSpace]: Initializes an image accumulator with the specified extent, pixel format, and color space.
Setting an Image ¶
- [ICIImageAccumulator.SetImage]: Sets the contents of the image accumulator to the contents of the specified image object.
- [ICIImageAccumulator.SetImageDirtyRect]: Updates an image accumulator with a subregion of an image object.
Obtaining Data From an Image Accumulator ¶
- [ICIImageAccumulator.Extent]: The extent of the image associated with the image accumulator.
- [ICIImageAccumulator.Format]: The pixel format of the image accumulator.
- [ICIImageAccumulator.Image]: Returns the current contents of the image accumulator.
Resetting an Accumulator ¶
- [ICIImageAccumulator.Clear]: Resets the accumulator, discarding any pending updates and the current content.
See: https://developer.apple.com/documentation/CoreImage/CIImageAccumulator
type ICIImageProcessorKernel ¶
type ICIImageProcessorKernel interface {
objectivec.IObject
}
An interface definition for the CIImageProcessorKernel class.
See: https://developer.apple.com/documentation/CoreImage/CIImageProcessorKernel
type ICIKernel ¶
type ICIKernel interface {
objectivec.IObject
// The name of the kernel routine.
Name() string
// Sets the selector Core Image uses to query the region of interest for image processing with the kernel.
SetROISelector(method objc.SEL)
// Creates a new image using the kernel and specified arguments.
ApplyWithExtentRoiCallbackArguments(extent corefoundation.CGRect, callback CIKernelROICallback, args []objectivec.IObject) ICIImage
}
An interface definition for the CIKernel class.
Getting a Kernel Name ¶
- [ICIKernel.Name]: The name of the kernel routine.
Identifying the Region of Interest for the Kernel ¶
- [ICIKernel.SetROISelector]: Sets the selector Core Image uses to query the region of interest for image processing with the kernel.
Applying a Kernel to Filter an Image ¶
- [ICIKernel.ApplyWithExtentRoiCallbackArguments]: Creates a new image using the kernel and specified arguments.
See: https://developer.apple.com/documentation/CoreImage/CIKernel
type ICIPDF417CodeDescriptor ¶
type ICIPDF417CodeDescriptor interface {
ICIBarcodeDescriptor
// Initializes an PDF417 code descriptor for the given payload and parameters.
InitWithPayloadIsCompactRowCountColumnCount(errorCorrectedPayload foundation.INSData, isCompact bool, rowCount int, columnCount int) CIPDF417CodeDescriptor
// The error-corrected payload containing the data encoded in the PDF417 code symbol.
ErrorCorrectedPayload() foundation.INSData
// A boolean value telling if the PDF417 code is compact.
IsCompact() bool
// The number of rows in the PDF417 code symbol.
RowCount() int
// The number of columns in the PDF417 code symbol.
ColumnCount() int
}
An interface definition for the CIPDF417CodeDescriptor class.
Creating a Descriptor ¶
- [ICIPDF417CodeDescriptor.InitWithPayloadIsCompactRowCountColumnCount]: Initializes an PDF417 code descriptor for the given payload and parameters.
Examining a Descriptor ¶
- [ICIPDF417CodeDescriptor.ErrorCorrectedPayload]: The error-corrected payload containing the data encoded in the PDF417 code symbol.
- [ICIPDF417CodeDescriptor.IsCompact]: A boolean value telling if the PDF417 code is compact.
- [ICIPDF417CodeDescriptor.RowCount]: The number of rows in the PDF417 code symbol.
- [ICIPDF417CodeDescriptor.ColumnCount]: The number of columns in the PDF417 code symbol.
See: https://developer.apple.com/documentation/CoreImage/CIPDF417CodeDescriptor
type ICIPlugIn ¶
type ICIPlugIn interface {
objectivec.IObject
}
An interface definition for the CIPlugIn class.
See: https://developer.apple.com/documentation/CoreImage/CIPlugIn
type ICIQRCodeDescriptor ¶
type ICIQRCodeDescriptor interface {
ICIBarcodeDescriptor
// Initializes a QR code descriptor for the given payload and parameters.
InitWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel(errorCorrectedPayload foundation.INSData, symbolVersion int, maskPattern uint8, errorCorrectionLevel CIQRCodeErrorCorrectionLevel) CIQRCodeDescriptor
// The error-corrected codeword payload that comprises the QR code symbol.
ErrorCorrectedPayload() foundation.INSData
// The version of the QR code which corresponds to the size of the QR code symbol.
SymbolVersion() int
// The data mask pattern for the QR code symbol.
MaskPattern() uint8
// The error correction level of the QR code symbol.
ErrorCorrectionLevel() CIQRCodeErrorCorrectionLevel
}
An interface definition for the CIQRCodeDescriptor class.
Creating a Descriptor ¶
- [ICIQRCodeDescriptor.InitWithPayloadSymbolVersionMaskPatternErrorCorrectionLevel]: Initializes a QR code descriptor for the given payload and parameters.
Examining a Descriptor ¶
- [ICIQRCodeDescriptor.ErrorCorrectedPayload]: The error-corrected codeword payload that comprises the QR code symbol.
- [ICIQRCodeDescriptor.SymbolVersion]: The version of the QR code which corresponds to the size of the QR code symbol.
- [ICIQRCodeDescriptor.MaskPattern]: The data mask pattern for the QR code symbol.
- [ICIQRCodeDescriptor.ErrorCorrectionLevel]: The error correction level of the QR code symbol.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeDescriptor
type ICIQRCodeFeature ¶
type ICIQRCodeFeature interface {
ICIFeature
// The string decoded from the detected barcode.
MessageString() string
// An abstract representation of a QR Code symbol.
SymbolDescriptor() ICIQRCodeDescriptor
// The image coordinate of the lower-left corner of the detected QR code.
BottomLeft() corefoundation.CGPoint
// The image coordinate of the lower-right corner of the detected QR code.
BottomRight() corefoundation.CGPoint
// The image coordinate of the upper-left corner of the detected QR code.
TopLeft() corefoundation.CGPoint
// The image coordinate of the upper-right corner of the detected QR code.
TopRight() corefoundation.CGPoint
// A detector that searches for Quick Response codes (a type of 2D barcode) in a still image or video, returning
CIDetectorTypeQRCode() string
}
An interface definition for the CIQRCodeFeature class.
Decoding a Detected Barcode ¶
- [ICIQRCodeFeature.MessageString]: The string decoded from the detected barcode.
- [ICIQRCodeFeature.SymbolDescriptor]: An abstract representation of a QR Code symbol.
Identifying the Corners of a Detected Barcode ¶
- [ICIQRCodeFeature.BottomLeft]: The image coordinate of the lower-left corner of the detected QR code.
- [ICIQRCodeFeature.BottomRight]: The image coordinate of the lower-right corner of the detected QR code.
- [ICIQRCodeFeature.TopLeft]: The image coordinate of the upper-left corner of the detected QR code.
- [ICIQRCodeFeature.TopRight]: The image coordinate of the upper-right corner of the detected QR code.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeFeature
type ICIRAWFilter ¶
type ICIRAWFilter interface {
ICIFilter
// An array of all supported decoder versions for the given image type.
SupportedDecoderVersions() []string
// A Boolean that indicates if the current image supports color noise reduction adjustments.
ColorNoiseReductionSupported() bool
// A Boolean that indicates if the current image supports contrast adjustments.
ContrastSupported() bool
// A Boolean that indicates if the current image supports detail enhancement adjustments.
DetailSupported() bool
// A Boolean that indicates if you can enable lens correction for the current image.
LensCorrectionSupported() bool
// A Boolean that indicates if the current image supports local tone curve adjustments.
LocalToneMapSupported() bool
// A Boolean that indicates if the current image supports luminance noise reduction adjustments.
LuminanceNoiseReductionSupported() bool
// A Boolean that indicates if the current image supports moire artifact reduction adjustments.
MoireReductionSupported() bool
// A Boolean that indicates if the current image supports sharpness adjustments.
SharpnessSupported() bool
// The full native size of the unscaled image.
NativeSize() corefoundation.CGSize
// A value that indicates the baseline exposure to apply to the image.
BaselineExposure() float32
SetBaselineExposure(value float32)
// A value that indicates the amount of global tone curve to apply to the image.
BoostAmount() float32
SetBoostAmount(value float32)
// A value that indicates the amount to boost the shadow areas of the image.
BoostShadowAmount() float32
SetBoostShadowAmount(value float32)
// A value that indicates the amount of chroma noise reduction to apply to the image.
ColorNoiseReductionAmount() float32
SetColorNoiseReductionAmount(value float32)
// A value that indicates the amount of local contrast to apply to the edges of the image.
ContrastAmount() float32
SetContrastAmount(value float32)
// A value that indicates the decoder version to use.
DecoderVersion() CIRAWDecoderVersion
SetDecoderVersion(value CIRAWDecoderVersion)
// A value that indicates the amount of detail enhancement to apply to the edges of the image.
DetailAmount() float32
SetDetailAmount(value float32)
// A value that indicates the amount of exposure to apply to the image.
Exposure() float32
SetExposure(value float32)
// A value that indicates the amount of extended dynamic range (EDR) to apply to the image.
ExtendedDynamicRangeAmount() float32
SetExtendedDynamicRangeAmount(value float32)
// A Boolean that indicates whether to enable draft mode.
DraftModeEnabled() bool
SetDraftModeEnabled(value bool)
// A Boolean that indicates whether to enable gamut mapping.
GamutMappingEnabled() bool
SetGamutMappingEnabled(value bool)
// A Boolean that indicates whether to enable lens correction.
LensCorrectionEnabled() bool
SetLensCorrectionEnabled(value bool)
// An optional filter you can apply to the RAW image while it’s in linear space.
LinearSpaceFilter() CIFilter
SetLinearSpaceFilter(value CIFilter)
// A value that indicates the amount of local tone curve to apply to the image.
LocalToneMapAmount() float32
SetLocalToneMapAmount(value float32)
// A value that indicates the amount of luminance noise reduction to apply to the image.
LuminanceNoiseReductionAmount() float32
SetLuminanceNoiseReductionAmount(value float32)
// A value that indicates the amount of moire artifact reduction to apply to high frequency areas of the image.
MoireReductionAmount() float32
SetMoireReductionAmount(value float32)
// A value that indicates the amount of white balance based on chromaticity values to apply to the image.
NeutralChromaticity() corefoundation.CGPoint
SetNeutralChromaticity(value corefoundation.CGPoint)
// A value that indicates the amount of white balance based on pixel coordinates to apply to the image.
NeutralLocation() corefoundation.CGPoint
SetNeutralLocation(value corefoundation.CGPoint)
// A value that indicates the amount of white balance based on temperature values to apply to the image.
NeutralTemperature() float32
SetNeutralTemperature(value float32)
// A value that indicates the amount of white balance based on tint values to apply to the image.
NeutralTint() float32
SetNeutralTint(value float32)
// A value that indicates the orientation of the image.
Orientation() objectivec.IObject
SetOrientation(value objectivec.IObject)
// An optional auxiliary image that represents the portrait effects matte of the image.
PortraitEffectsMatte() ICIImage
// An optional auxiliary image that represents a preview of the original image.
PreviewImage() ICIImage
// A dictionary that contains properties of the image source.
Properties() foundation.INSDictionary
// A value that indicates the desired scale factor to draw the output image.
ScaleFactor() float32
SetScaleFactor(value float32)
// An optional auxiliary image that represents the semantic segmentation glasses matte of the image.
SemanticSegmentationGlassesMatte() ICIImage
// An optional auxiliary image that represents the semantic segmentation hair matte of the image.
SemanticSegmentationHairMatte() ICIImage
// An optional auxiliary image that represents the semantic segmentation skin matte of the image.
SemanticSegmentationSkinMatte() ICIImage
// An optional auxiliary image that represents the semantic segmentation sky matte of the image.
SemanticSegmentationSkyMatte() ICIImage
// An optional auxiliary image that represents the semantic segmentation teeth matte of the image.
SemanticSegmentationTeethMatte() ICIImage
// A value that indicates the amount to subtract from the shadows in the image.
ShadowBias() float32
SetShadowBias(value float32)
// A value that indicates the amount of sharpness to apply to the edges of the image.
SharpnessAmount() float32
SetSharpnessAmount(value float32)
HighlightRecoveryEnabled() bool
SetHighlightRecoveryEnabled(value bool)
HighlightRecoverySupported() bool
}
An interface definition for the CIRAWFilter class.
Inspecting supported camera models, decoders, and filters ¶
- [ICIRAWFilter.SupportedDecoderVersions]: An array of all supported decoder versions for the given image type.
- [ICIRAWFilter.ColorNoiseReductionSupported]: A Boolean that indicates if the current image supports color noise reduction adjustments.
- [ICIRAWFilter.ContrastSupported]: A Boolean that indicates if the current image supports contrast adjustments.
- [ICIRAWFilter.DetailSupported]: A Boolean that indicates if the current image supports detail enhancement adjustments.
- [ICIRAWFilter.LensCorrectionSupported]: A Boolean that indicates if you can enable lens correction for the current image.
- [ICIRAWFilter.LocalToneMapSupported]: A Boolean that indicates if the current image supports local tone curve adjustments.
- [ICIRAWFilter.LuminanceNoiseReductionSupported]: A Boolean that indicates if the current image supports luminance noise reduction adjustments.
- [ICIRAWFilter.MoireReductionSupported]: A Boolean that indicates if the current image supports moire artifact reduction adjustments.
- [ICIRAWFilter.SharpnessSupported]: A Boolean that indicates if the current image supports sharpness adjustments.
- [ICIRAWFilter.NativeSize]: The full native size of the unscaled image.
Configuring a filter ¶
- [ICIRAWFilter.BaselineExposure]: A value that indicates the baseline exposure to apply to the image.
- [ICIRAWFilter.SetBaselineExposure]
- [ICIRAWFilter.BoostAmount]: A value that indicates the amount of global tone curve to apply to the image.
- [ICIRAWFilter.SetBoostAmount]
- [ICIRAWFilter.BoostShadowAmount]: A value that indicates the amount to boost the shadow areas of the image.
- [ICIRAWFilter.SetBoostShadowAmount]
- [ICIRAWFilter.ColorNoiseReductionAmount]: A value that indicates the amount of chroma noise reduction to apply to the image.
- [ICIRAWFilter.SetColorNoiseReductionAmount]
- [ICIRAWFilter.ContrastAmount]: A value that indicates the amount of local contrast to apply to the edges of the image.
- [ICIRAWFilter.SetContrastAmount]
- [ICIRAWFilter.DecoderVersion]: A value that indicates the decoder version to use.
- [ICIRAWFilter.SetDecoderVersion]
- [ICIRAWFilter.DetailAmount]: A value that indicates the amount of detail enhancement to apply to the edges of the image.
- [ICIRAWFilter.SetDetailAmount]
- [ICIRAWFilter.Exposure]: A value that indicates the amount of exposure to apply to the image.
- [ICIRAWFilter.SetExposure]
- [ICIRAWFilter.ExtendedDynamicRangeAmount]: A value that indicates the amount of extended dynamic range (EDR) to apply to the image.
- [ICIRAWFilter.SetExtendedDynamicRangeAmount]
- [ICIRAWFilter.DraftModeEnabled]: A Boolean that indicates whether to enable draft mode.
- [ICIRAWFilter.SetDraftModeEnabled]
- [ICIRAWFilter.GamutMappingEnabled]: A Boolean that indicates whether to enable gamut mapping.
- [ICIRAWFilter.SetGamutMappingEnabled]
- [ICIRAWFilter.LensCorrectionEnabled]: A Boolean that indicates whether to enable lens correction.
- [ICIRAWFilter.SetLensCorrectionEnabled]
- [ICIRAWFilter.LinearSpaceFilter]: An optional filter you can apply to the RAW image while it’s in linear space.
- [ICIRAWFilter.SetLinearSpaceFilter]
- [ICIRAWFilter.LocalToneMapAmount]: A value that indicates the amount of local tone curve to apply to the image.
- [ICIRAWFilter.SetLocalToneMapAmount]
- [ICIRAWFilter.LuminanceNoiseReductionAmount]: A value that indicates the amount of luminance noise reduction to apply to the image.
- [ICIRAWFilter.SetLuminanceNoiseReductionAmount]
- [ICIRAWFilter.MoireReductionAmount]: A value that indicates the amount of moire artifact reduction to apply to high frequency areas of the image.
- [ICIRAWFilter.SetMoireReductionAmount]
- [ICIRAWFilter.NeutralChromaticity]: A value that indicates the amount of white balance based on chromaticity values to apply to the image.
- [ICIRAWFilter.SetNeutralChromaticity]
- [ICIRAWFilter.NeutralLocation]: A value that indicates the amount of white balance based on pixel coordinates to apply to the image.
- [ICIRAWFilter.SetNeutralLocation]
- [ICIRAWFilter.NeutralTemperature]: A value that indicates the amount of white balance based on temperature values to apply to the image.
- [ICIRAWFilter.SetNeutralTemperature]
- [ICIRAWFilter.NeutralTint]: A value that indicates the amount of white balance based on tint values to apply to the image.
- [ICIRAWFilter.SetNeutralTint]
- [ICIRAWFilter.Orientation]: A value that indicates the orientation of the image.
- [ICIRAWFilter.SetOrientation]
- [ICIRAWFilter.PortraitEffectsMatte]: An optional auxiliary image that represents the portrait effects matte of the image.
- [ICIRAWFilter.PreviewImage]: An optional auxiliary image that represents a preview of the original image.
- [ICIRAWFilter.Properties]: A dictionary that contains properties of the image source.
- [ICIRAWFilter.ScaleFactor]: A value that indicates the desired scale factor to draw the output image.
- [ICIRAWFilter.SetScaleFactor]
- [ICIRAWFilter.SemanticSegmentationGlassesMatte]: An optional auxiliary image that represents the semantic segmentation glasses matte of the image.
- [ICIRAWFilter.SemanticSegmentationHairMatte]: An optional auxiliary image that represents the semantic segmentation hair matte of the image.
- [ICIRAWFilter.SemanticSegmentationSkinMatte]: An optional auxiliary image that represents the semantic segmentation skin matte of the image.
- [ICIRAWFilter.SemanticSegmentationSkyMatte]: An optional auxiliary image that represents the semantic segmentation sky matte of the image.
- [ICIRAWFilter.SemanticSegmentationTeethMatte]: An optional auxiliary image that represents the semantic segmentation teeth matte of the image.
- [ICIRAWFilter.ShadowBias]: A value that indicates the amount to subtract from the shadows in the image.
- [ICIRAWFilter.SetShadowBias]
- [ICIRAWFilter.SharpnessAmount]: A value that indicates the amount of sharpness to apply to the edges of the image.
- [ICIRAWFilter.SetSharpnessAmount]
Instance Properties ¶
- [ICIRAWFilter.HighlightRecoveryEnabled]
- [ICIRAWFilter.SetHighlightRecoveryEnabled]
- [ICIRAWFilter.HighlightRecoverySupported]
See: https://developer.apple.com/documentation/CoreImage/CIRAWFilter
type ICIRectangleFeature ¶
type ICIRectangleFeature interface {
ICIFeature
// The lower-left corner of the detected rectangle, in image coordinates.
BottomLeft() corefoundation.CGPoint
// The lower-right corner of the detected rectangle, in image coordinates.
BottomRight() corefoundation.CGPoint
// The upper-left corner of the detected rectangle, in image coordinates.
TopLeft() corefoundation.CGPoint
// The upper-right corner of the detected rectangle, in image coordinates.
TopRight() corefoundation.CGPoint
// A detector that searches for rectangular areas in a still image or video, returning
CIDetectorTypeRectangle() string
}
An interface definition for the CIRectangleFeature class.
Identifying the Corners of a Detected Rectangle ¶
- [ICIRectangleFeature.BottomLeft]: The lower-left corner of the detected rectangle, in image coordinates.
- [ICIRectangleFeature.BottomRight]: The lower-right corner of the detected rectangle, in image coordinates.
- [ICIRectangleFeature.TopLeft]: The upper-left corner of the detected rectangle, in image coordinates.
- [ICIRectangleFeature.TopRight]: The upper-right corner of the detected rectangle, in image coordinates.
See: https://developer.apple.com/documentation/CoreImage/CIRectangleFeature
type ICIRenderDestination ¶
type ICIRenderDestination interface {
objectivec.IObject
// Creates a render destination based on a Core Video pixel buffer.
InitWithPixelBuffer(pixelBuffer corevideo.CVImageBufferRef) CIRenderDestination
// Creates a render destination based on an [IOSurface] object.
InitWithIOSurface(surface iosurface.IOSurface) CIRenderDestination
// Creates a render destination based on a Metal texture.
InitWithMTLTextureCommandBuffer(texture objectivec.IObject, commandBuffer objectivec.IObject) CIRenderDestination
// Creates a render destination based on a Metal texture with specified pixel format.
InitWithWidthHeightPixelFormatCommandBufferMtlTextureProvider(width uint, height uint, pixelFormat objectivec.IObject, commandBuffer objectivec.IObject, block VoidHandler) CIRenderDestination
// Creates a render destination based on an OpenGL texture.
InitWithGLTextureTargetWidthHeight(texture uint32, target uint32, width uint, height uint) CIRenderDestination
// Creates a render destination based on a client-managed buffer.
InitWithBitmapDataWidthHeightBytesPerRowFormat(data unsafe.Pointer, width uint, height uint, bytesPerRow uint, format int) CIRenderDestination
// The render destination’s representation of alpha (transparency) values.
AlphaMode() CIRenderDestinationAlphaMode
SetAlphaMode(value CIRenderDestinationAlphaMode)
// The destination’s blend kernel.
BlendKernel() ICIBlendKernel
SetBlendKernel(value ICIBlendKernel)
// Indicator of whether to blend in the destination’s color space.
BlendsInDestinationColorSpace() bool
SetBlendsInDestinationColorSpace(value bool)
// The destination’s color space.
ColorSpace() coregraphics.CGColorSpaceRef
SetColorSpace(value coregraphics.CGColorSpaceRef)
// The render destination’s row width.
Width() uint
// The render destination’s buffer height.
Height() uint
// Indicator of whether or not the destination clamps.
Clamped() bool
SetClamped(value bool)
// Indicator of whether or not the destination dithers.
Dithered() bool
SetDithered(value bool)
// Indicator of whether the destination is flipped.
Flipped() bool
SetFlipped(value bool)
// Tell the next render using this destination to capture a Metal trace.
CaptureTraceURL() foundation.INSURL
SetCaptureTraceURL(value foundation.INSURL)
}
An interface definition for the CIRenderDestination class.
Creating a Render Destination ¶
- [ICIRenderDestination.InitWithPixelBuffer]: Creates a render destination based on a Core Video pixel buffer.
- [ICIRenderDestination.InitWithIOSurface]: Creates a render destination based on an [IOSurface] object.
- [ICIRenderDestination.InitWithMTLTextureCommandBuffer]: Creates a render destination based on a Metal texture.
- [ICIRenderDestination.InitWithWidthHeightPixelFormatCommandBufferMtlTextureProvider]: Creates a render destination based on a Metal texture with specified pixel format.
- [ICIRenderDestination.InitWithGLTextureTargetWidthHeight]: Creates a render destination based on an OpenGL texture.
- [ICIRenderDestination.InitWithBitmapDataWidthHeightBytesPerRowFormat]: Creates a render destination based on a client-managed buffer.
Customizing Rendering ¶
- [ICIRenderDestination.AlphaMode]: The render destination’s representation of alpha (transparency) values.
- [ICIRenderDestination.SetAlphaMode]
- [ICIRenderDestination.BlendKernel]: The destination’s blend kernel.
- [ICIRenderDestination.SetBlendKernel]
- [ICIRenderDestination.BlendsInDestinationColorSpace]: Indicator of whether to blend in the destination’s color space.
- [ICIRenderDestination.SetBlendsInDestinationColorSpace]
- [ICIRenderDestination.ColorSpace]: The destination’s color space.
- [ICIRenderDestination.SetColorSpace]
- [ICIRenderDestination.Width]: The render destination’s row width.
- [ICIRenderDestination.Height]: The render destination’s buffer height.
- [ICIRenderDestination.Clamped]: Indicator of whether or not the destination clamps.
- [ICIRenderDestination.SetClamped]
- [ICIRenderDestination.Dithered]: Indicator of whether or not the destination dithers.
- [ICIRenderDestination.SetDithered]
- [ICIRenderDestination.Flipped]: Indicator of whether the destination is flipped.
- [ICIRenderDestination.SetFlipped]
Instance Properties ¶
- [ICIRenderDestination.CaptureTraceURL]: Tell the next render using this destination to capture a Metal trace.
- [ICIRenderDestination.SetCaptureTraceURL]
See: https://developer.apple.com/documentation/CoreImage/CIRenderDestination
type ICIRenderInfo ¶
type ICIRenderInfo interface {
objectivec.IObject
// The amount of time a render spent executing kernels.
KernelExecutionTime() float64
// The number of passes the render took.
PassCount() int
// The number of pixels the render produced executing kernels.
PixelsProcessed() int
KernelCompileTime() float64
}
An interface definition for the CIRenderInfo class.
Instance Properties ¶
- [ICIRenderInfo.KernelExecutionTime]: The amount of time a render spent executing kernels.
- [ICIRenderInfo.PassCount]: The number of passes the render took.
- [ICIRenderInfo.PixelsProcessed]: The number of pixels the render produced executing kernels.
- [ICIRenderInfo.KernelCompileTime]
See: https://developer.apple.com/documentation/CoreImage/CIRenderInfo
type ICIRenderTask ¶
type ICIRenderTask interface {
objectivec.IObject
// Waits until the [CIRenderTask](<doc://com.apple.coreimage/documentation/CoreImage/CIRenderTask>) finishes and returns.
WaitUntilCompletedAndReturnError() (ICIRenderInfo, error)
}
An interface definition for the CIRenderTask class.
Instance Methods ¶
- [ICIRenderTask.WaitUntilCompletedAndReturnError]: Waits until the CIRenderTask(<doc://com.apple.coreimage/documentation/CoreImage/CIRenderTask>) finishes and returns.
See: https://developer.apple.com/documentation/CoreImage/CIRenderTask
type ICISampler ¶
type ICISampler interface {
objectivec.IObject
// Initializes a sampler with an image object.
InitWithImage(im ICIImage) CISampler
// Initializes the sampler with an image object using options specified in a dictionary.
InitWithImageOptions(im ICIImage, dict foundation.INSDictionary) CISampler
// The domain of definition (DOD) of the sampler
Definition() ICIFilterShape
// The rectangle that specifies the extent of the sampler
Extent() corefoundation.CGRect
// Initializes the sampler with an image object using options specified as key-value pairs.
InitWithImageKeysAndValues(im ICIImage, key0 objectivec.IObject) CISampler
}
An interface definition for the CISampler class.
Initializing a Sampler ¶
- [ICISampler.InitWithImage]: Initializes a sampler with an image object.
- [ICISampler.InitWithImageOptions]: Initializes the sampler with an image object using options specified in a dictionary.
Getting Information About the Sampler Object ¶
- [ICISampler.Definition]: The domain of definition (DOD) of the sampler
- [ICISampler.Extent]: The rectangle that specifies the extent of the sampler
See: https://developer.apple.com/documentation/CoreImage/CISampler
type ICITextFeature ¶
type ICITextFeature interface {
ICIFeature
// An array containing additional features detected within the feature.
SubFeatures() foundation.INSArray
// The image coordinate of the lower-left corner of the detected text.
BottomLeft() corefoundation.CGPoint
// The image coordinate of the lower-right corner of the detected text.
BottomRight() corefoundation.CGPoint
// The image coordinate of the upper-left corner of the detected text.
TopLeft() corefoundation.CGPoint
// The image coordinate of the upper-right corner of the detected text.
TopRight() corefoundation.CGPoint
// A detector that searches for text in a still image or video, returning
CIDetectorTypeText() string
}
An interface definition for the CITextFeature class.
Locating Features Within a Detected Region ¶
- [ICITextFeature.SubFeatures]: An array containing additional features detected within the feature.
Identifying the Corners of a Detected Text Region ¶
- [ICITextFeature.BottomLeft]: The image coordinate of the lower-left corner of the detected text.
- [ICITextFeature.BottomRight]: The image coordinate of the lower-right corner of the detected text.
- [ICITextFeature.TopLeft]: The image coordinate of the upper-left corner of the detected text.
- [ICITextFeature.TopRight]: The image coordinate of the upper-right corner of the detected text.
See: https://developer.apple.com/documentation/CoreImage/CITextFeature
type ICIVector ¶
type ICIVector interface {
objectivec.IObject
// Initialize a Core Image vector object with the specified the values.
InitWithValuesCount(values []float64, count uintptr) CIVector
// Initialize a Core Image vector object with one value.
InitWithX(x float64) CIVector
// Initialize a Core Image vector object with two values.
InitWithXY(x float64, y float64) CIVector
// Initialize a Core Image vector object with three values.
InitWithXYZ(x float64, y float64, z float64) CIVector
// Initialize a Core Image vector object with four values.
InitWithXYZW(x float64, y float64, z float64, w float64) CIVector
// Initialize a Core Image vector object with values provided in a string representation.
InitWithString(representation string) CIVector
// Initialize a Core Image vector object with six values provided by a [CGAffineTransform] structure.
InitWithCGAffineTransform(t corefoundation.CGAffineTransform) CIVector
// Initialize a Core Image vector object with two values provided by a [CGPoint] structure.
InitWithCGPoint(p corefoundation.CGPoint) CIVector
// Initialize a Core Image vector object with four values provided by a [CGRect] structure.
InitWithCGRect(r corefoundation.CGRect) CIVector
// Returns a value from a specific position in the vector.
ValueAtIndex(index uintptr) float64
// The number of items in the vector.
Count() uintptr
// The value located in the first position in the vector.
X() float64
// The value located in the second position in the vector.
Y() float64
// The value located in the third position in the vector.
Z() float64
// The value located in the forth position in the vector.
W() float64
// Returns a formatted string with all the values of a [CIVector].
StringRepresentation() string
// Returns the values in the vector as a [CGAffineTransformValue] structure.
CGAffineTransformValue() corefoundation.CGAffineTransform
// Returns the values in the vector as a [CGPoint] structure.
CGPointValue() corefoundation.CGPoint
// Returns the values in the vector as a [CGRect] structure.
CGRectValue() corefoundation.CGRect
EncodeWithCoder(coder foundation.INSCoder)
}
An interface definition for the CIVector class.
Initializing a Vector ¶
- [ICIVector.InitWithValuesCount]: Initialize a Core Image vector object with the specified the values.
- [ICIVector.InitWithX]: Initialize a Core Image vector object with one value.
- [ICIVector.InitWithXY]: Initialize a Core Image vector object with two values.
- [ICIVector.InitWithXYZ]: Initialize a Core Image vector object with three values.
- [ICIVector.InitWithXYZW]: Initialize a Core Image vector object with four values.
- [ICIVector.InitWithString]: Initialize a Core Image vector object with values provided in a string representation.
- [ICIVector.InitWithCGAffineTransform]: Initialize a Core Image vector object with six values provided by a [CGAffineTransform] structure.
- [ICIVector.InitWithCGPoint]: Initialize a Core Image vector object with two values provided by a [CGPoint] structure.
- [ICIVector.InitWithCGRect]: Initialize a Core Image vector object with four values provided by a [CGRect] structure.
Getting Values From a Vector ¶
- [ICIVector.ValueAtIndex]: Returns a value from a specific position in the vector.
- [ICIVector.Count]: The number of items in the vector.
- [ICIVector.X]: The value located in the first position in the vector.
- [ICIVector.Y]: The value located in the second position in the vector.
- [ICIVector.Z]: The value located in the third position in the vector.
- [ICIVector.W]: The value located in the forth position in the vector.
- [ICIVector.StringRepresentation]: Returns a formatted string with all the values of a CIVector.
- [ICIVector.CGAffineTransformValue]: Returns the values in the vector as a [CGAffineTransformValue] structure.
- [ICIVector.CGPointValue]: Returns the values in the vector as a [CGPoint] structure.
- [ICIVector.CGRectValue]: Returns the values in the vector as a [CGRect] structure.
See: https://developer.apple.com/documentation/CoreImage/CIVector
type ICIWarpKernel ¶
type ICIWarpKernel interface {
ICIKernel
// Creates a new image using the kernel and the specified input image and arguments.
ApplyWithExtentRoiCallbackInputImageArguments(extent corefoundation.CGRect, callback CIKernelROICallback, image ICIImage, args []objectivec.IObject) ICIImage
}
An interface definition for the CIWarpKernel class.
Applying a Kernel to Filter an Image ¶
- [ICIWarpKernel.ApplyWithExtentRoiCallbackInputImageArguments]: Creates a new image using the kernel and the specified input image and arguments.
See: https://developer.apple.com/documentation/CoreImage/CIWarpKernel
type IColumnCount ¶
type IColumnCount interface {
objectivec.IObject
}
An interface definition for the ColumnCount class.
See: https://developer.apple.com/documentation/CoreImage/CIDataMatrixCodeDescriptor/columnCount-c.ivar
type IDataCodewordCount ¶
type IDataCodewordCount interface {
objectivec.IObject
}
An interface definition for the DataCodewordCount class.
See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeDescriptor/dataCodewordCount-c.ivar
type IEccVersion ¶
type IEccVersion interface {
objectivec.IObject
}
An interface definition for the EccVersion class.
See: https://developer.apple.com/documentation/CoreImage/CIDataMatrixCodeDescriptor/eccVersion-c.ivar
type IErrorCorrectedPayload ¶
type IErrorCorrectedPayload interface {
objectivec.IObject
}
An interface definition for the ErrorCorrectedPayload class.
type IErrorCorrectionLevel ¶
type IErrorCorrectionLevel interface {
objectivec.IObject
}
An interface definition for the ErrorCorrectionLevel class.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeDescriptor/errorCorrectionLevel-c.ivar
type IFaceAngle ¶
type IFaceAngle interface {
objectivec.IObject
}
An interface definition for the FaceAngle class.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/faceAngle-c.ivar
type IHasFaceAngle ¶
type IHasFaceAngle interface {
objectivec.IObject
}
An interface definition for the HasFaceAngle class.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasFaceAngle-c.ivar
type IHasLeftEyePosition ¶
type IHasLeftEyePosition interface {
objectivec.IObject
}
An interface definition for the HasLeftEyePosition class.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasLeftEyePosition-c.ivar
type IHasMouthPosition ¶
type IHasMouthPosition interface {
objectivec.IObject
}
An interface definition for the HasMouthPosition class.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasMouthPosition-c.ivar
type IHasRightEyePosition ¶
type IHasRightEyePosition interface {
objectivec.IObject
}
An interface definition for the HasRightEyePosition class.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasRightEyePosition-c.ivar
type IHasSmile ¶
type IHasSmile interface {
objectivec.IObject
}
An interface definition for the HasSmile class.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasSmile-c.ivar
type IHasTrackingFrameCount ¶
type IHasTrackingFrameCount interface {
objectivec.IObject
}
An interface definition for the HasTrackingFrameCount class.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasTrackingFrameCount-c.ivar
type IHasTrackingID ¶
type IHasTrackingID interface {
objectivec.IObject
}
An interface definition for the HasTrackingID class.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/hasTrackingID-c.ivar
type IIsCompact ¶
type IIsCompact interface {
objectivec.IObject
}
An interface definition for the IsCompact class.
See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeDescriptor/isCompact-c.ivar
type ILayerCount ¶
type ILayerCount interface {
objectivec.IObject
}
An interface definition for the LayerCount class.
See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeDescriptor/layerCount-c.ivar
type ILeftEyeClosed ¶
type ILeftEyeClosed interface {
objectivec.IObject
}
An interface definition for the LeftEyeClosed class.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/leftEyeClosed-c.ivar
type ILeftEyePosition ¶
type ILeftEyePosition interface {
objectivec.IObject
}
An interface definition for the LeftEyePosition class.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/leftEyePosition-c.ivar
type IMaskPattern ¶
type IMaskPattern interface {
objectivec.IObject
}
An interface definition for the MaskPattern class.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeDescriptor/maskPattern-c.ivar
type IMouthPosition ¶
type IMouthPosition interface {
objectivec.IObject
}
An interface definition for the MouthPosition class.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/mouthPosition-c.ivar
type IPtr ¶
type IPtr interface {
objectivec.IObject
}
An interface definition for the Ptr class.
See: https://developer.apple.com/documentation/CoreImage/CIVector/union_(unnamed)/ptr
type IRightEyeClosed ¶
type IRightEyeClosed interface {
objectivec.IObject
}
An interface definition for the RightEyeClosed class.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/rightEyeClosed-c.ivar
type IRightEyePosition ¶
type IRightEyePosition interface {
objectivec.IObject
}
An interface definition for the RightEyePosition class.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/rightEyePosition-c.ivar
type IRowCount ¶
type IRowCount interface {
objectivec.IObject
}
An interface definition for the RowCount class.
See: https://developer.apple.com/documentation/CoreImage/CIDataMatrixCodeDescriptor/rowCount-c.ivar
type ISymbolDescriptor ¶
type ISymbolDescriptor interface {
objectivec.IObject
}
An interface definition for the SymbolDescriptor class.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeFeature/symbolDescriptor-c.ivar
type ISymbolVersion ¶
type ISymbolVersion interface {
objectivec.IObject
}
An interface definition for the SymbolVersion class.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeDescriptor/symbolVersion-c.ivar
type ITopLeft ¶
type ITopLeft interface {
objectivec.IObject
}
An interface definition for the TopLeft class.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeFeature/topLeft-c.ivar
type ITopRight ¶
type ITopRight interface {
objectivec.IObject
}
An interface definition for the TopRight class.
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeFeature/topRight-c.ivar
type ITrackingFrameCount ¶
type ITrackingFrameCount interface {
objectivec.IObject
}
An interface definition for the TrackingFrameCount class.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/trackingFrameCount-c.ivar
type ITrackingID ¶
type ITrackingID interface {
objectivec.IObject
}
An interface definition for the TrackingID class.
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/trackingID-c.ivar
type IVec ¶
type IVec interface {
objectivec.IObject
}
An interface definition for the Vec class.
See: https://developer.apple.com/documentation/CoreImage/CIVector/union_(unnamed)/vec
type IsCompact ¶
type IsCompact struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeDescriptor/isCompact-c.ivar
func IsCompactFromID ¶
IsCompactFromID constructs a IsCompact from an objc.ID.
func (IsCompact) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
type IsCompactClass ¶
type IsCompactClass struct {
// contains filtered or unexported fields
}
func GetIsCompactClass ¶
func GetIsCompactClass() IsCompactClass
GetIsCompactClass returns the class object for isCompact.
func (IsCompactClass) Alloc ¶
func (ic IsCompactClass) Alloc() IsCompact
Alloc allocates memory for a new instance of the class.
type LayerCount ¶
type LayerCount struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIAztecCodeDescriptor/layerCount-c.ivar
func LayerCountFromID ¶
func LayerCountFromID(id objc.ID) LayerCount
LayerCountFromID constructs a LayerCount from an objc.ID.
func NewLayerCount ¶
func NewLayerCount() LayerCount
NewLayerCount creates a new LayerCount instance.
func (LayerCount) Autorelease ¶
func (l LayerCount) Autorelease() LayerCount
Autorelease adds the receiver to the current autorelease pool.
type LayerCountClass ¶
type LayerCountClass struct {
// contains filtered or unexported fields
}
func GetLayerCountClass ¶
func GetLayerCountClass() LayerCountClass
GetLayerCountClass returns the class object for layerCount.
func (LayerCountClass) Alloc ¶
func (lc LayerCountClass) Alloc() LayerCount
Alloc allocates memory for a new instance of the class.
type LeftEyeClosed ¶
type LeftEyeClosed struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/leftEyeClosed-c.ivar
func LeftEyeClosedFromID ¶
func LeftEyeClosedFromID(id objc.ID) LeftEyeClosed
LeftEyeClosedFromID constructs a LeftEyeClosed from an objc.ID.
func NewLeftEyeClosed ¶
func NewLeftEyeClosed() LeftEyeClosed
NewLeftEyeClosed creates a new LeftEyeClosed instance.
func (LeftEyeClosed) Autorelease ¶
func (l LeftEyeClosed) Autorelease() LeftEyeClosed
Autorelease adds the receiver to the current autorelease pool.
func (LeftEyeClosed) Init ¶
func (l LeftEyeClosed) Init() LeftEyeClosed
Init initializes the instance.
type LeftEyeClosedClass ¶
type LeftEyeClosedClass struct {
// contains filtered or unexported fields
}
func GetLeftEyeClosedClass ¶
func GetLeftEyeClosedClass() LeftEyeClosedClass
GetLeftEyeClosedClass returns the class object for leftEyeClosed.
func (LeftEyeClosedClass) Alloc ¶
func (lc LeftEyeClosedClass) Alloc() LeftEyeClosed
Alloc allocates memory for a new instance of the class.
type LeftEyePosition ¶
type LeftEyePosition struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/leftEyePosition-c.ivar
func LeftEyePositionFromID ¶
func LeftEyePositionFromID(id objc.ID) LeftEyePosition
LeftEyePositionFromID constructs a LeftEyePosition from an objc.ID.
func NewLeftEyePosition ¶
func NewLeftEyePosition() LeftEyePosition
NewLeftEyePosition creates a new LeftEyePosition instance.
func (LeftEyePosition) Autorelease ¶
func (l LeftEyePosition) Autorelease() LeftEyePosition
Autorelease adds the receiver to the current autorelease pool.
func (LeftEyePosition) Init ¶
func (l LeftEyePosition) Init() LeftEyePosition
Init initializes the instance.
type LeftEyePositionClass ¶
type LeftEyePositionClass struct {
// contains filtered or unexported fields
}
func GetLeftEyePositionClass ¶
func GetLeftEyePositionClass() LeftEyePositionClass
GetLeftEyePositionClass returns the class object for leftEyePosition.
func (LeftEyePositionClass) Alloc ¶
func (lc LeftEyePositionClass) Alloc() LeftEyePosition
Alloc allocates memory for a new instance of the class.
type MaskPattern ¶
type MaskPattern struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeDescriptor/maskPattern-c.ivar
func MaskPatternFromID ¶
func MaskPatternFromID(id objc.ID) MaskPattern
MaskPatternFromID constructs a MaskPattern from an objc.ID.
func NewMaskPattern ¶
func NewMaskPattern() MaskPattern
NewMaskPattern creates a new MaskPattern instance.
func (MaskPattern) Autorelease ¶
func (m MaskPattern) Autorelease() MaskPattern
Autorelease adds the receiver to the current autorelease pool.
type MaskPatternClass ¶
type MaskPatternClass struct {
// contains filtered or unexported fields
}
func GetMaskPatternClass ¶
func GetMaskPatternClass() MaskPatternClass
GetMaskPatternClass returns the class object for maskPattern.
func (MaskPatternClass) Alloc ¶
func (mc MaskPatternClass) Alloc() MaskPattern
Alloc allocates memory for a new instance of the class.
type MouthPosition ¶
type MouthPosition struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/mouthPosition-c.ivar
func MouthPositionFromID ¶
func MouthPositionFromID(id objc.ID) MouthPosition
MouthPositionFromID constructs a MouthPosition from an objc.ID.
func NewMouthPosition ¶
func NewMouthPosition() MouthPosition
NewMouthPosition creates a new MouthPosition instance.
func (MouthPosition) Autorelease ¶
func (m MouthPosition) Autorelease() MouthPosition
Autorelease adds the receiver to the current autorelease pool.
func (MouthPosition) Init ¶
func (m MouthPosition) Init() MouthPosition
Init initializes the instance.
type MouthPositionClass ¶
type MouthPositionClass struct {
// contains filtered or unexported fields
}
func GetMouthPositionClass ¶
func GetMouthPositionClass() MouthPositionClass
GetMouthPositionClass returns the class object for mouthPosition.
func (MouthPositionClass) Alloc ¶
func (mc MouthPositionClass) Alloc() MouthPosition
Alloc allocates memory for a new instance of the class.
type Ptr ¶
type Ptr struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIVector/union_(unnamed)/ptr
func (Ptr) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
type RightEyeClosed ¶
type RightEyeClosed struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/rightEyeClosed-c.ivar
func NewRightEyeClosed ¶
func NewRightEyeClosed() RightEyeClosed
NewRightEyeClosed creates a new RightEyeClosed instance.
func RightEyeClosedFromID ¶
func RightEyeClosedFromID(id objc.ID) RightEyeClosed
RightEyeClosedFromID constructs a RightEyeClosed from an objc.ID.
func (RightEyeClosed) Autorelease ¶
func (r RightEyeClosed) Autorelease() RightEyeClosed
Autorelease adds the receiver to the current autorelease pool.
func (RightEyeClosed) Init ¶
func (r RightEyeClosed) Init() RightEyeClosed
Init initializes the instance.
type RightEyeClosedClass ¶
type RightEyeClosedClass struct {
// contains filtered or unexported fields
}
func GetRightEyeClosedClass ¶
func GetRightEyeClosedClass() RightEyeClosedClass
GetRightEyeClosedClass returns the class object for rightEyeClosed.
func (RightEyeClosedClass) Alloc ¶
func (rc RightEyeClosedClass) Alloc() RightEyeClosed
Alloc allocates memory for a new instance of the class.
type RightEyePosition ¶
type RightEyePosition struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/rightEyePosition-c.ivar
func NewRightEyePosition ¶
func NewRightEyePosition() RightEyePosition
NewRightEyePosition creates a new RightEyePosition instance.
func RightEyePositionFromID ¶
func RightEyePositionFromID(id objc.ID) RightEyePosition
RightEyePositionFromID constructs a RightEyePosition from an objc.ID.
func (RightEyePosition) Autorelease ¶
func (r RightEyePosition) Autorelease() RightEyePosition
Autorelease adds the receiver to the current autorelease pool.
func (RightEyePosition) Init ¶
func (r RightEyePosition) Init() RightEyePosition
Init initializes the instance.
type RightEyePositionClass ¶
type RightEyePositionClass struct {
// contains filtered or unexported fields
}
func GetRightEyePositionClass ¶
func GetRightEyePositionClass() RightEyePositionClass
GetRightEyePositionClass returns the class object for rightEyePosition.
func (RightEyePositionClass) Alloc ¶
func (rc RightEyePositionClass) Alloc() RightEyePosition
Alloc allocates memory for a new instance of the class.
type RowCount ¶
type RowCount struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIDataMatrixCodeDescriptor/rowCount-c.ivar
func RowCountFromID ¶
RowCountFromID constructs a RowCount from an objc.ID.
func (RowCount) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
type RowCountClass ¶
type RowCountClass struct {
// contains filtered or unexported fields
}
func GetRowCountClass ¶
func GetRowCountClass() RowCountClass
GetRowCountClass returns the class object for rowCount.
func (RowCountClass) Alloc ¶
func (rc RowCountClass) Alloc() RowCount
Alloc allocates memory for a new instance of the class.
type SymbolDescriptor ¶
type SymbolDescriptor struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeFeature/symbolDescriptor-c.ivar
func NewSymbolDescriptor ¶
func NewSymbolDescriptor() SymbolDescriptor
NewSymbolDescriptor creates a new SymbolDescriptor instance.
func SymbolDescriptorFromID ¶
func SymbolDescriptorFromID(id objc.ID) SymbolDescriptor
SymbolDescriptorFromID constructs a SymbolDescriptor from an objc.ID.
func (SymbolDescriptor) Autorelease ¶
func (s SymbolDescriptor) Autorelease() SymbolDescriptor
Autorelease adds the receiver to the current autorelease pool.
func (SymbolDescriptor) Init ¶
func (s SymbolDescriptor) Init() SymbolDescriptor
Init initializes the instance.
type SymbolDescriptorClass ¶
type SymbolDescriptorClass struct {
// contains filtered or unexported fields
}
func GetSymbolDescriptorClass ¶
func GetSymbolDescriptorClass() SymbolDescriptorClass
GetSymbolDescriptorClass returns the class object for symbolDescriptor.
func (SymbolDescriptorClass) Alloc ¶
func (sc SymbolDescriptorClass) Alloc() SymbolDescriptor
Alloc allocates memory for a new instance of the class.
type SymbolVersion ¶
type SymbolVersion struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeDescriptor/symbolVersion-c.ivar
func NewSymbolVersion ¶
func NewSymbolVersion() SymbolVersion
NewSymbolVersion creates a new SymbolVersion instance.
func SymbolVersionFromID ¶
func SymbolVersionFromID(id objc.ID) SymbolVersion
SymbolVersionFromID constructs a SymbolVersion from an objc.ID.
func (SymbolVersion) Autorelease ¶
func (s SymbolVersion) Autorelease() SymbolVersion
Autorelease adds the receiver to the current autorelease pool.
func (SymbolVersion) Init ¶
func (s SymbolVersion) Init() SymbolVersion
Init initializes the instance.
type SymbolVersionClass ¶
type SymbolVersionClass struct {
// contains filtered or unexported fields
}
func GetSymbolVersionClass ¶
func GetSymbolVersionClass() SymbolVersionClass
GetSymbolVersionClass returns the class object for symbolVersion.
func (SymbolVersionClass) Alloc ¶
func (sc SymbolVersionClass) Alloc() SymbolVersion
Alloc allocates memory for a new instance of the class.
type TopLeft ¶
type TopLeft struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeFeature/topLeft-c.ivar
func TopLeftFromID ¶
TopLeftFromID constructs a TopLeft from an objc.ID.
func (TopLeft) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
type TopLeftClass ¶
type TopLeftClass struct {
// contains filtered or unexported fields
}
func GetTopLeftClass ¶
func GetTopLeftClass() TopLeftClass
GetTopLeftClass returns the class object for topLeft.
func (TopLeftClass) Alloc ¶
func (tc TopLeftClass) Alloc() TopLeft
Alloc allocates memory for a new instance of the class.
type TopRight ¶
type TopRight struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIQRCodeFeature/topRight-c.ivar
func TopRightFromID ¶
TopRightFromID constructs a TopRight from an objc.ID.
func (TopRight) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
type TopRightClass ¶
type TopRightClass struct {
// contains filtered or unexported fields
}
func GetTopRightClass ¶
func GetTopRightClass() TopRightClass
GetTopRightClass returns the class object for topRight.
func (TopRightClass) Alloc ¶
func (tc TopRightClass) Alloc() TopRight
Alloc allocates memory for a new instance of the class.
type TrackingFrameCount ¶
type TrackingFrameCount struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/trackingFrameCount-c.ivar
func NewTrackingFrameCount ¶
func NewTrackingFrameCount() TrackingFrameCount
NewTrackingFrameCount creates a new TrackingFrameCount instance.
func TrackingFrameCountFromID ¶
func TrackingFrameCountFromID(id objc.ID) TrackingFrameCount
TrackingFrameCountFromID constructs a TrackingFrameCount from an objc.ID.
func (TrackingFrameCount) Autorelease ¶
func (t TrackingFrameCount) Autorelease() TrackingFrameCount
Autorelease adds the receiver to the current autorelease pool.
func (TrackingFrameCount) Init ¶
func (t TrackingFrameCount) Init() TrackingFrameCount
Init initializes the instance.
type TrackingFrameCountClass ¶
type TrackingFrameCountClass struct {
// contains filtered or unexported fields
}
func GetTrackingFrameCountClass ¶
func GetTrackingFrameCountClass() TrackingFrameCountClass
GetTrackingFrameCountClass returns the class object for trackingFrameCount.
func (TrackingFrameCountClass) Alloc ¶
func (tc TrackingFrameCountClass) Alloc() TrackingFrameCount
Alloc allocates memory for a new instance of the class.
type TrackingID ¶
type TrackingID struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIFaceFeature/trackingID-c.ivar
func NewTrackingID ¶
func NewTrackingID() TrackingID
NewTrackingID creates a new TrackingID instance.
func TrackingIDFromID ¶
func TrackingIDFromID(id objc.ID) TrackingID
TrackingIDFromID constructs a TrackingID from an objc.ID.
func (TrackingID) Autorelease ¶
func (t TrackingID) Autorelease() TrackingID
Autorelease adds the receiver to the current autorelease pool.
type TrackingIDClass ¶
type TrackingIDClass struct {
// contains filtered or unexported fields
}
func GetTrackingIDClass ¶
func GetTrackingIDClass() TrackingIDClass
GetTrackingIDClass returns the class object for trackingID.
func (TrackingIDClass) Alloc ¶
func (tc TrackingIDClass) Alloc() TrackingID
Alloc allocates memory for a new instance of the class.
type Vec ¶
type Vec struct {
objectivec.Object
}
See: https://developer.apple.com/documentation/CoreImage/CIVector/union_(unnamed)/vec
func (Vec) Autorelease ¶
Autorelease adds the receiver to the current autorelease pool.
type VoidHandler ¶
type VoidHandler = func()
VoidHandler handles MTLTexture-rendering provider block to be called lazily when the destination is rendered to.
Used by:
Source Files
¶
- accordion_fold_transition_protocol.gen.go
- affine_clamp_protocol.gen.go
- affine_tile_protocol.gen.go
- area_average_maximum_red_protocol.gen.go
- area_average_protocol.gen.go
- area_bounds_red_protocol.gen.go
- area_histogram_protocol.gen.go
- area_logarithmic_histogram_protocol.gen.go
- area_maximum_alpha_protocol.gen.go
- area_maximum_protocol.gen.go
- area_min_max_protocol.gen.go
- area_min_max_red_protocol.gen.go
- area_minimum_alpha_protocol.gen.go
- area_minimum_protocol.gen.go
- area_reduction_filter_protocol.gen.go
- attributed_text_image_generator_protocol.gen.go
- aztec_code_generator_protocol.gen.go
- barcode_generator_protocol.gen.go
- bars_swipe_transition_protocol.gen.go
- bicubic_scale_transform_protocol.gen.go
- blend_with_mask_protocol.gen.go
- blocks.gen.go
- bloom_protocol.gen.go
- blurred_rectangle_generator_protocol.gen.go
- blurred_rounded_rectangle_generator_protocol.gen.go
- bokeh_blur_protocol.gen.go
- bottom_left.gen.go
- bottom_right.gen.go
- bounds.gen.go
- box_blur_protocol.gen.go
- bump_distortion_linear_protocol.gen.go
- bump_distortion_protocol.gen.go
- canny_edge_detector_protocol.gen.go
- checkerboard_generator_protocol.gen.go
- ci_aztec_code_descriptor.gen.go
- ci_barcode_descriptor.gen.go
- ci_blend_kernel.gen.go
- ci_color.gen.go
- ci_color_kernel.gen.go
- ci_context.gen.go
- ci_data_matrix_code_descriptor.gen.go
- ci_detector.gen.go
- ci_face_feature.gen.go
- ci_feature.gen.go
- ci_filter.gen.go
- ci_filter_generator.gen.go
- ci_filter_shape.gen.go
- ci_image.gen.go
- ci_image_accumulator.gen.go
- ci_image_processor_kernel.gen.go
- ci_kernel.gen.go
- ci_plug_in.gen.go
- ci_rectangle_feature.gen.go
- ci_render_destination.gen.go
- ci_render_info.gen.go
- ci_render_task.gen.go
- ci_sampler.gen.go
- ci_text_feature.gen.go
- ci_vector.gen.go
- ci_warp_kernel.gen.go
- cipdf417_code_descriptor.gen.go
- ciqr_code_descriptor.gen.go
- ciqr_code_feature.gen.go
- ciraw_filter.gen.go
- circle_splash_distortion_protocol.gen.go
- circular_screen_protocol.gen.go
- circular_wrap_protocol.gen.go
- cmyk_halftone_protocol.gen.go
- code128_barcode_generator_protocol.gen.go
- color_absolute_difference_protocol.gen.go
- color_clamp_protocol.gen.go
- color_controls_protocol.gen.go
- color_cross_polynomial_protocol.gen.go
- color_cube_protocol.gen.go
- color_cube_with_color_space_protocol.gen.go
- color_cubes_mixed_with_mask_protocol.gen.go
- color_curves_protocol.gen.go
- color_invert_protocol.gen.go
- color_map_protocol.gen.go
- color_matrix_protocol.gen.go
- color_monochrome_protocol.gen.go
- color_polynomial_protocol.gen.go
- color_posterize_protocol.gen.go
- color_threshold_otsu_protocol.gen.go
- color_threshold_protocol.gen.go
- column_average_protocol.gen.go
- column_count.gen.go
- comic_effect_protocol.gen.go
- composite_operation_protocol.gen.go
- convert_lab_protocol.gen.go
- convolution_protocol.gen.go
- copy_machine_transition_protocol.gen.go
- core_ml_model_protocol.gen.go
- crystallize_protocol.gen.go
- data_codeword_count.gen.go
- depth_of_field_protocol.gen.go
- depth_to_disparity_protocol.gen.go
- disc_blur_protocol.gen.go
- disintegrate_with_mask_transition_protocol.gen.go
- disparity_to_depth_protocol.gen.go
- displacement_distortion_protocol.gen.go
- dissolve_transition_protocol.gen.go
- distance_gradient_from_red_mask_protocol.gen.go
- dither_protocol.gen.go
- doc.gen.go
- document_enhancer_protocol.gen.go
- dot_screen_protocol.gen.go
- droste_protocol.gen.go
- ecc_version.gen.go
- edge_preserve_upsample_protocol.gen.go
- edge_work_protocol.gen.go
- edges_protocol.gen.go
- eightfold_reflected_tile_protocol.gen.go
- enums.gen.go
- error_corrected_payload.gen.go
- error_correction_level.gen.go
- exposure_adjust_protocol.gen.go
- face_angle.gen.go
- false_color_protocol.gen.go
- filter_constructor_protocol.gen.go
- filter_protocol.gen.go
- flash_transition_protocol.gen.go
- four_coordinate_geometry_filter_protocol.gen.go
- fourfold_reflected_tile_protocol.gen.go
- fourfold_rotated_tile_protocol.gen.go
- fourfold_translated_tile_protocol.gen.go
- functions.gen.go
- gabor_gradients_protocol.gen.go
- gamma_adjust_protocol.gen.go
- gaussian_blur_protocol.gen.go
- gaussian_gradient_protocol.gen.go
- generate.go
- glass_distortion_protocol.gen.go
- glass_lozenge_protocol.gen.go
- glide_reflected_tile_protocol.gen.go
- global_vars.gen.go
- gloom_protocol.gen.go
- has_face_angle.gen.go
- has_left_eye_position.gen.go
- has_mouth_position.gen.go
- has_right_eye_position.gen.go
- has_smile.gen.go
- has_tracking_frame_count.gen.go
- has_tracking_id.gen.go
- hatched_screen_protocol.gen.go
- height_field_from_mask_protocol.gen.go
- hexagonal_pixellate_protocol.gen.go
- highlight_shadow_adjust_protocol.gen.go
- histogram_display_protocol.gen.go
- hole_distortion_protocol.gen.go
- hue_adjust_protocol.gen.go
- hue_saturation_value_gradient_protocol.gen.go
- image_processor_input_protocol.gen.go
- image_processor_output_protocol.gen.go
- is_compact.gen.go
- k_means_protocol.gen.go
- kaleidoscope_protocol.gen.go
- keystone_correction_combined_protocol.gen.go
- keystone_correction_horizontal_protocol.gen.go
- keystone_correction_vertical_protocol.gen.go
- lab_delta_e_protocol.gen.go
- lanczos_scale_transform_protocol.gen.go
- layer_count.gen.go
- left_eye_closed.gen.go
- left_eye_position.gen.go
- lenticular_halo_generator_protocol.gen.go
- light_tunnel_protocol.gen.go
- line_overlay_protocol.gen.go
- line_screen_protocol.gen.go
- linear_gradient_protocol.gen.go
- linear_to_srgb_tone_curve_protocol.gen.go
- mask_pattern.gen.go
- mask_to_alpha_protocol.gen.go
- masked_variable_blur_protocol.gen.go
- maximum_component_protocol.gen.go
- maximum_scale_transform_protocol.gen.go
- median_protocol.gen.go
- mesh_generator_protocol.gen.go
- minimum_component_protocol.gen.go
- mix_protocol.gen.go
- mod_transition_protocol.gen.go
- morphology_gradient_protocol.gen.go
- morphology_maximum_protocol.gen.go
- morphology_minimum_protocol.gen.go
- morphology_rectangle_maximum_protocol.gen.go
- morphology_rectangle_minimum_protocol.gen.go
- motion_blur_protocol.gen.go
- mouth_position.gen.go
- nine_part_stretched_protocol.gen.go
- nine_part_tiled_protocol.gen.go
- noise_reduction_protocol.gen.go
- op_tile_protocol.gen.go
- page_curl_transition_protocol.gen.go
- page_curl_with_shadow_transition_protocol.gen.go
- palette_centroid_protocol.gen.go
- palettize_protocol.gen.go
- parallelogram_tile_protocol.gen.go
- pdf417_barcode_generator_protocol.gen.go
- person_segmentation_protocol.gen.go
- perspective_correction_protocol.gen.go
- perspective_rotate_protocol.gen.go
- perspective_tile_protocol.gen.go
- perspective_transform_protocol.gen.go
- perspective_transform_with_extent_protocol.gen.go
- photo_effect_protocol.gen.go
- pinch_distortion_protocol.gen.go
- pixellate_protocol.gen.go
- plug_in_registration_protocol.gen.go
- pointillize_protocol.gen.go
- ptr.gen.go
- qr_code_generator_protocol.gen.go
- radial_gradient_protocol.gen.go
- random_generator_protocol.gen.go
- right_eye_closed.gen.go
- right_eye_position.gen.go
- ripple_transition_protocol.gen.go
- rounded_qr_code_generator_protocol.gen.go
- rounded_rectangle_generator_protocol.gen.go
- rounded_rectangle_stroke_generator_protocol.gen.go
- row_average_protocol.gen.go
- row_count.gen.go
- saliency_map_protocol.gen.go
- sepia_tone_protocol.gen.go
- shaded_material_protocol.gen.go
- sharpen_luminance_protocol.gen.go
- signed_distance_gradient_from_red_mask_protocol.gen.go
- sixfold_reflected_tile_protocol.gen.go
- sixfold_rotated_tile_protocol.gen.go
- smooth_linear_gradient_protocol.gen.go
- sobel_gradients_protocol.gen.go
- spot_color_protocol.gen.go
- spot_light_protocol.gen.go
- srgb_tone_curve_to_linear_protocol.gen.go
- star_shine_generator_protocol.gen.go
- straighten_protocol.gen.go
- stretch_crop_protocol.gen.go
- stripes_generator_protocol.gen.go
- sunbeams_generator_protocol.gen.go
- swipe_transition_protocol.gen.go
- symbol_descriptor.gen.go
- symbol_version.gen.go
- system_tone_map_protocol.gen.go
- temperature_and_tint_protocol.gen.go
- text_image_generator_protocol.gen.go
- thermal_protocol.gen.go
- tone_curve_protocol.gen.go
- tone_map_headroom_protocol.gen.go
- top_left.gen.go
- top_right.gen.go
- torus_lens_distortion_protocol.gen.go
- tracking_frame_count.gen.go
- tracking_id.gen.go
- transition_filter_protocol.gen.go
- triangle_kaleidoscope_protocol.gen.go
- triangle_tile_protocol.gen.go
- twelvefold_reflected_tile_protocol.gen.go
- twirl_distortion_protocol.gen.go
- typedefs.gen.go
- types.gen.go
- undefined_types.gen.go
- unsharp_mask_protocol.gen.go
- vec.gen.go
- vibrance_protocol.gen.go
- vignette_effect_protocol.gen.go
- vignette_protocol.gen.go
- vortex_distortion_protocol.gen.go
- white_point_adjust_protocol.gen.go
- x_ray_protocol.gen.go
- zoom_blur_protocol.gen.go