 | CRPSWindowSpectrumToChannel Method |
Window radiometric data channel on a line in a database
Namespace:
Geosoft.Desktop.GXNetX
Assembly:
geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.2.0.42
Syntaxpublic static void WindowSpectrumToChannel(
CGXNETCore gxNetShared,
CDB db,
int line,
int spectral_data,
double start_window,
double end_window,
int output_channel,
string channel_description
)
public static void WindowSpectrumToChannel(
CGXNETCore gxNetShared,
CDB db,
int line,
int spectral_data,
double start_window,
double end_window,
int output_channel,
string channel_description
)
Public Shared Sub WindowSpectrumToChannel (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
spectral_data As Integer,
start_window As Double,
end_window As Double,
output_channel As Integer,
channel_description As String
)
Public Shared Sub WindowSpectrumToChannel (
gxNetShared As CGXNETCore,
db As CDB,
line As Integer,
spectral_data As Integer,
start_window As Double,
end_window As Double,
output_channel As Integer,
channel_description As String
)
public:
static void WindowSpectrumToChannel(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
int spectral_data,
double start_window,
double end_window,
int output_channel,
String^ channel_description
)
public:
static void WindowSpectrumToChannel(
CGXNETCore^ gxNetShared,
CDB^ db,
int line,
int spectral_data,
double start_window,
double end_window,
int output_channel,
String^ channel_description
)
static member WindowSpectrumToChannel :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
spectral_data : int *
start_window : float *
end_window : float *
output_channel : int *
channel_description : string -> unit
static member WindowSpectrumToChannel :
gxNetShared : CGXNETCore *
db : CDB *
line : int *
spectral_data : int *
start_window : float *
end_window : float *
output_channel : int *
channel_description : string -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - db
- Type: GeoEngine.Core.GXNetXCDB
DB Object - line
- Type: SystemInt32
Line to process (NULLSYMB for all selected lines) - spectral_data
- Type: SystemInt32
Spectral data channel handle (READONLY) - start_window
- Type: SystemDouble
Starting fractional window index (0 to N) - end_window
- Type: SystemDouble
Ending fractional window index (0 to N), >= Starting window - output_channel
- Type: SystemInt32
Output channel handle (READWRITE) - channel_description
- Type: SystemString
Output channel description for output/errors etc
Remarks
The average value of the windows in the given fractional index range is
written to the specified output channel.
For instance, if you specified 0.5 to 1.5, then half values in the first
window would be added to half the values in the second window. To specify
a single window 'i' you need to specify the range i to i+1.
Ref: See the RPSWINDOW.GXC file for details and implementation of the algorithm.
See Also