Difference between revisions of "Function:AbsDiff"
From CUVI Wiki
| Line 12: | Line 12: | ||
|} | |} | ||
===Parameters=== | ====Parameters==== | ||
{| | |||
|style="font-size:75%;"| | |||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
| Line 35: | Line 36: | ||
| CuviStream& | | CuviStream& | ||
| GPU stream ID for execution | | GPU stream ID for execution | ||
|} | |||
|} | |} | ||
Revision as of 10:31, 18 October 2022
Computes absolute difference between pixels of 2 images. Each channel is processed individually.
Function
|
Parameters
|
Image Type Support
| Input 1 | Input 2 | Output |
|---|---|---|
| 8u | 8u | 8u |
| 16u | 16u | 16u |
| 32f | 32f | 32f |
| 8u | 8u | 16u |
| 8u | 8u | 32f |
| 16u | 16u | 32f |
| 8u | 16u | 16u |
| 16u | 8u | 16u |
| 8u | 32f | 32f |
| 32f | 8u | 32f |
| 8u | 16u | 32f |
| 16u | 8u | 32f |
| 16u | 32f | 32f |
| 32f | 16u | 32f |
Example
|