Program: CLIP Purpose: Blank values of input if they are outside range. Category: MANIPULATION File: clip.c Author: M. Vogelaar Keywords: INSET= Input set (and subsets). Maximum number of subsets is 2048. BOX= Frame for input subsets. [entire subset] OUTSET= Output set and subset(s) for the result. The number of output subsets is the same as the number of input subsets. RANGE= Give range of levels to TRANSFER: Input consists of two values. The first value may be greater than the second. See the description for the correct use of this keyword. ** CVAL= Specify value to replace clipped data [blank] ** BVAL= Give value to replace values outside box [blank] Description: Transfer pixels of the input set to an output set if their amplitude fall in a user given range. Replace other values by a blank or some other selected value. Examples of the use of the RANGE= keyword: RANGE=2, 5 (IF 2blank) RANGE=5, 2 (IF 2blank ELSE transfer) At the RANGE= keyword, the values -INF and INF can be input also. These values represent the minimum and maximum values of the current system. RANGE=5, INF (IF value>5 THEN transfer ELSE value==>blank) Updates: Mar 2, 1990: MV, Document created. Mar 21, 1991: MV, Rewritten in C.