Method: CVFFI::MatchResults#initialize
- Defined in:
- lib/opencv-ffi-wrappers/matcher.rb
#initialize(tset, qset) ⇒ MatchResults
Returns a new instance of MatchResults.
62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'lib/opencv-ffi-wrappers/matcher.rb', line 62 def initialize( tset, qset ) @train_set = tset @query_set = qset @results = [] @match_cache = [] @by_train = [] @by_train.extend( AddMapWithIndex ) @by_query = [] @mask = [] end |