Difference between revisions of "Function:Dehaze"
From CUVI Wiki
(Created page with "__NOTOC__ Makes sense of hazy images. Note this function is ideal for extreme blizzard and very low visibility. For small hazes, we prefer using Function:adjust. ===Functi...") |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
Makes sense of hazy images. Note this function is ideal for extreme blizzard and very low visibility. For small hazes, we prefer using [[Function:adjust]]. | Makes sense of hazy images. Note this function is ideal for extreme blizzard and very low visibility. For small hazes, we prefer using '''[[Function:adjust adjust]]'''. | ||
===Function=== | ===Function=== | ||
{| | {| | ||
Line 65: | Line 65: | ||
{| | {| | ||
|- | |- | ||
|[[File:Bliz.jpg|frame|Input]] | |[[File:Bliz.jpg|200px|frame|Input]] | ||
|[[File:Nobliz.jpg|frame|Output]] | |[[File:Nobliz.jpg|200px|frame|Output]] | ||
|} | |} | ||
Revision as of 19:38, 27 March 2018
Makes sense of hazy images. Note this function is ideal for extreme blizzard and very low visibility. For small hazes, we prefer using Function:adjust adjust.
Function
|
Parameters
Name | Type | Description |
---|---|---|
src | const CuviImage& | Input Image |
dst | CuviImage& | Output Image |
max0 | int | Maximum Value to consider in Channel 1 |
max1 | int | Maximum Value to consider in Channel 2 |
max2 | int | Maximum Value to consider in Channel 3 |
stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
8uC3 | 8uC3 |
16uC3 | 16uC3 |
Sample
Error creating thumbnail: Unable to save thumbnail to destination |
Error creating thumbnail: Unable to save thumbnail to destination |
Example
|