summaryrefslogtreecommitdiff
path: root/rotord/src/nodes_transform.h
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src/nodes_transform.h')
-rw-r--r--rotord/src/nodes_transform.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/rotord/src/nodes_transform.h b/rotord/src/nodes_transform.h
index bb3a04f..fd6b7be 100644
--- a/rotord/src/nodes_transform.h
+++ b/rotord/src/nodes_transform.h
@@ -25,11 +25,6 @@ namespace Rotor {
create_parameter("scale","number","Scale about origin","Scale",1.0f);
create_attribute("filter","Filtering mode","Filter mode","linear",{"nearest","linear","area","cubic","lanczos"});
};
- Transformer(map<string,string> &settings):Transformer() {
- base_settings(settings);
- };
- ~Transformer(){
- };
Image *transform(Image *in){
if (in){
//INTER_NEAREST - a nearest-neighbor interpolation
@@ -85,7 +80,6 @@ namespace Rotor {
trans_mat=getAffineTransform( srcTri, dstTri );
warpAffine( in->rgb, inter.rgb, trans_mat, inter.rgb.size(), filtmode, cv::BORDER_WRAP);
-
// Compute rotation matrix
//
cv::Point centre = cv::Point( oX*image.w, oY*image.h );