View Source Image.Options.Compare (image v0.44.0)

Options and option validation for Image.compare/3.

Summary

Types

@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.

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

Functions

Link to this function

validate_options(options)

View Source

Validate the options for Image.compare/3.