Difference between revisions of "Function:HaarFwd"
From CUVI Wiki
Line 3: | Line 3: | ||
===Function=== | ===Function=== | ||
{| | {| | ||
|style="font-size: | |style="font-size:100%;"| | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
CuviStatus haarFwd(const CuviImage& src, | CuviStatus haarFwd(const CuviImage& src, | ||
Line 13: | Line 13: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
===Parameters=== | ===Parameters=== | ||
Revision as of 18:27, 19 October 2022
Performs one-level wavelet decomposition of an image using haar basis. The four resultant images are half the width and half the height of the original image
Function
|
Parameters
Name | Type | Description |
---|---|---|
src | const CuviImage& | Input image |
dstApprox | CuviImage& | Output approximation image |
dstDetailX | CuviImage& | Output horizontal detail image |
dstDetailY | CuviImage& | Output vertical detail image |
dstDetailXY | CuviImage& | Output diagonal detail image |
stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8uC1 | 8uC1 x 4 |
8uC3 | 8uC3 x 4 |
Sample
File:Haar.jpg |
Example
|