diff options
Diffstat (limited to 'rotord/src/nodes_transform.h')
| -rw-r--r-- | rotord/src/nodes_transform.h | 2 |
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; |
