BinningCC( useGUI );
boolean useGUI |
True to launch the binning controller configuration
parameter window; false to run without using a windowed interface. |
owl.CCParams.CCScriptFrame (useGUI=true) or BinningCC Object (useGUI=false)
METHOD |
DESCRIPTION |
void setFactors( int rowFactor, int colFactor ) |
Sets the row and column binning factors. Example: setFactors( 2, 2 )
sets the binning to 2x2. |
void run() |
Starts sending the command to the controller. For use with
[useGUI = false] only. |
void show() |
Call to show the graphical user interface. For use with
[useGUI = true ] only. |
void destroy() |
Closes and disposes of the graphical user interface. Call
to exit. For use with [useGUI = true] only. |
Allows binning parameters to be set on the controller. Can
be run with or without a graphical user interface. The
controller must support binning for this class to function.
To run with a graphical user interface:
BinningCC( true ).show();
or
s = BinningCC( true );
s.show();
To run without a user interface:
s = BinningCC( false );
s.setFactors( 2, 3 ); // Set binning to 2x3
s.run();