Options and option validation for Image.compare/3.
Summary
Functions
Validate the options for Image.compare/3.
Types
@type compare_option() :: {:metric, metric()} | {:saturation, number()} | {:brightness, number()} | {:difference_boost, number()} | {:difference_color, Image.Pixel.t()}
Options applicable to Image.compare/3.
@type compare_options() :: [compare_option()]
@type metric() :: :ae | :mse | :rmse
The comparison metric used by Image.compare/3.
Functions
Validate the options for Image.compare/3.