Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{alias:tps}

Name

tps — Thin plate spline gridding of well data

...

Info
titleQuotes from the link page

TPS has been widely used as the non-rigid transformation model in image alignment and shape matching.

The popularity of TPS comes from a number of advantages: (1) the interpolation is smooth with derivatives of any order; (2) the model has no free parameters that need manual tuning; (3) it has closed-form solutions for both warping and parameter estimation; and (4) there is a physical explanation for its energy function.

Arguments

No arguments.

The grid will have the same number of rows and columns as the last grid that set the @nrow @ncol variables.

inc xinc yinc

Create grid model grid with increments xinc and yinc .

nx ny

Create a grid with nx times ny grid cells.

nosmo

A default smoothing is applied. This can be prevented with the nosmo option.

ref referencegrid

Apply a reference grid in workspace referencegrid for grid layout. Dimension of the grid is taken from the referencegrid.

Examples

Ex.1: Thin plate spline interpolating of points

No Format
bgColor#eeeeee
borderWidth1

# Surface model gridding
z                 ;# Erase screen
win demo          ;# Get demo window (450000 460000 6450000 6460000 1000 4000)
spe bgc whi       ;# Specify background color to white
mak ran 11        ;# Make 11 random points
poi 2             ;# Display point with size width 2
tps 222 222       ;# Make grid of dimension 222 x 222
map               ;# Map the grid

...