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

Tool evaluating the robustness for different filters/enhancement/transformations. More...

#include <robustness_tool.h>

Public Member Functions

 RobustnessTool (boost::filesystem::path &base_directory, boost::filesystem::path &image_directory, boost::filesystem::path &gt_directory, std::string command_line, RobustnessToolDriver *driver)
 Constructor. More...
 
void setFilesToKeep (const std::vector< std::string > &files)
 Set files to keep. More...
 
void evaluate ()
 Evaluate. More...
 

Detailed Description

Tool evaluating the robustness for different filters/enhancement/transformations.

Author
David Stutz

Constructor & Destructor Documentation

RobustnessTool::RobustnessTool ( boost::filesystem::path &  base_directory_,
boost::filesystem::path &  image_directory_,
boost::filesystem::path &  gt_directory_,
std::string  command_line_,
RobustnessToolDriver driver_ 
)

Constructor.

Parameters
[in]base_directorybase directory to temporarily save transformed images in
[in]image_directorydirectory containing the images
[in]gt_directorydirectory containing hte ground truth segmentations
[in]command_linecommand of algorithm to run, including the default parameters
[in]driverdriver to use, implicitly defining the transformation to apply

Copyright (c) 2016, David Stutz Contact: david.nosp@m..stu.nosp@m.tz@rw.nosp@m.th-a.nosp@m.achen.nosp@m..de, davidstutz.de All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

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.

Member Function Documentation

void RobustnessTool::evaluate ( )

Evaluate.

void RobustnessTool::setFilesToKeep ( const std::vector< std::string > &  files)

Set files to keep.

Parameters
[in]filesnames of files to keep the transformed images and segmentations for

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