Superpixel Benchmark
Superpixel benchmark, tools and algorithms.
Functions
transformation.cpp File Reference
#include <random>
#include <glog/logging.h>
#include "transformation.h"

Functions

template void Transformation::applyVerticalShear< cv::Vec3b > (const cv::Mat &image, int crop, float shear, cv::Mat &sheared_image)
 
template void Transformation::applyHorizontalShear< cv::Vec3b > (const cv::Mat &image, int crop, float shear, cv::Mat &sheared_image)
 
template void Transformation::applyRotation< cv::Vec3b > (const cv::Mat &image, int crop, float angle, cv::Mat &rotated_image, int interpolation)
 
template void Transformation::applyTranslation< cv::Vec3b > (const cv::Mat &image, int crop, int translation_x, int translation_y, cv::Mat &translated_image)
 

Function Documentation

template void Transformation::applyHorizontalShear< cv::Vec3b > ( const cv::Mat &  image,
int  crop,
float  shear,
cv::Mat &  sheared_image 
)
template void Transformation::applyRotation< cv::Vec3b > ( const cv::Mat &  image,
int  crop,
float  angle,
cv::Mat &  rotated_image,
int  interpolation 
)
template void Transformation::applyTranslation< cv::Vec3b > ( const cv::Mat &  image,
int  crop,
int  translation_x,
int  translation_y,
cv::Mat &  translated_image 
)
template void Transformation::applyVerticalShear< cv::Vec3b > ( const cv::Mat &  image,
int  crop,
float  shear,
cv::Mat &  sheared_image 
)