ISIS 3 Application Documentation
cubefunc | Standard View | TOC | Home |
This program will apply a chosen function to the input cube
Description
Categories
Groups
Examples
History
Things To Do
FUNCTION RESTRICTIONS
cos (x)
sin (x)
tan (x) x cannot equal: 90, 270, -90, -270,
pi/2, 3pi/2, -pi/2, -3pi/2
arccos(x) -1.0 < x < 1.0
arcsin(x) -1.0 < x < 1.0
arctan(x)
1.0 / x x cannot equal 0.
sqrt (x) x must be greater than or equal to 0.
10 ^ x
e ^ x
x ^ y x is the input cube, y is an input constant
log (x) x > 0
ln (x) x > 0
abs(x)
| Name | Description |
|---|---|
| FROM | Input file (X value) |
| TO | Output file |
| Name | Description |
|---|---|
| FUNCTION | Function to apply to input cube |
| Name | Description |
|---|---|
| Y | y value for XTOY function |
Cube that is used as input to chosen function (x value). NOTE: For trig functions requiring angles, input must be in radians.
| Type | cube |
|---|---|
| File Mode | input |
| Filter | *.cub |
Cube containing the result of the function.
| Type | cube |
|---|---|
| File Mode | output |
| Pixel Type | real |
| Filter | *.cub |
This indicates the function to apply to the input cube.
| Type | string | |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Default | COS | |||||||||||||||||||||||||||||||||||||||||||||
| Option List: |
|
y value which is only used when FUNCTION=XTOY.
| Type | double |
|---|
X to Y
|
Cubefunc Gui
|
Example Gui Screenshot of GUI with parameters filled in to perform a cubefunc operation on the input image. |
|
Input Io image
|
Input image for cubefunc
Parameter Name:
FROM This is the input image for the cubefunc example. |
|
Output image showing results of cubefunc using the X to Y function.
|
Output image for cubefunc
Parameter Name:
TO This is the "X to Y" output image that results. |
| Tracie Sucharski | 2002-10-18 | Original version |
| Tracie Sucharski | 2002-10-29 | If input pixel is a special pixel, output the input value instead of the NULL value. |
| K Teal Thompson | 2002-11-22 | Add example. |
| Tracie Sucharski | 2003-01-28 | Removed from Utility category. |
| K Teal Thompson | 2003-02-03 | Make images smaller. Move "constants" group below "functions" group. |
| Tracie Sucharski | 2003-04-03 | Added to liens: 1. Add degree and radian radio buttons. 2. Move constants group below functions goup. |
| Stuart Sides | 2003-04-04 | Fixed problem with isiscvs not checking in the thumb and image directories. |
| Stuart Sides | 2003-05-16 | Modified schema location from astogeology... to isis.astrogeology..." |
| Stuart Sides | 2003-07-29 | Modified filename parameters to be cube parameters where necessary |
| Tracie Sucharski | 2004-07-16 | Add error checking for cos/sin function. Print number invalid input pixels. |
| Brendan George | 2006-09-28 | Documentation fixes |
| Brendan George | 2007-01-09 | Fixed appTest |
| Steven Lambright | 2007-08-21 | Fixed output to contain valid pvl |