Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add lanczos4 interpolation method symbol

  • Loading branch information...
commit 0db2be182f5d9f24d7b7f7e9041110743d60b991 1 parent d6b373e
@jordoh jordoh authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  ext/opencv/opencv.cpp
View
1  ext/opencv/opencv.cpp
@@ -346,6 +346,7 @@ define_ruby_module()
REGISTER_CVMETHOD(interpolation_method, "linear", CV_INTER_LINEAR);
REGISTER_CVMETHOD(interpolation_method, "area", CV_INTER_AREA);
REGISTER_CVMETHOD(interpolation_method, "cubic", CV_INTER_CUBIC);
+ REGISTER_CVMETHOD(interpolation_method, "lanczos4", CV_INTER_LANCZOS4);
VALUE warp_flag = rb_hash_new();
/* {:fill_outliers, :inverse_map}: Warp affine optional flags */
Please sign in to comment.
Something went wrong with that request. Please try again.