Class: CIFilter
Overview
Instance Attribute Summary (collapse)
-
- outputImage
readonly
Returns a CIImage object that encapsulates the operations configured in the filter.
Class Method Summary (collapse)
-
+ filterArrayFromSerializedXMP:inputImageExtent:error:
Returns an array of filter objects de-serialized from XMP data.
-
+ filterNamesInCategories:
Returns an array of all published filter names that match all the specified categories.
-
+ filterNamesInCategory:
Returns an array of all published filter names in the specified category.
-
+ filterWithName:
Creates a CIFilter object for a specific kind of filter.
-
+ filterWithName:keysAndValues:
Creates a CIFilter object for a specific kind of filter and initializes the input values.
-
+ serializedXMPFromFilters:inputImageExtent:
Serializes filter parameters into XMP form that is suitable for embedding in an image.
Instance Method Summary (collapse)
-
- attributes
Returns a dictionary of key-value pairs that describe the filter.
-
- inputKeys
Returns an array that contains the names of the input parameters to the filter.
-
- name
The name of the filter.
-
- outputKeys
Returns an array that contains the names of the output parameters for the filter.
-
- setDefaults
Sets all input values for a filter to default values.
Methods inherited from NSObject
#!, #!=, #!~, #, #==, #===, #=~, #Rational, #__callee__, #__method__, #__send__, #__type__, `, alloc, allocWithZone:, #autoContentAccessingProxy, autoload, autoload?, autorelease_pool, #awakeAfterUsingCoder:, binding, block_given?, caller, cancelPreviousPerformRequestsWithTarget:, cancelPreviousPerformRequestsWithTarget:selector:object:, catch, class, classFallbacksForKeyedArchiver, #classForCoder, #classForKeyedArchiver, classForKeyedUnarchiver, #clone, conformsToProtocol:, #copy, copyWithZone:, #dealloc, #define_singleton_method, description, display, #doesNotRecognizeSelector:, #dup, #enum_for, #eql?, #equal?, #extend, fail, #finalize, format, #forwardInvocation:, #forwardingTargetForSelector:, framework, #freeze, #frozen?, getpass, gets, global_variables, #init, initialize, #initialize_clone, #initialize_copy, #initialize_dup, #inspect, instanceMethodForSelector:, instanceMethodSignatureForSelector:, #instance_eval, #instance_exec, #instance_of?, #instance_variable_defined?, #instance_variable_get, #instance_variable_set, #instance_variables, instancesRespondToSelector:, isSubclassOfClass:, #is_a?, iterator?, #kind_of?, lambda, load, load_bridge_support_file, load_plist, local_variables, loop, #method, #methodForSelector:, #methodSignatureForSelector:, #methods, #mutableCopy, mutableCopyWithZone:, new, #nil?, open, p, #performSelector:onThread:withObject:waitUntilDone:, #performSelector:onThread:withObject:waitUntilDone:modes:, #performSelector:withObject:afterDelay:, #performSelector:withObject:afterDelay:inModes:, #performSelectorInBackground:withObject:, #performSelectorOnMainThread:withObject:waitUntilDone:, #performSelectorOnMainThread:withObject:waitUntilDone:modes:, print, printf, #private_methods, proc, #protected_methods, #public_method, #public_methods, #public_send, putc, puts, raise, rand, readline, readlines, #replacementObjectForCoder:, #replacementObjectForKeyedArchiver:, require, resolveClassMethod:, resolveInstanceMethod:, #respond_to?, #respond_to_missing?, select, #send, setVersion:, #singleton_methods, sprintf, srand, superclass, #taint, #tainted?, #tap, test, throw, #to_plist, #to_s, trace_var, trap, #trust, #untaint, untrace_var, #untrust, #untrusted?, version
Constructor Details
This class inherits a constructor from NSObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class NSObject
Instance Attribute Details
Class Method Details
+ (Array) filterArrayFromSerializedXMP(xmpData, inputImageExtent:extent, error:outError)
Returns an array of filter objects de-serialized from XMP data.
+ (Array) filterNamesInCategories(categories)
Returns an array of all published filter names that match all the specified categories. 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 filterNamesInCategories: method for each category separately and then merge the results.
+ (Array) filterNamesInCategory(category)
Returns an array of all published filter names in the specified category.
+ (CIFilter) filterWithName(name)
Creates a CIFilter object for a specific kind of filter. You should call setDefaults after you call this method or set values individually by calling setValue:forKey.
+ (CIFilter) filterWithName(name, keysAndValues:key0, ...)
Creates a CIFilter object for a specific kind of filter and initializes the input values.
+ (NSData) serializedXMPFromFilters(filters, inputImageExtent:extent)
Serializes filter parameters into XMP form that is suitable for embedding in an image. At this time the only filters classes that can be serialized using this method are, CIAffineTransform, CICrop, and the filters returned by the CIImage methods autoAdjustmentFilters and autoAdjustmentFiltersWithOptions:. The parameters of other filter classes will not be serialized.
Instance Method Details
- (Hash) attributes
Returns a dictionary of key-value pairs that describe the filter. For example, the attributes dictionary for the CIColorControls filter contains the following information:
- (Array) inputKeys
Returns an array that contains the names of the input parameters to the filter.
- (String) name
The name of the filter.
- (Array) outputKeys
Returns an array that contains the names of the output parameters for the filter.
- (Object) setDefaults
Sets all input values for a filter to default values. Input values whose default values are not defined are left unchanged.