28 #ifndef TRIALDISPLAY_WCPOWERSCALEHANDLER_H
29 #define TRIALDISPLAY_WCPOWERSCALEHANDLER_H
virtual casacore::Bool operator()(casacore::Array< casacore::uInt > &out, const casacore::Array< casacore::Bool > &in)
apply returns true if the array in was converted to the array out successfully the last parameter set...
static const casacore::String POWER_CYCLES
casacore::Bool histoEqualise(casacore::Array< casacore::Float > &out, const casacore::Array< casacore::Float > &in)
virtual ~WCPowerScaleHandler()
Destructor.
virtual casacore::Bool setOptions(casacore::Record &rec, casacore::Record &recOut)
apply options stored in val to the DisplayData; return value true means a refresh is needed...
casacore::Bool itsOptionsHistoEqualisation
Is histogram equalisation required?
void setCycles(casacore::Float cyc)
set/get the number of log cycles into which to compress the data
WCPowerScaleHandler()
Default Constructor Required.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
casacore::Float itsOptionsPowerCycles
Scaling power cycles: < 0 => log scaling, > 0 => exp scaling, == 0 => linear scaling.
virtual void setDefaultOptions()
install the default options for this DisplayData
virtual casacore::Record getOptions(bool scrub=false) const
retrieve the current and default options and parameter types.
String: the storage and methods of handling collections of characters.
Linear, logarithmic and exponential scaling of data for the WorldCanvas.
Class implementing simple data scaling for the WorldCanvas.