![]() |
Microscopy Image Browser 2.91
MIB
|
main controller for MIB More...
Public Member Functions | |
function | devTest_ClickedCallback () |
for developmental purposes | |
function | exitProgram () |
Executes when user attempts to close MIB. | |
function id = | findChildId (childName) |
find id of a child controller | |
function | getDefaultParameters () |
Set default or/and stored from a previous session parameters of MIB. | |
function | imageRedraw () |
redraw image in the handles.mibImageAxes after press of handles.mibHideImageCheck or transparency sliders | |
function result = | menuDatasetParameters_Callback (pixSize, BatchOptIn) |
a callback for MIB->Menu->Dataset->Parameters | |
function | menuDatasetScalebar_Callback (parameter) |
a callback to Menu->Dataset->Scale bar calibrate pixel size from an existing scale bar | |
function | menuDatasetSlice_Callback (parameter) |
a callback to Menu->Dataset->Slice do actions with individual slices | |
function | menuDatasetTrasform_Callback (mode, BatchOpt) |
a callback to Menu->Dataset->Transform... do different transformation with the dataset | |
function | menuFileChoppedImage_Callback (parameter) |
a callback to Menu->File->Chopped images, chop/rechop dataset to/from smaller subsets | |
function | menuFileExamples_Callback (parameter) |
a callback to Menu->File->Example datasets, import an example dataset into MIB | |
function | menuFileExportImage_Callback (parameter) |
a callback to Menu->File->Export Image, export image and meta-data from MIB to the main Matlab workspace or Imaris | |
function | menuFileImportImage_Callback (parameter) |
a callback to Menu->File->Import Image, import image from Matlab main workspace or system clipboard | |
function | menuFilePreference_Callback () |
a callback to MIB->Menu->File->Preferences... | |
function | menuFileRender_Callback (parameter) |
a callback to MIB->Menu->File->Render volume... | |
function | menuFileSaveImageAs_Callback () |
a callback to the mibGUI.handles.menuFileSaveImageAs, saves image to a file | |
function | menuImageColorCh_Callback (parameter) |
callback to Menu->Image->Color Channels do actions with individual color channels | |
function | menuImageContrast_Callback (parameter) |
a callback to Menu->Image->Contrast; do contrast enhancement | |
function | menuImageIntensity_Callback (parameter) |
callback to the Menu->Image->Intensity profile; get the image intensity profile | |
function | menuImageInvert_Callback (mode, BatchOptIn) |
callback for Menu->Image->Invert image; start invert image | |
function status = | menuImageMode_Callback (hObject, BatchOpt) |
callback to the Menu->Image->Mode, convert image to different formats | |
function | menuImageToolsProjection_Callback (BatchOptIn) |
callback to the Menu->Image->Tools->Intensity projection, calculate intensity projection of the dataset | |
function | menuMaskExport_Callback (ExportTo, BatchOptIn) |
callback to Menu->Mask->Export, export the Mask layer to Matlab or another buffer | |
function | menuMaskImageReplace_Callback (type, BatchOptIn) |
callback to Menu->Mask->Replace color; Replace image intensities in the Masked or Selected areas with new intensity value | |
function | menuMaskImport_Callback (ImportFrom, BatchOptIn) |
callback to Menu->Mask->Import, import the Mask layer from Matlab or another buffer of MIB | |
function | menuMaskInvert_Callback (type, BatchOptIn) |
callback to Menu->Mask->Invert; invert the Mask/Selection layer | |
function | menuMaskLoad_Callback () |
callback to Menu->Mask->Load Mask; load the Mask layer to MIB from a file | |
function | menuMaskSaveAs_Callback () |
callback to Menu->Mask->Save As; save the Mask layer to a file | |
function | menuModelAnn_Callback (parameter) |
callback to Menu->Models->Annotations | |
function | menuModelsExport_Callback (exportTo) |
callback to Menu->Models->Export export the Model layer to the main Matlab workspace | |
function | menuModelsImport_Callback (BatchOptIn) |
callback to Menu->Models->Import; import the Model layer from the main Matlab workspace | |
function | menuModelsRender_Callback (type) |
a callback to MIB->Menu->Models->Render model... | |
function | menuModelsSaveAs_Callback (parameter) |
callback to Menu->Models->Save as save model to a file | |
function | menuSelectionBuffer_Callback (parameter) |
a callback to Menu->Selection to Buffer... to Copy/Paste/Clear of the selection of the shown layer | |
function | menuSelectionInterpolate () |
a callback to the Menu->Selection->Interpolate; interpolates shapes of the selection layer | |
function | menuSelectionToMaskBorder_Callback () |
callback to Menu->Selection->Expand to Mask border expand selection to borders of the Masked layer | |
function | menuToolsMeasure_Callback (type) |
a callback for selection of obj.mibView.handles.menuToolsMeasure entries | |
function | mibAddMaterialBtn_Callback (BatchOptIn) |
callback to the obj.mibView.handles.mibAddMaterialBtn, add material to the model | |
function | mibAnisotropicDiffusion (filter_type, cpuParallelLimit) |
Filter image with Anisotropic diffusion filters. | |
function | mibAnnMarkerEdit_Callback () |
callback for selection of annotation marker type, updates mibAnnMarkerEdit field of the mibModel | |
function | mibAutoBrightnessBtn_Callback () |
Adjust brightness automatically for the shown image. | |
function | mibBioformatsCheck_Callback () |
Bioformats that can be read with loci BioFormats toolbox this function updates the list of file filters in obj.mibView.handles.mibFileFilterPopup. | |
function | mibBufferToggle_Callback (Id, BatchOptIn) |
a callback to press of obj.mibView.handles.mibBufferToggle button | |
function | mibBufferToggleContext_Callback (parameter, buttonID, BatchOptIn) |
callback function for the popup menu of the buffer buttons in the upper part of the Directory contents panel. This callback is triggered from all those buttons. | |
function | mibBrushPanelInterpolationSettingsBtn_Callback () |
mibBrushPanelInterpolationSettingsBtn_Callback(obj, hObject) callback for modification of superpixel mode settings of the brush tool | |
function | mibBrushSuperpixelsEdit_Callback (hObject) |
mibBrushSuperpixelsEdit_Callback(obj, hObject) callback for modification of superpixel mode settings of the brush tool | |
function | mibBrushSuperpixelsWatershedCheck_Callback (hObject) |
mibBrushSuperpixelsWatershedCheck_Callback(obj, hObject) callback for selection of superpixel mode for the brush tool | |
function | mibChangeLayerEdit_Callback (parameter, BatchOptIn) |
A callback for changing the slices of the 3D dataset by entering a new slice number. | |
function | mibChangeLayerSlider_Callback () |
A callback function for mibGUI.mibChangeLayerSlider. Responsible for showing next or previous slice of the dataset. | |
function | mibChangeTimeEdit_Callback (parameter, BatchOptIn) |
A callback for changing the time points of the dataset by entering a new time value. | |
function | mibChangeTimeSlider_Callback () |
A callback function for mibGUI.mibChangeTimeSlider. Responsible for showing next or previous time point of the dataset. | |
function | mibChannelMixerTable_Callback (type) |
a callback for the context menu of obj.mibView.handles.mibChannelMixerTable | |
function | mibChannelMixerTable_CellEditCallback (Indices, PreviousData, modifier) |
a callback edit of a cell in obj.mibView.handles.mibChannelMixerTable | |
function | mibChannelMixerTable_CellSelectionCallback (Indices) |
a callback selection of a cell in obj.mibView.handles.mibChannelMixerTable | |
function | mibColChannelCombo_Callback () |
callback for modification of obj.View.handles.mibColorChannelCombo box | |
function | mibCreateModelBtn_Callback () |
Create a new model, callback for press of the Create button in mibGUI. | |
function | mibDoUndo (newIndex) |
Undo the recent changes with Ctrl+Z shortcut. | |
function | mibDragAndDropFiles (DragNDrop, event) |
callback for dropping the files into the image view panel: loading the files | |
function | mibDragAndDropModelFiles (DragNDrop, event) |
callback for dropping model files into the segmentation table: loading the files | |
function | mibEraserEdit_Callback () |
increase size of the eraser tool with the provided in obj.mibView.handles.mibEraserEdit | |
function | mibFijiExport () |
Export currently open dataset to Fiji. | |
function | mibFijiImport () |
import dataset from Fiji to MIB | |
function | mibFijiRunMacro () |
run command or macro on Fiji | |
function | mibFileFilterPopup_cm (parameter) |
a context menu to the to the handles.mibFileFilterPopup, the menu is called with the right mouse button | |
function | mibFilesListbox_Callback () |
navigation in the file list, i.e. open file or change directory | |
function | mibFilesListbox_cm_Callback (parameter, BatchOptIn) |
a context menu to the to the handles.mibFilesListbox, the menu is called with the right mouse button | |
function | mibFindMaterialUnderCursor () |
find material under the mouse cursor, a callback for Ctrl+F key shortcut | |
function | mibImageFilterDoitBtn_Callback () |
a callback to the obj.mibView.handles.mibImageFilterDoitBtn, apply image filtering using the selected filter | |
function | menuImageToolsContentAware_Callback () |
callback to the Menu->Image->Tools->Content-aware fill, fill the selected area using content aware algorithms | |
function | mibLoadModelBtn_Callback () |
callback to the obj.mibView.handles.mibLoadModelBtn, loads model to MIB from a file | |
function | mibMaskedAreaCheck_Callback () |
a callback to the mibGUI.handles.mibMaskedAreaCheck, allows to toggle state of the Masked area | |
function | mibMaskGenerator (type) |
generate the Mask later | |
function | mibMaskRecalcStatsBtn_Callback () |
recalculate objects for Mask or Model layer to use with the Object Picker tool in 3D | |
function | mibMaskShowCheck_Callback () |
a callback to the mibGUI.handles.maskShowCheck, allows to toggle visualization of the mask layer | |
function | mibModelPropertyUpdate (parameter) |
% update switches in the obj.mibModel class that describe states of GUI widgets | |
function meta = | getMeta () |
get meta data for the currently shown dataset, mibImage.meta | |
function | mibLutCheckbox_Callback () |
a callback to the mibGUI.handles.mibLutCheckbox, turn on/off visualization of color channels using luck-up table (LUT) | |
function | mibModelShowCheck_Callback () |
callback to the mibGUI.handles.mibModelShowCheck to toggle the Model layer on/off | |
function | mibPixelInfo_Callback (parameter, BatchOptIn) |
center image to defined position it is a callback from a popup menu above the pixel information field of the Path panel | |
function | mibRecolorLabels () |
recolor color map for 65535+ models | |
function | mibRemoveMaterialBtn_Callback (BatchOptIn) |
callback to the obj.mibView.handles.mibRemoveMaterialBtn, remove material from the model | |
function | mibRoiAddBtn_Callback () |
a callback to handles.mibRoiAddBtn, adds a roi to a dataset | |
function | mibRoiList_cm_Callback (parameter) |
a callback for obj.mibView.handles.mibRoiList context menu | |
function | mibRoiLoadBtn_Callback () |
a callback to the obj.mibView.handles.mibRoiLoadBtn, loads roi from a file to MIB | |
function | mibRoiOptionsBtn_Callback (parameter) |
update ROI visualization settings, as callback of mibGUI.handles.mibRoiOptionsBtn | |
function | mibRoiRemoveBtn_Callback () |
a callback to obj.mibView.handles.mibRoiRemoveBtn, remore selected ROI | |
function | mibRoiSaveBtn_Callback () |
a callback to the obj.mibView.handles.mibRoiSaveBtn, saves roi to a file in the matlab format | |
function | mibRoiShowCheck_Callback (parameter) |
toggle show/hide state of ROIs, as callback of mibGUI.handles.mibRoiShowCheck | |
function | mibRoiToSelectionBtn_Callback () |
a callback to obj.mibView.handles.mibRoiToSelectionBtn, highlight area under the selected ROI in the Selection layer | |
function | mibSegmentation3dBall (y, x, z, modifier, BatchOptIn) |
Do segmentation using the 3D ball tool. | |
function | mibSegmentationAnnotation (y, x, z, t, modifier, options) |
Add text annotation to the dataset. | |
function | mibSegmAnnDeleteAllBtn_Callback () |
callback to Menu->Models->Annotations...->Delete all annotations, delete all annotations of the model | |
function | mibSegmentationBlackWhiteThreshold (parameter, BatchOptIn) |
Perform black and white thresholding for BW Threshold tool of the 'Segmentation panel'. | |
function | mibSegmentationBrush (y, x, modifier) |
mibSegmentation_Brush(obj, y, x, modifier) Do segmentation using the brush tool | |
function | mibSegmentationDragAndDrop (y, x, modifier) |
mibSegmentationDragAndDrop(y, x, modifier) Fix segmentation or mask/selection layers by dragging individual 2D/3D objects or complete models with a mouse | |
function | mibSegmentationLasso (modifier) |
Do segmentation using the lasso tool. | |
function | mibSegmentationLassoManual (modifier) |
Do manual segmentation using the lasso tool in the manual mode. | |
function | mibSegmentationLines3D (y, x, z, modifier) |
output = mibSegmentationLines3D(obj, y, x, z, modifier) Add and modify 3D lines | |
function | mibSegmentationMagicWand (yxzCoordinate, modifier) |
Do segmentation using the Magic Wand tool. | |
function output = | mibSegmentationMembraneClickTraker (yxzCoordinate, yx, modifier) |
output = mibSegmentationMembraneClickTraker(obj, yxzCoordinate, yx, modifier) Trace membranes and draw a straight lines in 2d and 3d | |
function | mibSegmentationObjectPicker (yxzCoordinate, modifier) |
Select 2d/3d objects from the Mask or Model layers. | |
function | mibSegmentationPanelCheckboxes (BatchOptIn) |
a function of the batch mode that allow to tweak the status of checkboxes of the Segmentation panel | |
function | mibSegmentationRegionGrowing (yxzCoordinate, modifier) |
Do segmentation using the Region Growing method. | |
function | mibSegmentationSAM (extraOptions, BatchOptIn) |
Perform segmentation using segment-anything model https://segment-anything.com. | |
function | mibSegmentationSAM2 (extraOptions, BatchOptIn) |
Perform segmentation using segment-anything-2 model https://github.com/facebookresearch/segment-anything-2. | |
function status = | mibSegmentationSAM_requirements (samVersion) |
Check for files required to run segmentation using segment-anything model https://segment-anything.com. | |
function | mibSegmentationSpot (y, x, modifier, BatchOptIn) |
mibSegmentationSpot(obj, y, x, modifier, BatchOptIn) Do segmentation using the spot tool | |
function | mibSegmentationTable_CellSelectionCallback (eventdata) |
mibSegmentationTable_CellSelectionCallback(obj, eventdata) Callback for cell selection in the handles.mibSegmentationTable table of mibGIU.m | |
function | mibSegmentationTable_cm_Callback (hObject, type) |
a callback to the context menu of mibView.handles.mibSegmentationTable | |
function | mibSegmentationToolPopup_Callback () |
a callback to the handles.mibSegmentationToolPopup, allows to select tool for the segmentation | |
function | mibSegmFavToolCheck_Callback () |
callback to the obj.mibView.handles.mibSegmFavToolCheck, to add the selected tool to the list of favourites | |
function | mibSegmSAMPanel_Callbacks (tag) |
callbacks for widgets of obj.mibView.handles.mibSegmSAMPanel | |
function | mibSegmSelectedOnlyCheck_Callback () |
a callback to the mibGUI.handles.mibSegmSelectedOnlyCheck, allows to toggle state of the Fix selection to material | |
function | mibSelectionButton_Callback (action) |
a callback to A , S , R buttons in the Selection panel of obj.mibView.gui | |
function | mibSelectionClearBtn_Callback () |
a callback to the mibGUI.handles.mibSelectionClearBtn, allows to clear the Selection layer | |
function | mibSelectionDilateBtn_Callback () |
a callback to the mibGUI.handles.mibSelectionDilateBtn, expands the selection layer | |
function | mibSelectionErodeBtn_Callback () |
a callback to the mibGUI.handles.mibSelectionErodeBtn, shrinks the selection layer | |
function | mibSelectionFillBtn_Callback () |
a callback to the mibGUI.handles.mibSelectionFillBtn, allows to fill holes for the Selection layer | |
function | mibSelectionPanelCheckboxes (BatchOptIn) |
a function of the batch mode that allow to tweak the status of checkboxes of the Selection panel | |
function | mibShowMilestoneDialog (mode) |
show a milestone dialog with user performance and stats | |
function | mibToolbar_ZoomBtn_ClickedCallback (hObject, recenterSwitch) |
modifies magnification using the zoom buttons in the toolbar of MIB | |
function | mibToolbarPlaneToggle (hObject, moveMouseSw) |
a callback to the change orientation buttons in the toolbar of MIB; it toggles viewing plane: xy, zx, or zy direction | |
function | mibUpdatePresetFromSegmentationSettings (presetId) |
update preset using the current settings of the selected segmentation tool; this function is a callback on press of Shift+1, Shift+2, Shift+3 default key shortcuts | |
function | mibUpdateSegmentationSettingsFromPreset (presetId) |
update settings of the selected segmentation tool from preset, this function is a callback on press of 1,2,3 default key shortcuts | |
function | mibViewSettingsPanelCheckboxes (BatchOptIn) |
a function of the batch mode that allow to tweak status of checkboxes of the View Settings panel | |
function | mibZoomEdit_Callback (BatchOptIn) |
callback function for modification of the handles.mibZoomEdit | |
function | mibGUI_Brush_scrollWheelFcn (eventdata) |
Control callbacks from mouse scroll wheel during the brush tool. | |
function | mibGUI_panAxesFcn (xy, imgWidth, imgHeight) |
This function is responsible for moving image in obj.mibView.handles.mibImageAxes during panning. | |
function | mibGUI_PanelShiftBtnUpFcn (panelName) |
callback for the release of a mouse button over handles.mibSeparatingPanel to change size of Directory contents and Segmentation panels | |
function | mibGUI_ScrollWheelFcn (eventdata) |
Control callbacks from mouse scroll wheel. | |
function | mibGUI_SizeChangedFcn (resizeParameters) |
resizing for panels of MIB | |
function | mibGUI_WindowBrushMotionFcn (selection_layer, structElement, currMask) |
This function draws the brush trace during use of the brush tool. | |
function | mibGUI_WindowButtonDownFcn () |
this is callback for the press of a mouse button | |
function | mibGUI_WindowButtonUpFcn (brush_switch) |
callback for release of the mouse button | |
function | mibGUI_WindowButtonUpDragAndDropFcn (mode, diffX, diffY, BatchOptIn) |
callback for release of the mouse button after use of the Drag and Drop materials tool | |
function | mibGUI_WindowDragAndDropMotionFcn (selection_layer) |
This function draws the displaced materials during use of the drag and drop materials tool. | |
function | mibGUI_WindowKeyPressFcn (hObject, eventdata) |
callback for a key press in mibGUI | |
function | mibGUI_WindowKeyPressFcn_BrushSuperpixel (eventdata) |
a function to check key callbacks when using the Brush in the Superpixel mode | |
function | mibGUI_WindowKeyReleaseFcn (eventdata) |
callback for release of keys in mibGUI window | |
function | mibGUI_WinMouseMotionFcn () |
returns coordinates and image intensities under the mouse cursor | |
function | plotImage (resize, sImgIn) |
Plot image to mibImageAxes. The main drawing function. | |
function | redrawMibChannelMixerTable () |
Update obj.mibView.handles.mibChannelMixerTable table and obj.mibView.handles.mibColChannelCombo color combo box. | |
function | setMeta (meta) |
set meta data for the currently shown dataset, mibImage.meta | |
function | startController (controllerName, varargin) |
start a child controller using provided name | |
function | startPlugin (pluginName) |
start plugin from MIB menu | |
function | toolbarBlockModeSwitch_ClickedCallback () |
a callback for press of obj.mibView.toolbarBlockModeSwitch in the toolbar of MIB | |
function | toolbarCenterPointShow_ClickedCallback () |
a callback for press of obj.mibView.toolbarCenterPointShow in the toolbar of MIB. Toggles display of a center point over the mibImageAxis | |
function | toolbarInterpolation_ClickedCallback (options) |
Function to set the state of the interpolation button in the toolbar. | |
function | toolbarRedo_ClickedCallback () |
do one step forward in the undo history | |
function | toolbarResizingMethod_ClickedCallback (options) |
Function to set type of image interpolation for the visualization. | |
function | toolbarUndo_ClickedCallback () |
do one step back in the undo history | |
function newMode = | toolbarVirtualMode_ClickedCallback (options) |
Function to switch between loading datasets to memory or reading them from HDD on demand. | |
function | updateAxesLimits (index, mode, newMagFactor) |
Updates the obj.mibImage.axesX and obj.mibImage.axesY during fit screen, resize, or new dataset drawing. | |
function | updateFilelist (filename) |
Update list of files in the current working directory (obj.mibModel.myPath) | |
function | updateGuiWidgets () |
Update user interface widgets in obj.mibView.gui based on the properties of the opened dataset. | |
function | updateMyPath (myPath) |
update mibModel.myPath, which is the current working directory | |
function | updateShownId (Id) |
update index of the displayed dataset, after, for example press of the handles.mibBufferToggle buttons in mibGUI | |
function | updateSegmentationTable (position) |
Update obj.mibView.handles.mibSegmentationTable in the main window of mibGIU.m. | |
function | volrenToolbarSwitch_ClickedCallback (parameter) |
a callback for press of obj.mibView.volrenToolbarSwitch in the toolbar of MIB | |
function | volren_WindowButtonDownFcn () |
callback for the press of a mouse button during the volume rendering mode | |
function | volren_scrollWheelFcn (eventdata) |
callback for mouse wheel during the volume rendering mode | |
function | volren_winMouseMotionFcn () |
change cursor shape when cursor is inside the axis during the volume rendering mode | |
function | volren_WindowButtonUpFcn () |
callback for mouse button up event during the volume rendering mode | |
function | volren_WindowInteractMotionFcn (seltype) |
callback for translation/rotation of dataset during the volume rendering mode | |
mibController (mibModel, mibVersion) | |
mibController class constructor | |
Static Public Member Functions | |
static function | purgeControllers (obj, src, evnt) |
> Description of events find index of the child controller | |
static function | listner_ModelEvent_Callback (obj, src, evnt) |
callback function for detection of mibModel callbacks this function is recommended to use | |
static function | Listner2_Callback (obj, src, evnt) |
Public Attributes | |
mibVersion | |
= ver. 2.601 / 04.11.2019 ; % ATTENTION! it is important to have the version number between "ver." and "/" version of MIB | |
mibVersionNumeric | |
version of MIB in numerical form | |
mibModel | |
handles to the model | |
mibView | |
handle to the view | |
listener | |
a cell array with handles to listeners | |
matlabVersion | |
version of Matlab | |
mibPath | |
path to MIB installation directory | |
DragNDrop | |
drag and drop handle for dropping the files to the file listbox | |
DragNDropModel | |
drag and drop handle for dropping the files to the file listbox | |
brushSizeNumbers | |
matrix with the font for changing of brush size | |
childControllers | |
list of opened subcontrollers | |
childControllersIds | |
a cell array with names of initialized child controllers | |
![]() | |
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. | |
main controller for MIB
mibController.mibController | ( | mibModel, | |
mibVersion ) |
mibController class constructor
Constructor for the mibController class. Create a new instance of the class with default parameters
References handle.addlistener, findjobj(), mibAddText2Img(), mibController(), mibGetVersionNumberic(), mibModel, mibPath, mibVersion, and mibView.
Referenced by mibController(), and startController().
function mibController.devTest_ClickedCallback | ( | ) |
for developmental purposes
use for various tests
Examples:
function mibController.exitProgram | ( | ) |
Executes when user attempts to close MIB.
Examples:
References getPrefDir(), and handle.isvalid.
function id = mibController.findChildId | ( | childName | ) |
find id of a child controller
the child controllers of MIB are stored in obj.childControllersIds cell array. This function look for index that matches with childName string. If it is in the list the function returns its index, otherwise it adds it to the list as a new element
childName | name of a child controller |
id | index of the requested child controller or empty if it is not open |
Examples:
function mibController.getDefaultParameters | ( | ) |
Set default or/and stored from a previous session parameters of MIB.
This function runs during initialization of mibController.m
References handle.disp, getPrefDir(), mibConcatenateStructures(), and mibPath.
function meta = mibController.getMeta | ( | ) |
get meta data for the currently shown dataset, mibImage.meta
meta | information about the dataset, an instance of the containers .Map class |
Examples:
function mibController.imageRedraw | ( | ) |
redraw image in the handles.mibImageAxes after press of handles.mibHideImageCheck or transparency sliders
Return values
|
static |
References handle.fieldnames.
|
static |
callback function for detection of mibModel callbacks this function is recommended to use
References handle.fieldnames.
function result = mibController.menuDatasetParameters_Callback | ( | pixSize, | |
BatchOptIn ) |
a callback for MIB->Menu->Dataset->Parameters
pixSize | - [optional], a structure with new parameters, may have the following fields
|
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event
|
References handle.notify, and updateBatchOptCombineFields_Shared().
function mibController.menuDatasetScalebar_Callback | ( | parameter | ) |
a callback to Menu->Dataset->Scale bar calibrate pixel size from an existing scale bar
References mibInputMultiDlg(), and mibPath.
function mibController.menuDatasetSlice_Callback | ( | parameter | ) |
a callback to Menu->Dataset->Slice do actions with individual slices
parameter | a string that defines image source:
|
function mibController.menuDatasetTrasform_Callback | ( | mode, | |
BatchOpt ) |
a callback to Menu->Dataset->Transform... do different transformation with the dataset
mode | a string with a transormation mode:
|
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables
|
References mibInputDlg(), mibPath, and handle.notify.
function mibController.menuFileChoppedImage_Callback | ( | parameter | ) |
a callback to Menu->File->Chopped images, chop/rechop dataset to/from smaller subsets
parameter | [optional] a string that defines image source:
|
function mibController.menuFileExamples_Callback | ( | BatchOptIn | ) |
a callback to Menu->File->Example datasets, import an example dataset into MIB
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables .Dataset -> [cell], dataset name as listed in MIB->Menu->File->Example datasets .DirectoryName -> [cell], output directory only for DeepMIB projects |
References mibUpdatePixSizeAndResolution(), handle.notify, handle.permute, handle.reshape, and updateBatchOptCombineFields_Shared().
function mibController.menuFileExportImage_Callback | ( | parameter | ) |
a callback to Menu->File->Export Image, export image and meta-data from MIB to the main Matlab workspace or Imaris
parameter | [optional] a string that defines image source:
|
References handle.disp, mibInputMultiDlg(), and mibSetImarisDataset().
function mibController.menuFileImportImage_Callback | ( | parameter | ) |
a callback to Menu->File->Import Image, import image from Matlab main workspace or system clipboard
parameter | [optional] a string that defines image source:
|
References handle.fieldnames, handle.fields, imclipboard(), max, mibGetImarisDataset(), mibInputDlg(), mibInputMultiDlg(), mibPath, handle.notify, handle.reshape, and handle.sort.
function mibController.menuFilePreference_Callback | ( | ) |
a callback to MIB->Menu->File->Preferences...
function mibController.menuFileRender_Callback | ( | parameter | ) |
a callback to MIB->Menu->File->Render volume...
%
parameter | a char that specify where to render the volume
|
References max, mibInputMultiDlg(), mibPath, and mibRenderVolumeWithFiji().
function mibController.menuFileSaveImageAs_Callback | ( | ) |
a callback to the mibGUI.handles.menuFileSaveImageAs, saves image to a file
function mibController.menuImageColorCh_Callback | ( | parameter | ) |
callback to Menu->Image->Color Channels do actions with individual color channels
parameter | a string that defines image source:
|
function mibController.menuImageContrast_Callback | ( | parameter | ) |
a callback to Menu->Image->Contrast; do contrast enhancement
parameter | a string that defines image source:
|
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event |
function mibController.menuImageIntensity_Callback | ( | parameter | ) |
callback to the Menu->Image->Intensity profile; get the image intensity profile
parameter | a string that specify the mode of the image intensity profile
|
References handle.findobj, and max.
function mibController.menuImageInvert_Callback | ( | mode, | |
BatchOptIn ) |
callback for Menu->Image->Invert image; start invert image
mode | a string that defines part of the dataset to be inverted. When empty BatchOptIn structure will be used or 4D mode
|
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables
|
References handle.notify, and updateBatchOptCombineFields_Shared().
function status = mibController.menuImageMode_Callback | ( | hObject, | |
BatchOptIn ) |
callback to the Menu->Image->Mode, convert image to different formats
hObject | handle to the selected menu entry |
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables
|
status | result of the funtion, 1-success, 0-fail | Examples: // for the batch mode
BatchOptIn.Target = {'Grayscale'}; // define to where convert the dataset
obj.menuImageMode_Callback([], BatchOptIn); // call from mibController class;
|
References handle.notify, and updateBatchOptCombineFields_Shared().
function mibController.menuImageToolsContentAware_Callback | ( | ) |
callback to the Menu->Image->Tools->Content-aware fill, fill the selected area using content aware algorithms
function mibController.menuImageToolsProjection_Callback | ( | BatchOptIn | ) |
callback to the Menu->Image->Tools->Intensity projection, calculate intensity projection of the dataset
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details Possible fields,
|
References fstack_mib(), max, mibInputMultiDlg(), mibPath, min, handle.notify, handle.permute, uint32, and updateBatchOptCombineFields_Shared().
function mibController.menuMaskExport_Callback | ( | ExportTo, | |
BatchOptIn ) |
callback to Menu->Mask->Export, export the Mask layer to Matlab or another buffer
ExportTo | a string that specify the destination, where the mask layer should be exported
|
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables
|
References handle.disp, mibInputDlg(), mibInputMultiDlg(), mibPath, handle.notify, and updateBatchOptCombineFields_Shared().
function mibController.menuMaskImageReplace_Callback | ( | type, | |
BatchOptIn ) |
callback to Menu->Mask->Replace color; Replace image intensities in the Masked or Selected areas with new intensity value
type | a string with source layer
|
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables
|
References max, mibInputMultiDlg(), mibPath, min, handle.notify, and updateBatchOptCombineFields_Shared().
function mibController.menuMaskImport_Callback | ( | ImportFrom, | |
BatchOptIn ) |
callback to Menu->Mask->Import, import the Mask layer from Matlab or another buffer of MIB
Matlab
- from the main Matlab workspace MIB container
- from another buffer within MIB BatchOptIn: a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables Matlab
, MIB container
} - source of the mask layer to be imported Container d
} - index of the container for MIB container
mode References mibInputMultiDlg(), mibPath, handle.notify, and updateBatchOptCombineFields_Shared().
function mibController.menuMaskInvert_Callback | ( | type, | |
BatchOptIn ) |
callback to Menu->Mask->Invert; invert the Mask/Selection layer
type | a string with the layer to invert
|
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables
|
References handle.notify, and updateBatchOptCombineFields_Shared().
function mibController.menuMaskLoad_Callback | ( | ) |
callback to Menu->Mask->Load Mask; load the Mask layer to MIB from a file
function mibController.menuMaskSaveAs_Callback | ( | ) |
callback to Menu->Mask->Save As; save the Mask layer to a file
function mibController.menuModelAnn_Callback | ( | parameter | ) |
callback to Menu->Models->Annotations
parameter | a string with parameter
|
References max, mibInputMultiDlg(), mibPath, mibSetImarisSpots(), and min.
function mibController.menuModelsExport_Callback | ( | exportTo | ) |
callback to Menu->Models->Export export the Model layer to the main Matlab workspace
exportTo | a string with destination for the export
|
function mibController.menuModelsImport_Callback | ( | BatchOptIn | ) |
callback to Menu->Models->Import; import the Model layer from the main Matlab workspace
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details
|
References max, mibInputMultiDlg(), mibPath, handle.notify, and updateBatchOptCombineFields_Shared().
function mibController.menuModelsRender_Callback | ( | type | ) |
a callback to MIB->Menu->Models->Render model...
type | a string with desired rendering engine
|
References mibRenderModelImaris().
function mibController.menuModelsSaveAs_Callback | ( | parameter | ) |
callback to Menu->Models->Save as save model to a file
parameter | a string
|
function mibController.menuSelectionBuffer_Callback | ( | parameter | ) |
a callback to Menu->Selection to Buffer... to Copy/Paste/Clear of the selection of the shown layer
parameter | a string that defines image source:
|
References min.
function mibController.menuSelectionInterpolate | ( | ) |
a callback to the Menu->Selection->Interpolate; interpolates shapes of the selection layer
function mibController.menuSelectionToMaskBorder_Callback | ( | ) |
callback to Menu->Selection->Expand to Mask border expand selection to borders of the Masked layer
function mibController.menuToolsMeasure_Callback | ( | type | ) |
a callback for selection of obj.mibView.handles.menuToolsMeasure entries
type | a string with parameter for the tool
|
References handle.disp, and max.
function mibController.mibAddMaterialBtn_Callback | ( | BatchOptIn | ) |
callback to the obj.mibView.handles.mibAddMaterialBtn, add material to the model
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables
|
Examples:
References M, max, mibInputDlg(), mibPath, handle.notify, unFocus(), and updateBatchOptCombineFields_Shared().
function mibController.mibAnisotropicDiffusion | ( | filter_type, | |
cpuParallelLimit ) |
Filter image with Anisotropic diffusion filters.
filter_type | type of desired filter:
|
cpuParallelLimit | max number of CPU available for parallel processing |
| strcmp(filter_type,'diplib') % do diplib or anisodiff filtering
References mibDoAndiffFiltering().
function mibController.mibAnnMarkerEdit_Callback | ( | ) |
callback for selection of annotation marker type, updates mibAnnMarkerEdit field of the mibModel
Return values
function mibController.mibAutoBrightnessBtn_Callback | ( | ) |
Adjust brightness automatically for the shown image.
The function stretch the image min and max intensity values to fill the minimal and maximal values of the image container. When handles.brightnessFixCheck == 1 the coefficients are calculated for the whole 3D dataset; when handles.brightnessFixCheck == 0 each single slice adjusted individually.
Return values
References max, mibInputMultiDlg(), and min.
function mibController.mibBioformatsCheck_Callback | ( | ) |
Bioformats that can be read with loci BioFormats toolbox this function updates the list of file filters in obj.mibView.handles.mibFileFilterPopup.
function mibController.mibBrushPanelInterpolationSettingsBtn_Callback | ( | ) |
mibBrushPanelInterpolationSettingsBtn_Callback(obj, hObject) callback for modification of superpixel mode settings of the brush tool
References mibInputMultiDlg(), mibPath, and unFocus().
function mibController.mibBrushSuperpixelsEdit_Callback | ( | hObject | ) |
mibBrushSuperpixelsEdit_Callback(obj, hObject) callback for modification of superpixel mode settings of the brush tool
function mibController.mibBrushSuperpixelsWatershedCheck_Callback | ( | hObject | ) |
mibBrushSuperpixelsWatershedCheck_Callback(obj, hObject) callback for selection of superpixel mode for the brush tool
function mibController.mibBufferToggle_Callback | ( | Id, | |
BatchOptIn ) |
a callback to press of obj.mibView.handles.mibBufferToggle button
Id | index of the pressed toggle button |
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables |
References handle.notify, and updateBatchOptCombineFields_Shared().
function mibController.mibBufferToggleContext_Callback | ( | parameter, | |
buttonID, | |||
BatchOptIn ) |
callback function for the popup menu of the buffer buttons in the upper part of the Directory contents panel. This callback is triggered from all those buttons.
parameter | - a string that defines options:
|
buttonID | - a number (from 1 to 9) of the pressed toggle button. |
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables |
References mibInputMultiDlg(), mibPath, handle.notify, and updateBatchOptCombineFields_Shared().
function mibController.mibChangeLayerEdit_Callback | ( | parameter, | |
BatchOptIn ) |
A callback for changing the slices of the 3D dataset by entering a new slice number.
parameter | [optional], when provided:
|
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event
|
References handle.notify, and updateBatchOptCombineFields_Shared().
function mibController.mibChangeLayerSlider_Callback | ( | ) |
A callback function for mibGUI.mibChangeLayerSlider. Responsible for showing next or previous slice of the dataset.
References min, and handle.notify.
function mibController.mibChangeTimeEdit_Callback | ( | parameter, | |
BatchOptIn ) |
A callback for changing the time points of the dataset by entering a new time value.
parameter | [optional], when provided:
|
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event
|
References handle.notify, and updateBatchOptCombineFields_Shared().
function mibController.mibChangeTimeSlider_Callback | ( | ) |
A callback function for mibGUI.mibChangeTimeSlider. Responsible for showing next or previous time point of the dataset.
References handle.notify.
function mibController.mibChannelMixerTable_Callback | ( | type | ) |
a callback for the context menu of obj.mibView.handles.mibChannelMixerTable
Return values
type | a string with one of the possible options 'Insert empty channel' - insert color channel 'Copy channel' - copy one color channel to another 'Invert channel' - invert color channel 'Rotate channel' - rotate color channel 'Swap channels' - swap two color channels 'Delete channel' - delete color channel 'set color' - set LUT color for the channel |
function mibController.mibChannelMixerTable_CellEditCallback | ( | Indices, | |
PreviousData, | |||
modifier ) |
function mibController.mibChannelMixerTable_CellSelectionCallback | ( | Indices | ) |
a callback selection of a cell in obj.mibView.handles.mibChannelMixerTable
Indices | row and column indices of the cell(s) edited |
function mibController.mibColChannelCombo_Callback | ( | ) |
callback for modification of obj.View.handles.mibColorChannelCombo box
function mibController.mibCreateModelBtn_Callback | ( | ) |
Create a new model, callback for press of the Create button in mibGUI.
Examples:
function mibController.mibDoUndo | ( | newIndex | ) |
Undo the recent changes with Ctrl+Z shortcut.
newIndex | [optional] - index of the dataset to restore, when omitted restore the last stored dataset. |
References handle.fieldnames, min, handle.notify, and mibImage.viewPort.
function mibController.mibDragAndDropFiles | ( | DragNDrop, | |
event ) |
callback for dropping the files into the image view panel: loading the files
References DragNDrop, handle.notify, and handle.sort.
function mibController.mibDragAndDropModelFiles | ( | DragNDrop, | |
event ) |
callback for dropping model files into the segmentation table: loading the files
References DragNDrop, handle.notify, and handle.sort.
function mibController.mibEraserEdit_Callback | ( | ) |
increase size of the eraser tool with the provided in obj.mibView.handles.mibEraserEdit
Return values
function mibController.mibFijiExport | ( | ) |
Export currently open dataset to Fiji.
Return values
References mibInputDlg(), mibPath, Miji_wrapper(), and handle.permute.
function mibController.mibFijiImport | ( | ) |
import dataset from Fiji to MIB
Return values
References max, mibFijiSelectDataset(), mibPath, Miji_wrapper(), min, handle.notify, handle.permute, handle.reshape, and uint32.
function mibController.mibFijiRunMacro | ( | ) |
run command or macro on Fiji
Return values
References Miji_wrapper().
function mibController.mibFileFilterPopup_cm | ( | parameter | ) |
a context menu to the to the handles.mibFileFilterPopup, the menu is called with the right mouse button
parameter | a string with parameters for the function
|
References mibInputMultiDlg(), mibPath, and handle.sort.
function mibController.mibFilesListbox_Callback | ( | ) |
navigation in the file list, i.e. open file or change directory
References mibLoadImages(), mibPath, handle.notify, and unFocus().
function mibController.mibFilesListbox_cm_Callback | ( | parameter, | |
BatchOptIn ) |
a context menu to the to the handles.mibFilesListbox, the menu is called with the right mouse button
parameter | a string with parameters for the function
|
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables
|
References mibInputDlg(), mibInputMultiDlg(), mibLoadImages(), mibPath, min, handle.notify, unFocus(), and updateBatchOptCombineFields_Shared().
function mibController.mibFindMaterialUnderCursor | ( | ) |
find material under the mouse cursor, a callback for Ctrl+F key shortcut
References handle.notify.
function mibController.mibGUI_Brush_scrollWheelFcn | ( | eventdata | ) |
Control callbacks from mouse scroll wheel during the brush tool.
eventdata | additinal parameters |
function mibController.mibGUI_panAxesFcn | ( | xy, | |
imgWidth, | |||
imgHeight ) |
This function is responsible for moving image in obj.mibView.handles.mibImageAxes during panning.
xy | coordinates of the mouse when the mouse button was pressed |
imgWidth | width of the shown image |
imgHeight | height of the shown image |
function mibController.mibGUI_PanelShiftBtnUpFcn | ( | panelName | ) |
callback for the release of a mouse button over handles.mibSeparatingPanel to change size of Directory contents and Segmentation panels
panelName | a string with the name of the moved panel
|
function mibController.mibGUI_ScrollWheelFcn | ( | eventdata | ) |
Control callbacks from mouse scroll wheel.
This function takes care of the mouse wheel. Depending on a key modifier and
eventdata | additinal parameters |
References C(), max, and handle.notify.
Referenced by mibMeasure.DistancePolyFun().
function mibController.mibGUI_SizeChangedFcn | ( | resizeParameters | ) |
resizing for panels of MIB
resizeParameters | an optional structure used when move vertical (mibView.handles.mibSeparatingPanel) and horizontal (mibView.handles.mibSeparatingPanel2) resize panel sliders .name - a string with name of the panel .panelShift - a number with shift of the panel or true/false state to show or hide the top and bottom panels |
References max.
function mibController.mibGUI_WindowBrushMotionFcn | ( | selection_layer, | |
structElement, | |||
currMask ) |
This function draws the brush trace during use of the brush tool.
selection_layer | when 'mask' limit selection to the masked area, could be '' |
structElement | a structural element to be used with the brush, similar to the one generated with Matlab strel function |
currMask | is a bitmap with the Mask image, needed for selection_layer == 'mask' |
References min.
function mibController.mibGUI_WindowButtonDownFcn | ( | ) |
this is callback for the press of a mouse button
References handle.findobj, max, and min.
function mibController.mibGUI_WindowButtonUpDragAndDropFcn | ( | mode, | |
diffX, | |||
diffY, | |||
BatchOptIn ) |
callback for release of the mouse button after use of the Drag and Drop materials tool
mode | - mode for the drag and drop action
|
diffX | - [optional] optional value for shift in dX direction, not compatible with the 'Object2D' mode |
diffY | - [optional] optional value for shift in dY direction, not compatible with the 'Object2D' mode |
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables
|
References handle.notify, and updateBatchOptCombineFields_Shared().
function mibController.mibGUI_WindowButtonUpFcn | ( | brush_switch | ) |
callback for release of the mouse button
brush_switch | when 'subtract' - subtracts the brush selection from the existing selection, needed for return after the brush drawing tool |
References mibPath.
function mibController.mibGUI_WindowDragAndDropMotionFcn | ( | selection_layer | ) |
This function draws the displaced materials during use of the drag and drop materials tool.
brushSelection | an image of the selected layer |
function mibController.mibGUI_WindowKeyPressFcn | ( | hObject, | |
eventdata ) |
callback for a key press in mibGUI
hObject | handle of the focused object |
eventdata | structure with the following fields (see FIGURE) Key -> name of the key that was released, in lower case Character -> character interpretation of the key(s) that was released Modifier -> name(s) of the modifier key(s) (i.e., control, shift) released |
| x < 1 || x > handles.Img{handles.Id}.I.no_stacks;
References handle.isvalid, max, and handle.notify.
function mibController.mibGUI_WindowKeyPressFcn_BrushSuperpixel | ( | eventdata | ) |
a function to check key callbacks when using the Brush in the Superpixel mode
eventdata | structure with the following fields (see FIGURE) Key -> name of the key that was released, in lower case Character -> character interpretation of the key(s) that was released Modifier -> name(s) of the modifier key(s) (i.e., control, shift) released |
function mibController.mibGUI_WindowKeyReleaseFcn | ( | eventdata | ) |
callback for release of keys in mibGUI window
eventdata | structure with the following fields (see FIGURE) Key -> name of the key that was released, in lower case Character -> character interpretation of the key(s) that was released Modifier -> name(s) of the modifier key(s) (i.e., control, shift) released |
References max.
function mibController.mibGUI_WinMouseMotionFcn | ( | ) |
returns coordinates and image intensities under the mouse cursor
References min.
function mibController.mibImageFilterDoitBtn_Callback | ( | ) |
a callback to the obj.mibView.handles.mibImageFilterDoitBtn, apply image filtering using the selected filter
References mibDoImageFiltering(), and n.
function mibController.mibLoadModelBtn_Callback | ( | ) |
callback to the obj.mibView.handles.mibLoadModelBtn, loads model to MIB from a file
Examples:
function mibController.mibLutCheckbox_Callback | ( | ) |
a callback to the mibGUI.handles.mibLutCheckbox, turn on/off visualization of color channels using luck-up table (LUT)
References unFocus().
function mibController.mibMaskedAreaCheck_Callback | ( | ) |
a callback to the mibGUI.handles.mibMaskedAreaCheck, allows to toggle state of the Masked area
References unFocus().
function mibController.mibMaskGenerator | ( | type | ) |
generate the Mask
later
type | a type of the mask generator:
|
References mibGetFrangiMask(), mibGetMorphMask(), mibGetStrelMask(), and handle.permute.
function mibController.mibMaskRecalcStatsBtn_Callback | ( | ) |
recalculate objects for Mask or Model layer to use with the Object Picker tool in 3D
This function populates mibModel.maskStat structure
function mibController.mibMaskShowCheck_Callback | ( | ) |
a callback to the mibGUI.handles.maskShowCheck, allows to toggle visualization of the mask layer
References unFocus().
function mibController.mibModelPropertyUpdate | ( | parameter | ) |
% update switches in the obj.mibModel class that describe states of GUI widgets
Parameters: a string with the parameter name
mibHideImageCheck
- enable or disable visualization of the Image layer mibLiveStretchCheck
- enable or diable the live stretching of image intensities mibModelTransparencySlider
- transparency value for the model layer mibMaskTransparencySlider
- transparency value for the mask layer mibSelectionTransparencySlider
- transparency value for the selection layer mibSegmShowTypePopup
- type of model visualization: 1 - filled; 2 - contour mibAnnValueEccentricCheck
- enable value-eccentric annotationsReturn values
function mibController.mibModelShowCheck_Callback | ( | ) |
callback to the mibGUI.handles.mibModelShowCheck to toggle the Model layer on/off
Return values
function mibController.mibPixelInfo_Callback | ( | parameter, | |
BatchOptIn ) |
center image to defined position it is a callback from a popup menu above the pixel information field of the Path panel
parameter | - a string that defines options:
|
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event
|
References mibInputMultiDlg(), handle.notify, and updateBatchOptCombineFields_Shared().
function mibController.mibRecolorLabels | ( | ) |
recolor color map for 65535+ models
function mibController.mibRemoveMaterialBtn_Callback | ( | BatchOptIn | ) |
callback to the obj.mibView.handles.mibRemoveMaterialBtn, remove material from the model
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables
|
Examples:
References mibInputMultiDlg(), mibPath, handle.notify, handle.reshape, handle.sort, unFocus(), and updateBatchOptCombineFields_Shared().
function mibController.mibRoiAddBtn_Callback | ( | ) |
a callback to handles.mibRoiAddBtn, adds a roi to a dataset
function mibController.mibRoiList_cm_Callback | ( | parameter | ) |
a callback for obj.mibView.handles.mibRoiList context menu
parameter | a string with selected action
|
References mibInputDlg(), mibPath, handle.notify, and unFocus().
function mibController.mibRoiLoadBtn_Callback | ( | ) |
a callback to the obj.mibView.handles.mibRoiLoadBtn, loads roi from a file to MIB
References mib_uigetfile().
function mibController.mibRoiOptionsBtn_Callback | ( | parameter | ) |
update ROI visualization settings, as callback of mibGUI.handles.mibRoiOptionsBtn
function mibController.mibRoiRemoveBtn_Callback | ( | ) |
a callback to obj.mibView.handles.mibRoiRemoveBtn, remore selected ROI
function mibController.mibRoiSaveBtn_Callback | ( | ) |
a callback to the obj.mibView.handles.mibRoiSaveBtn, saves roi to a file in the matlab format
function mibController.mibRoiShowCheck_Callback | ( | parameter | ) |
toggle show/hide state of ROIs, as callback of mibGUI.handles.mibRoiShowCheck
parameter | a string: when noplot do not redraw the image (used from updateGuiWidgets function) |
function mibController.mibRoiToSelectionBtn_Callback | ( | ) |
a callback to obj.mibView.handles.mibRoiToSelectionBtn, highlight area under the selected ROI in the Selection layer
function mibController.mibSegmAnnDeleteAllBtn_Callback | ( | ) |
callback to Menu->Models->Annotations...->Delete all annotations, delete all annotations of the model
References handle.notify.
function mibController.mibSegmentation3dBall | ( | y, | |
x, | |||
z, | |||
modifier, | |||
BatchOptIn ) |
Do segmentation using the 3D ball tool.
y | y-coordinate of the 3D ball center |
x | x-coordinate of the 3D ball center |
z | z-coordinate of the 3D ball center |
modifier | a string, to specify what to do with the generated selection
|
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables
|
Examples:
References max, min, handle.notify, and updateBatchOptCombineFields_Shared().
function mibController.mibSegmentationAnnotation | ( | y, | |
x, | |||
z, | |||
t, | |||
modifier, | |||
options ) |
Add text annotation to the dataset.
y | y-coordinate of the annotation point |
x | x-coordinate of the annotation point |
z | z-coordinate of the annotation point |
t | t-coordinate of the annotation point |
modifier | a string, to specify what to do with the generated selection
|
options | [Optional] structure with additional settings .samInteractiveModel - logical, indicating that the tool is used to perform segmentation using segment-anything model Return values: |
Examples:
References mibInputMultiDlg(), mibPath, min, and handle.notify.
function mibController.mibSegmentationBlackWhiteThreshold | ( | parameter, | |
BatchOptIn ) |
Perform black and white thresholding for BW Threshold tool of the 'Segmentation panel'.
parameter | a tag of the calling object
|
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables
|
References max, handle.notify, and updateBatchOptCombineFields_Shared().
function mibController.mibSegmentationBrush | ( | y, | |
x, | |||
modifier ) |
mibSegmentation_Brush(obj, y, x, modifier) Do segmentation using the brush tool
y | y-coordinate of the mouse cursor at the starting point |
x | x-coordinate of the mouse cursor at the starting point |
modifier | a string, to specify what to do with the generated selection
|
Examples:
References drawregionboundaries(), max, and min.
function mibController.mibSegmentationDragAndDrop | ( | y, | |
x, | |||
modifier ) |
mibSegmentationDragAndDrop(y, x, modifier) Fix segmentation or mask/selection layers by dragging individual 2D/3D objects or complete models with a mouse
y | y-coordinate of the mouse cursor at the starting point |
x | x-coordinate of the mouse cursor at the starting point |
modifier | a string, to specify what to do with the generated selection
|
Examples:
References handle.notify.
function mibController.mibSegmentationLasso | ( | modifier | ) |
Do segmentation using the lasso tool.
modifier | a string, to specify what to do with the generated selection
|
References max, and handle.notify.
function mibController.mibSegmentationLassoManual | ( | modifier | ) |
Do manual segmentation using the lasso tool in the manual mode.
modifier | a string, to specify what to do with the generated selection
|
function mibController.mibSegmentationLines3D | ( | y, | |
x, | |||
z, | |||
modifier ) |
output = mibSegmentationLines3D(obj, y, x, z, modifier) Add and modify 3D lines
y | y-coordinate of the node |
x | x-coordinate of the node |
z | z-coordinate of the node |
modifier | a string, to specify what to do with the next point
|
References handle.notify.
function mibController.mibSegmentationMagicWand | ( | yxzCoordinate, | |
modifier ) |
Do segmentation using the Magic Wand tool.
yxzCoordinate | a vector with [y,x,z] coodrinates of the starting point, for 2d case it is enough to have only [y, x]. |
modifier | a string, to specify what to do with the generated selection
|
Examples:
References min, and handle.notify.
function output = mibController.mibSegmentationMembraneClickTraker | ( | yxzCoordinate, | |
yx, | |||
modifier ) |
output = mibSegmentationMembraneClickTraker(obj, yxzCoordinate, yx, modifier) Trace membranes and draw a straight lines in 2d and 3d
yxzCoordinate | a vector with [y,x,z] coodrinates of the starting point (match voxel coordinates of the dataset) |
yx | a vector [y,x] with coordinates of the clicked point |
modifier | a string, to specify what to do with the generated selection
|
output | a string that defines what next to do in the im_browser_WindowButtonDown function
|
References max, mibConnectPoints(), mibTraceCurve(), min, and handle.notify.
function mibController.mibSegmentationObjectPicker | ( | yxzCoordinate, | |
modifier ) |
Select 2d/3d objects from the Mask or Model layers.
yxzCoordinate | a vector with [y,x,z] coodrinates of the starting point, for 2d case it is enough to have only [y, x]. |
modifier | a string, to specify what to do with the generated selection
|
Examples:
References max, and handle.notify.
function mibController.mibSegmentationPanelCheckboxes | ( | BatchOptIn | ) |
a function of the batch mode that allow to tweak the status of checkboxes of the Segmentation panel
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables
|
Examples:
References handle.fieldnames, handle.notify, state, and updateBatchOptCombineFields_Shared().
function mibController.mibSegmentationRegionGrowing | ( | yxzCoordinate, | |
modifier ) |
Do segmentation using the Region Growing method.
Based on Fast 3D/2D Region Growing (MEX), written by Christian Wuerslin, Stanford University. http://www.mathworks.com/matlabcentral/fileexchange/41666-fast-3d-2d-region-growing–mex- Requires: compiled RegionGrowing_mex.cpp To compile: "mex RegionGrowing_mex.cpp"
yxzCoordinate | a vector with [y,x,z] coodrinates of the starting point, for 2d case it is enough to have only [y, x]. |
modifier | a string, to specify what to do with the generated selection
|
Examples:
function mibController.mibSegmentationSAM | ( | extraOptions, | |
BatchOptIn ) |
Perform segmentation using segment-anything model https://segment-anything.com.
extraOptions | structure with additional options
|
BatchOptIn | structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables
|
References max, min, handle.notify, showErrorDialog(), and updateBatchOptCombineFields_Shared().
function mibController.mibSegmentationSAM2 | ( | extraOptions, | |
BatchOptIn ) |
Perform segmentation using segment-anything-2 model https://github.com/facebookresearch/segment-anything-2.
extraOptions | structure with additional options
|
BatchOptIn | structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables
|
References max, min, handle.notify, handle.permute, showErrorDialog(), and updateBatchOptCombineFields_Shared().
function status = mibController.mibSegmentationSAM_requirements | ( | samVersion | ) |
Check for files required to run segmentation using segment-anything model https://segment-anything.com.
samVersion | integer with version of SAM
|
status | [logical], switch indicating success of the function |
function mibController.mibSegmentationSpot | ( | y, | |
x, | |||
modifier, | |||
BatchOptIn ) |
mibSegmentationSpot(obj, y, x, modifier, BatchOptIn) Do segmentation using the spot tool
y | y-coordinate of the spot center |
x | x-coordinate of the spot center |
modifier | a string, to specify what to do with the generated selection
|
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables
|
References min, handle.notify, and updateBatchOptCombineFields_Shared().
function mibController.mibSegmentationTable_CellSelectionCallback | ( | eventdata | ) |
mibSegmentationTable_CellSelectionCallback(obj, eventdata) Callback for cell selection in the handles.mibSegmentationTable table of mibGIU.m
function mibController.mibSegmentationTable_cm_Callback | ( | hObject, | |
type ) |
a callback to the context menu of mibView.handles.mibSegmentationTable
hObject | handle of the selected menu entry |
type | a string with parameters for the function
|
References max, mibInputMultiDlg(), mibPath, mibRenderModel(), and mibRenderModelFiji().
function mibController.mibSegmentationToolPopup_Callback | ( | ) |
a callback to the handles.mibSegmentationToolPopup, allows to select tool for the segmentation
function mibController.mibSegmFavToolCheck_Callback | ( | ) |
callback to the obj.mibView.handles.mibSegmFavToolCheck, to add the selected tool to the list of favourites
References handle.sort.
function mibController.mibSegmSAMPanel_Callbacks | ( | tag | ) |
callbacks for widgets of obj.mibView.handles.mibSegmSAMPanel
tag | handle to a widget that has been modified |
References mibInputMultiDlg(), mibPath, and unFocus().
function mibController.mibSegmSelectedOnlyCheck_Callback | ( | ) |
a callback to the mibGUI.handles.mibSegmSelectedOnlyCheck, allows to toggle state of the Fix selection to material
References unFocus().
function mibController.mibSelectionButton_Callback | ( | action | ) |
a callback to A
, S
, R
buttons in the Selection panel of obj.mibView.gui
action | a string that defines type of the action:
|
function mibController.mibSelectionClearBtn_Callback | ( | ) |
a callback to the mibGUI.handles.mibSelectionClearBtn, allows to clear the Selection layer
function mibController.mibSelectionDilateBtn_Callback | ( | ) |
a callback to the mibGUI.handles.mibSelectionDilateBtn, expands the selection layer
function mibController.mibSelectionErodeBtn_Callback | ( | ) |
a callback to the mibGUI.handles.mibSelectionErodeBtn, shrinks the selection layer
function mibController.mibSelectionFillBtn_Callback | ( | ) |
a callback to the mibGUI.handles.mibSelectionFillBtn, allows to fill holes for the Selection layer
function mibController.mibSelectionPanelCheckboxes | ( | BatchOptIn | ) |
a function of the batch mode that allow to tweak the status of checkboxes of the Selection panel
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables
|
Examples:
References handle.fieldnames, max, min, handle.notify, state, and updateBatchOptCombineFields_Shared().
function mibController.mibShowMilestoneDialog | ( | mode | ) |
show a milestone dialog with user performance and stats
Return values
mode | [string], optional, when
|
References mibInputMultiDlg(), mibPath, and min.
function mibController.mibToolbar_ZoomBtn_ClickedCallback | ( | hObject, | |
recenterSwitch ) |
modifies magnification using the zoom buttons in the toolbar of MIB
hObject | a string with tag of the pressed button |
recenterSwitch | [optional], defines whether the image should be recentered after zoom/unzoom. Default=0 |
function mibController.mibToolbarPlaneToggle | ( | hObject, | |
moveMouseSw ) |
a callback to the change orientation buttons in the toolbar of MIB; it toggles viewing plane: xy, zx, or zy direction
hObject | handle to im_browser.m (see GCBO) |
moveMouseSw | [optional] -> when 1, moves the mouse to the point where the the plane orientation has been changed |
References makeViewMatrix().
function mibController.mibUpdatePresetFromSegmentationSettings | ( | presetId | ) |
update preset using the current settings of the selected segmentation tool; this function is a callback on press of Shift+1, Shift+2, Shift+3 default key shortcuts
presetId | a number from 1 to 3 specifying the required preset to use |
function mibController.mibUpdateSegmentationSettingsFromPreset | ( | presetId | ) |
update settings of the selected segmentation tool from preset, this function is a callback on press of 1,2,3 default key shortcuts
presetId | a number from 1 to 3 specifying the required preset to use |
function mibController.mibViewSettingsPanelCheckboxes | ( | BatchOptIn | ) |
a function of the batch mode that allow to tweak status of checkboxes of the View Settings panel
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event, see Declaration of the BatchOpt structure below for details, the function variables are preferred over the BatchOptIn variables
|
Examples:
References handle.fieldnames, handle.notify, state, and updateBatchOptCombineFields_Shared().
function mibController.mibZoomEdit_Callback | ( | BatchOptIn | ) |
callback function for modification of the handles.mibZoomEdit
BatchOptIn | a structure for batch processing mode, when NaN return a structure with default options via "syncBatch" event
|
References handle.notify, unFocus(), and updateBatchOptCombineFields_Shared().
function mibController.plotImage | ( | resize, | |
sImgIn ) |
Plot image to mibImageAxes. The main drawing function.
resize | [optional]
|
sImgIn | a custom 2D image to show in the axes that should be targeted to the axes. Use resize=0 to show sImgIn in the same scale/position as the currently shown dataset, or resize=1 to show sImgIn in full resolution |
handles | - handles of im_browser.m |
Examples:
References handle.findobj, handle.isvalid, and min.
Referenced by mibMeasure.AngleFun(), mibMeasure.CaliperFun(), mibMeasure.CircleFun(), mibMeasure.DistanceFreeFun(), mibMeasure.DistanceFun(), mibMeasure.DistancePolyFun(), mibRoiRegion.imellipseFun(), mibRoiRegion.impolyFun(), mibRoiRegion.imrectFun(), and mibMeasure.PointFun().
|
static |
> Description of events find index of the child controller
function mibController.redrawMibChannelMixerTable | ( | ) |
Update obj.mibView.handles.mibChannelMixerTable table and obj.mibView.handles.mibColChannelCombo color combo box.
function mibController.setMeta | ( | meta | ) |
set meta data for the currently shown dataset, mibImage.meta
meta | information about the dataset, an instance of the containers .Map class |
Examples:
function mibController.startController | ( | controllerName, | |
varargin ) |
start a child controller using provided name
controllerName | a string with name of a child controller, for example, mibImageAdjController |
varargin | additional optional controllers or parameters startController ( ..., varargin{2} )
function startController(controllerName, varargin) start a child controller using provided name Definition startController.m:18 A variable number of input arguments.
|
Examples:
References handle.addlistener, handle.fieldnames, mibController(), and handle.notify.
function mibController.startPlugin | ( | pluginName | ) |
start plugin from MIB menu
Return values
pluginName | name of the plugin (same as name of directory where it is stored) |
function mibController.toolbarBlockModeSwitch_ClickedCallback | ( | ) |
a callback for press of obj.mibView.toolbarBlockModeSwitch in the toolbar of MIB
function mibController.toolbarCenterPointShow_ClickedCallback | ( | ) |
a callback for press of obj.mibView.toolbarCenterPointShow in the toolbar of MIB. Toggles display of a center point over the mibImageAxis
References handle.isvalid, and mibPath.
function mibController.toolbarInterpolation_ClickedCallback | ( | options | ) |
Function to set the state of the interpolation button in the toolbar.
When the 'options' variable is omitted the function works as a standard callback and changes the type of interpolation: 'shape' or 'line'. However, when 'options' are specified the function sets the state of the button to the currently selected type.
options | [optional],
|
References mibPath.
function mibController.toolbarRedo_ClickedCallback | ( | ) |
do one step forward in the undo history
function mibController.toolbarResizingMethod_ClickedCallback | ( | options | ) |
Function to set type of image interpolation for the visualization.
When the 'options' variable is omitted the function works as a standard callback and changes the type of image interpolation: 'bicubic' or 'nearest'. However, when 'options' are specified the function sets the state of the button to the currently selected type.
options | [optional],
|
Examples:
function mibController.toolbarUndo_ClickedCallback | ( | ) |
do one step back in the undo history
function newMode = mibController.toolbarVirtualMode_ClickedCallback | ( | options | ) |
Function to switch between loading datasets to memory or reading them from HDD on demand.
When the 'options' variable is omitted the function works as a standard callback and changes the image loading mode: memory or hdd However, when 'options' are specified the function sets the state of the button to the currently selected type.
options | [optional],
|
newMode | result of the function,
|
References mibPath, and handle.notify.
function mibController.updateAxesLimits | ( | mode, | |
index, | |||
newMagFactor ) |
Updates the obj.mibImage.axesX and obj.mibImage.axesY during fit screen, resize, or new dataset drawing.
mode | update mode
|
index | [optional] index of the mibImage to update, when [] updates the currently selected dataset |
newMagFactor | a value of the new magnification factor, only for the zoom mode Return values: |
Examples:
References handle.notify.
function mibController.updateFilelist | ( | filename | ) |
Update list of files in the current working directory (obj.mibModel.myPath)
filename | [optional], when specified highlight filename in the list of files |
function mibController.updateGuiWidgets | ( | ) |
Update user interface widgets in obj.mibView.gui based on the properties of the opened dataset.
References max, mibPath, min, and handle.notify.
function mibController.updateMyPath | ( | myPath | ) |
update mibModel.myPath, which is the current working directory
myPath | a new path to use as the working directory |
Examples:
function mibController.updateSegmentationTable | ( | position | ) |
Update obj.mibView.handles.mibSegmentationTable in the main window of mibGIU.m.
position | [optional] a string with scroll value for the segmentation table:
|
function mibController.updateShownId | ( | Id | ) |
update index of the displayed dataset, after, for example press of the handles.mibBufferToggle buttons in mibGUI
Id | index of the dataset |
Examples:
References handle.notify.
function mibController.volren_scrollWheelFcn | ( | eventdata | ) |
callback for mouse wheel during the volume rendering mode
function mibController.volren_WindowButtonDownFcn | ( | ) |
callback for the press of a mouse button during the volume rendering mode
function mibController.volren_WindowButtonUpFcn | ( | ) |
callback for mouse button up event during the volume rendering mode
function mibController.volren_WindowInteractMotionFcn | ( | seltype | ) |
callback for translation/rotation of dataset during the volume rendering mode
seltype | a string with parameter
|
References M.
function mibController.volren_winMouseMotionFcn | ( | ) |
change cursor shape when cursor is inside the axis during the volume rendering mode
function mibController.volrenToolbarSwitch_ClickedCallback | ( | parameter | ) |
a callback for press of obj.mibView.volrenToolbarSwitch in the toolbar of MIB
parameter | a string
|
References makeViewMatrix(), max, and mibResize3d().
mibController.brushSizeNumbers |
matrix with the font for changing of brush size
mibController.childControllers |
list of opened subcontrollers
mibController.childControllersIds |
a cell array with names of initialized child controllers
mibController.DragNDrop |
drag and drop handle for dropping the files to the file listbox
Referenced by mibDragAndDropFiles(), and mibDragAndDropModelFiles().
mibController.DragNDropModel |
drag and drop handle for dropping the files to the file listbox
mibController.listener |
a cell array with handles to listeners
mibController.matlabVersion |
version of Matlab
mibController.mibModel |
handles to the model
Referenced by mibRoiRegion.addROIsToPlot(), mibMeasure.AngleFun(), mibMeasure.CaliperFun(), mibMeasure.CircleFun(), mibMeasure.DistanceFreeFun(), mibMeasure.DistanceFun(), mibMeasure.DistancePolyFun(), mibMeasure.drawROI(), mibRoiRegion.drawROI(), mibMeasure.editMeasurements(), mibRoiRegion.imellipseFun(), mibRoiRegion.impolyFun(), mibRoiRegion.imrectFun(), mibController(), and mibMeasure.PointFun().
mibController.mibPath |
path to MIB installation directory
Referenced by getDefaultParameters(), menuDatasetScalebar_Callback(), menuDatasetTrasform_Callback(), menuFileImportImage_Callback(), menuFileRender_Callback(), menuImageToolsProjection_Callback(), menuMaskExport_Callback(), menuMaskImageReplace_Callback(), menuMaskImport_Callback(), menuModelAnn_Callback(), menuModelsImport_Callback(), mibAddMaterialBtn_Callback(), mibBrushPanelInterpolationSettingsBtn_Callback(), mibBufferToggleContext_Callback(), mibController(), mibFijiExport(), mibFijiImport(), mibFileFilterPopup_cm(), mibFilesListbox_Callback(), mibFilesListbox_cm_Callback(), mibGUI_WindowButtonUpFcn(), mibRemoveMaterialBtn_Callback(), mibRoiList_cm_Callback(), mibSegmentationAnnotation(), mibSegmentationTable_cm_Callback(), mibSegmSAMPanel_Callbacks(), mibShowMilestoneDialog(), toolbarCenterPointShow_ClickedCallback(), toolbarInterpolation_ClickedCallback(), toolbarVirtualMode_ClickedCallback(), and updateGuiWidgets().
mibController.mibVersion |
= ver. 2.601 / 04.11.2019
; % ATTENTION! it is important to have the version number between "ver." and "/" version of MIB
Referenced by mibController().
mibController.mibVersionNumeric |
version of MIB in numerical form
mibController.mibView |
handle to the view
Referenced by mibRoiRegion.addROIsToPlot(), mibMeasure.AngleFun(), mibMeasure.CaliperFun(), mibMeasure.CircleFun(), mibMeasure.DistanceFun(), mibMeasure.DistancePolyFun(), mibMeasure.drawROI(), mibRoiRegion.drawROI(), mibRoiRegion.imellipseFun(), mibRoiRegion.impolyFun(), mibRoiRegion.imrectFun(), mibController(), and mibMeasure.PointFun().