Difference between revisions of "Function:Divide"
From CUVI Wiki
(Created page with "__NOTOC__ Divides pixel values of first image by corresponding pixels values from second image ===Function=== {| |style="font-size:150%;"| <syntaxhighlight lang="cpp"> CuviSta...") |
|||
| Line 86: | Line 86: | ||
//Divide | //Divide | ||
cuvi::arithmeticLogical:: | cuvi::arithmeticLogical::divide(gimg1,gimg2,gout); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
Revision as of 11:14, 2 May 2012
Divides pixel values of first image by corresponding pixels values from second image
Function
|
Parameters
| Name | Type | Description |
|---|---|---|
| srcImage1 | CuviImage* | Dividend Image |
| srcImage2 | CuviImage* | Divisor Image |
| dstImage | CuviImage* | Resultant Image |
| stream | CuviStream* | GPU stream ID for execution |
Image Type Support
| Input 1 | Input 2 | Output |
|---|---|---|
| 8uC1 | 8uC1 | 8uC1 |
| 8uC3 | 8uC3 | 8uC3 |
| 16uC1 | 16uC1 | 16uC1 |
| 16uC3 | 16uC3 | 16uC3 |
| 32fC1 | 32fC1 | 32fC1 |
| 32fC3 | 32fC3 | 32fC3 |
Example
|