![]() |
Microscopy Image Browser 2.91
MIB
|
a controller class for the list of annotations available via MIB->Menu->Models->Annotations->List of annotations More...
Public Member Functions | |
mibAnnotationsController (mibModel) | |
function | closeWindow () |
closing mibAnnotationsController window | |
function | updateWidgets () |
update annotation table | |
function | loadBtn_Callback () |
load annotation from a file or import from Matlab | |
function | saveBtn_Callback () |
save annotations to a file or export to Matlab | |
function | saveAnnotationsToFile (labelText, labelPosition, labelValue) |
save annotations to a file | |
function | deleteBtn_Callback () |
delete all annotations | |
function | annotationTable_CellSelectionCallback (Indices) |
a callback for cell selection of obj.View.handles.annotationTable | |
function | annotationTable_CellEditCallback (Indices) |
a callback for cell edit of obj.View.handles.annotationTable | |
function | precisionEdit_Callback () |
callback for modification of the precision parameter for the annotation values | |
function | tableContextMenu_cb (parameter) |
callbacks for the context menu of obj.View.handles.annotationTable | |
function | mibAnnotationsGUI_KeyPressFcn (eventdata) |
callback from key presses within the mibAnnotationsGUI | |
function | annotationTable_KeyPressFcn (eventdata) |
callback from key pressed within the obj.View.handles.annotationTable | |
function | resortTablePopup_Callback () |
Resort the list of annotation labels. | |
function | startController (controllerName, varargin) |
start a child controller using provided name, see more in see more in mibController.startController | |
function id = | findChildId (childName) |
find id of a child controller, see more in mibController.findChildId | |
function | settingsBtn_Callback () |
define additional settings for the annotations | |
Static Public Member Functions | |
static function | ViewListner_Callback2 (obj, src, evnt) |
static function | purgeControllers (obj, src, evnt) |
find index of the child controller and purge it | |
Public Attributes | |
mibModel | |
handles to the model | |
View | |
handle to the view | |
listener | |
a cell array with handles to listeners | |
imarisOptions | |
a structure with export options for imaris .radii - number with default radius .color - default color [Red Green Blue Alpha] in range from 0 to 1; .name - default name | |
indices | |
indices of selected annotations in the table | |
jScroll | |
java handle to the scroll bar of obj.View.handles.annotationTable | |
jTable | |
java handle to the obj.View.handles.annotationTable | |
batchModifyExpressionOperation | |
operation | |
batchModifyExpressionFactor | |
factor to modify value | |
childControllers | |
list of opened subcontrollers | |
childControllersIds | |
a cell array with names of initialized child controllers | |
BatchOpt | |
BatchOpt structure. | |
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. | |
a controller class for the list of annotations available via MIB->Menu->Models->Annotations->List of annotations
mibAnnotationsController.mibAnnotationsController | ( | mibModel | ) |
References handle.addlistener, findjobj(), and mibModel.
Referenced by startController().
function mibAnnotationsController.annotationTable_CellEditCallback | ( | Indices | ) |
a callback for cell edit of obj.View.handles.annotationTable
Indices | index of the selected cell, returned by eventdata.Indices structure of GUI |
References handle.notify.
function mibAnnotationsController.annotationTable_CellSelectionCallback | ( | Indices | ) |
a callback for cell selection of obj.View.handles.annotationTable
Indices | index of the selected cell, returned by eventdata.Indices structure of GUI |
function mibAnnotationsController.annotationTable_KeyPressFcn | ( | eventdata | ) |
callback from key pressed within the obj.View.handles.annotationTable
function mibAnnotationsController.closeWindow | ( | ) |
closing mibAnnotationsController window
References handle.isvalid, and handle.notify.
function mibAnnotationsController.deleteBtn_Callback | ( | ) |
delete all annotations
References handle.notify.
function id = mibAnnotationsController.findChildId | ( | childName | ) |
find id of a child controller, see more in mibController.findChildId
childName | name of a child controller |
id | index of the requested child controller or empty if it is not open |
function mibAnnotationsController.loadBtn_Callback | ( | ) |
load annotation from a file or import from Matlab
References amiraLandmarks2points(), handle.disp, mib_uigetfile(), mibInputMultiDlg(), N, handle.notify, Labels.replaceLabels(), and handle.sort.
function mibAnnotationsController.mibAnnotationsGUI_KeyPressFcn | ( | eventdata | ) |
callback from key presses within the mibAnnotationsGUI
function mibAnnotationsController.precisionEdit_Callback | ( | ) |
callback for modification of the precision parameter for the annotation values
References editbox_Callback(), and handle.notify.
|
static |
find index of the child controller and purge it
function mibAnnotationsController.resortTablePopup_Callback | ( | ) |
Resort the list of annotation labels.
function mibAnnotationsController.saveAnnotationsToFile | ( | labelText, | |
labelPosition, | |||
labelValue ) |
save annotations to a file
labelText | labels of annotations, cell array |
labelPosition | a matrix with coordinates for the annotations |
labelValue | an array with annotation values |
References max, and mibInputMultiDlg().
function mibAnnotationsController.saveBtn_Callback | ( | ) |
save annotations to a file or export to Matlab
References mibInputDlg().
function mibAnnotationsController.settingsBtn_Callback | ( | ) |
define additional settings for the annotations
References mibInputMultiDlg(), and handle.notify.
function mibAnnotationsController.startController | ( | controllerName, | |
varargin ) |
start a child controller using provided name, see more in see more in mibController.startController
controllerName | a string with name of a child controller, for example, mibImageAdjController |
varargin | additional optional controllers or parameters |
References handle.addlistener, and mibAnnotationsController().
function mibAnnotationsController.tableContextMenu_cb | ( | parameter | ) |
callbacks for the context menu of obj.View.handles.annotationTable
parameter | a string with selected option 'Add' - add annotations 'Modify' - batch modify selected annotations 'Rename' - rename selected annotations 'Jump' - jump to the selected annotation 'Count' - count annotations 'Clipboard' - copy selected annotations to the system clipboard 'CropPatches' - crop patches from image around selected annotations 'Mask' - copy selected annotations to the mask layer 'Interpolate' - interpolate between two selected annotations; add result as new annotations 'Export' - export/save annotations to matlab or to a file 'Imaris' - export annotations to Imaris 'OrderTop', 'OrderUp', 'OrderDown', 'OrderBottom' - change order of the annotation in the list 'Delete' - delete selected annotations |
References A(), cell2clip(), max, mibInputMultiDlg(), mibSetImarisSpots(), min, handle.notify, and handle.sort.
function mibAnnotationsController.updateWidgets | ( | ) |
update annotation table
|
static |
mibAnnotationsController.batchModifyExpressionFactor |
factor to modify value
mibAnnotationsController.batchModifyExpressionOperation |
operation
mibAnnotationsController.BatchOpt |
BatchOpt structure.
mibAnnotationsController.childControllers |
list of opened subcontrollers
mibAnnotationsController.childControllersIds |
a cell array with names of initialized child controllers
EVENT mibAnnotationsController.closeEvent |
> Description of events event firing when window is closed
mibAnnotationsController.imarisOptions |
a structure with export options for imaris .radii - number with default radius .color - default color [Red Green Blue Alpha] in range from 0 to 1; .name - default name
mibAnnotationsController.indices |
indices of selected annotations in the table
mibAnnotationsController.jScroll |
java handle to the scroll bar of obj.View.handles.annotationTable
mibAnnotationsController.jTable |
java handle to the obj.View.handles.annotationTable
mibAnnotationsController.listener |
a cell array with handles to listeners
mibAnnotationsController.mibModel |
handles to the model
Referenced by mibAnnotationsController().
mibAnnotationsController.View |
handle to the view