DVadjust_slice_spacing


Synopsis

changes the spacing of the specified axis and converts it into a 3D rectilinear field.


module DVadjust_slice_spacing {

Mesh_Unif+IPort2 ∈

int+IPort2 spacing_axis;

float+IPort2 &slice_position[];

 

Mesh_Rect+OPort2 out;

 

omethod+notify_inst+req update = "DVadjust_slice_spacing_update";

};

Description

DVadjust_slice_spacing takes a 3D uniform field, changes the spacing of the specified axis and converts it into a 3D rectilinear field. This can be used to irregularly space the uniform output of a DVread_img2vol.

Input

in

The 3D Uniform field data that is to be irregularly spaced

spacing axis

Specifies which axis spacign should be adjusted

 

Output

out

The output rectilinear field.

Files

v/dv.v