![]() |
Microscopy Image Browser 2.91
MIB
|
class is a template class for using with GUI developed using appdesigner of Matlab More...
Public Member Functions | |
mibDeepActivationsController (mibModel, varargin) | |
function | closeWindow () |
closing mibDeepActivationsController window | |
function | updateWidgets () |
update widgets of this window | |
function | updateBatchOptFromGUI (event) |
function | returnBatchOpt (BatchOptOut) |
return structure with Batch Options and possible configurations via the notify syncBatch event Parameters: BatchOptOut: a local structure with Batch Options generated during Continue callback. It may contain more fields than obj.BatchOpt structure | |
function status = | getNewImage (filename) |
load a new image from prediction image store | |
function | updatePreviewImage () |
update preview of the original image | |
function | ShiftImage (event) |
callback for change of x1, y1, z1 coordinates to shift the patch | |
function | getActivations () |
from the selected image area generate activations | |
function | showActivations () |
show activations for the current image | |
function | changeImage (event) |
callback for change image buttons | |
function | makeCollage (silentMode) |
make collage image from activations | |
Static Public Member Functions | |
static function | ViewListner_Callback (obj, src, evnt) |
Public Attributes | |
mibModel | |
handles to mibModel | |
View | |
handle to the view / mibDeepActivationsGUI | |
listener | |
a cell array with handles to listeners | |
mibDeep | |
a handle to parent mibDeep controller | |
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 .NetworkLayerName{1} - [dropdown], cell string with the desired layer; NetworkLayerName{2} - [optional], an array with possible layers .ImageFilename{1} - [dropdown], cell string with the file name to show .z1{1} - numeric, number of slice for 3D datasets to show .x1{1} - numeric, image shift in x .y1{1} - numeric, image shift in y .patchZ{1} - numeric, position inside the activation block .filterId{1} - numeric, filter id of the activation block | |
imgDS | |
imageDatastore with images to be be explored | |
imageOriginal | |
a cropped original image that will be used to get activations, [height, width, color, depth] | |
imageActivation | |
returned activations for the imageOriginal | |
deltaZ | |
difference between the Z of the image and the show patch patch Z | |
patchNetworkDims | |
dimensions of network layer patch | |
net | |
a structure with the loaded network file .AugOpt2DStruct 1x1 1690 struct .AugOpt3DStruct 1x1 1253 struct .BatchOpt 1x1 23881 struct .InputLayerOpt 1x1 928 struct .TrainingOptionsStruct 1x1 2060 struct .classNames 4x1 492 cell .inputPatchSize 1x4 32 double .net 1x1 30905044 DAGNetwork .outputPatchSize 1x4 32 double | |
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
mibDeepActivationsController.mibDeepActivationsController | ( | mibModel, | |
varargin ) |
References handle.addlistener, mibDeepStoreLoadImages(), mibModel, mibUpdateFontSize(), moveWindowOutside(), handle.notify, updateBatchOptCombineFields_Shared(), and updateGUIFromBatchOpt_Shared().
function mibDeepActivationsController.changeImage | ( | event | ) |
function mibDeepActivationsController.closeWindow | ( | ) |
closing mibDeepActivationsController window
References handle.isvalid, and handle.notify.
function mibDeepActivationsController.getActivations | ( | ) |
from the selected image area generate activations
References min, and handle.permute.
function status = mibDeepActivationsController.getNewImage | ( | filename | ) |
load a new image from prediction image store
filename | short filename of the image to show |
status | logical switch, 1 - success |
References min, and handle.permute.
function mibDeepActivationsController.makeCollage | ( | silentMode | ) |
make collage image from activations
silentMode | logical ask or not for FigName and resize, see "generateSnapshots = false;" in the ShiftImage function |
References mibInputMultiDlg(), handle.permute, and handle.reshape.
function mibDeepActivationsController.returnBatchOpt | ( | BatchOptOut | ) |
return structure with Batch Options and possible configurations via the notify syncBatch
event Parameters: BatchOptOut: a local structure with Batch Options generated during Continue callback. It may contain more fields than obj.BatchOpt structure
References handle.notify.
function mibDeepActivationsController.ShiftImage | ( | event | ) |
function mibDeepActivationsController.showActivations | ( | ) |
show activations for the current image
References max, mibShowErrorDialog(), and min.
function mibDeepActivationsController.updateBatchOptFromGUI | ( | event | ) |
function mibDeepActivationsController.updatePreviewImage | ( | ) |
update preview of the original image
References min.
function mibDeepActivationsController.updateWidgets | ( | ) |
update widgets of this window
References updateGUIFromBatchOpt_Shared().
|
static |
mibDeepActivationsController.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 .NetworkLayerName{1} - [dropdown], cell string with the desired layer; NetworkLayerName{2} - [optional], an array with possible layers .ImageFilename{1} - [dropdown], cell string with the file name to show .z1{1} - numeric, number of slice for 3D datasets to show .x1{1} - numeric, image shift in x .y1{1} - numeric, image shift in y .patchZ{1} - numeric, position inside the activation block .filterId{1} - numeric, filter id of the activation block
EVENT mibDeepActivationsController.closeEvent |
> Description of events event firing when window is closed
mibDeepActivationsController.deltaZ |
difference between the Z of the image and the show patch patch Z
mibDeepActivationsController.imageActivation |
returned activations for the imageOriginal
mibDeepActivationsController.imageOriginal |
a cropped original image that will be used to get activations, [height, width, color, depth]
mibDeepActivationsController.imgDS |
imageDatastore with images to be be explored
mibDeepActivationsController.listener |
a cell array with handles to listeners
mibDeepActivationsController.mibDeep |
a handle to parent mibDeep controller
mibDeepActivationsController.mibModel |
handles to mibModel
Referenced by mibDeepActivationsController().
mibDeepActivationsController.net |
a structure with the loaded network file .AugOpt2DStruct 1x1 1690 struct .AugOpt3DStruct 1x1 1253 struct .BatchOpt 1x1 23881 struct .InputLayerOpt 1x1 928 struct .TrainingOptionsStruct 1x1 2060 struct .classNames 4x1 492 cell .inputPatchSize 1x4 32 double .net 1x1 30905044 DAGNetwork .outputPatchSize 1x4 32 double
mibDeepActivationsController.patchNetworkDims |
dimensions of network layer patch
mibDeepActivationsController.View |
handle to the view / mibDeepActivationsGUI