Function libvips::ops::linear_with_opts [−][src]
pub fn linear_with_opts(
inp: &VipsImage,
a: &mut [f64],
b: &mut [f64],
linear_options: &LinearOptions
) -> Result<VipsImage>
Expand description
VipsLinear (linear), calculate (a * in + b)
inp: &VipsImage
-> Input image
a: &[f64]
-> Multiply by this. Must have equal len as b
b: &[f64]
-> Add this. Must have equal len as a
linear_options: &LinearOptions
-> optional arguments
returns VipsImage
- Output image