From 18a77356a424511e7ae1865d1554d20b4b5c51fb Mon Sep 17 00:00:00 2001 From: Comment Date: Tue, 5 Nov 2013 22:33:22 +0000 Subject: clean up compiler warnings --- rotord/src/nodes_transform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rotord/src/nodes_transform.h') 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; -- cgit v1.2.3