Difference between revisions of "Function:AbsDiff"
From CUVI Wiki
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
Computes absolute difference between pixels of 2 images. Each channel is processed individually. | Computes absolute difference between pixels of 2 images. Each channel is processed individually. | ||
===Function=== | ====Function==== | ||
{| | {| | ||
|style="font-size:100%;"| | |style="font-size:100%;"| | ||
| Line 104: | Line 104: | ||
|} | |} | ||
===Example=== | ====Example==== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
Latest revision as of 10:32, 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
|