Class CIRAWFilter

    • Constructor Detail

      • CIRAWFilter

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

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

        public float baselineExposure()
        A value for baseline exposure applied to the image. Default value can vary based on the image.
      • boostAmount

        public float boostAmount()
        A value to control the amount of global tone curve to apply to the image. A value of 0 indicates no global tone curve, i.e. linear response. A value of 1 indicates full global tone curve. The value should be the range of 0...1. The default value is 1.
      • boostShadowAmount

        public float boostShadowAmount()
        The amount to boost the shadow areas of the image. Can be used to lighten details in shadows. This has no effect if the boostAmount is 0. A value less than 1 will darken the shadows. A value greater than 1 will lighten the shadows. The value should be the range of 0...2. The default value is 1.
      • 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()
      • colorNoiseReductionAmount

        public float colorNoiseReductionAmount()
      • contrastAmount

        public float contrastAmount()
      • debugDescription_static

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

        @NotNull
        public @NotNull java.lang.String decoderVersion()
        Version string representing the decoder version to be used. A newly initialized object defaults to the newest available decoder version for the given image type. User can request an alternative, older version in order to maintain compatibility with older releases. Must be one of supportedDecoderVersions (above), otherwise a nil output image will be generated.
      • description_static

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

        public float detailAmount()
      • exposure

        public float exposure()
        A value controlling the amount of exposure to apply to the image. Default value is 0.
      • extendedDynamicRangeAmount

        public float extendedDynamicRangeAmount()
        Allows the output to have an Extended Dynamic Range with values greater than 1 possible. A value of 0 indicates no extended dynamic range output. A value of 1 indicates default extended dynamic range output. A value of 2 indicates maximum extended dynamic range output. The value should be the range of 0...2. The default value is 0.
      • filterArrayFromSerializedXMPInputImageExtentError

        @Deprecated
        @NotNull
        public static @NotNull NSArray<? extends CIFilter> filterArrayFromSerializedXMPInputImageExtentError​(@NotNull
                                                                                                             @NotNull NSData xmpData,
                                                                                                             CGRect extent,
                                                                                                             @Nullable
                                                                                                             @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)
        Deprecated.
      • filterNamesInCategories

        @NotNull
        public static @NotNull NSArray<java.lang.String> filterNamesInCategories​(@Nullable
                                                                                 @Nullable NSArray<java.lang.String> categories)
      • filterNamesInCategory

        @NotNull
        public static @NotNull NSArray<java.lang.String> filterNamesInCategory​(@Nullable
                                                                               @Nullable java.lang.String category)
      • filterWithCVPixelBufferProperties

        public static CIRAWFilter filterWithCVPixelBufferProperties​(@NotNull
                                                                    @NotNull CVBufferRef buffer,
                                                                    @NotNull
                                                                    @NotNull NSDictionary<?,​?> properties)
      • filterWithCVPixelBufferPropertiesOptions

        @Deprecated
        public static CIFilter filterWithCVPixelBufferPropertiesOptions​(CVBufferRef pixelBuffer,
                                                                        NSDictionary<?,​?> properties,
                                                                        NSDictionary<java.lang.String,​?> options)
        Deprecated.
      • filterWithImageDataIdentifierHint

        public static CIRAWFilter filterWithImageDataIdentifierHint​(@NotNull
                                                                    @NotNull NSData data,
                                                                    @Nullable
                                                                    @Nullable java.lang.String identifierHint)
      • filterWithImageDataOptions

        @Deprecated
        public static CIFilter filterWithImageDataOptions​(NSData data,
                                                          NSDictionary<java.lang.String,​?> options)
        Deprecated.
      • filterWithImageURL

        public static CIRAWFilter filterWithImageURL​(@NotNull
                                                     @NotNull NSURL url)
      • filterWithImageURLOptions

        @Deprecated
        public static CIFilter filterWithImageURLOptions​(NSURL url,
                                                         NSDictionary<java.lang.String,​?> options)
        Deprecated.
      • filterWithName

        @Nullable
        public static @Nullable CIFilter filterWithName​(@NotNull
                                                        @NotNull java.lang.String name)
      • filterWithNameKeysAndValues

        @Nullable
        public static @Nullable CIFilter filterWithNameKeysAndValues​(@NotNull
                                                                     @NotNull java.lang.String name,
                                                                     java.lang.Object key0,
                                                                     java.lang.Object... varargs)
      • filterWithNameWithInputParameters

        @Nullable
        public static @Nullable CIFilter filterWithNameWithInputParameters​(@NotNull
                                                                           @NotNull java.lang.String name,
                                                                           @Nullable
                                                                           @Nullable NSDictionary<java.lang.String,​?> params)
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

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

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

        public boolean isColorNoiseReductionSupported()
        A value to control the amount of chroma noise reduction to apply to the image. A value of 0 indicates no chroma noise reduction. A value of 1 indicates maximum chroma noise reduction. The value should be the range of 0...1. The default value will vary per image. The 'isColorNoiseReductionSupported' property is false if the current image doesn't support this adjustment.
      • isContrastSupported

        public boolean isContrastSupported()
        A value to control the amount of local contrast to apply to the edges of the image. A value of 0 indicates no contrast applied. A value of 1 indicates maximum contrast applied. The value should be the range of 0...1. The default value will vary per image. The 'isContrastSupported' property is false if the current image doesn't support this adjustment.
      • isDetailSupported

        public boolean isDetailSupported()
        A value to control the amount of detail enhancement to apply to the edges of the image. A value of 0 indicates no detail enhancement. A value of 3 indicates maximum detail enhancement. The value should be the range of 0...3. The default value will vary per image. The 'isDetailSupported' property is false if the current image doesn't support this adjustment.
      • isDraftModeEnabled

        public boolean isDraftModeEnabled()
        Setting Draft Mode to true can improve image decoding speed with minimal loss of quality.
      • isGamutMappingEnabled

        public boolean isGamutMappingEnabled()
        A boolean value to control if gamut mapping is enabled or not. The default value is true.
      • isLensCorrectionEnabled

        public boolean isLensCorrectionEnabled()
      • isLensCorrectionSupported

        public boolean isLensCorrectionSupported()
        A boolean value to control if gamut mapping is enabled or not. The default value can vary based on the image. The 'isLensCorrectionSupported' property is false if the current image doesn't support this setting.
      • isLocalToneMapSupported

        public boolean isLocalToneMapSupported()
        A value to control the amount of local tone curve to apply to the image. A value of 0 indicates no local tone curve, i.e. linear response. A value of 1 indicates full global tone curve. The value should be the range of 0...1. The default value will vary per image. The 'isLocalToneMapSupported' property is false if the current image doesn't support this adjustment.
      • isLuminanceNoiseReductionSupported

        public boolean isLuminanceNoiseReductionSupported()
        A value to control the amount of luminance noise reduction to apply to the image. A value of 0 indicates no luminance noise reduction. A value of 1 indicates maximum luminance noise reduction. The value should be the range of 0...1. The default value will vary per image. The 'isLuminanceNoiseReductionSupported' property is false if the current image doesn't support this adjustment.
      • isMoireReductionSupported

        public boolean isMoireReductionSupported()
        A value to control the amount of moire artifact reduction to apply to high frequency areas of the image. A value of 0 indicates no moire reduction. A value of 3 indicates maximum moire reduction. The value should be the range of 0...1. The default value will vary per image. The 'isMoireReductionSupported' property is false if the current image doesn't support this adjustment.
      • isSharpnessSupported

        public boolean isSharpnessSupported()
        A value to control the amount of sharpness to apply to the edges of the image. A value of 0 indicates no sharpness applied. A value of 1 indicates maximum sharpness applied. The value should be the range of 0...1. The default value will vary per image. The 'isSharpnessSupported' property is false if the current image doesn't support this adjustment.
      • 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)
      • linearSpaceFilter

        @Nullable
        public @Nullable CIFilter linearSpaceFilter()
        An optional CIFilter to be applied to the RAW image while it is in linear space.
      • localToneMapAmount

        public float localToneMapAmount()
      • localizedDescriptionForFilterName

        @Nullable
        public static @Nullable java.lang.String localizedDescriptionForFilterName​(@NotNull
                                                                                   @NotNull java.lang.String filterName)
      • localizedNameForCategory

        @NotNull
        public static @NotNull java.lang.String localizedNameForCategory​(@NotNull
                                                                         @NotNull java.lang.String category)
      • localizedNameForFilterName

        @Nullable
        public static @Nullable java.lang.String localizedNameForFilterName​(@NotNull
                                                                            @NotNull java.lang.String filterName)
      • localizedReferenceDocumentationForFilterName

        @Nullable
        public static @Nullable NSURL localizedReferenceDocumentationForFilterName​(@NotNull
                                                                                   @NotNull java.lang.String filterName)
      • luminanceNoiseReductionAmount

        public float luminanceNoiseReductionAmount()
      • moireReductionAmount

        public float moireReductionAmount()
      • nativeSize

        public CGSize nativeSize()
        The full native size of the unscaled image. This is not affected by changing orientation
      • neutralChromaticity

        public CGPoint neutralChromaticity()
        These properties provide differnet was to query or modify the image white balance Use 'neutralChromaticity' to query or change white balance based on x,y chromaticity values in the range (0..1) Use 'neutralTemperature' and 'neutralTemperature' to query or change white balance based temp/tint values in the ranges (2000K..50000K, -150..150) Use 'neutralLocation' to change the white balance based on an x,y pixel coordiniates in the image.
      • neutralLocation

        public CGPoint neutralLocation()
      • neutralTemperature

        public float neutralTemperature()
      • neutralTint

        public float neutralTint()
      • orientation

        public int orientation()
        Changing this value allows the user to change the orientation of the image. The valid values are in range 1...8 and follow the EXIF specification.
      • portraitEffectsMatte

        @Nullable
        public @Nullable CIImage portraitEffectsMatte()
      • previewImage

        @Nullable
        public @Nullable CIImage previewImage()
        Properties for auxiliary images that may be present in the file
      • properties

        @NotNull
        public @NotNull NSDictionary<?,​?> properties()
        Metadata properties CIRAWFilter instance This is a dictionary with the same contents as CGImageSourceCopyProperties.
      • registerFilterNameConstructorClassAttributes

        public static void registerFilterNameConstructorClassAttributes​(@NotNull
                                                                        @NotNull java.lang.String name,
                                                                        @NotNull
                                                                        @NotNull CIFilterConstructor anObject,
                                                                        @NotNull
                                                                        @NotNull NSDictionary<java.lang.String,​?> attributes)
      • resolveClassMethod

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

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

        public float scaleFactor()
        The desired scale factor at which the image will be eventually drawn. Setting this value can greatly improve the drawing performance. A value of 1.0 results in a full size output image, values smaller than 1 will result in a smaller output image. The value should be the range of 0...1. Default value is 1
      • semanticSegmentationGlassesMatte

        @Nullable
        public @Nullable CIImage semanticSegmentationGlassesMatte()
      • semanticSegmentationHairMatte

        @Nullable
        public @Nullable CIImage semanticSegmentationHairMatte()
      • semanticSegmentationSkinMatte

        @Nullable
        public @Nullable CIImage semanticSegmentationSkinMatte()
      • semanticSegmentationSkyMatte

        @Nullable
        public @Nullable CIImage semanticSegmentationSkyMatte()
      • semanticSegmentationTeethMatte

        @Nullable
        public @Nullable CIImage semanticSegmentationTeethMatte()
      • serializedXMPFromFiltersInputImageExtent

        @Deprecated
        @Nullable
        public static @Nullable NSData serializedXMPFromFiltersInputImageExtent​(@NotNull
                                                                                @NotNull NSArray<? extends CIFilter> filters,
                                                                                CGRect extent)
        Deprecated.
      • setBaselineExposure

        public void setBaselineExposure​(float value)
        A value for baseline exposure applied to the image. Default value can vary based on the image.
      • setBoostAmount

        public void setBoostAmount​(float value)
        A value to control the amount of global tone curve to apply to the image. A value of 0 indicates no global tone curve, i.e. linear response. A value of 1 indicates full global tone curve. The value should be the range of 0...1. The default value is 1.
      • setBoostShadowAmount

        public void setBoostShadowAmount​(float value)
        The amount to boost the shadow areas of the image. Can be used to lighten details in shadows. This has no effect if the boostAmount is 0. A value less than 1 will darken the shadows. A value greater than 1 will lighten the shadows. The value should be the range of 0...2. The default value is 1.
      • setColorNoiseReductionAmount

        public void setColorNoiseReductionAmount​(float value)
      • setContrastAmount

        public void setContrastAmount​(float value)
      • setDecoderVersion

        public void setDecoderVersion​(@NotNull
                                      @NotNull java.lang.String value)
        Version string representing the decoder version to be used. A newly initialized object defaults to the newest available decoder version for the given image type. User can request an alternative, older version in order to maintain compatibility with older releases. Must be one of supportedDecoderVersions (above), otherwise a nil output image will be generated.
      • setDetailAmount

        public void setDetailAmount​(float value)
      • setDraftModeEnabled

        public void setDraftModeEnabled​(boolean value)
        Setting Draft Mode to true can improve image decoding speed with minimal loss of quality.
      • setExposure

        public void setExposure​(float value)
        A value controlling the amount of exposure to apply to the image. Default value is 0.
      • setExtendedDynamicRangeAmount

        public void setExtendedDynamicRangeAmount​(float value)
        Allows the output to have an Extended Dynamic Range with values greater than 1 possible. A value of 0 indicates no extended dynamic range output. A value of 1 indicates default extended dynamic range output. A value of 2 indicates maximum extended dynamic range output. The value should be the range of 0...2. The default value is 0.
      • setGamutMappingEnabled

        public void setGamutMappingEnabled​(boolean value)
        A boolean value to control if gamut mapping is enabled or not. The default value is true.
      • setLensCorrectionEnabled

        public void setLensCorrectionEnabled​(boolean value)
      • setLinearSpaceFilter

        public void setLinearSpaceFilter​(@Nullable
                                         @Nullable CIFilter value)
        An optional CIFilter to be applied to the RAW image while it is in linear space.
      • setLocalToneMapAmount

        public void setLocalToneMapAmount​(float value)
      • setLuminanceNoiseReductionAmount

        public void setLuminanceNoiseReductionAmount​(float value)
      • setMoireReductionAmount

        public void setMoireReductionAmount​(float value)
      • setNeutralChromaticity

        public void setNeutralChromaticity​(CGPoint value)
        These properties provide differnet was to query or modify the image white balance Use 'neutralChromaticity' to query or change white balance based on x,y chromaticity values in the range (0..1) Use 'neutralTemperature' and 'neutralTemperature' to query or change white balance based temp/tint values in the ranges (2000K..50000K, -150..150) Use 'neutralLocation' to change the white balance based on an x,y pixel coordiniates in the image.
      • setNeutralLocation

        public void setNeutralLocation​(CGPoint value)
      • setNeutralTemperature

        public void setNeutralTemperature​(float value)
      • setNeutralTint

        public void setNeutralTint​(float value)
      • setOrientation

        public void setOrientation​(int value)
        Changing this value allows the user to change the orientation of the image. The valid values are in range 1...8 and follow the EXIF specification.
      • setScaleFactor

        public void setScaleFactor​(float value)
        The desired scale factor at which the image will be eventually drawn. Setting this value can greatly improve the drawing performance. A value of 1.0 results in a full size output image, values smaller than 1 will result in a smaller output image. The value should be the range of 0...1. Default value is 1
      • setShadowBias

        public void setShadowBias​(float value)
        A value controlling an amount to subtract from shadows the image. Default value can vary based on the image.
      • setSharpnessAmount

        public void setSharpnessAmount​(float value)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • shadowBias

        public float shadowBias()
        A value controlling an amount to subtract from shadows the image. Default value can vary based on the image.
      • sharpnessAmount

        public float sharpnessAmount()
      • superclass_static

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

        @NotNull
        public static @NotNull NSArray<java.lang.String> supportedCameraModels()
        Returns a NSArray containing the names of all supported camera models.
      • supportedDecoderVersions

        @NotNull
        public @NotNull NSArray<java.lang.String> supportedDecoderVersions()
        Array of all supported decoder versions for the given image type, sorted in increasingly newer order. All entries would represent a valid version identifier set to 'decoderVersion'.
      • supportedRawCameraModels

        @Deprecated
        public static NSArray<java.lang.String> supportedRawCameraModels()
        Deprecated.
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • _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
        Overrides:
        _supportsSecureCoding in class CIFilter
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.