|
Superpixel Benchmark
Superpixel benchmark, tools and algorithms.
|
Vertical and horizontal shear driver. More...
#include <robustness_tool.h>
Public Member Functions | |
| ShearDriver (std::string type, int crop, const std::vector< float > &m) | |
| 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... | |
Vertical and horizontal shear driver.
| ShearDriver::ShearDriver | ( | std::string | type, |
| int | crop, | ||
| const std::vector< float > & | m | ||
| ) |
Constructor.
| [in] | type | horizontal or vertical [in] crop crop the image |
| [in] | m | strenght of shear |
|
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.
1.8.11