SCI Home Software Documentation Installation User's Guide Developer's Guide

CIBC:Documentation:SCIRun:Reference:Teem:Unu2op

From SCIRun Documentation Wiki

Jump to: navigation, search

Contents

Unu2op

Information

Package: Teem
Catagory: UnuAtoM
Author(s): Darby Van Uitert
Status: Supported in latest version
Version: 3.0

Description

Summary

Binary operation on two nrrds, or on a nrrd and a constant. Either the first or second operand can be a float constant, but not both. To perform the operation on two nrrds, connect both input ports. To have one Nrrd on the left hand side of the operator, connect to the first port and vice versa for the right hand side.

Detailed Description

Binary operation on two nrrds, or on a nrrd and a constant. Either the first or second operand can be a float constant, but not both. To perform the operation on two nrrds, connect both input ports. To have one Nrrd on the left hand side of the operator, connect to the first port and vice versa for the right hand side.

Operator: Binary operator. Possibilities include:

+, -, x, / : add, subtract, multiply, divide

^ : exponentiation (pow)

% : integer modulo

fmod : same as fmod() in C

atan2 : same as atan2() in C

min, max: minimum, maximum

lt, lte, gt, gte : same as C's less than, less than or equal to, greater than, greater than or equal to

eq, neq : same as C's == and !=

comp : -1, 0, or 1 if 1st value is less than, equal to, or geater than 2nd value

exists : if 1st value exists, use it, else use 2nd value

Float Input : This value is used in the operation and can be on the left or right side of the operator depending on which Nrrd port is connected. If both nrrds ports are connected, this value will be ignored.

Type : type to convert all input nrrds to prior to doing the operation. To leave it unchanged, check the 'Same as input type' checkbutton.



Frequently Asked Questions


Known Bugs


Recent Changes


Go back to Documentation:SCIRun:Reference:Teem

Personal tools