You are here: Start » AVL.NET » AVL.CropHistogram
Confines a histogram to its continuous segment.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CropHistogram ( AvlNet.Histogram inHistogram, int inStart, int inLength, AvlNet.Histogram outHistogram )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inHistogram | AvlNet.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 | AvlNet.Histogram | Output histogram. |
Description
Operation crops histogram to bins which are enclosed in inLength bins beginning from inStart bin.
Examples
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Selected index range exceeds the input histogram in CropHistogram. |