Skip to main content

interpret_diff

Function interpret_diff 

Source
pub fn interpret_diff(
    image1: &Image,
    image2: &Image,
    output: Option<&mut Image>,
    options: &DiffOptions,
) -> Result<InterpretResult, InterpretError>
Expand description

Run a pixel diff and interpret it, optionally keeping the visualization.

The convenience path for the common case: it applies mask_options, runs [blazediff::diff], interprets the result, and repaints the output in the caller’s colours afterwards.