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

class is responsible for showing the dataset adjustment window, available from MIB->View settings panel->Display More...

Inheritance diagram for mibImageAdjController:
Collaboration diagram for mibImageAdjController:

Public Member Functions

 mibImageAdjController (mibModel, varargin)
 
function  closeWindow ()
 closing mibImageAdjController window
 
function  returnBatchOpt (BatchOptOut)
 return structure with Batch Options and possible configurations via the notify syncBatch event Parameters: BatchOptOut: a local structure with Batch Options generated during Continue callback. It may contain more fields than obj.BatchOpt structure
 
function  updateWidgets (colorChannelSelection)
 update widgets of the window
 
function  colorChannelCombo_Callback ()
 a callback for selection in obj.View.handles.colorChannelCombo of a new color channel
 
function  minSlider_Callback ()
 a callback for obj.View.handles.minSlider
 
function  minEdit_Callback ()
 a callback for update of obj.View.handles.minEdit
 
function  maxSlider_Callback ()
 a callback for obj.View.handles.maxSlider update
 
function  maxEdit_Callback ()
 a callback for obj.View.handles.maxEdit update
 
function  gammaSlider_Callback ()
 a callback for obj.View.handles.gammaSlider update
 
function  gammaEdit_Callback ()
 a callback for obj.View.handles.gammaEdit update
 
function  mibImageAdjustmentGUI_WindowButtonDownFcn ()
 — Executes on mouse press over figure background, over a disabled or — inactive control, or over an axes background.
 
function minval = findMinBtn_Callback (colorCh, threshold)
 — Executes on button press in findMinBtn. minval = findMinBtn_Callback(obj, colorCh) a callback for obj.View.handles.findMinBtn update; find a minimal intensity point for the dataset
 
function maxval = findMaxBtn_Callback (colorCh, threshold)
 — Executes on button press in findMaxBtn. maxval = findMaxBtn_Callback(obj, colorCh) a callback for obj.View.handles.findMaxBtn update; find a maximal intensity point for the dataset
 
function  minSlider_ButtonDownFcn ()
 a callback for button press over obj.View.handles.minSlider
 
function  maxSlider_ButtonDownFcn ()
 a callback for button press over obj.View.handles.maxSlider
 
function  updateSettings ()
 update min, max, and gamma fields of obj.mibModel.I{obj.mibModel.Id}.viewPort with parameters from sliders/editboxes
 
function  updateHist ()
 update image histogram
 
function  updateSliders ()
 update sliders in the window
 
function  adjHelpBtn_Callback ()
 
function  applyBtn_Callback ()
 — Executes on button press in applyBtn. a callback for press of obj.View.handles.applyBtn to recalculate intensities for the dataset
 
function  stretchCurrent_Callback ()
 — Executes on button press in stretchCurrent. a callback for press of obj.View.handles.stretchCurrent to recalculate intensities for the currently shown slice of the dataset
 
function  autoHistCheck_Callback ()
 

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, see more in the constructor
 
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

class is responsible for showing the dataset adjustment window, available from MIB->View settings panel->Display

Constructor & Destructor Documentation

◆ mibImageAdjController()

mibImageAdjController.mibImageAdjController ( mibModel,
varargin )

Member Function Documentation

◆ adjHelpBtn_Callback()

function mibImageAdjController.adjHelpBtn_Callback ( )

◆ applyBtn_Callback()

function mibImageAdjController.applyBtn_Callback ( )

— Executes on button press in applyBtn. a callback for press of obj.View.handles.applyBtn to recalculate intensities for the dataset

References handle.notify.

◆ autoHistCheck_Callback()

function mibImageAdjController.autoHistCheck_Callback ( )

◆ closeWindow()

function mibImageAdjController.closeWindow ( )

closing mibImageAdjController window

References handle.isvalid, and handle.notify.

◆ colorChannelCombo_Callback()

function mibImageAdjController.colorChannelCombo_Callback ( )

