---
title: inputImage
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/cisigneddistancegradientfromredmask/inputimage
---

# inputImage

The input image whose red channel defines a mask. If the red channel pixel value is greater than 0.5 then the point is considered in the mask and output pixel will be a value between zero and negative one. Otherwise the output pixel will be a value between zero and one.

## Declaration

```swift
var inputImage: CIImage? { get set }
```
