OpenCV Smooth Filter. More...
#include <ossimOpenCVSmoothFilter.h>
Public Member Functions | |
| ossimOpenCVSmoothFilter (ossimObject *owner=NULL) | |
| ossimOpenCVSmoothFilter (ossimImageSource *inputSource) | |
| ossimOpenCVSmoothFilter (ossimObject *owner, ossimImageSource *inputSource) | |
|
virtual ossimRefPtr < ossimImageData > | getTile (const ossimIrect &tileRect, ossim_uint32 resLevel=0) |
| virtual void | initialize () |
| virtual ossimScalarType | getOutputScalarType () const |
| ossim_uint32 | getNumberOfOutputBands () const |
| virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
| virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
| ossimString | getShortName () const |
| ossimString | getLongName () const |
Protected Member Functions | |
| void | runUcharTransformation (ossimImageData *tile) |
Protected Attributes | |
| ossimRefPtr< ossimImageData > | theTile |
| int | theSmoothType |
| smooth type: CV_BLUR_NO_SCALE, CV_BLUR, CV_GAUSSIAN, CV_MEDIAN, CV_BILATERAL | |
| int | theParam1 |
| aperture width | |
| int | theParam2 |
| aperture height | |
| double | theParam3 |
| If square Gaussian kernel, the Gaussian standard desviation. If non-square Gaussian kernel, the Gaussian standard desviation in the horizontal direction. | |
| double | theParam4 |
| If non-square Gaussian kernel, the Gaussian standard desviation in the vertical direction. | |
OpenCV Smooth Filter.
Smooths the image in one of several ways.
Parameters:
| smooth_type | Type of the smoothing:
| |
| param1 | The first parameter of the smoothing operation, the aperture width. Must be a positive odd number (1, 3, 5, ...) | |
| param2 | The second parameter of the smoothing operation, the aperture height. Ignored by CV_MEDIAN and CV_BILATERAL methods. In the case of simple scaled/non-scaled and Gaussian blur if param2 is zero, it is set to param1. Otherwise it must be a positive odd number. | |
| param3 | In the case of a Gaussian parameter this parameter may specify Gaussian standard deviation. If it is zero, it is calculated from the kernel size: sigma = 0.3 (n/2 - 1) + 0.8, where n = param1 for horizontal kernel and param2 for vertical kernel | |
| param4 | In case of non-square Gaussian kernel the parameter may be used to specify a different (from param3) sigma in the vertical direction. |
1.6.1