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

Bilateral filter driver. More...

#include <robustness_tool.h>

Inheritance diagram for BilateralFilterDriver:
RobustnessToolDriver

Public Member Functions

 BilateralFilterDriver (const std::vector< int > &sizes, const std::vector< float > &color_variances, const std::vector< float > &space_variances)
 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

Bilateral filter driver.

Constructor & Destructor Documentation

BilateralFilterDriver::BilateralFilterDriver ( const std::vector< int > &  sizes,
const std::vector< float > &  color_variances,
const std::vector< float > &  space_variances 
)

Constructor.

Parameters
[in]sizessizes of filter to evaluate
[in]color_variancesvariances for color Gaussian to evaluate
[in]space_variancesvariances for space Gaussian to evaluate

Member Function Documentation

void BilateralFilterDriver::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 BilateralFilterDriver::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 BilateralFilterDriver::identify ( )
virtual

Identify current parameter settings.

Returns
identifier for current parameter setting

Implements RobustnessToolDriver.

bool BilateralFilterDriver::next ( )
virtual

Select next parameter set.

Implements RobustnessToolDriver.


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