Performs chosen trigonometric function on one or two input images.
Allows the user to perform the following trigonometric operations on an input image or images of any data type:
ARCSIN_ONE Takes the arc sine of each pixel of the input image. ARCSIN_TWO Takes the arc sine of the quotient of the two corresponding input image pixels. ARCCOS_ONE Takes the arc cosine of each pixel of the input image. ARCCOS_TWO Takes the arc cosine of the quotient of the two corresponding input image pixels. ARCTAN_ONE Takes the arc tangent of each pixel of the input image. ARCTAN_TWO Takes the arc tangent of the quotient of the two corresponding input image pixels.The output image is a real image of radian values.
- IN
- Input image. The input image may be any data type, BYTE, INTEGER*2, INTEGER*4, or REAL*4, but only pixel values between -1 and 1 will be used.
- OUT
- Output image. The REAL*4 image which will contain radian values from the trigonometric functions.
- IN
- Input images. The input images may be any data type, BYTE, INTEGER*2, INTEGER*4, or REAL*4. Both input images should be the same data type.
- OUT
- Output image. The REAL*4 image which will contain radian values from the trigonometric functions. The image will contain one band for each band pair specified in IN.
- PIXVAL(1.)
- Pixel value. The pixel value to be placed in the output image when the pixel values in both input images equal zero or when the pixel value in the second image equals zero.
- IN
- Input image. The input image may be any data type, BYTE, INTEGER*2, INTEGER*4, or REAL*4, but only pixel values between -1 and 1 will be used.
- OUT
- Output image. The REAL*4 image which will contain radian values from the trigonometric functions.
- IN
- Input images. The input images may be any data type, BYTE, INTEGER*2, INTEGER*4, or REAL*4. Both input images should be the same data type.
- OUT
- Output image. The REAL*4 image which will contain radian values from the trigonometric functions. The image will contain one band for each band pair specified in IN.
- PIXVAL(1.)
- Pixel value. The pixel value to be placed in the output image when the pixel values in both input images equal zero or when the pixel value in the second image equals zero.
- IN
- Input image. The input image may be any data type, BYTE, INTEGER*2, INTEGER*4, or REAL*4.
- OUT
- Output image. The REAL*4 image which will contain radian values from the trigonometric functions.
- IN
- Input images. The input images may be any data type, BYTE, INTEGER*2, INTEGER*4, or REAL*4.
- OUT
- Output image. The REAL*4 image which will contain radian values from the trigonometric functions. The image will contain one band for each band pair specified in IN.
- PIXVAL(4.)
- Pixel value. The pixel value to be placed in the output image when the pixel values in both input images equal zero or when the pixel value in the second image equals zero.
The arc sine function is applied to each input image pixel in the window specified for image A. If the given pixel is less than -1 or greater than 1, an error is noted. If no error occurs, the resulting calculated image pixels are placed in output image C.
The arc sine function is applied to the quotient of the corresponding pixels from input images A and B which lie within the specified image windows. If both of the pixels are zero or the pixel value in image B is zero, the specified PIXVAL value is used for the result. If the calculated quotient was less than -1 or greater than 1, an error is noted. If no error occurs, the calculated asin value is placed in output image C.
The arc cosine is applied to each input image pixel in the window specified for image A. If the given pixel is less than -1 or greater than 1, an error is noted. If no error occurs, the resulting calculated image pixels are placed in output image C.
The arc cosine function is applied to the quotient of the corresponding pixels from input images A and B which lie within the specified image window. If both of the pixels are zero or the pixel value in image B is zero, the specified PIXVAL value is used for the result. If the calculated quotient was less than -1 or greater than 1, an error is noted. If no error occurs, the calculated acos value is placed in the output image C.
The arc tangent is applied to each input image pixel in the window specified for image A. The resulting calculated image pixels are placed in the output image C.
The arc tangent is applied to the quotient of the corresponding pixels from input images A and B which lie within the specified image window. If both of the pixels are zero or the pixel value in image B is zero, the specified PIXVAL value is used for the result. The calculated atan value is placed in output image C.
TRIG has six options within it to perform various trigonometric operations with image pixels. Each one generates an image on a pixel-by-pixel basis for all bands in the input image. In the one image case, the input image will be used in the calculation of:
out = afn(x) where out is the output image pixel value (in radians) afn is the trigonometric function requested, and x is the pixel value from the input image.For -ARCSIN_ONE and -ARCCOS_ONE, the input pixel values should be in the range of -1 to 1. If the values are outside this range, an error is reported, the negative values are reset to -1, and the positive values are reset to 1.
In the two image case, the pixels from the first image will serve as the numerator and the pixels from the second image will serve as the denominator in the calculation of:
out = afn(rt/rt2) where out is the output image pixel value (in radians), afn is the requested trigonometric function, rt is the pixel value from the first image, and rt2 is the pixel value from the second image.For -ARCSIN_TWO and -ARCCOS_TWO, the quotient of rt/rt2 should be in the range of -1 to 1. If the values are outside this range, an error is reported, the negative values are reset to -1, and the positive values are reset to 1.
If both of the pixels are zero or the pixel value in the second image is zero, the specified PIXVAL value is used for the result.
For an actual run the given band and number of invalid
values would be listed.
An error was encountered while trying to close a file. Contact the system manager when this error occurs.
The program executed successfully but some problem occurred in the calculation of MIN-MAX values. You should contact your local LAS system manager.
The program executed successfully but some problem occurred in the saving of the MIN-MAX values. You should contact your local LAS system manager.
A nonfatal error was encountered during processing. The message that is displayed immediately preceding this message is the specific error that was encountered from a library routine. Processing continues.
An error occurred while trying to dynamically allocate buffer space. Contact the system manager when this error occurs.
You cannot run any of the _TWO subcommands with images that have a different number of input bands.
This is most likely a LAS system problem. Contact your local LAS system manager.
The file itself may have some type of error or the access unit, (the disk), may have some internal problem. Contact your local LAS system manager.
Check that you have read privileges for the image. Another user may concurrently accessing it which would lock out your access. If neither of these possibilities exists, contact your local LAS system manager.
Check that you have read privileges for the image. Another user may concurrently accessing it which would lock out your access. If neither of these possibilities exists, contact your local LAS system manager.
You may not have enough disk space to store the file. If this is not the problem, contact your local LAS system manager.
The number of samples of the two input images must be the same.
The number of lines of the two input images must be the same.
A fatal error was encountered during processing. The error message that is displayed immediately preceding this message is the specific error that was encountered.
An error was encountered while trying to group the file. Contact the system manager when this error occurs.