thm.rectify
m (Thm.rectify moved to thm.rectify) |
|||
Line 34: | Line 34: | ||
}} | }} | ||
− | [[category: | + | [[category:Functions]] |
[[category:THEMIS Science]] | [[category:THEMIS Science]] | ||
− | [[category: | + | [[category:Modules]] |
Revision as of 17:09, 3 March 2006
Contents: Description, Arguments, Usage, Examples, Images, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: Yes
Description Rotates and slants a geometrically projected THEMIS cube to minimize the black space and prepare the data for thm.deplaid. The image is first rotated to make a designated line of the image parallel with the x axis and then the left edge of the data is pixel shifted over to the y axis. This results in some reversible spatial distortion depending on the projection. This process is reversed with thm.reconstitute. Located in "thm" module
Arguments and Return Values Input: geometrically projected THEMIS cubes of at most 10 bands of type byte, short, int or float. Output: a davinci structure containing the elements angle, leftedge and data
Usage Syntax: thm.rectify(obj,ignore,trust,force) obj - a geometrically projected THEMIS cube ignore - the value in non-data pixels of the projected cube. Default is -3.402822655e+38. trust - location in the image the angle should be determined. 0 = top, 1 = bottom, .25 = 25 percent down the image, etc. Default is 0 (top). force - forces rectify() to use an ignore value even if it complains. Default is 0. TROUBLESHOOTING The ignore value will ALWAYS be set to -32768 when rectifying! Rectify checks for appropriate ignore value before running. You can override ignore value warning by setting force = 1
Examples b = thm.rectify(obj=a) b = thm.rectify(a) b = thm.rectify(obj=a,ignore=0,trust=2,force=1)
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Core Changes Modified On: 01-16-2013 |