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

class is responsible for showing the watershed/graphcut segmentation window, available from MIB->Menu->Tools->Watershed/Graphcut segmentation More...

Inheritance diagram for mibWatershedController:
Collaboration diagram for mibWatershedController:

Public Member Functions

 mibWatershedController (mibModel)
 
function  closeWindow ()
 closing mibWatershedController window
 
function  updateWidgets ()
 update all widgets of the current window
 
function  updateMaterialsBtn_Callback ()
 callback for the update Materials button
 
function  aspectRatio_Callback ()
 callback for edit of aspect ratio edit boxes
 
function status = clearPreprocessBtn_Callback ()
 callback for press of clearPreprocessBtn; clear the preprocessed data
 
function  mode2dRadio_Callback (hObject)
 callback for selection of the segmentation mode
 
function  eigenSigmaEdit_Callback ()
 callback for change of eigenSigmaEdit
 
function  checkDimensions (hObject)
 check entered dimensions for the dataset to precess
 
function  resetDimsBtn_Callback ()
 callback for resetDimsBtn - reset edit boxes with dataset dimensions
 
function  currentViewBtn_Callback ()
 callback for press of currentViewBtn; defines dataset from the current view
 
function  subAreaFromSelectionBtn_Callback ()
 callback for press of subAreaFromSelectionBtn; select subArea from the current selection layer
 
function  binSubareaEdit_Callback (hObject)
 callback for selection of subarea for segmentation
 
function  preprocessBtn_Callback ()
 callback for press of preprocessBtn; preprocess images for segmentation
 
function  watershedBtn_Callback ()
 callback for press watershedBtn; start segmentation
 
function  doImageSegmentation ()
 make image segmentation using standard watershed
 
function  importBtn_Callback ()
 callback for press of importBtn - import the graphcut structure
 

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
 
 preprocImg
 a variable with the preprocessed image
 
 mode
 a mode to use: mode2dCurrentRadio
 
 timerElapsed
 a variable to keep the elapsed time, when the elapsed time shorter than the timerElapsedMax the waitbar is not shown
 
 timerElapsedMax
 when the segmentation is longer that this number, the waitbar is displayed
 
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 watershed/graphcut segmentation window, available from MIB->Menu->Tools->Watershed/Graphcut segmentation

Constructor & Destructor Documentation

◆ mibWatershedController()

mibWatershedController.mibWatershedController ( mibModel)

References handle.addlistener, mibModel, mibRescaleWidgets(), and mibUpdateFontSize().

Here is the call graph for this function:

Member Function Documentation

◆ aspectRatio_Callback()

function mibWatershedController.aspectRatio_Callback ( )

callback for edit of aspect ratio edit boxes

References min.

◆ binSubareaEdit_Callback()

function mibWatershedController.binSubareaEdit_Callback ( hObject)

callback for selection of subarea for segmentation

Parameters
hObjecthandle to the object
Required fields of hObject:

References min.

◆ checkDimensions()

function mibWatershedController.checkDimensions ( hObject)

check entered dimensions for the dataset to precess

Parameters
hObjecthandle on the selected object
Required fields of hObject:

References max, and min.

◆ clearPreprocessBtn_Callback()

function status = mibWatershedController.clearPreprocessBtn_Callback ( )

callback for press of clearPreprocessBtn; clear the preprocessed data

◆ closeWindow()

function mibWatershedController.closeWindow ( )

closing mibWatershedController window

References handle.isvalid, and handle.notify.

◆ currentViewBtn_Callback()

function mibWatershedController.currentViewBtn_Callback ( )

callback for press of currentViewBtn; defines dataset from the current view

◆ doImageSegmentation()

function mibWatershedController.doImageSegmentation ( )

make image segmentation using standard watershed

References max, mibResize3d(), and min.

Here is the call graph for this function:

◆ eigenSigmaEdit_Callback()

function mibWatershedController.eigenSigmaEdit_Callback ( )

callback for change of eigenSigmaEdit

◆ importBtn_Callback()

function mibWatershedController.importBtn_Callback ( )

callback for press of importBtn - import the graphcut structure

References max, mibInputDlg(), mibResize3d(), and min.

Here is the call graph for this function:

◆ mode2dRadio_Callback()

function mibWatershedController.mode2dRadio_Callback ( hObject)

callback for selection of the segmentation mode

Parameters
hObjecta handle to the selected radio button
  • mode2dCurrentRadio
  • mode2dRadio
  • mode3dRadio
  • mode3dGridRadio
Required fields of hObject:

◆ preprocessBtn_Callback()

function mibWatershedController.preprocessBtn_Callback ( )

callback for press of preprocessBtn; preprocess images for segmentation

References eig2image(), eig3volume(), Hessian2D(), Hessian3D(), max, mibResize3d(), min, and handle.notify.

Here is the call graph for this function:

◆ resetDimsBtn_Callback()

function mibWatershedController.resetDimsBtn_Callback ( )

callback for resetDimsBtn - reset edit boxes with dataset dimensions

◆ subAreaFromSelectionBtn_Callback()

function mibWatershedController.subAreaFromSelectionBtn_Callback ( )

callback for press of subAreaFromSelectionBtn; select subArea from the current selection layer

◆ updateMaterialsBtn_Callback()

function mibWatershedController.updateMaterialsBtn_Callback ( )

callback for the update Materials button

◆ updateWidgets()

function mibWatershedController.updateWidgets ( )

update all widgets of the current window

References min.

◆ ViewListner_Callback2()

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

◆ watershedBtn_Callback()

function mibWatershedController.watershedBtn_Callback ( )

callback for press watershedBtn; start segmentation

References handle.notify.

Member Data Documentation

◆ closeEvent

EVENT mibWatershedController.closeEvent

> Description of events event firing when window is closed

Events
closeEvent

◆ listener

mibWatershedController.listener

a cell array with handles to listeners

◆ mibModel

mibWatershedController.mibModel

handles to the model

Referenced by mibWatershedController().

◆ mode

mibWatershedController.mode

a mode to use: mode2dCurrentRadio

◆ preprocImg

mibWatershedController.preprocImg

a variable with the preprocessed image

◆ timerElapsed

mibWatershedController.timerElapsed

a variable to keep the elapsed time, when the elapsed time shorter than the timerElapsedMax the waitbar is not shown

◆ timerElapsedMax

mibWatershedController.timerElapsedMax

when the segmentation is longer that this number, the waitbar is displayed

◆ View

mibWatershedController.View

handle to the view


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