summaryrefslogtreecommitdiff
path: root/rotord/src/nodes_transform.h
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-11-05 22:33:22 +0000
committerComment <tim@gray.(none)>2013-11-05 22:33:22 +0000
commit18a77356a424511e7ae1865d1554d20b4b5c51fb (patch)
tree15209fc88f1b8fd4fe2ced01ac804772c8f0a43b /rotord/src/nodes_transform.h
parent9462492cae4d94157538f353d67f2f6daaa45259 (diff)
clean up compiler warnings
Diffstat (limited to 'rotord/src/nodes_transform.h')
-rw-r--r--rotord/src/nodes_transform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rotord/src/nodes_transform.h b/rotord/src/nodes_transform.h
index 2eb680b..1b9834c 100644
--- a/rotord/src/nodes_transform.h
+++ b/rotord/src/nodes_transform.h
@@ -32,7 +32,7 @@ namespace Rotor {
//INTER_AREA - resampling using pixel area relation. It may be a preferred method for image decimation, as it gives moire’-free results. But when the image is zoomed, it is similar to the INTER_NEAREST method.
//INTER_CUBIC - a bicubic interpolation over 4x4 pixel neighborhood
//INTER_LANCZOS4 - a Lanczos interpolation over 8x8 pixel neighborhood
- int filtmode;
+ int filtmode=cv::INTER_NEAREST;
switch(attributes["filter"]->intVal){
case TRANSFORM_nearest:
filtmode=cv::INTER_NEAREST;