# TryAcquirePackedSceneSegmentationChannelsCpuImage Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.SceneSegmentation.ARSceneSegmentationManager.TryAcquirePackedSceneSegmentationChannelsCpuImage/ TryAcquirePackedSceneSegmentationChannelsCpuImage --- ## Declaration public bool TryAcquirePackedSceneSegmentationChannelsCpuImage(out XRCpuImage cpuImage, out Matrix4x4 samplerMatrix, Nullable cameraParams = null) #### Summary Tries to acquire the latest packed semantic channels XRCpuImage. Each element of the XRCpuImage is a bit field indicating which semantic channels have surpassed their respective detection confidence thresholds for that pixel. (See GetChannelIndex) #### Remarks The utility GetChannelNamesAt can be used for reading semantic channel names at a viewport location. #### Returns True if the CPU image was acquired. Otherwise, false ### Parameters | Name | Type | Summary | | --- | --- | --- | | cpuImage | XRCpuImage | If this method returns `true`, an acquired XRCpuImage. The CPU image must be disposed by the caller. | | samplerMatrix | Matrix4x4 | A matrix that converts from viewport to image coordinates according to the latest pose. | | cameraParams | Nullable | Params of the viewport to sample with. Defaults to current screen dimensions if null. | ---