#include <tcl.h>
#include <tk.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <sadie.h>
#include "tclsadie.h"
Go to the source code of this file.
Functions | |
int | Sadie_Tools_DestripeCmd (ClientData client_data, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
Destriping to remove systematic artefacts caused by detector variations. | |
int | Sadie_Tools_ContMapCmd (ClientData client_data, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
Generate a binary image showing contour lines from an input image. | |
int | Sadie_Tools_ReliefCmd (ClientData client_data, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
Generate a pseudo-relief image from a DEM or arbitrary image. | |
int | Sadie_Tools_ScatterCmd (ClientData client_data, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
A scattergram from the joint distribution of pixel values in two images. | |
int | Sadie_Tools_RMSCmd (ClientData client_data, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]) |
Compute the root-mean-square difference between two images. | |
int | Sadie_Tools_Init (Tcl_Interp *interp) |
Make the commands defined in this file accessible to the Tcl interpreter. |
Tcl/Tk interfaces to a collection of various utility functions in the SADIE library.
Definition in file Sadie_Tools.c.
|
Generate a binary image showing contour lines from an input image. Given an arbitrary input image, this draws a crude contour map of the pixel values as black and white areas on a new binary image, using the SADIE library function CONTOUR. The Tcl data should conform to the patterns:
Definition at line 127 of file Sadie_Tools.c. References GetSadieDoubleFromObj2(), GetSadieImageFromObj2(), GetSadieIntFromObj2(), and SetSadieImageObj2(). Referenced by Sadie_Tools_Init(). |
|
Destriping to remove systematic artefacts caused by detector variations.
The SADIE library function DESTRIPE provides several different options to remove the horizontal or vertical stripe artefacts that can appear on images acquired with a sensor that is composed of multiple physical detectors with slightly different physical characteristics. The file
The reference option can take the values
The Tcl data should conform to the patterns:
Definition at line 79 of file Sadie_Tools.c. References GetSadieImageFromObj2(), GetSadieIntFromObj2(), and SetSadieImageObj2(). Referenced by Sadie_Tools_Init(). |
|
Make the commands defined in this file accessible to the Tcl interpreter.
Definition at line 295 of file Sadie_Tools.c. References Sadie_Tools_ContMapCmd(), Sadie_Tools_DestripeCmd(), Sadie_Tools_ReliefCmd(), Sadie_Tools_RMSCmd(), and Sadie_Tools_ScatterCmd(). Referenced by Tcl_AppInit(). |
|
Generate a pseudo-relief image from a DEM or arbitrary image. This treats the input image (regardless of actual source) as a digital elevation model, and given some additional parameters for illumination geometry, generates a shaded relief image from it, using the SADIE library function RELIEF (for realistic relief, the input pixel values and the distance parameter should be in the same physical units). The Tcl data should conform to the patterns:
Definition at line 173 of file Sadie_Tools.c. References GetSadieDoubleFromObj2(), GetSadieImageFromObj2(), and SetSadieImageObj2(). Referenced by Sadie_Tools_Init(). |
|
Compute the root-mean-square difference between two images. Given a pair of images, we use the SADIE library function RMSDIFF to find the RMS difference between them (a single scalar value), and return this in the Tcl interpreter result.
Definition at line 266 of file Sadie_Tools.c. References GetSadieImageFromObj2(). Referenced by Sadie_Tools_Init(). |
|
A scattergram from the joint distribution of pixel values in two images. Given two bands from a multi-band image, or two images of equal size, we use the SADIE library function SCATTER to generate a scattergram from the values of pixels at corresponding locations. The Tcl data should conform to the patterns:
Definition at line 221 of file Sadie_Tools.c. References GetSadieImageFromObj2(), GetSadieUintFromObj2(), and SetSadieImageObj2(). Referenced by Sadie_Tools_Init(). |