Skip to main content

mosaic1

Function mosaic1 

Source
pub fn mosaic1(
    refp: &VipsImage,
    sec: &VipsImage,
    direction: Direction,
    xr1: i32,
    yr1: i32,
    xs1: i32,
    ys1: i32,
    xr2: i32,
    yr2: i32,
    xs2: i32,
    ys2: i32,
) -> Result<VipsImage>
Expand description

VipsMosaic1 (mosaic1), first-order mosaic of two images refp: &VipsImage -> Reference image sec: &VipsImage -> Secondary image direction: Direction -> Horizontal or vertical mosaic Horizontal -> VIPS_DIRECTION_HORIZONTAL = 0 [DEFAULT] Vertical -> VIPS_DIRECTION_VERTICAL = 1 xr1: i32 -> Position of first reference tie-point min: -1000000000, max: 1000000000, default: 1 yr1: i32 -> Position of first reference tie-point min: -1000000000, max: 1000000000, default: 1 xs1: i32 -> Position of first secondary tie-point min: -1000000000, max: 1000000000, default: 1 ys1: i32 -> Position of first secondary tie-point min: -1000000000, max: 1000000000, default: 1 xr2: i32 -> Position of second reference tie-point min: -1000000000, max: 1000000000, default: 1 yr2: i32 -> Position of second reference tie-point min: -1000000000, max: 1000000000, default: 1 xs2: i32 -> Position of second secondary tie-point min: -1000000000, max: 1000000000, default: 1 ys2: i32 -> Position of second secondary tie-point min: -1000000000, max: 1000000000, default: 1 returns VipsImage - Output image