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

Options and option validation for Image.compare/3.

Link to this section Summary

Link to this section 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()

Link to this section Functions

Link to this function

validate_options(options)

View Source

Validate the options for Image.compare/3.