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 1 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: