CIFeature Class Reference

Inherits from
Conforms to
Framework
Library/Frameworks/CoreImage.framework
Availability
Available in iOS 5.0 and later.
Declared in
CIFeature.h

Overview

A CIFeature object represents a portion of an image that a detector believes matches its criteria. Subclasses of CIFeature typically hold additional information specific to the detector that discovered the feature.

Tasks

Feature Properties

Properties

bounds

The rectangle that holds discovered feature. (read-only)

@property(readonly, assign) CGRect bounds
Discussion

The rectangle is in the coordinate system of the image.

Availability
  • Available in iOS 5.0 and later.
Declared In
CIFeature.h

type

The type of feature that was discovered. (read-only)

@property(readonly, retain) NSString *type
Availability
  • Available in iOS 5.0 and later.
Declared In
CIFeature.h

Constants

Feature Types

Strings that define specific kinds of findable features.

NSString* const CIFeatureTypeFace;
Constants
CIFeatureTypeFace

The discovered feature is a person’s face.

Available in iOS 5.0 and later.

Declared in CIFeature.h.