Function libvips::ops::math_2_const
source · pub fn math_2_const(
inp: &VipsImage,
math_2: OperationMath2,
c: &mut [f64]
) -> Result<VipsImage>
Expand description
VipsMath2Const (math2_const), binary math operations with a constant
inp: &VipsImage
-> Input image
math_2: OperationMath2
-> Math to perform
Pow
-> VIPS_OPERATION_MATH2_POW = 0 [DEFAULT]
Wop
-> VIPS_OPERATION_MATH2_WOP = 1
Atan2
-> VIPS_OPERATION_MATH2_ATAN2 = 2
Last
-> VIPS_OPERATION_MATH2_LAST = 3
c: &mut [f64]
-> Array of constants
returns VipsImage
- Output image