imshift: Shift image content.

View source: R/RcppExports.R

imshiftR Documentation

Shift image content.

Description

Shift image content.

Usage

imshift(
  im,
  delta_x = 0L,
  delta_y = 0L,
  delta_z = 0L,
  delta_c = 0L,
  boundary_conditions = 0L
)

Arguments

im

an image

delta_x

Amount of displacement along the X-axis.

delta_y

Amount of displacement along the Y-axis.

delta_z

Amount of displacement along the Z-axis.

delta_c

Amount of displacement along the C-axis.

boundary_conditions

can be: - 0: Zero border condition (Dirichlet). - 1: Nearest neighbors (Neumann). - 2: Repeat Pattern (Fourier style).

Examples


imshift(boats,10,50) %>% plot

imager documentation built on May 29, 2024, 1:38 a.m.