Histogram#

class deapi.Histogram(min: float = 0.0, max: float = 0.0, upper_most_local_maxima: int = 0, bins: int = 256, data=None)#

Bases: object

Class to hold the histogram data from an image acquisition

Parameters:
  • min (float, optional) – minimum histogram value, if min and max is set to the same value, or in trial of gain acquisition mode, the server will determine this value.

  • max (float, optional) – maximum histogram value, if min and max is set to the same value, or in trial of gain acquisition mode, the server will determine this value.

  • upper_most_local_maxima (int, optional) – upper local max histogram value

  • bins (int, optional) – number of bins requested, 0 means histogram data is not requested

  • data (list, optional) – buffer containing histogram data

Methods

Examples using Histogram#

Viewing Sensor Data During Acquisition

Viewing Sensor Data During Acquisition

Creating a Custom Virtual Mask

Creating a Custom Virtual Mask

Virtual Dark/Bright Field (VDF/VBF) Imaging

Virtual Dark/Bright Field (VDF/VBF) Imaging