The Network | Computational | Resample command adds a Resample module.


The Resample module allows the resolution of a lattice to be changed. This is performed by computing new data values at each output lattice node by interpolating the data values from the input lattice. The Resample  module does NOT perform extrapolation. Any node outside the limits of the input lattice is blanked.



Lattice is the input type for the Resample module.



The Resample module creates a uniform lattice. It may be connected to the Graphics Output Modules or the Computational Modules. An Info Module may also be connected to the output node.



The Resample module properties are described below.

Select the Resample module in the Network Manager
to display its properties in the Property Manager.


The Resample module contains the following tabs in the Property Manager:



General Options

Use the Resample method to interpolate the
input lattice data values in order to change the
output lattice.


The Input property shows the source to which the module is connected. This option cannot be changed in the Property Manager, but can be changed in the Network Manager by changing the module input.


Resample Method

The Resample method sets the method used to calculate the output values from the input components. To change the method, click on the existing method and select the desired method from the list. Available options are Nearest neighbor and Trilinear.


Nearest neighbor applies the closest grid node value on the original grid to the grid node value in the output grid. This is the fastest resampling method, though it can result in distorted output if the original grid and output grid differ in size.


Trilinear interpolation uses a weighted average of eight input nodes to interpolate a new value. Some lattice node values in the original grid may be applied to more than one output lattice node; conversely, some of the input lattice nodes may not be used at all.




See Also

Resample Geometry





Connecting Modules

Computational Modules

Introduction to Modules