<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCapturePhoto/constantColorConfidenceMap",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCapturePhoto(py)constantColorConfidenceMap"
  },
  "title" : "constantColorConfidenceMap"
}
-->

# constantColorConfidenceMap

A pixel buffer where each pixel value indicates how fully the system achieves the constant color effect in the corresponding region of the photo.

```
var constantColorConfidenceMap: CVPixelBuffer? { get }
```

## Discussion

A value of `255` means full confidence and `0` means zero confidence.

This property provides a valid value only for constant color photos. The value is `nil` in all other cases.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)