![]() |
Microscopy Image Browser 2.91
MIB
|
class is responsible for showing the supervoxel classifier, available from MIB->Menu->Tools->Classifiers->Supervoxel classification More...
Public Member Functions | |
mibSupervoxelClassifierController (mibModel) | |
function | closeWindow () |
closing mibSupervoxelClassifierController window | |
function | updateWidgets () |
update widgets of this window | |
function | tempDirSelectBtn_Callback () |
select directory for temp data | |
function | classifierFilenameEdit_Callback () |
callback for modification of filename for classifier | |
function | updateLoglist (addText) |
update log list with information about the progress | |
function | resetDimsBtn_Callback () |
reset area for segmentation | |
function | checkDimensions (hObject, parameter) |
check dimensions for the area to be segmented Parameters: hObject: handle of the calling object parameter: dimension to check | |
function | subAreaFromSelectionBtn_Callback () |
get area for segmentation from the selection layer | |
function | currentViewBtn_Callback () |
update area for segmentation from the current view | |
function | superpixelsBtn_Callback () |
calculate superpixels | |
function | previewSuperpixelsBtn_Callback () |
preview supepixels/voxels | |
function | calcFeaturesBtn_Callback () |
calculate features of superpixels/supervoxels | |
function | trainClassifierBtn_Callback () |
train random forest | |
function | wipeTempDirBtn_Callback () |
wipe temp directory | |
function | predictDatasetBtn_Callback () |
predict dataset using the random forest classifier | |
function | loadClassifierBtn_Callback () |
load classifier from the disk | |
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 | |
maxNumberOfSamplesPerClass | |
max number of samples per class | |
slic | |
a structure with processed slic images .slic = []; % a field for superpixels, [height, width, depth] .noPix = []; % a field for number of pixels, [depth] for 2d, or a single number for 3d .properties = []; % a substructure with properties, only for obj.slic.properties(1) .properties.bb [xMin xMax yMin yMax zMin zMax] .properties.mode 2d or 3d .properties.binVal, binning values: (xy z) .properties.colCh, a color channel used for SLIC .properties.spSize, size of superpixels .properties.spCompact, compactness of superpixels | |
FEATURES | |
a structure for features | |
Forest | |
classifier | |
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 supervoxel classifier, available from MIB->Menu->Tools->Classifiers->Supervoxel classification
mibSupervoxelClassifierController.mibSupervoxelClassifierController | ( | mibModel | ) |
References handle.addlistener, mibModel, mibRescaleWidgets(), and mibUpdateFontSize().
function mibSupervoxelClassifierController.calcFeaturesBtn_Callback | ( | ) |
calculate features of superpixels/supervoxels
References imRAG(), max, membraneFeatures(), mibResize3d(), min, handle.reshape, and slic.
function mibSupervoxelClassifierController.checkDimensions | ( | hObject, | |
parameter ) |
function mibSupervoxelClassifierController.classifierFilenameEdit_Callback | ( | ) |
callback for modification of filename for classifier
References slic.
function mibSupervoxelClassifierController.closeWindow | ( | ) |
closing mibSupervoxelClassifierController window
References handle.isvalid, and handle.notify.
function mibSupervoxelClassifierController.currentViewBtn_Callback | ( | ) |
update area for segmentation from the current view
function mibSupervoxelClassifierController.loadClassifierBtn_Callback | ( | ) |
function mibSupervoxelClassifierController.predictDatasetBtn_Callback | ( | ) |
predict dataset using the random forest classifier
References classRF_predict(), mibResize3d(), and handle.notify.
function mibSupervoxelClassifierController.previewSuperpixelsBtn_Callback | ( | ) |
preview supepixels/voxels
References mibResize3d(), handle.notify, and slic.
function mibSupervoxelClassifierController.resetDimsBtn_Callback | ( | ) |
reset area for segmentation
function mibSupervoxelClassifierController.subAreaFromSelectionBtn_Callback | ( | ) |
get area for segmentation from the selection layer
function mibSupervoxelClassifierController.superpixelsBtn_Callback | ( | ) |
calculate superpixels
References max, mibResize3d(), and min.
function mibSupervoxelClassifierController.tempDirSelectBtn_Callback | ( | ) |
select directory for temp data
function mibSupervoxelClassifierController.trainClassifierBtn_Callback | ( | ) |
train random forest
References classRF_train(), and mibResize3d().
function mibSupervoxelClassifierController.updateLoglist | ( | addText | ) |
update log list with information about the progress
addText | a string with the text to show in the log list |
function mibSupervoxelClassifierController.updateWidgets | ( | ) |
update widgets of this window
References max, and handle.notify.
|
static |
function mibSupervoxelClassifierController.wipeTempDirBtn_Callback | ( | ) |
wipe temp directory
EVENT mibSupervoxelClassifierController.closeEvent |
> Description of events event firing when window is closed
mibSupervoxelClassifierController.FEATURES |
a structure for features
mibSupervoxelClassifierController.Forest |
classifier
mibSupervoxelClassifierController.listener |
a cell array with handles to listeners
mibSupervoxelClassifierController.maxNumberOfSamplesPerClass |
max number of samples per class
mibSupervoxelClassifierController.mibModel |
handles to the model
Referenced by mibSupervoxelClassifierController().
mibSupervoxelClassifierController.slic |
a structure with processed slic images .slic = []; % a field for superpixels, [height, width, depth] .noPix = []; % a field for number of pixels, [depth] for 2d, or a single number for 3d .properties = []; % a substructure with properties, only for obj.slic.properties(1) .properties.bb [xMin xMax yMin yMax zMin zMax] .properties.mode 2d
or 3d
.properties.binVal, binning values: (xy z) .properties.colCh, a color channel used for SLIC .properties.spSize, size of superpixels .properties.spCompact, compactness of superpixels
Referenced by calcFeaturesBtn_Callback(), classifierFilenameEdit_Callback(), and previewSuperpixelsBtn_Callback().
mibSupervoxelClassifierController.View |
handle to the view