Class: OpenCV::Cv::Detail::ExposureCompensator
- Inherits:
-
Object
- Object
- OpenCV::Cv::Detail::ExposureCompensator
- Extended by:
- FFI::DataConverter
- Defined in:
- lib/ropencv/ropencv_types.rb
Constants collapse
- NO =
0- GAIN =
1- GAIN_BLOCKS =
2- CHANNELS =
3- CHANNELS_BLOCKS =
4
Class Method Summary collapse
-
.create_default(type) ⇒ Cv::Ptr::Cv_Detail_ExposureCompensator
(also: createDefault)
methods.
- .new(*args) ⇒ Object
-
.null ⇒ Object
returns a null pointer to the object.
Instance Method Summary collapse
- #apply(index, corner, image, mask) ⇒ Void
- #get_mat_gains(_arg1) ⇒ Void (also: #getMatGains)
- #get_update_gain ⇒ Bool (also: #getUpdateGain)
- #set_mat_gains(_arg1) ⇒ Void (also: #setMatGains)
- #set_update_gain(b) ⇒ Void (also: #setUpdateGain)
-
#to_s ⇒ Object
converts ExposureCompensator into a string by crawling through all its attributes.
Class Method Details
.create_default(type) ⇒ Cv::Ptr::Cv_Detail_ExposureCompensator Also known as: createDefault
wrapper for static method const cv::Ptrcv::detail::ExposureCompensator cv::detail::ExposureCompensator::createDefault(int type)
methods
12258 12259 12260 |
# File 'lib/ropencv/ropencv_types.rb', line 12258 def self.create_default(type) Rbind::cv_detail_exposure_compensator_create_default(type) end |
.new(*args) ⇒ Object
12168 12169 12170 12171 12172 12173 12174 12175 |
# File 'lib/ropencv/ropencv_types.rb', line 12168 def self.new(*args) if args.first.is_a?(FFI::Pointer) || args.first.is_a?(ExposureCompensatorStruct) 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
12164 12165 12166 |
# File 'lib/ropencv/ropencv_types.rb', line 12164 def self.null new(ExposureCompensatorStruct.new) end |
Instance Method Details
#apply(index, corner, image, mask) ⇒ Void
method wrapper for void cv::detail::ExposureCompensator::apply(int index, const cv::Point corner, cv::Mat& image, const cv::Mat mask)
12269 12270 12271 12272 |
# File 'lib/ropencv/ropencv_types.rb', line 12269 def apply(index, corner, image, mask) __validate_pointer__ Rbind::cv_detail_exposure_compensator_apply( self, index, corner, image, mask) end |
#get_mat_gains(_arg1) ⇒ Void Also known as: getMatGains
method wrapper for void cv::detail::ExposureCompensator::getMatGains(std::vectorcv::Mat& arg1)
12277 12278 12279 12280 |
# File 'lib/ropencv/ropencv_types.rb', line 12277 def get_mat_gains(_arg1) __validate_pointer__ Rbind::cv_detail_exposure_compensator_get_mat_gains( self, _arg1) end |
#get_update_gain ⇒ Bool Also known as: getUpdateGain
method wrapper for bool cv::detail::ExposureCompensator::getUpdateGain()
12303 12304 12305 12306 |
# File 'lib/ropencv/ropencv_types.rb', line 12303 def get_update_gain() __validate_pointer__ Rbind::cv_detail_exposure_compensator_get_update_gain( self) end |
#set_mat_gains(_arg1) ⇒ Void Also known as: setMatGains
method wrapper for void cv::detail::ExposureCompensator::setMatGains(const std::vectorcv::Mat arg1)
12286 12287 12288 12289 |
# File 'lib/ropencv/ropencv_types.rb', line 12286 def set_mat_gains(_arg1) __validate_pointer__ Rbind::cv_detail_exposure_compensator_set_mat_gains( self, _arg1) end |
#set_update_gain(b) ⇒ Void Also known as: setUpdateGain
method wrapper for void cv::detail::ExposureCompensator::setUpdateGain(bool b)
12295 12296 12297 12298 |
# File 'lib/ropencv/ropencv_types.rb', line 12295 def set_update_gain(b) __validate_pointer__ Rbind::cv_detail_exposure_compensator_set_update_gain( self, b) end |
#to_s ⇒ Object
converts ExposureCompensator into a string by crawling through all its attributes
12241 12242 12243 |
# File 'lib/ropencv/ropencv_types.rb', line 12241 def to_s "#<cv::detail::ExposureCompensator >" end |