Difference between revisions of "Function:MinFilter"
From CUVI Wiki
| Line 90: | Line 90: | ||
CuviSize fSize = cuviSize(5,5); | CuviSize fSize = cuviSize(5,5); | ||
//Applying Min 5x5 | //Applying Min filter of size 5x5 on the image | ||
cuvi::imageFiltering::minFilter(gimg, gout, roi, fSize); | cuvi::imageFiltering::minFilter(gimg, gout, roi, fSize); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
Revision as of 07:51, 1 May 2012
Filters an image using a min filter and default Anchor Position
Function
|
Parameters
| Name | Type | Description |
|---|---|---|
| srcImage | CuviImage* | Input Image |
| dstImage | CuviImage* | Output Image |
| roi | CuviROI | Region of Interest |
| filterSize | CuviSize | Min filter's kernel size |
| stream | CuviStream* | GPU stream ID for execution |
Image Type Support
| Input | Output |
|---|---|
| 8uC1 | 8uC1 |
| 8uC3 | 8uC3 |
| 16uC1 | 16uC1 |
| 16uC3 | 16uC3 |
Sample
Example
|

