You are here: Start » FIL.NET » Function Reference » Histogram » Histogram Spatial Transforms » 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 inBinCount, 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. | |
![]() | inBinCount | 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 inBinCount bins beginning from inStart bin.
Examples
![]() |
![]() |
CropHistogram performed on the sample histogram with inStart = 15, inBinCount = 65.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Selected index range exceeds the input histogram in CropHistogram. |