Superpixel Benchmark
Superpixel benchmark, tools and algorithms.
|
Bilateral filter driver. More...
#include <robustness_tool.h>
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... | |
Bilateral filter driver.
BilateralFilterDriver::BilateralFilterDriver | ( | const std::vector< int > & | sizes, |
const std::vector< float > & | color_variances, | ||
const std::vector< float > & | space_variances | ||
) |
Constructor.
[in] | sizes | sizes of filter to evaluate |
[in] | color_variances | variances for color Gaussian to evaluate |
[in] | space_variances | variances for space Gaussian to evaluate |
|
virtual |
Apply the transformation with the current parameters.
[in] | image | input image to apply transformation on |
[out] | computed_image | transformed image |
Implements RobustnessToolDriver.
|
virtual |
Apply the transformation with the current parameters on the ground truth.
[in] | segmentation | segmentation to transform |
[out] | computed_segmentation | transformed segmentation |
Implements RobustnessToolDriver.
|
virtual |
Identify current parameter settings.
Implements RobustnessToolDriver.
|
virtual |
Select next parameter set.
Implements RobustnessToolDriver.