What does the widget do with the Bits Per Pixel property? Does it use this to set the maximum intensity value? If so can you also manually change that? So for example if your camera is 12 bits, but you have low light and the maximum
intensity is not 4095 but only 200 can you change the grey scale level so that white is 200? In this case the actual Bits Per Pixel is only 8 even though the camera might produce 12 under higher light.
areaDetector does not have a Bits Per Pixel PV. It does have DataType_RBV, for which the choices are:
field(SCAN, "I/O Intr")
You could implement a BitsPerPixel record using the DataType_RBV record to give you 8, 16, or 32. But it will not know if UInt16 data is really 10, 12, 14, or 16 bits.
I think the concept of bits per pixel is hard to implement within areaDetector. For example how should bits per pixel be handled by a plugin that does background subtraction, flat field normalization, ROI binning with summation, etc?
From: email@example.com [mailto:firstname.lastname@example.org]
On Behalf Of Hugo Slepicka
Sent: Tuesday, November 28, 2017 12:42 PM
Subject: EDM Hoff Video Widget and Bits Per Pixel
I have a EDM screen using the Hoff Video widget to display images from an areaDetector Image Plugin, so far it is working great.
Is it possible to associate a PV with the "Bits Per Pixel" property of this widget?
Here is a screenshot of the properties window for this widget.