Difference between revisions of "Function:UnderwaterFilter"
From CUVI Wiki
(→Sample) |
|||
| Line 52: | Line 52: | ||
{| | {| | ||
|- | |- | ||
|[[File: | |[[File:Haze.jpg|frame|Input]] | ||
|[[File: | |[[File:Nohaze.jpg|frame|Output]] | ||
|} | |} | ||
Revision as of 11:00, 27 March 2018
Removes haze and brings out the real colors in underwater photography. Apart from removing haze, it also enhances the colors of haze-less images and is so additive that you start using it on every underwater photo by default.
Function
|
Parameters
| Name | Type | Description |
|---|---|---|
| src | const CuviImage& | Input Image |
| dst | CuviImage& | Output Image |
| params | CuviEnhacementParams | bool autoColor, Cuvi32i filterStrength, Cuvi64f deGalreAmount. |
| stream | const CuviStream& | GPU stream ID for execution |
Image Type Support
| Input | Output |
|---|---|
| 8uC3 | 8uC3 |
Sample
Example
|

