Class: GDAL::Utils::Nearblack
- Inherits:
-
Object
- Object
- GDAL::Utils::Nearblack
- Defined in:
- lib/gdal/utils/nearblack.rb,
lib/gdal/utils/nearblack/options.rb
Overview
Wrapper for nearblack using GDALNearblack C API.
Defined Under Namespace
Classes: Options
Class Method Summary collapse
-
.perform(src_dataset:, dst_dataset: nil, dst_dataset_path: nil, options: Options.new) {|GDAL::Dataset| ... } ⇒ GDAL::Dataset
Perform the nearblack (GDALNearblack) operation.
Class Method Details
.perform(src_dataset:, dst_dataset: nil, dst_dataset_path: nil, options: Options.new) {|GDAL::Dataset| ... } ⇒ GDAL::Dataset
Perform the nearblack (GDALNearblack) operation.
76 77 78 79 80 81 82 |
# File 'lib/gdal/utils/nearblack.rb', line 76 def self.perform(src_dataset:, dst_dataset: nil, dst_dataset_path: nil, options: Options.new, &block) if dst_dataset for_dataset(dst_dataset: dst_dataset, src_dataset: src_dataset, options: ) else for_dataset_path(dst_dataset_path: dst_dataset_path, src_dataset: src_dataset, options: , &block) end end |