field size - Provide field dimensions as parameters
Name
field size - Provide field dimensions as parameters
Author
INFORMATION
John Tee
AVS Inc. Consultant
17 Dawnay Road, Great Bookham, Leatherhead, Surrey KT23 4PE, UK
Tel/Fax (+44) 0372 459214
Summary
Name field size
Type Mapper
Inputs input - field
Outputs integer - X dimension
integer - Y dimension
integer - Z dimension
Parameters
Name Type Default Min/Max
X scale float 1 0 to 1
Y scale float 1 0 to 1
Z scale float 1 0 to 1
Description
FIELD SIZE returns the dimensions of a field as integer parameters.
It allows each of these parameters to be scaled by its own scale factor.
FIELD SIZE is used to limit the range of parameters such as cropping
limits to a proportion of the size of a field.
Inputs
input - field
Outputs
X dimension - float
Y dimension - float
Z dimension - float
Parameters
X scale
Applies a scale factor to the value output from the X dimension port.
Y scale
Applies a scale factor to the value output from the Y dimension port.
Z scale
Applies a scale factor to the value output from the Z dimension port.
Example
This network allows the upper limit of cropping to be set to a
chosen proportion of the image dimension by adjusting the X scale and
Y scale parameters of FIELD SIZE.
READ IMAGE
|
FIELD SIZE
(X) (Y)
| |
(X max) (Y max)
CROP
|
IMAGE VIEWER
SOURCE FILE: field_size.c
See also
Limitations