A histogram class ultimately used to calculate a window center and width for monochrome images.
Inheritance Hierarchy
LaurelBridge.DCFExamples.BitmapToNdeHistogram
Namespace: LaurelBridge.DCFExamples.BitmapToNde
Assembly: BitmapToNde (in BitmapToNde.exe) Version: DCF34 r12431 DCF_3_4_38_20200923 NetFramework
Syntax
C#
public class Histogram
The Histogram type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Histogram |
Construct histogram.
|
Properties
Name | Description | |
---|---|---|
![]() | BlackIsZero |
Black is zero flag.
|
![]() | Item |
Indexer returns the count of values for the specified pixelValue.
|
![]() | Start |
Lowest pixel value.
|
![]() | Total |
Sum of all counts in all indices.
|
![]() | Width |
Number of indices in histogram.
|
Methods
Name | Description | |
---|---|---|
![]() | CalculateWindowCenter |
Poor man's window/level algorithm that hasn't been patented... yet.
Ignore some of the lowest and highest values in attempt to bracket images with low contrast.
|
![]() | Observe |
Increment the observed count for the specified pixelValue, and the Total of all observations.
|
See Also