mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
modified for OpenCV 2.3
This commit is contained in:
parent
0d56ef2762
commit
7915f7f559
4 changed files with 2 additions and 17 deletions
|
@ -91,7 +91,6 @@ define_ruby_class()
|
|||
rb_define_method(rb_klass, "gain", RUBY_METHOD_FUNC(rb_get_gain), 0);
|
||||
rb_define_method(rb_klass, "exposure", RUBY_METHOD_FUNC(rb_get_exposure), 0);
|
||||
rb_define_method(rb_klass, "convert_rgb", RUBY_METHOD_FUNC(rb_get_convert_rgb), 0);
|
||||
rb_define_method(rb_klass, "white_balance", RUBY_METHOD_FUNC(rb_get_white_balance), 0);
|
||||
rb_define_method(rb_klass, "rectification", RUBY_METHOD_FUNC(rb_get_rectification), 0);
|
||||
}
|
||||
|
||||
|
@ -444,15 +443,6 @@ rb_get_convert_rgb(VALUE self)
|
|||
return (flag == 1) ? Qtrue : Qfalse;
|
||||
}
|
||||
|
||||
/*
|
||||
* Currently unsupported
|
||||
*/
|
||||
VALUE
|
||||
rb_get_white_balance(VALUE self)
|
||||
{
|
||||
return rb_float_new(cvGetCaptureProperty(CVCAPTURE(self), CV_CAP_PROP_WHITE_BALANCE));
|
||||
}
|
||||
|
||||
/*
|
||||
* Get TOWRITE (note: only supported by DC1394 v 2.x backend currently)
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue