Image.Options.Compare (image v0.59.0)

View Source

Options and option validation for Image.compare/3.

Summary

Types

compare_option()

@type compare_option() ::
  {:color, Image.Color.t() | :auto}
  | {:threshold, non_neg_integer()}
  | {:greater_than, Image.Color.t()}
  | {:less_than, Image.Color.t()}
  | {:sigma, float()}
  | {:min_amplitude, float()}

Options applicable to Image.compare/3.

compare_options()

@type compare_options() :: [compare_option()] | map()

Functions

validate_options(options)

Validate the options for Image.compare/3.