---
title: CIRAWFilter
framework: coreimage
role: symbol
role_heading: Class
path: coreimage/cirawfilter
---

# CIRAWFilter

A filter subclass that produces an image by manipulating RAW image sensor data from a digital camera or scanner.

## Declaration

```swift
class CIRAWFilter
```

## Overview

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.

## Topics

### Creating a filter

- [init(cvPixelBuffer:properties:)](coreimage/cirawfilter/init(cvpixelbuffer:properties:)-6209q.md)
- [init(imageData:identifierHint:)](coreimage/cirawfilter/init(imagedata:identifierhint:).md)
- [init(imageURL:)](coreimage/cirawfilter/init(imageurl:).md)

### Inspecting supported camera models, decoders, and filters

- [supportedCameraModels](coreimage/cirawfilter/supportedcameramodels.md)
- [supportedDecoderVersions](coreimage/cirawfilter/supporteddecoderversions.md)
- [CIRAWDecoderVersion](coreimage/cirawdecoderversion.md)
- [isColorNoiseReductionSupported](coreimage/cirawfilter/iscolornoisereductionsupported.md)
- [isContrastSupported](coreimage/cirawfilter/iscontrastsupported.md)
- [isDetailSupported](coreimage/cirawfilter/isdetailsupported.md)
- [isLensCorrectionSupported](coreimage/cirawfilter/islenscorrectionsupported.md)
- [isLocalToneMapSupported](coreimage/cirawfilter/islocaltonemapsupported.md)
- [isLuminanceNoiseReductionSupported](coreimage/cirawfilter/isluminancenoisereductionsupported.md)
- [isMoireReductionSupported](coreimage/cirawfilter/ismoirereductionsupported.md)
- [isSharpnessSupported](coreimage/cirawfilter/issharpnesssupported.md)
- [nativeSize](coreimage/cirawfilter/nativesize.md)

### Configuring a filter

- [baselineExposure](coreimage/cirawfilter/baselineexposure.md)
- [boostAmount](coreimage/cirawfilter/boostamount.md)
- [boostShadowAmount](coreimage/cirawfilter/boostshadowamount.md)
- [colorNoiseReductionAmount](coreimage/cirawfilter/colornoisereductionamount.md)
- [contrastAmount](coreimage/cirawfilter/contrastamount.md)
- [decoderVersion](coreimage/cirawfilter/decoderversion.md)
- [detailAmount](coreimage/cirawfilter/detailamount.md)
- [exposure](coreimage/cirawfilter/exposure.md)
- [extendedDynamicRangeAmount](coreimage/cirawfilter/extendeddynamicrangeamount.md)
- [isDraftModeEnabled](coreimage/cirawfilter/isdraftmodeenabled.md)
- [isGamutMappingEnabled](coreimage/cirawfilter/isgamutmappingenabled.md)
- [isLensCorrectionEnabled](coreimage/cirawfilter/islenscorrectionenabled.md)
- [linearSpaceFilter](coreimage/cirawfilter/linearspacefilter.md)
- [localToneMapAmount](coreimage/cirawfilter/localtonemapamount.md)
- [luminanceNoiseReductionAmount](coreimage/cirawfilter/luminancenoisereductionamount.md)
- [moireReductionAmount](coreimage/cirawfilter/moirereductionamount.md)
- [neutralChromaticity](coreimage/cirawfilter/neutralchromaticity.md)
- [neutralLocation](coreimage/cirawfilter/neutrallocation.md)
- [neutralTemperature](coreimage/cirawfilter/neutraltemperature.md)
- [neutralTint](coreimage/cirawfilter/neutraltint.md)
- [orientation](coreimage/cirawfilter/orientation.md)
- [portraitEffectsMatte](coreimage/cirawfilter/portraiteffectsmatte.md)
- [previewImage](coreimage/cirawfilter/previewimage.md)
- [properties](coreimage/cirawfilter/properties.md)
- [scaleFactor](coreimage/cirawfilter/scalefactor.md)
- [semanticSegmentationGlassesMatte](coreimage/cirawfilter/semanticsegmentationglassesmatte.md)
- [semanticSegmentationHairMatte](coreimage/cirawfilter/semanticsegmentationhairmatte.md)
- [semanticSegmentationSkinMatte](coreimage/cirawfilter/semanticsegmentationskinmatte.md)
- [semanticSegmentationSkyMatte](coreimage/cirawfilter/semanticsegmentationskymatte.md)
- [semanticSegmentationTeethMatte](coreimage/cirawfilter/semanticsegmentationteethmatte.md)
- [shadowBias](coreimage/cirawfilter/shadowbias.md)
- [sharpnessAmount](coreimage/cirawfilter/sharpnessamount.md)

### Initializers

- [init(CVPixelBuffer:properties:)](coreimage/cirawfilter/init(cvpixelbuffer:properties:)-6321o.md)

### Instance Properties

- [despeckleAmount](coreimage/cirawfilter/despeckleamount.md)
- [isDespeckleSupported](coreimage/cirawfilter/isdespecklesupported.md)
- [isHighlightRecoveryEnabled](coreimage/cirawfilter/ishighlightrecoveryenabled.md)
- [isHighlightRecoverySupported](coreimage/cirawfilter/ishighlightrecoverysupported.md)

### Type Methods

- [supportedCameraModels(with:)](coreimage/cirawfilter/supportedcameramodels(with:).md)

## Relationships

### Inherits From

- [CIFilter](coreimage/cifilter-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Filters

- [CIFilter](coreimage/cifilter-swift.class.md)
- [CIColor](coreimage/cicolor.md)
- [CIVector](coreimage/civector.md)
