cubefunc
This program will apply a chosen function to the input cube
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)
Categories
Related Objects and Documents
Applications
History
| 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 |
Parameters
Files
| Type | cube |
|---|---|
| File Mode | input |
| Filter | *.cub |
| Type | cube |
|---|---|
| File Mode | output |
| Pixel Type | real |
| Filter | *.cub |
Functions
| Type | string | |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Default | COS | |||||||||||||||||||||||||||||||||||||||||||||
| Option List: |
|
Constants
| Type | double |
|---|
Example 1
X to Y
Command Line
cubefunc fr=../IN/9700r.cub t=OUT/cubefunc fu=xtoy y=3
GUI Screenshot
Example Gui
Cubefunc GuiScreenshot of GUI with parameters filled in to perform a cubefunc operation on the input image.
Input Image
Input image for cubefunc
Input Io image
Parameter Name:
FROM
This is the input image for the cubefunc example.

