Class: OpenCV::Cv::CalibrateRobertson
- Inherits:
-
Object
- Object
- OpenCV::Cv::CalibrateRobertson
- Extended by:
- FFI::DataConverter
- Defined in:
- lib/ropencv/ropencv_types.rb
Class Method Summary collapse
- .new(*args) ⇒ Object
-
.null ⇒ Object
returns a null pointer to the object.
Instance Method Summary collapse
- #cast_to_algorithm(parse_ownership) ⇒ Cv::Algorithm (also: #castToAlgorithm)
- #cast_to_calibratecrf(parse_ownership) ⇒ Cv::CalibrateCRF (also: #castToCalibrateCRF)
- #clear ⇒ Void
- #empty ⇒ Bool
- #get_default_name ⇒ Std::String (also: #getDefaultName)
-
#get_max_iter ⇒ Fixnum
(also: #getMaxIter)
methods.
- #get_radiance ⇒ Cv::Mat (also: #getRadiance)
- #get_threshold ⇒ Float (also: #getThreshold)
- #process(src, dst, times) ⇒ Void
- #read(fn) ⇒ Void
- #save(filename) ⇒ Void
- #set_max_iter(max_iter) ⇒ Void (also: #setMaxIter)
- #set_threshold(threshold) ⇒ Void (also: #setThreshold)
-
#to_s ⇒ Object
converts CalibrateRobertson into a string by crawling through all its attributes.
- #write(fs, name = Std::String.new()) ⇒ Void
Class Method Details
.new(*args) ⇒ Object
31481 31482 31483 31484 31485 31486 31487 31488 |
# File 'lib/ropencv/ropencv_types.rb', line 31481 def self.new(*args) if args.first.is_a?(FFI::Pointer) || args.first.is_a?(CalibrateRobertsonStruct) raise ArgumentError, "too many arguments for creating #{self.name} from Pointer" unless args.size == 1 return super(args.first) end raise ArgumentError, "no constructor for #{self}(#{args.inspect})" end |
.null ⇒ Object
returns a null pointer to the object
31477 31478 31479 |
# File 'lib/ropencv/ropencv_types.rb', line 31477 def self.null new(CalibrateRobertsonStruct.new) end |
Instance Method Details
#cast_to_algorithm(parse_ownership) ⇒ Cv::Algorithm Also known as: castToAlgorithm
method wrapper for cv::Algorithm* cv::CalibrateRobertson::castToAlgorithm(bool parse_ownership)
31637 31638 31639 31640 31641 31642 31643 31644 31645 |
# File 'lib/ropencv/ropencv_types.rb', line 31637 def cast_to_algorithm(parse_ownership) __validate_pointer__ result = Rbind::cv_calibrate_robertson_cast_to_algorithm( self, parse_ownership) if result.respond_to?(:__owner__?) && !result.__owner__? # store owner insight the pointer to not get garbage collected result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) end result end |
#cast_to_calibratecrf(parse_ownership) ⇒ Cv::CalibrateCRF Also known as: castToCalibrateCRF
method wrapper for cv::CalibrateCRF* cv::CalibrateRobertson::castToCalibrateCRF(bool parse_ownership)
31613 31614 31615 31616 31617 31618 31619 31620 31621 |
# File 'lib/ropencv/ropencv_types.rb', line 31613 def cast_to_calibratecrf(parse_ownership) __validate_pointer__ result = Rbind::cv_calibrate_robertson_cast_to_calibratecrf( self, parse_ownership) if result.respond_to?(:__owner__?) && !result.__owner__? # store owner insight the pointer to not get garbage collected result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) end result end |
#clear ⇒ Void
method wrapper for void cv::CalibrateRobertson::clear()
31650 31651 31652 31653 |
# File 'lib/ropencv/ropencv_types.rb', line 31650 def clear() __validate_pointer__ Rbind::cv_calibrate_robertson_clear( self) end |
#empty ⇒ Bool
method wrapper for bool cv::CalibrateRobertson::empty()
31674 31675 31676 31677 |
# File 'lib/ropencv/ropencv_types.rb', line 31674 def empty() __validate_pointer__ Rbind::cv_calibrate_robertson_empty( self) end |
#get_default_name ⇒ Std::String Also known as: getDefaultName
method wrapper for const std::string cv::CalibrateRobertson::getDefaultName()
31689 31690 31691 31692 31693 31694 31695 31696 31697 |
# File 'lib/ropencv/ropencv_types.rb', line 31689 def get_default_name() __validate_pointer__ result = Rbind::cv_calibrate_robertson_get_default_name( self) if result.respond_to?(:__owner__?) && !result.__owner__? # store owner insight the pointer to not get garbage collected result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) end result end |
#get_max_iter ⇒ Fixnum Also known as: getMaxIter
method wrapper for int cv::CalibrateRobertson::getMaxIter()
methods
31565 31566 31567 31568 |
# File 'lib/ropencv/ropencv_types.rb', line 31565 def get_max_iter() __validate_pointer__ Rbind::cv_calibrate_robertson_get_max_iter( self) end |
#get_radiance ⇒ Cv::Mat Also known as: getRadiance
method wrapper for const cv::Mat cv::CalibrateRobertson::getRadiance()
31599 31600 31601 31602 31603 31604 31605 31606 31607 |
# File 'lib/ropencv/ropencv_types.rb', line 31599 def get_radiance() __validate_pointer__ result = Rbind::cv_calibrate_robertson_get_radiance( self) if result.respond_to?(:__owner__?) && !result.__owner__? # store owner insight the pointer to not get garbage collected result.instance_variable_get(:@__obj_ptr__).instance_variable_set(:@__owner__,self) end result end |
#get_threshold ⇒ Float Also known as: getThreshold
method wrapper for float cv::CalibrateRobertson::getThreshold()
31582 31583 31584 31585 |
# File 'lib/ropencv/ropencv_types.rb', line 31582 def get_threshold() __validate_pointer__ Rbind::cv_calibrate_robertson_get_threshold( self) end |
#process(src, dst, times) ⇒ Void
method wrapper for void cv::CalibrateRobertson::process(const std::vectorcv::Mat src, cv::Mat& dst, const cv::Mat times)
31629 31630 31631 31632 |
# File 'lib/ropencv/ropencv_types.rb', line 31629 def process(src, dst, times) __validate_pointer__ Rbind::cv_calibrate_robertson_process( self, src, dst, times) end |
#read(fn) ⇒ Void
method wrapper for void cv::CalibrateRobertson::read(const cv::FileNode fn)
31667 31668 31669 31670 |
# File 'lib/ropencv/ropencv_types.rb', line 31667 def read(fn) __validate_pointer__ Rbind::cv_calibrate_robertson_read( self, fn) end |
#save(filename) ⇒ Void
method wrapper for void cv::CalibrateRobertson::save(const std::string filename)
31682 31683 31684 31685 |
# File 'lib/ropencv/ropencv_types.rb', line 31682 def save(filename) __validate_pointer__ Rbind::cv_calibrate_robertson_save( self, filename) end |
#set_max_iter(max_iter) ⇒ Void Also known as: setMaxIter
method wrapper for void cv::CalibrateRobertson::setMaxIter(int max_iter)
31574 31575 31576 31577 |
# File 'lib/ropencv/ropencv_types.rb', line 31574 def set_max_iter(max_iter) __validate_pointer__ Rbind::cv_calibrate_robertson_set_max_iter( self, max_iter) end |
#set_threshold(threshold) ⇒ Void Also known as: setThreshold
method wrapper for void cv::CalibrateRobertson::setThreshold(float threshold)
31591 31592 31593 31594 |
# File 'lib/ropencv/ropencv_types.rb', line 31591 def set_threshold(threshold) __validate_pointer__ Rbind::cv_calibrate_robertson_set_threshold( self, threshold) end |
#to_s ⇒ Object
converts CalibrateRobertson into a string by crawling through all its attributes
31554 31555 31556 |
# File 'lib/ropencv/ropencv_types.rb', line 31554 def to_s "#<cv::CalibrateRobertson >" end |
#write(fs, name = Std::String.new()) ⇒ Void
method wrapper for void cv::CalibrateRobertson::write(const cv::Ptrcv::FileStorage fs, const std::string name = String())
31659 31660 31661 31662 |
# File 'lib/ropencv/ropencv_types.rb', line 31659 def write(fs, name = Std::String.new()) __validate_pointer__ Rbind::cv_calibrate_robertson_write( self, fs, name) end |