Superpixel Benchmark
Superpixel benchmark, tools and algorithms.
Public Member Functions | List of all members
BlurDriver Class Reference

Blur driver. More...

#include <robustness_tool.h>

Inheritance diagram for BlurDriver:
RobustnessToolDriver

Public Member Functions

 BlurDriver (const std::vector< int > &sizes)
 Constructor. More...
 
void computeImage (const cv::Mat &image, cv::Mat &computed_image)
 Apply the transformation with the current parameters. More...
 
void computeSegmentation (const cv::Mat &segmentation, cv::Mat &computed_segmentation)
 Apply the transformation with the current parameters on the ground truth. More...
 
bool next ()
 Select next parameter set. More...
 
std::string identify ()
 Identify current parameter settings. More...
 

Detailed Description

Blur driver.

Constructor & Destructor Documentation

BlurDriver::BlurDriver ( const std::vector< int > &  sizes)

Constructor.

Parameters
[in]sizessizes of blur filter to evaluate

Member Function Documentation

void BlurDriver::computeImage ( const cv::Mat &  image,
cv::Mat &  computed_image 
)
virtual

Apply the transformation with the current parameters.

Parameters
[in]imageinput image to apply transformation on
[out]computed_imagetransformed image

Implements RobustnessToolDriver.

void BlurDriver::computeSegmentation ( const cv::Mat &  segmentation,
cv::Mat &  computed_segmentation 
)
virtual

Apply the transformation with the current parameters on the ground truth.

Parameters
[in]segmentationsegmentation to transform
[out]computed_segmentationtransformed segmentation

Implements RobustnessToolDriver.

std::string BlurDriver::identify ( )
virtual

Identify current parameter settings.

Returns
identifier for current parameter setting

Implements RobustnessToolDriver.

bool BlurDriver::next ( )
virtual

Select next parameter set.

Implements RobustnessToolDriver.


The documentation for this class was generated from the following files: