Class CIImage

    • Constructor Detail

      • CIImage

        protected CIImage​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • alloc

        public static CIImage alloc()
      • allocWithZone

        public static CIImage allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • emptyImage

        @NotNull
        public static @NotNull CIImage emptyImage()
        Create an empty Image.
      • hash_static

        public static long hash_static()
      • imageWithBitmapDataBytesPerRowSizeFormatColorSpace

        @NotNull
        public static @NotNull CIImage imageWithBitmapDataBytesPerRowSizeFormatColorSpace​(@NotNull
                                                                                          @NotNull NSData data,
                                                                                          long bytesPerRow,
                                                                                          CGSize size,
                                                                                          int format,
                                                                                          @Nullable
                                                                                          @Nullable CGColorSpaceRef colorSpace)
        Creates a new image whose bitmap data is from 'data'. Each row contains 'bytesPerRow' bytes. The dimensions of the image are defined by 'size'. 'format' defines the format and size of each pixel. 'colorSpace' defines the color space that the image is defined in, if nil, the image is not color matched.
      • imageWithCGImage

        @NotNull
        public static @NotNull CIImage imageWithCGImage​(@NotNull
                                                        @NotNull CGImageRef image)
        Creates a new image from the contents of 'image'.
      • imageWithCGImageOptions

        @NotNull
        public static @NotNull CIImage imageWithCGImageOptions​(@NotNull
                                                               @NotNull CGImageRef image,
                                                               @Nullable
                                                               @Nullable NSDictionary<java.lang.String,​?> options)
      • imageWithCVImageBuffer

        @NotNull
        public static @NotNull CIImage imageWithCVImageBuffer​(@NotNull
                                                              @NotNull CVBufferRef imageBuffer)
        Creates a new image whose data is from the contents of a CVImageBuffer. API-Since: 9.0
      • imageWithCVImageBufferOptions

        @NotNull
        public static @NotNull CIImage imageWithCVImageBufferOptions​(@NotNull
                                                                     @NotNull CVBufferRef imageBuffer,
                                                                     @Nullable
                                                                     @Nullable NSDictionary<java.lang.String,​?> options)
        API-Since: 9.0
      • imageWithCVPixelBuffer

        @NotNull
        public static @NotNull CIImage imageWithCVPixelBuffer​(@NotNull
                                                              @NotNull CVBufferRef pixelBuffer)
        Creates a new image whose data is from the contents of a CVPixelBufferRef. API-Since: 5.0
      • imageWithCVPixelBufferOptions

        @NotNull
        public static @NotNull CIImage imageWithCVPixelBufferOptions​(@NotNull
                                                                     @NotNull CVBufferRef pixelBuffer,
                                                                     @Nullable
                                                                     @Nullable NSDictionary<java.lang.String,​?> options)
        API-Since: 5.0
      • imageWithColor

        @NotNull
        public static @NotNull CIImage imageWithColor​(@NotNull
                                                      @NotNull CIColor color)
        Return or initialize a new image with an infinite amount of the color 'color'.
      • imageWithContentsOfURL

        @Nullable
        public static @Nullable CIImage imageWithContentsOfURL​(@NotNull
                                                               @NotNull NSURL url)
      • imageWithContentsOfURLOptions

        @Nullable
        public static @Nullable CIImage imageWithContentsOfURLOptions​(@NotNull
                                                                      @NotNull NSURL url,
                                                                      @Nullable
                                                                      @Nullable NSDictionary<java.lang.String,​?> options)
      • imageWithData

        @Nullable
        public static @Nullable CIImage imageWithData​(@NotNull
                                                      @NotNull NSData data)
      • imageWithDataOptions

        @Nullable
        public static @Nullable CIImage imageWithDataOptions​(@NotNull
                                                             @NotNull NSData data,
                                                             @Nullable
                                                             @Nullable NSDictionary<java.lang.String,​?> options)
      • imageWithImageProviderSize_FormatColorSpaceOptions

        @NotNull
        public static @NotNull CIImage imageWithImageProviderSize_FormatColorSpaceOptions​(@NotNull
                                                                                          @NotNull java.lang.Object p,
                                                                                          long width,
                                                                                          long height,
                                                                                          int f,
                                                                                          @Nullable
                                                                                          @Nullable CGColorSpaceRef cs,
                                                                                          @Nullable
                                                                                          @Nullable NSDictionary<java.lang.String,​?> options)
        Create a new CIImage populated when rendered with data provided by 'p'. The provider object 'p' is retained until the image is deallocated. The 'options' dictionary supports kCIImageProviderTileSize as well as other options defined in CIImage.h API-Since: 9.0
      • imageWithMTLTextureOptions

        @Nullable
        public static @Nullable CIImage imageWithMTLTextureOptions​(@NotNull
                                                                   @NotNull MTLTexture texture,
                                                                   @Nullable
                                                                   @Nullable NSDictionary<java.lang.String,​?> options)
        Creates a new image referencing the contents of the Metal texture object. The texture type must be MTLTextureType2D and the texture format must be unsigned normalized or floating-point. When rendering a CIImage referencing this Metal texture, there should not be any uncommitted Metal comand buffers writing to the texture. API-Since: 9.0
      • imageWithTextureSizeFlippedColorSpace

        @NotNull
        @Deprecated
        public static @NotNull CIImage imageWithTextureSizeFlippedColorSpace​(int name,
                                                                             CGSize size,
                                                                             boolean flipped,
                                                                             @Nullable
                                                                             @Nullable CGColorSpaceRef colorSpace)
        Deprecated.
        Creates a new image referencing the contents of the GL texture object with identifier 'name'. The texture should have dimensions as defined by 'size'. If 'flipped' is true, then the contents of the texture are flipped vertically when referenced. 'colorSpace' defines the color space that the image is defined in, if nil, the texture is not color matched. API-Since: 6.0 Deprecated-Since: 12.0 Deprecated-Message: Core Image OpenGL API deprecated. (Define CI_SILENCE_GL_DEPRECATION to silence these warnings)
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • new_objc

        public static CIImage new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • version_static

        public static long version_static()
      • CGImage

        @Nullable
        public @Nullable CGImageRef CGImage()
        Returns a CGImageRef if the CIImage was created with [CIImage imageWithCGImage] or [CIImage imageWithContentsOfURL] and no options. Otherwise this property will be nil and calling [CIContext createCGImage:fromRect:] is recommended. API-Since: 10.0
      • autoAdjustmentFilters

        @NotNull
        public @NotNull NSArray<? extends CIFilter> autoAdjustmentFilters()
        Return an array of filters to apply to an image to improve its skin tones, saturation, contrast, shadows and repair red-eyes or LED-eyes. The options dictionary can contain a CIDetectorImageOrientation key value. The value for this key is an integer NSNumber from 1..8 such as that found in kCGImagePropertyOrientation. If present, the adjustment will be done based on that orientation but any coordinates in the returned filters will still be based on those of the sender image. API-Since: 5.0
      • autoAdjustmentFiltersWithOptions

        @NotNull
        public @NotNull NSArray<? extends CIFilter> autoAdjustmentFiltersWithOptions​(@Nullable
                                                                                     @Nullable NSDictionary<java.lang.String,​?> options)
        API-Since: 5.0
      • colorSpace

        @Nullable
        public @Nullable CGColorSpaceRef colorSpace()
        Returns if possible the color space of the image it was defined in. This method will return nil, if the color space cannot be determined. API-Since: 9.0
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • extent

        public CGRect extent()
        Return a rect the defines the bounds of non-(0,0,0,0) pixels
      • imageByApplyingFilterWithInputParameters

        @NotNull
        public @NotNull CIImage imageByApplyingFilterWithInputParameters​(@NotNull
                                                                         @NotNull java.lang.String filterName,
                                                                         @Nullable
                                                                         @Nullable NSDictionary<java.lang.String,​?> params)
        A convenience method for applying a filter to an image. The method returns outputImage of the filter after setting the filter's inputImage to the method receiver and other parameters from the key/value pairs of 'params'. API-Since: 8.0
      • imageByApplyingGaussianBlurWithSigma

        @NotNull
        public @NotNull CIImage imageByApplyingGaussianBlurWithSigma​(double sigma)
        Return a new image by applying a gaussian blur to the receiver. API-Since: 10.0
      • imageByApplyingOrientation

        @NotNull
        public @NotNull CIImage imageByApplyingOrientation​(int orientation)
        Returns a new image representing the original image with a transform applied to it based on an orientation value. CGImagePropertyOrientation enum values from 1 to 8 as defined in the TIFF spec are supported. Returns original image if the image is of infinite extent. API-Since: 8.0
      • imageByApplyingTransform

        @NotNull
        public @NotNull CIImage imageByApplyingTransform​(CGAffineTransform matrix)
        Returns a new image representing the original image with the transform 'matrix' appended to it.
      • imageByClampingToExtent

        @NotNull
        public @NotNull CIImage imageByClampingToExtent()
        Return a new infinite image by replicating the edge pixels of the receiver image. API-Since: 8.0
      • imageByClampingToRect

        @NotNull
        public @NotNull CIImage imageByClampingToRect​(CGRect rect)
        Return a new infinite image by replicating the edge pixels of a rectangle. This is equivalent to the CICrop filter. API-Since: 10.0
      • imageByColorMatchingColorSpaceToWorkingSpace

        @Nullable
        public @Nullable CIImage imageByColorMatchingColorSpaceToWorkingSpace​(@NotNull
                                                                              @NotNull CGColorSpaceRef colorSpace)
        Return a new image by color matching from the colorSpace to the context's working space. This method will return nil if the CGColorSpace is not kCGColorSpaceModelRGB. API-Since: 10.0
      • imageByColorMatchingWorkingSpaceToColorSpace

        @Nullable
        public @Nullable CIImage imageByColorMatchingWorkingSpaceToColorSpace​(@NotNull
                                                                              @NotNull CGColorSpaceRef colorSpace)
        Return a new image by color matching from the context's working space to the colorSpace. This method will return nil if the CGColorSpace is not kCGColorSpaceModelRGB. API-Since: 10.0
      • imageByCompositingOverImage

        @NotNull
        public @NotNull CIImage imageByCompositingOverImage​(@NotNull
                                                            @NotNull CIImage dest)
        Return a new image formed by compositing the receiver image over 'dest'. This is equivalent to the CISourceOverCompositing filter. API-Since: 8.0
      • imageByCroppingToRect

        @NotNull
        public @NotNull CIImage imageByCroppingToRect​(CGRect rect)
        Return a new image cropped to a rectangle.
      • imageByPremultiplyingAlpha

        @NotNull
        public @NotNull CIImage imageByPremultiplyingAlpha()
        Return a new image by multiplying the receiver's RGB values by its alpha. API-Since: 10.0
      • imageBySettingAlphaOneInExtent

        @NotNull
        public @NotNull CIImage imageBySettingAlphaOneInExtent​(CGRect extent)
        Return a new image with alpha set to 1 within the rectangle and 0 outside. API-Since: 10.0
      • imageBySettingProperties

        @NotNull
        public @NotNull CIImage imageBySettingProperties​(@NotNull
                                                         @NotNull NSDictionary<?,​?> properties)
        Return a new image by changing the recevier's properties. API-Since: 10.0
      • imageByUnpremultiplyingAlpha

        @NotNull
        public @NotNull CIImage imageByUnpremultiplyingAlpha()
        Return a new image by dividing the receiver's RGB values by its alpha. API-Since: 10.0
      • imageTransformForOrientation

        public CGAffineTransform imageTransformForOrientation​(int orientation)
        Returns a CGAffineTransform for an orientation value that can be applied to an image. CGImagePropertyOrientation enum values from 1 to 8 as defined in the TIFF spec are supported. Returns CGAffineTransformIdentity if the image is of infinite extent. API-Since: 8.0
      • initWithBitmapDataBytesPerRowSizeFormatColorSpace

        public CIImage initWithBitmapDataBytesPerRowSizeFormatColorSpace​(@NotNull
                                                                         @NotNull NSData data,
                                                                         long bytesPerRow,
                                                                         CGSize size,
                                                                         int format,
                                                                         @Nullable
                                                                         @Nullable CGColorSpaceRef colorSpace)
      • initWithCGImage

        public CIImage initWithCGImage​(@NotNull
                                       @NotNull CGImageRef image)
        Initializers.
      • initWithCGImageOptions

        public CIImage initWithCGImageOptions​(@NotNull
                                              @NotNull CGImageRef image,
                                              @Nullable
                                              @Nullable NSDictionary<java.lang.String,​?> options)
      • initWithCVImageBuffer

        public CIImage initWithCVImageBuffer​(@NotNull
                                             @NotNull CVBufferRef imageBuffer)
        API-Since: 9.0
      • initWithCVImageBufferOptions

        public CIImage initWithCVImageBufferOptions​(@NotNull
                                                    @NotNull CVBufferRef imageBuffer,
                                                    @Nullable
                                                    @Nullable NSDictionary<java.lang.String,​?> options)
        API-Since: 9.0
      • initWithCVPixelBuffer

        public CIImage initWithCVPixelBuffer​(@NotNull
                                             @NotNull CVBufferRef pixelBuffer)
        API-Since: 5.0
      • initWithCVPixelBufferOptions

        public CIImage initWithCVPixelBufferOptions​(@NotNull
                                                    @NotNull CVBufferRef pixelBuffer,
                                                    @Nullable
                                                    @Nullable NSDictionary<java.lang.String,​?> options)
        API-Since: 5.0
      • initWithColor

        public CIImage initWithColor​(@NotNull
                                     @NotNull CIColor color)
      • initWithContentsOfURL

        public CIImage initWithContentsOfURL​(@NotNull
                                             @NotNull NSURL url)
      • initWithContentsOfURLOptions

        public CIImage initWithContentsOfURLOptions​(@NotNull
                                                    @NotNull NSURL url,
                                                    @Nullable
                                                    @Nullable NSDictionary<java.lang.String,​?> options)
      • initWithData

        public CIImage initWithData​(@NotNull
                                    @NotNull NSData data)
      • initWithDataOptions

        public CIImage initWithDataOptions​(@NotNull
                                           @NotNull NSData data,
                                           @Nullable
                                           @Nullable NSDictionary<java.lang.String,​?> options)
      • initWithImage

        public CIImage initWithImage​(@NotNull
                                     @NotNull UIImage image)
        API-Since: 5.0
      • initWithImageOptions

        public CIImage initWithImageOptions​(@NotNull
                                            @NotNull UIImage image,
                                            @Nullable
                                            @Nullable NSDictionary<java.lang.String,​?> options)
        API-Since: 5.0
      • initWithImageProviderSize_FormatColorSpaceOptions

        public CIImage initWithImageProviderSize_FormatColorSpaceOptions​(@NotNull
                                                                         @NotNull java.lang.Object p,
                                                                         long width,
                                                                         long height,
                                                                         int f,
                                                                         @Nullable
                                                                         @Nullable CGColorSpaceRef cs,
                                                                         @Nullable
                                                                         @Nullable NSDictionary<java.lang.String,​?> options)
        API-Since: 9.0
      • initWithMTLTextureOptions

        public CIImage initWithMTLTextureOptions​(@NotNull
                                                 @NotNull MTLTexture texture,
                                                 @Nullable
                                                 @Nullable NSDictionary<java.lang.String,​?> options)
        initWithMTLTexture will return nil if textureType is not MTLTextureType2D. API-Since: 9.0
      • initWithTextureSizeFlippedColorSpace

        @Deprecated
        public CIImage initWithTextureSizeFlippedColorSpace​(int name,
                                                            CGSize size,
                                                            boolean flipped,
                                                            @Nullable
                                                            @Nullable CGColorSpaceRef colorSpace)
        Deprecated.
        API-Since: 6.0 Deprecated-Since: 12.0 Deprecated-Message: Core Image OpenGL API deprecated. (Define CI_SILENCE_GL_DEPRECATION to silence these warnings)
      • pixelBuffer

        @Nullable
        public @Nullable CVBufferRef pixelBuffer()
        Returns a CVPixelBufferRef if the CIImage was created with [CIImage imageWithCVPixelBuffer] and no options. Otherwise this property will be nil and calling [CIContext render:toCVPixelBuffer:] is recommended. Modifying the contents of this pixelBuffer will cause the CIImage to render with undefined results. API-Since: 10.0
      • properties

        @NotNull
        public @NotNull NSDictionary<java.lang.String,​?> properties()
        Returns the metadata properties of an image. If the image is the output of one or more CIFilters, then the metadata of the root inputImage will be returned. See also kCIImageProperties. API-Since: 5.0
      • regionOfInterestForImageInRect

        public CGRect regionOfInterestForImageInRect​(@NotNull
                                                     @NotNull CIImage image,
                                                     CGRect rect)
        Returns the rectangle of 'image' that is required to render the rectangle 'rect' of the receiver. This may return a null rect. API-Since: 6.0
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
      • url

        @Nullable
        public @Nullable NSURL url()
        Returns the URL of the image when the image was created using the imageWithContentsOfURL APIs. This method will return nil, if the URL cannot be determined. API-Since: 9.0
      • depthData

        @Nullable
        public @Nullable AVDepthData depthData()
        Returns a AVDepthData if the CIImage was created with [CIImage imageWithData] or [CIImage imageWithContentsOfURL] and. one the options kCIImageAuxiliaryDepth or kCIImageAuxiliaryDisparity. API-Since: 11.0
      • imageByApplyingCGOrientation

        @NotNull
        public @NotNull CIImage imageByApplyingCGOrientation​(int orientation)
        Returns a new image representing the original image transformeded for the given CGImagePropertyOrientation API-Since: 11.0
      • imageByApplyingFilter

        @NotNull
        public @NotNull CIImage imageByApplyingFilter​(@NotNull
                                                      @NotNull java.lang.String filterName)
        A convenience method for applying a filter to an image. The method returns outputImage of the filter after setting the filter's inputImage to the method receiver and any other parameters from the filter's defaults. API-Since: 11.0
      • imageBySamplingLinear

        @NotNull
        public @NotNull CIImage imageBySamplingLinear()
        Returns a new image by changing the receiver's sample mode to bilinear interpolation. API-Since: 11.0
      • imageBySamplingNearest

        @NotNull
        public @NotNull CIImage imageBySamplingNearest()
        Returns a new image by changing the receiver's sample mode to nearest neighbor. API-Since: 11.0
      • imageTransformForCGOrientation

        public CGAffineTransform imageTransformForCGOrientation​(int orientation)
        Returns a CGAffineTransform for the CGImagePropertyOrientation value that can be applied to an image. API-Since: 11.0
      • imageWithIOSurface

        @NotNull
        public static @NotNull CIImage imageWithIOSurface​(@NotNull
                                                          @NotNull IOSurfaceRef surface)
        Creates a new image from the contents of an IOSurface. API-Since: 5.0
      • imageWithIOSurfaceOptions

        @NotNull
        public static @NotNull CIImage imageWithIOSurfaceOptions​(@NotNull
                                                                 @NotNull IOSurfaceRef surface,
                                                                 @Nullable
                                                                 @Nullable NSDictionary<java.lang.String,​?> options)
        API-Since: 5.0
      • initWithIOSurface

        public CIImage initWithIOSurface​(@NotNull
                                         @NotNull IOSurfaceRef surface)
        API-Since: 5.0
      • initWithIOSurfaceOptions

        public CIImage initWithIOSurfaceOptions​(@NotNull
                                                @NotNull IOSurfaceRef surface,
                                                @Nullable
                                                @Nullable NSDictionary<java.lang.String,​?> options)
        API-Since: 5.0
      • blackImage

        @NotNull
        public static @NotNull CIImage blackImage()
        Convenience constant color CIImages in the sRGB colorspace. API-Since: 13.0
      • blueImage

        @NotNull
        public static @NotNull CIImage blueImage()
        API-Since: 13.0
      • clearImage

        @NotNull
        public static @NotNull CIImage clearImage()
        API-Since: 13.0
      • cyanImage

        @NotNull
        public static @NotNull CIImage cyanImage()
        API-Since: 13.0
      • grayImage

        @NotNull
        public static @NotNull CIImage grayImage()
        API-Since: 13.0
      • greenImage

        @NotNull
        public static @NotNull CIImage greenImage()
        API-Since: 13.0
      • imageByApplyingTransformHighQualityDownsample

        @NotNull
        public @NotNull CIImage imageByApplyingTransformHighQualityDownsample​(CGAffineTransform matrix,
                                                                              boolean highQualityDownsample)
        specifying true or false here will override the context's kCIContextHighQualityDownsample setting. API-Since: 10.0
      • imageByInsertingIntermediate

        @NotNull
        public @NotNull CIImage imageByInsertingIntermediate()
        Returns a new image that inserts a intermediate that is cacheable according to the CIContext's kCIContextCacheIntermediates option. API-Since: 12.0
      • imageByInsertingIntermediate

        @NotNull
        public @NotNull CIImage imageByInsertingIntermediate​(boolean cache)
        Returns a new image that inserts a intermediate that is cacheable independent of the CIContext's kCIContextCacheIntermediates option. API-Since: 12.0
      • imageWithCGImageSourceIndexOptions

        @NotNull
        public static @NotNull CIImage imageWithCGImageSourceIndexOptions​(@NotNull
                                                                          @NotNull CGImageSourceRef source,
                                                                          long index,
                                                                          @Nullable
                                                                          @Nullable NSDictionary<java.lang.String,​?> dict)
        Creates a new image from the contents of 'source'. API-Since: 13.0
      • imageWithDepthData

        public static CIImage imageWithDepthData​(@NotNull
                                                 @NotNull AVDepthData data)
        API-Since: 11.0
      • imageWithDepthDataOptions

        public static CIImage imageWithDepthDataOptions​(@NotNull
                                                        @NotNull AVDepthData data,
                                                        @Nullable
                                                        @Nullable NSDictionary<java.lang.String,​?> options)
        API-Since: 11.0
      • imageWithPortaitEffectsMatte

        public static CIImage imageWithPortaitEffectsMatte​(@NotNull
                                                           @NotNull AVPortraitEffectsMatte matte)
        API-Since: 12.0
      • imageWithPortaitEffectsMatteOptions

        public static CIImage imageWithPortaitEffectsMatteOptions​(@NotNull
                                                                  @NotNull AVPortraitEffectsMatte matte,
                                                                  @Nullable
                                                                  @Nullable NSDictionary<java.lang.String,​?> options)
        API-Since: 12.0
      • imageWithSemanticSegmentationMatteOptions

        public static CIImage imageWithSemanticSegmentationMatteOptions​(@NotNull
                                                                        @NotNull AVSemanticSegmentationMatte matte,
                                                                        @Nullable
                                                                        @Nullable NSDictionary<java.lang.String,​?> options)
        API-Since: 13.0
      • initWithCGImageSourceIndexOptions

        public CIImage initWithCGImageSourceIndexOptions​(@NotNull
                                                         @NotNull CGImageSourceRef source,
                                                         long index,
                                                         @Nullable
                                                         @Nullable NSDictionary<java.lang.String,​?> dict)
        API-Since: 13.0
      • initWithDepthData

        public CIImage initWithDepthData​(@NotNull
                                         @NotNull AVDepthData data)
        API-Since: 11.0
      • initWithDepthDataOptions

        public CIImage initWithDepthDataOptions​(@NotNull
                                                @NotNull AVDepthData data,
                                                @Nullable
                                                @Nullable NSDictionary<java.lang.String,​?> options)
        API-Since: 11.0
      • initWithPortaitEffectsMatteOptions

        public CIImage initWithPortaitEffectsMatteOptions​(@NotNull
                                                          @NotNull AVPortraitEffectsMatte matte,
                                                          @Nullable
                                                          @Nullable NSDictionary<java.lang.String,​?> options)
        API-Since: 12.0
      • initWithSemanticSegmentationMatteOptions

        public CIImage initWithSemanticSegmentationMatteOptions​(@NotNull
                                                                @NotNull AVSemanticSegmentationMatte matte,
                                                                @Nullable
                                                                @Nullable NSDictionary<java.lang.String,​?> options)
        API-Since: 13.0
      • magentaImage

        @NotNull
        public static @NotNull CIImage magentaImage()
        API-Since: 13.0
      • portraitEffectsMatte

        @Nullable
        public @Nullable AVPortraitEffectsMatte portraitEffectsMatte()
        Returns a AVPortraitEffectsMatte if the CIImage was created with [CIImage imageWithData] or [CIImage imageWithContentsOfURL] and. one the options kCIImageAuxiliaryPortraitEffectsMatte. API-Since: 12.0
      • redImage

        @NotNull
        public static @NotNull CIImage redImage()
        API-Since: 13.0
      • semanticSegmentationMatte

        @Nullable
        public @Nullable AVSemanticSegmentationMatte semanticSegmentationMatte()
        Returns a AVSemanticSegmentationMatte if the CIImage was created with [CIImage imageWithData] or [CIImage imageWithContentsOfURL] and. one the options like kCIImageAuxiliarySemanticSegmentationSkinMatte. API-Since: 13.0
      • whiteImage

        @NotNull
        public static @NotNull CIImage whiteImage()
        API-Since: 13.0
      • yellowImage

        @NotNull
        public static @NotNull CIImage yellowImage()
        API-Since: 13.0
      • imageByConvertingLabToWorkingSpace

        @NotNull
        public @NotNull CIImage imageByConvertingLabToWorkingSpace()
        Converts an image from La*b* to the Core Image RGB working space. This is the inverse of imageByConvertingWorkingSpaceToLab. API-Since: 16.0
      • imageByConvertingWorkingSpaceToLab

        @NotNull
        public @NotNull CIImage imageByConvertingWorkingSpaceToLab()
        Converts the receiver from the Core Image RGB working space to La*b* space. The L channel in the range of 0...100 is stored in the the R channel of the resulting CIImage. The a*b* channels in the range of -128..128 are stored in the GB channels of the resulting CIImage. The A channel of the resulting CIImage is the same as the receiver's API-Since: 16.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.