[−][src]Function libvips::ops::mosaic_1_with_opts
pub fn mosaic_1_with_opts(
refp: &VipsImage,
sec: &VipsImage,
direction: Direction,
xr_1: i32,
yr_1: i32,
xs_1: i32,
ys_1: i32,
xr_2: i32,
yr_2: i32,
xs_2: i32,
ys_2: i32,
mosaic_1_options: &Mosaic1Options
) -> Result<VipsImage>
VipsMosaic1 (mosaic1), first-order mosaic of two images
refp: &VipsImage
-> Reference image
sec: &VipsImage
-> Secondary image
direction: Direction
-> Horizontal or vertcial mosaic
Horizontal
-> VIPS_DIRECTION_HORIZONTAL = 0 [DEFAULT]
Vertical
-> VIPS_DIRECTION_VERTICAL = 1
Last
-> VIPS_DIRECTION_LAST = 2
xr_1: i32
-> Position of first reference tie-point
min: -1000000000, max: 1000000000, default: 1
yr_1: i32
-> Position of first reference tie-point
min: -1000000000, max: 1000000000, default: 1
xs_1: i32
-> Position of first secondary tie-point
min: -1000000000, max: 1000000000, default: 1
ys_1: i32
-> Position of first secondary tie-point
min: -1000000000, max: 1000000000, default: 1
xr_2: i32
-> Position of second reference tie-point
min: -1000000000, max: 1000000000, default: 1
yr_2: i32
-> Position of second reference tie-point
min: -1000000000, max: 1000000000, default: 1
xs_2: i32
-> Position of second secondary tie-point
min: -1000000000, max: 1000000000, default: 1
ys_2: i32
-> Position of second secondary tie-point
min: -1000000000, max: 1000000000, default: 1
mosaic_1_options: &Mosaic1Options
-> optional arguments
returns VipsImage
- Output image