You are here: Start » FIL.NET » FIL.CropHistogram
Confines a histogram to its continuous segment.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void CropHistogram ( FilNet.Histogram inHistogram, int inStart, int inLength, FilNet.Histogram outHistogram )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inHistogram | FilNet.Histogram | Input histogram. | ||
![]() | inStart | int | <0, INF> | Index of the first element of the input histogram that will be included in the output histogram. | |
![]() | inLength | int | <0, INF> | Number of bins in the output histogram. | |
![]() | outHistogram | FilNet.Histogram | Output histogram. |
Description
Operation crops histogram to bins which are enclosed in inLength bins beginning from inStart bin.
Examples
![]() |
![]() |
CropHistogram performed on the sample histogram with inStart = 15, inLength = 65.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Selected index range exceeds the input histogram in CropHistogram. |