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

class is responsible for showing the supervoxel classifier, available from MIB->Menu->Tools->Classifiers->Supervoxel classification More...

Inheritance diagram for mibSupervoxelClassifierController:
Collaboration diagram for mibSupervoxelClassifierController:

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
 
- 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 supervoxel classifier, available from MIB->Menu->Tools->Classifiers->Supervoxel classification

Constructor & Destructor Documentation

◆ mibSupervoxelClassifierController()

mibSupervoxelClassifierController.mibSupervoxelClassifierController ( mibModel)

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

Here is the call graph for this function:

Member Function Documentation

◆ calcFeaturesBtn_Callback()

function mibSupervoxelClassifierController.calcFeaturesBtn_Callback ( )

calculate features of superpixels/supervoxels

References imRAG(), max, membraneFeatures(), mibResize3d(), min, handle.reshape, and slic.

Here is the call graph for this function:

◆ checkDimensions()

function mibSupervoxelClassifierController.checkDimensions ( hObject,
parameter )

check dimensions for the area to be segmented Parameters: hObject: handle of the calling object parameter: dimension to check

Required fields of hObject:

References max, and min.

◆ classifierFilenameEdit_Callback()

function mibSupervoxelClassifierController.classifierFilenameEdit_Callback ( )

callback for modification of filename for classifier

References slic.

◆ closeWindow()

function mibSupervoxelClassifierController.closeWindow ( )

◆ currentViewBtn_Callback()

function mibSupervoxelClassifierController.currentViewBtn_Callback ( )

update area for segmentation from the current view

◆ loadClassifierBtn_Callback()

function mibSupervoxelClassifierController.loadClassifierBtn_Callback ( )

load classifier from the disk

References mib_uigetfile().

Here is the call graph for this function:

◆ predictDatasetBtn_Callback()

function mibSupervoxelClassifierController.predictDatasetBtn_Callback ( )

predict dataset using the random forest classifier

References classRF_predict(), mibResize3d(), and handle.notify.

Here is the call graph for this function:

◆ previewSuperpixelsBtn_Callback()

function mibSupervoxelClassifierController.previewSuperpixelsBtn_Callback ( )

preview supepixels/voxels

References mibResize3d(), handle.notify, and slic.

Here is the call graph for this function:

◆ resetDimsBtn_Callback()

function mibSupervoxelClassifierController.resetDimsBtn_Callback ( )

reset area for segmentation

◆ subAreaFromSelectionBtn_Callback()

function mibSupervoxelClassifierController.subAreaFromSelectionBtn_Callback ( )

get area for segmentation from the selection layer

◆ superpixelsBtn_Callback()

function mibSupervoxelClassifierController.superpixelsBtn_Callback ( )

calculate superpixels

References max, mibResize3d(), and min.

Here is the call graph for this function:

◆ tempDirSelectBtn_Callback()

function mibSupervoxelClassifierController.tempDirSelectBtn_Callback ( )

select directory for temp data

◆ trainClassifierBtn_Callback()

function mibSupervoxelClassifierController.trainClassifierBtn_Callback ( )

train random forest

References classRF_train(), and mibResize3d().

Here is the call graph for this function:

◆ updateLoglist()

function mibSupervoxelClassifierController.updateLoglist ( addText)

update log list with information about the progress

Parameters
addTexta string with the text to show in the log list

◆ updateWidgets()

function mibSupervoxelClassifierController.updateWidgets ( )

update widgets of this window

References max, and handle.notify.

◆ ViewListner_Callback2()

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

◆ wipeTempDirBtn_Callback()

function mibSupervoxelClassifierController.wipeTempDirBtn_Callback ( )

wipe temp directory

Member Data Documentation

◆ closeEvent

EVENT mibSupervoxelClassifierController.closeEvent

> Description of events event firing when window is closed

Events
closeEvent

◆ FEATURES

mibSupervoxelClassifierController.FEATURES

a structure for features

◆ Forest

mibSupervoxelClassifierController.Forest

classifier

◆ listener

mibSupervoxelClassifierController.listener

a cell array with handles to listeners

◆ maxNumberOfSamplesPerClass

mibSupervoxelClassifierController.maxNumberOfSamplesPerClass

max number of samples per class

◆ mibModel

mibSupervoxelClassifierController.mibModel

handles to the model

Referenced by mibSupervoxelClassifierController().

◆ slic

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().

◆ View

mibSupervoxelClassifierController.View

handle to the view


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