pub fn draw_haar_feature<I>(image: &I, feature: HaarFeature) -> Image<I::Pixel>
where
    I: GenericImage,
    I::Pixel: HasBlack + HasWhite,
{
    let mut out = Image::new(image.width(), image.height());
    out.copy_from(image, 0, 0).unwrap();
    draw_haar_feature_mut(&mut out, feature);
    out
}
Draws the given Haar-like feature on an image, drawing pixels
with a positive sign white and those with a negative sign black.
src/haar.rs