---
title: thermal()
framework: coreimage
role: symbol
role_heading: Type Method
path: coreimage/cifilter-swift.class/thermal()
---

# thermal()

Alters the image to make it look like it was taken by a thermal camera.

## Declaration

```swift
class func thermal() -> any CIFilter & CIThermal
```

## Return Value

Return Value The modified image.

## Discussion

Discussion This method applies a preconfigured set of effects that make it appear like a thermal camera captured the image. The thermal filter uses the following property: The following code creates a filter that adds a thermal effect to the input image: func thermal(inputImage: CIImage ) -> CIImage {     let thermalFilter = CIFilter.thermal()     thermalFilter.inputImage = inputImage     return thermalFilter.outputImage! }

## See Also

### Color Effect Filters

- [colorCrossPolynomial()](coreimage/cifilter-swift.class/colorcrosspolynomial().md)
- [colorCube()](coreimage/cifilter-swift.class/colorcube().md)
- [colorCubeWithColorSpace()](coreimage/cifilter-swift.class/colorcubewithcolorspace().md)
- [colorCubesMixedWithMask()](coreimage/cifilter-swift.class/colorcubesmixedwithmask().md)
- [colorCurves()](coreimage/cifilter-swift.class/colorcurves().md)
- [colorInvert()](coreimage/cifilter-swift.class/colorinvert().md)
- [colorMap()](coreimage/cifilter-swift.class/colormap().md)
- [colorMonochrome()](coreimage/cifilter-swift.class/colormonochrome().md)
- [colorPosterize()](coreimage/cifilter-swift.class/colorposterize().md)
- [convertLabToRGB()](coreimage/cifilter-swift.class/convertlabtorgb().md)
- [convertRGBtoLab()](coreimage/cifilter-swift.class/convertrgbtolab().md)
- [dither()](coreimage/cifilter-swift.class/dither().md)
- [documentEnhancer()](coreimage/cifilter-swift.class/documentenhancer().md)
- [falseColor()](coreimage/cifilter-swift.class/falsecolor().md)
- [labDeltaE()](coreimage/cifilter-swift.class/labdeltae().md)
