# tpsRandom

## PURPOSE

Obtain a random warp with the same bending energy as the original.

## SYNOPSIS

function w = tpsRandom( LnInv, bendE )

## DESCRIPTION

     Obtain a random warp with the same bending energy as the original.

     USAGE
      w = tpsRandom( LnInv, bendE )

     INPUTS
      LnInv  - [see tpsGetWarp] bookstein warping parameters
      bendE  - amount of bening energy for random warp to have

     OUTPUTS
      w      - nonlinear component of warp for use in tpsInterpolate

     EXAMPLE

     See also TPSGETWARP

     Piotr's Image&Video Toolbox      Version 2.0
     Copyright 2008 Piotr Dollar.  [pdollar-at-caltech.edu]
     Please email me if you find bugs, or have suggestions or questions!
     Licensed under the Lesser GPL [see external/lgpl.txt]

## CROSS-REFERENCE INFORMATION

This function calls:

This function is called by: