![]() |
Microscopy Image Browser 2.91
MIB
|
class is responsible for showing the Membrane Detection window, available from MIB->Menu->Tools->Classifiers->Membrane detections More...
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 | |
![]() | |
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. | |
class is responsible for showing the Membrane Detection window, available from MIB->Menu->Tools->Classifiers->Membrane detections
mibMembraneDetectionController.mibMembraneDetectionController | ( | mibModel, | |
parameter ) |
References handle.addlistener, mibModel, mibRescaleWidgets(), and mibUpdateFontSize().
function mibMembraneDetectionController.classifierFilenameBtn_Callback | ( | ) |
callback for selection of the classifier filename
References mib_uigetfile().
function mibMembraneDetectionController.classifierFilenameEdit_Callback | ( | ) |
callback for selection of the classifier filename
function mibMembraneDetectionController.closeWindow | ( | ) |
closing mibMembraneDetectionController window
References handle.isvalid, and handle.notify.
function mibMembraneDetectionController.predictDataset | ( | sliceNumber | ) |
predict dataset using the random forest classifier
sliceNumber | [optional] number of slice for prediction |
References classRF_predict(), forest, max, membraneFeatures(), handle.notify, handle.reshape, and skeletonize().
function mibMembraneDetectionController.predictSlice_Callback | ( | ) |
callback for predictSlice; predict the current slice
function mibMembraneDetectionController.saveClassifierBtn_Callback | ( | ) |
callback for press of saveClassifierBtn; save classifier to disk
References forest.
function mibMembraneDetectionController.tempDirEdit_Callback | ( | ) |
callback for selection of the output directory
function mibMembraneDetectionController.tempDirSelectBtn_Callback | ( | ) |
callback for selection of the output directory
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().
function mibMembraneDetectionController.trainClassifierBtn_Callback | ( | ) |
callback for press of trainClassifierBtn
function mibMembraneDetectionController.updateLoglist | ( | addText | ) |
update the log list with status events reported by the function
function mibMembraneDetectionController.updateWidgets | ( | ) |
update widgets of this window
References max.
|
static |
function mibMembraneDetectionController.wipeTempDirBtn_Callback | ( | ) |
callback for press wipeTempDirBtn; wipe temp directory
mibMembraneDetectionController.classFilename |
filename for classifier
EVENT mibMembraneDetectionController.closeEvent |
> Description of events event firing when window is closed
mibMembraneDetectionController.dirOut |
output directory
mibMembraneDetectionController.forest |
structure with classifier info
Referenced by predictDataset(), and saveClassifierBtn_Callback().
mibMembraneDetectionController.listener |
a cell array with handles to listeners
mibMembraneDetectionController.maxNumberOfSamplesPerClass |
max Number Of Samples Per Class
mibMembraneDetectionController.mibModel |
handles to the model
Referenced by mibMembraneDetectionController().
mibMembraneDetectionController.View |
handle to the view