Module: Contrek
- Defined in:
- lib/contrek/finder/polygon_finder.rb,
lib/contrek.rb,
lib/contrek/version.rb,
lib/contrek/finder/list.rb,
lib/contrek/finder/node.rb,
lib/contrek/finder/lists.rb,
lib/contrek/bitmaps/bitmap.rb,
lib/contrek/finder/listable.rb,
lib/contrek/bitmaps/painting.rb,
lib/contrek/matchers/matcher.rb,
lib/contrek/reducers/reducer.rb,
lib/contrek/bitmaps/rgb_color.rb,
lib/contrek/finder/list_entry.rb,
lib/contrek/bitmaps/png_bitmap.rb,
lib/contrek/finder/node_cluster.rb,
lib/contrek/matchers/matcher_hsb.rb,
lib/contrek/bitmaps/chunky_bitmap.rb,
lib/contrek/bitmaps/custom_bitmap.rb,
lib/contrek/finder/concurrent/hub.rb,
lib/contrek/reducers/uniq_reducer.rb,
lib/contrek/finder/concurrent/part.rb,
lib/contrek/finder/concurrent/tile.rb,
lib/contrek/finder/concurrent/shape.rb,
lib/contrek/reducers/linear_reducer.rb,
lib/contrek/finder/concurrent/cursor.rb,
lib/contrek/finder/concurrent/finder.rb,
lib/contrek/finder/concurrent/cluster.rb,
lib/contrek/finder/concurrent/listable.rb,
lib/contrek/finder/concurrent/polyline.rb,
lib/contrek/finder/concurrent/poolable.rb,
lib/contrek/finder/concurrent/position.rb,
lib/contrek/finder/concurrent/sequence.rb,
lib/contrek/matchers/value_not_matcher.rb,
lib/contrek/finder/concurrent/end_point.rb,
lib/contrek/finder/concurrent/queueable.rb,
lib/contrek/reducers/visvalingam_reducer.rb,
lib/contrek/finder/concurrent/fake_cluster.rb,
lib/contrek/finder/concurrent/partitionable.rb,
lib/contrek/finder/concurrent/clipped_polygon_finder.rb
Overview
Defined Under Namespace
Modules: Bitmaps, Concurrent, Finder, Matchers, Reducers
Constant Summary collapse
- VERSION =
"1.0.5"
Class Method Summary collapse
Class Method Details
.contour!(png_file_path:, options: {}) ⇒ Object
44 45 46 47 |
# File 'lib/contrek.rb', line 44 def contour!(png_file_path:, options: {}) = {native: true, class: "value_not_matcher", color: {r: 0, g: 0, b: 0, a: 255}}.merge() [:native] ? compute_cpp(png_file_path, ) : compute_ruby_pure(png_file_path, ) end |