Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
mibImageArithmeticController Class Reference

This class drives image arithmetic tools of MIB using these tools it is possible to do custom arithmetic operations with one or several open datasets It is available from MIB->Menu->Image->Tools for Images->Image arithmetic This tool can be started from mibController as. More...

Inheritance diagram for mibImageArithmeticController:
Collaboration diagram for mibImageArithmeticController:

Public Member Functions

 mibImageArithmeticController (mibModel, varargin)
 
function  closeWindow ()
 closing mibImageArithmeticController window
 
function  returnBatchOpt (BatchOptOut)
 return structure with Batch Options and possible configurations Parameters: BatchOptOut: a local structure with Batch Options generated during Continue callback. It may contain more fields than obj.BatchOpt structure
 
function  updateBatchOptFromGUI (hObject)
 
function  updateWidgets ()
 update widgets of this window
 
function  prevExpPopup_Callback ()
 
function  runExpressionBtn_Callback ()
 ---------------------------------------------------------------— % Additional functions and callbacks start arithmetics
 

Static Public Member Functions

static function  ViewListner_Callback2 (obj, src, evnt)
 

Public Attributes

 mibModel
 handles to the model
 
 View
 handle to the view
 
 listener
 a cell array with handles to listeners
 
 BatchOpt
 a structure compatible with batch operation .showWaitbar - a logical, 1 - show, 0 - do not show the waitbar, [default = 1] .Expression - a string with an expression to evaluate, [default = A = A*2]
 
EVENT closeEvent
 > Description of events event firing when window is closed
 
- Public Attributes inherited from handle
 addlistener
 Creates a listener for the specified event and assigns a callback function to execute when the event occurs.
 
 notify
 Broadcast a notice that a specific event is occurring on a specified handle object or array of handle objects.
 
 delete
 Handle object destructor method that is called when the object's lifecycle ends.
 
 disp
 Handle object disp method which is called by the display method. See the MATLAB disp function.
 
 display
 Handle object display method called when MATLAB software interprets an expression returning a handle object that is not terminated by a semicolon. See the MATLAB display function.
 
 findobj
 Finds objects matching the specified conditions from the input array of handle objects.
 
 findprop
 Returns a meta.property objects associated with the specified property name.
 
 fields
 Returns a cell array of string containing the names of public properties.
 
 fieldnames
 Returns a cell array of string containing the names of public properties. See the MATLAB fieldnames function.
 
 isvalid
 Returns a logical array in which elements are true if the corresponding elements in the input array are valid handles. This method is Sealed so you cannot override it in a handle subclass.
 
 eq
 Relational functions example. See details for more information.
 
 transpose
 Transposes the elements of the handle object array.
 
 permute
 Rearranges the dimensions of the handle object array. See the MATLAB permute function.
 
 reshape
 hanges the dimensions of the handle object array to the specified dimensions. See the MATLAB reshape function.
 
 sort
 ort the handle objects in any array in ascending or descending order.
 

Detailed Description

This class drives image arithmetic tools of MIB using these tools it is possible to do custom arithmetic operations with one or several open datasets It is available from MIB->Menu->Image->Tools for Images->Image arithmetic This tool can be started from mibController as.

obj.startController('mibImageArithmeticController'); // as GUI tool

or

BatchOpt.showWaitbar = true; // show or not the waitbar
BatchOpt.Expression = 'A = A*2'; // expression to evaluate
obj.startController('mibImageArithmeticController', [], BatchOpt); // start mibImageArithmeticController in the headless mode
BatchOpt
a structure compatible with batch operation .showWaitbar - a logical, 1 - show, 0 - do not show the w...
Definition mibImageArithmeticController.m:66

or

// trigger return of the possible Options using returnBatchOpt function
// using notify syncBatch event
obj.startController('mibImageArithmeticController', [], NaN);

Constructor & Destructor Documentation

◆ mibImageArithmeticController()

mibImageArithmeticController.mibImageArithmeticController ( mibModel,
varargin )

Member Function Documentation

◆ closeWindow()

function mibImageArithmeticController.closeWindow ( )

◆ prevExpPopup_Callback()

function mibImageArithmeticController.prevExpPopup_Callback ( )

◆ returnBatchOpt()

function mibImageArithmeticController.returnBatchOpt ( BatchOptOut)

return structure with Batch Options and possible configurations Parameters: BatchOptOut: a local structure with Batch Options generated during Continue callback. It may contain more fields than obj.BatchOpt structure

References handle.notify.

◆ runExpressionBtn_Callback()

function mibImageArithmeticController.runExpressionBtn_Callback ( )

---------------------------------------------------------------— % Additional functions and callbacks start arithmetics

References handle.notify.

◆ updateBatchOptFromGUI()

function mibImageArithmeticController.updateBatchOptFromGUI ( hObject)

References updateBatchOptFromGUI_Shared().

Here is the call graph for this function:

◆ updateWidgets()

function mibImageArithmeticController.updateWidgets ( )

update widgets of this window

◆ ViewListner_Callback2()

static function mibImageArithmeticController.ViewListner_Callback2 ( obj,
src,
evnt )
static

Member Data Documentation

◆ BatchOpt

mibImageArithmeticController.BatchOpt

a structure compatible with batch operation .showWaitbar - a logical, 1 - show, 0 - do not show the waitbar, [default = 1] .Expression - a string with an expression to evaluate, [default = A = A*2]

◆ closeEvent

EVENT mibImageArithmeticController.closeEvent

> Description of events event firing when window is closed

Events
closeEvent

◆ listener

mibImageArithmeticController.listener

a cell array with handles to listeners

◆ mibModel

mibImageArithmeticController.mibModel

handles to the model

Referenced by mibImageArithmeticController().

◆ View

mibImageArithmeticController.View

handle to the view


The documentation for this class was generated from the following file: