You are here: Start » AVL.NET » AVL.CropHistogram Method
AVL.CropHistogram Method
Confines a histogram to its continuous segment.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void CropHistogram( AvlNet.Histogram inHistogram, int inStart, int inLength, out 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
Error type | Description |
---|---|
DomainError | Selected index range exceeds the input histogram in CropHistogram. |