LAUREL BRIDGE

Histogram Class

DICOM Connectivity Framework V3.4
A histogram class ultimately used to calculate a window center and width for monochrome images.
Inheritance Hierarchy

SystemObject
  LaurelBridge.DCF.Examples.BitmapToDicomHistogram

Namespace:  LaurelBridge.DCF.Examples.BitmapToDicom
Assembly:  BitmapToDicom (in BitmapToDicom.exe) Version: DCF34 r10560 DCF_3_4_10
Syntax

C#
public class Histogram

The Histogram type exposes the following members.

Constructors

  NameDescription
Public methodHistogram
Construct histogram.
Top
Properties

  NameDescription
Public propertyBlackIsZero
Black is zero flag.
Public propertyItem
Indexer returns the count of values for the specified pixelValue.
Public propertyStart
Lowest pixel value.
Public propertyTotal
Sum of all counts in all indices.
Public propertyWidth
Number of indices in histogram.
Top
Methods

  NameDescription
Public methodCalculateWindowCenter
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.
Public methodObserve
Increment the observed count for the specified pixelValue, and the Total of all observations.
Top
See Also

Reference