crop

The deprecated crop module is superceded by the newer crop_and_downsize module.

image\cropmod.jpg

General Module Function

The crop module is used to subset an image, or structured 1D, 2D or 3D mesh (an EVS "field" data type). Similar to cropping a photograph, crop sets ranges of cells in the I, J and K directions which creates an orthogonal subset of the data. When used on an image (which only has two dimensions), crop removes pixels along the two edges of the image.

Module Input Ports

Crop has only one input port. Input to this port must contain structured mesh data and nodal data.

Module Output Ports

Crop has two output ports. The first output port (closest to the left) outputs a structured mesh data and nodal data of the cropped region. The second port outputs a renderable geometry.

image\croppanel.jpg

Module Control Panel

The control panel for crop is shown in the figure above. Sliders are used to select the I, J, and K dimension crop ranges. Each dimension range has a slider to select the min value and a slider to select the maximum value. For example, to crop the structured mesh in the I coordinate direction from 10 to 22, set the I min slider to 10 and the I max slider to 22. The slider selections are inclusive. The default min and max for each coordinate direction reflect the min and max of the mesh data.

The Immediate toggle causes the display to update as you move the slider(s).

Related Modules

->  cut

->  downsize