# 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 2012 Piotr Dollar.  [pdollar-at-caltech.edu]
     Please email me if you find bugs, or have suggestions or questions!
     Licensed under the Simplified BSD License [see external/bsd.txt]