LatticeResampleMethod Option

 

The LatticeResampleMethod option changes the method used to resample the lattices for a Resample module. The OptionValue is either 0 or 1 for Nearest Neighbor or Trilinear.

 

Syntax

object.Construct(“ModifyModule”)

object.Option(“Module”, “Resample”)

object.Option(“LatticeResampleMethod”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example sets the resampling method for the Resample module.

 

  CommandApi.Construct ("ModifyModule")

  CommandApi.Option ("Module", "Resample")

  CommandApi.Option ("LatticeResampleMethod", "1")

 

Used by: LatticeResample

 

 

See Also

Automation Model