a callback for selection in obj.View.handles.colorChannelCombo of a new color channel

◆ findMaxBtn_Callback()

function maxval = mibImageAdjController.findMaxBtn_Callback ( colorCh,
threshold )

— Executes on button press in findMaxBtn. maxval = findMaxBtn_Callback(obj, colorCh) a callback for obj.View.handles.findMaxBtn update; find a maximal intensity point for the dataset

Parameters
colorChindices of color channels to obtain the min values
Return values
maxvalarray of all max values for colCh

References max, handle.notify, and handle.sort.

◆ findMinBtn_Callback()

function minval = mibImageAdjController.findMinBtn_Callback ( colorCh,
threshold )

— Executes on button press in findMinBtn. minval = findMinBtn_Callback(obj, colorCh) a callback for obj.View.handles.findMinBtn update; find a minimal intensity point for the dataset

Parameters
colorChindices of color channels to obtain the min values
Return values
minvalarray of all min values for colCh

References max, min, handle.notify, and handle.sort.

◆ gammaEdit_Callback()

function mibImageAdjController.gammaEdit_Callback ( )

a callback for obj.View.handles.gammaEdit update

◆ gammaSlider_Callback()

function mibImageAdjController.gammaSlider_Callback ( )

a callback for obj.View.handles.gammaSlider update

References handle.notify.

◆ maxEdit_Callback()

function mibImageAdjController.maxEdit_Callback ( )

a callback for obj.View.handles.maxEdit update

◆ maxSlider_ButtonDownFcn()

function mibImageAdjController.maxSlider_ButtonDownFcn ( )

a callback for button press over obj.View.handles.maxSlider

◆ maxSlider_Callback()

function mibImageAdjController.maxSlider_Callback ( )

a callback for obj.View.handles.maxSlider update

References handle.notify.

◆ mibImageAdjustmentGUI_WindowButtonDownFcn()

function mibImageAdjController.mibImageAdjustmentGUI_WindowButtonDownFcn ( )

— Executes on mouse press over figure background, over a disabled or — inactive control, or over an axes background.

◆ minEdit_Callback()

function mibImageAdjController.minEdit_Callback ( )

a callback for update of obj.View.handles.minEdit

◆ minSlider_ButtonDownFcn()

function mibImageAdjController.minSlider_ButtonDownFcn ( )

a callback for button press over obj.View.handles.minSlider

◆ minSlider_Callback()

function mibImageAdjController.minSlider_Callback ( )

a callback for obj.View.handles.minSlider

References handle.notify.

◆ returnBatchOpt()

function mibImageAdjController.returnBatchOpt ( BatchOptOut)

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

References handle.notify.

◆ stretchCurrent_Callback()

function mibImageAdjController.stretchCurrent_Callback ( )

— Executes on button press in stretchCurrent. a callback for press of obj.View.handles.stretchCurrent to recalculate intensities for the currently shown slice of the dataset

References handle.notify.

◆ updateHist()

function mibImageAdjController.updateHist ( )

update image histogram

References max, and min.

◆ updateSettings()

function mibImageAdjController.updateSettings ( )

update min, max, and gamma fields of obj.mibModel.I{obj.mibModel.Id}.viewPort with parameters from sliders/editboxes

◆ updateSliders()

function mibImageAdjController.updateSliders ( )

update sliders in the window

◆ updateWidgets()

function mibImageAdjController.updateWidgets ( colorChannelSelection)

update widgets of the window

◆ ViewListner_Callback2()

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

Member Data Documentation

◆ BatchOpt

mibImageAdjController.BatchOpt

a structure compatible with batch operation, see more in the constructor

◆ closeEvent

EVENT mibImageAdjController.closeEvent

> Description of events event firing when window is closed

Events
closeEvent

◆ listener

mibImageAdjController.listener

a cell array with handles to listeners

◆ mibModel

mibImageAdjController.mibModel

handles to the model

Referenced by mibImageAdjController().

◆ View

mibImageAdjController.View

handle to the view


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