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

class is responsible for showing the Membrane Detection window, available from MIB->Menu->Tools->Classifiers->Membrane detections More...

Inheritance diagram for mibMembraneDetectionController:
Collaboration diagram for mibMembraneDetectionController:

Public Member Functions

 mibMembraneDetectionController (mibModel, parameter)
 
function  closeWindow ()
 closing mibMembraneDetectionController window
 
function  updateWidgets ()
 update widgets of this window
 
function  tempDirEdit_Callback ()
 callback for selection of the output directory
 
function  tempDirSelectBtn_Callback ()
 callback for selection of the output directory
 
function  classifierFilenameEdit_Callback ()
 callback for selection of the classifier filename
 
function  classifierFilenameBtn_Callback ()
 callback for selection of the classifier filename
 
function  updateLoglist (addText)
 update the log list with status events reported by the function
 
function  wipeTempDirBtn_Callback ()
 callback for press wipeTempDirBtn; wipe temp directory
 
function  trainClassifierBtn_Callback ()
 callback for press of trainClassifierBtn
 
function  predictSlice_Callback ()
 callback for predictSlice; predict the current slice
 
function  saveClassifierBtn_Callback ()
 callback for press of saveClassifierBtn; save classifier to disk
 
function  trainClassifier ()
 train random forest based on skript_trainClassifier_for_membraneDetection.m by Verena Kaynig
 
function  predictDataset (sliceNumber)
 predict dataset using the random forest classifier
 

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
 
 classFilename
 filename for classifier
 
 dirOut
 output directory
 
 maxNumberOfSamplesPerClass
 max Number Of Samples Per Class
 
 forest
 structure with classifier info
 
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 Membrane Detection window, available from MIB->Menu->Tools->Classifiers->Membrane detections

Constructor & Destructor Documentation

◆ mibMembraneDetectionController()

mibMembraneDetectionController.mibMembraneDetectionController ( mibModel,
parameter )

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

Here is the call graph for this function:

Member Function Documentation

◆ classifierFilenameBtn_Callback()

function mibMembraneDetectionController.classifierFilenameBtn_Callback ( )

callback for selection of the classifier filename

References mib_uigetfile().

Here is the call graph for this function:

◆ classifierFilenameEdit_Callback()

function mibMembraneDetectionController.classifierFilenameEdit_Callback ( )

callback for selection of the classifier filename

◆ closeWindow()

function mibMembraneDetectionController.closeWindow ( )

◆ predictDataset()

function mibMembraneDetectionController.predictDataset ( sliceNumber)

predict dataset using the random forest classifier

Parameters
sliceNumber[optional] number of slice for prediction

References classRF_predict(), forest, max, membraneFeatures(), handle.notify, handle.reshape, and skeletonize().

Here is the call graph for this function:

◆ predictSlice_Callback()

function mibMembraneDetectionController.predictSlice_Callback ( )

callback for predictSlice; predict the current slice

◆ saveClassifierBtn_Callback()

function mibMembraneDetectionController.saveClassifierBtn_Callback ( )

callback for press of saveClassifierBtn; save classifier to disk

References forest.

◆ tempDirEdit_Callback()

function mibMembraneDetectionController.tempDirEdit_Callback ( )

callback for selection of the output directory

◆ tempDirSelectBtn_Callback()

function mibMembraneDetectionController.tempDirSelectBtn_Callback ( )

callback for selection of the output directory

◆ trainClassifier()

function mibMembraneDetectionController.trainClassifier ( )

train random forest based on skript_trainClassifier_for_membraneDetection.m by Verena Kaynig

References classRF_predict(), classRF_train(), max, membraneFeatures(), handle.notify, handle.reshape, and skeletonize().

Here is the call graph for this function:

◆ trainClassifierBtn_Callback()

function mibMembraneDetectionController.trainClassifierBtn_Callback ( )

callback for press of trainClassifierBtn

◆ updateLoglist()

function mibMembraneDetectionController.updateLoglist ( addText)

update the log list with status events reported by the function

◆ updateWidgets()

function mibMembraneDetectionController.updateWidgets ( )

update widgets of this window

References max.

◆ ViewListner_Callback2()

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

◆ wipeTempDirBtn_Callback()

function mibMembraneDetectionController.wipeTempDirBtn_Callback ( )

callback for press wipeTempDirBtn; wipe temp directory

Member Data Documentation

◆ classFilename

mibMembraneDetectionController.classFilename

filename for classifier

◆ closeEvent

EVENT mibMembraneDetectionController.closeEvent

> Description of events event firing when window is closed

Events
closeEvent

◆ dirOut

mibMembraneDetectionController.dirOut

output directory

◆ forest

mibMembraneDetectionController.forest

structure with classifier info

Referenced by predictDataset(), and saveClassifierBtn_Callback().

◆ listener

mibMembraneDetectionController.listener

a cell array with handles to listeners

◆ maxNumberOfSamplesPerClass

mibMembraneDetectionController.maxNumberOfSamplesPerClass

max Number Of Samples Per Class

◆ mibModel

mibMembraneDetectionController.mibModel

handles to the model

Referenced by mibMembraneDetectionController().

◆ View

mibMembraneDetectionController.View

handle to the view


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