Difference between revisions of "Function:AutoColor"
From CUVI Wiki
(→Sample) |
|||
| Line 56: | Line 56: | ||
===Example=== | ===Example=== | ||
{| | {| | ||
|style="font-size:150%;"| | |||
<syntaxhighlight lang="cpp"> | |||
CuviImage input("D:/false.jpg", CUVI_LOAD_IMAGE_COLOR_KEEP_DEPTH), output; | CuviImage input("D:/false.jpg", CUVI_LOAD_IMAGE_COLOR_KEEP_DEPTH), output; | ||
Revision as of 12:38, 18 October 2022
Fixes false colors at pixel level of the image using CUVI's own propriety approach. For most clients, this function is always part of the pipeline to ensure best results.
Function
|
Parameters
|
Image Type Support
|
Sample
Example
|
<syntaxhighlight lang="cpp"> CuviImage input("D:/false.jpg", CUVI_LOAD_IMAGE_COLOR_KEEP_DEPTH), output; //Perform low-light enhancement cuvi::colorOperations::autoColor(input, output); //Save Output to file cuvi::io::saveImage(output, "D:/true.jpg"); |

