![]() |
Microscopy Image Browser 2.91
MIB
|
class is a template class for using with GUI developed using appdesigner of Matlab More...
Public Member Functions | |
mibDeepAugmentSettingsController (mibModel, varargin) | |
function | closeWindow () |
closing mibDeepAugmentSettingsController window | |
function | updateWidgets (widgetGroup) |
update widgets of this window | |
function | enableStateChange (event) |
callback on press of enable checkboxes - enable or disable the selected augmentation | |
function | updateAugmentationParameters (event) |
callback on change of spinboxes - change settings for augmentations | |
function | disableAugmentations () |
disable all augmentations | |
function | resetAugmentations () |
resetAugmentations(obj) reset augmentation settings to their default values | |
function | setPreviewAugmentationSettings () |
update settings for preview of augmented patches | |
function | previewAugmentations (selectedAugmentation) |
previewAugmentations(obj, selectedAugmentation) preview selected augmentations. The order of shown augmentations depends on the Random seed value within the Train tab of DeepMIB, when 0 a random set of augmentations is used each time, otherwise random generator os always intialized using the provided seed. | |
function | restorePreviousSeed () |
restore the previous seed used in random settings | |
function | Accept () |
---------------------------------------------------------------— % Additional functions and callbacks accept selected augmentations | |
Static Public Member Functions | |
static function | ViewListner_Callback (obj, src, evnt) |
Public Attributes | |
mibModel | |
handles to mibModel | |
View | |
handle to the view / mibDeepAugmentSettingsGUI | |
listener | |
a cell array with handles to listeners | |
BatchOpt | |
a structure compatible with batch operation name of each field should be displayed in a tooltip of GUI it is recommended that the Tags of widgets match the name of the fields in this structure .Parameter - [editbox], char/string .Checkbox - [checkbox], logical value true or false .Dropdown{1} - [dropdown], cell string for the dropdown .Dropdown{2} - [optional], an array with possible options .Radio - [radiobuttons], cell string Radio1 or Radio2 ... .ParameterNumeric{1} - [numeric editbox], cell with a number .ParameterNumeric{2} - [optional], vector with limits [min, max] .ParameterNumeric{3} - [optional], string on - to round the value, off to do not round the value | |
mibDeep | |
a handle to parent mibDeep controller | |
augmentationMode | |
a string defining 2D or 3D augmentations to setup | |
augOptions | |
copy of augmented options obj.obj.AugOpt2D or obj.obj.AugOpt3D | |
lastSeed | |
last random seed used | |
EVENT | closeEvent |
> Description of events event firing when window is closed | |
![]() | |
addlistener | |
Creates a listener for the specified event and assigns a callback function to execute when the event occurs. | |
notify | |
Broadcast a notice that a specific event is occurring on a specified handle object or array of handle objects. | |
delete | |
Handle object destructor method that is called when the object's lifecycle ends. | |
disp | |
Handle object disp method which is called by the display method. See the MATLAB disp function. | |
display | |
Handle object display method called when MATLAB software interprets an expression returning a handle object that is not terminated by a semicolon. See the MATLAB display function. | |
findobj | |
Finds objects matching the specified conditions from the input array of handle objects. | |
findprop | |
Returns a meta.property objects associated with the specified property name. | |
fields | |
Returns a cell array of string containing the names of public properties. | |
fieldnames | |
Returns a cell array of string containing the names of public properties. See the MATLAB fieldnames function. | |
isvalid | |
Returns a logical array in which elements are true if the corresponding elements in the input array are valid handles. This method is Sealed so you cannot override it in a handle subclass. | |
eq | |
Relational functions example. See details for more information. | |
transpose | |
Transposes the elements of the handle object array. | |
permute | |
Rearranges the dimensions of the handle object array. See the MATLAB permute function. | |
reshape | |
hanges the dimensions of the handle object array to the specified dimensions. See the MATLAB reshape function. | |
sort | |
ort the handle objects in any array in ascending or descending order. | |
class is a template class for using with GUI developed using appdesigner of Matlab
or
or
mibDeepAugmentSettingsController.mibDeepAugmentSettingsController | ( | mibModel, | |
varargin ) |
References handle.addlistener, mibModel, mibUpdateFontSize(), and moveWindowOutside().
function mibDeepAugmentSettingsController.Accept | ( | ) |
---------------------------------------------------------------— % Additional functions and callbacks accept selected augmentations
References handle.fieldnames.
function mibDeepAugmentSettingsController.closeWindow | ( | ) |
closing mibDeepAugmentSettingsController window
References handle.isvalid, and handle.notify.
function mibDeepAugmentSettingsController.disableAugmentations | ( | ) |
disable all augmentations
References handle.fieldnames.
function mibDeepAugmentSettingsController.enableStateChange | ( | event | ) |
callback on press of enable checkboxes - enable or disable the selected augmentation
function mibDeepAugmentSettingsController.previewAugmentations | ( | selectedAugmentation | ) |
previewAugmentations(obj, selectedAugmentation) preview selected augmentations. The order of shown augmentations depends on the Random seed value within the Train tab of DeepMIB, when 0 a random set of augmentations is used each time, otherwise random generator os always intialized using the provided seed.
selectedAugmentation | string with the id of the augmentation to preview. When empty, all augmentations will be rendered. |
References handle.fieldnames, mibDeepAugmentAndCrop2dPatchMultiGPU(), mibDeepAugmentAndCrop3dPatchMultiGPU(), mibDeepStoreLoadImages(), mibInputMultiDlg(), mibShowErrorDialog(), and min.
function mibDeepAugmentSettingsController.resetAugmentations | ( | ) |
resetAugmentations(obj) reset augmentation settings to their default values
References mibDeepGenerateDefaultAugmentationSettings().
function mibDeepAugmentSettingsController.restorePreviousSeed | ( | ) |
restore the previous seed used in random settings
function mibDeepAugmentSettingsController.setPreviewAugmentationSettings | ( | ) |
update settings for preview of augmented patches
References mibInputMultiDlg().
function mibDeepAugmentSettingsController.updateAugmentationParameters | ( | event | ) |
callback on change of spinboxes - change settings for augmentations
function mibDeepAugmentSettingsController.updateWidgets | ( | widgetGroup | ) |
update widgets of this window
|
static |
mibDeepAugmentSettingsController.augmentationMode |
a string defining 2D or 3D augmentations to setup
mibDeepAugmentSettingsController.augOptions |
copy of augmented options obj.obj.AugOpt2D or obj.obj.AugOpt3D
mibDeepAugmentSettingsController.BatchOpt |
a structure compatible with batch operation name of each field should be displayed in a tooltip of GUI it is recommended that the Tags of widgets match the name of the fields in this structure .Parameter - [editbox], char/string .Checkbox - [checkbox], logical value true or false .Dropdown{1} - [dropdown], cell string for the dropdown .Dropdown{2} - [optional], an array with possible options .Radio - [radiobuttons], cell string Radio1
or Radio2
... .ParameterNumeric{1} - [numeric editbox], cell with a number .ParameterNumeric{2} - [optional], vector with limits [min, max] .ParameterNumeric{3} - [optional], string on
- to round the value, off
to do not round the value
EVENT mibDeepAugmentSettingsController.closeEvent |
> Description of events event firing when window is closed
mibDeepAugmentSettingsController.lastSeed |
last random seed used
mibDeepAugmentSettingsController.listener |
a cell array with handles to listeners
mibDeepAugmentSettingsController.mibDeep |
a handle to parent mibDeep controller
mibDeepAugmentSettingsController.mibModel |
handles to mibModel
Referenced by mibDeepAugmentSettingsController().
mibDeepAugmentSettingsController.View |
handle to the view / mibDeepAugmentSettingsGUI