Superpixel Benchmark
Superpixel benchmark, tools and algorithms.
|
Driver for different filters/enhancements/transformations. More...
#include <robustness_tool.h>
Public Member Functions | |
virtual void | computeImage (const cv::Mat &image, cv::Mat &computed_image)=0 |
Apply the transformation with the current parameters. More... | |
virtual void | computeSegmentation (const cv::Mat &segmentation, cv::Mat &computed_segmentation)=0 |
Apply the transformation with the current parameters on the ground truth. More... | |
virtual bool | next ()=0 |
Select next parameter set. More... | |
virtual std::string | identify ()=0 |
Identify current parameter settings. More... | |
Driver for different filters/enhancements/transformations.
Copyright (c) 2016, David Stutz Contact: david, davidstutz.de All rights reserved. .stu tz@rw th-a achen .de
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
pure virtual |
Apply the transformation with the current parameters.
[in] | image | input image to apply transformation on |
[out] | computed_image | transformed image |
Implemented in TranslationDriver, RotationDriver, ShearDriver, MotionBlurDriver, BilateralFilterDriver, MedianBlurDriver, GaussianBlurDriver, BlurDriver, SaltAndPepperNoiseDriver, PoissonNoiseDriver, and GaussianNoiseDriver.
|
pure virtual |
Apply the transformation with the current parameters on the ground truth.
[in] | segmentation | segmentation to transform |
[out] | computed_segmentation | transformed segmentation |
Implemented in TranslationDriver, RotationDriver, ShearDriver, MotionBlurDriver, BilateralFilterDriver, MedianBlurDriver, GaussianBlurDriver, BlurDriver, SaltAndPepperNoiseDriver, PoissonNoiseDriver, and GaussianNoiseDriver.
|
pure virtual |
Identify current parameter settings.
Implemented in TranslationDriver, RotationDriver, ShearDriver, MotionBlurDriver, BilateralFilterDriver, MedianBlurDriver, GaussianBlurDriver, BlurDriver, SaltAndPepperNoiseDriver, PoissonNoiseDriver, and GaussianNoiseDriver.
|
pure virtual |
Select next parameter set.
Implemented in TranslationDriver, RotationDriver, ShearDriver, MotionBlurDriver, BilateralFilterDriver, MedianBlurDriver, GaussianBlurDriver, BlurDriver, SaltAndPepperNoiseDriver, PoissonNoiseDriver, and GaussianNoiseDriver.