![]() |
Microscopy Image Browser 2.91
MIB
|
class is a template class for using with GUI developed using appdesigner of Matlab More...
Public Member Functions | |
mibImageFiltersController (mibModel, varargin) | |
get version of Matlab, important because not all widgets are available in R2019a and older | |
function | closeWindow () |
closing mibImageFiltersController window | |
function | updateWidgets () |
update widgets of this window | |
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 | FilterGroupValueChanged (event) |
update gui upon press of FilterGroup dropout | |
function | scrollWheel_Callback (event) |
verticalScrollAmount = event.VerticalScrollAmount; | |
function | updateImageFiltersParameters (hWidget, event) |
update obj.ImageFilters structure with parameters of filters | |
function | FilterNameValueChanged (event) |
update gui upon press of FilterName dropdown | |
function | helpButton_Callback () |
function | Mode3DValueChanged () |
callback for Mode3D press | |
function | renderThumbnailPreview () |
render an image for the thumbnail preview if ismember(obj.BatchOpt.FilterName{1}, {DNNdenoise ,FastLocalLaplacian ,FlatfieldCorrection , LocalBrighten , ReduceHaze , UnsharpMask }); return; end % do not render preview for these filters | |
function | PreviewButtonPushed () |
generate filter preview for the currenly shown area | |
Static Public Member Functions | |
static function | ViewListner_Callback (obj, src, evnt) |
Public Attributes | |
mibModel | |
handles to mibModel | |
View | |
handle to the view / mibImageFiltersGUI | |
listener | |
a cell array with handles to listeners | |
BasicFiltersList | |
cell array with available basic filters % {Average , Disk }; | |
EdgePreservingFiltersList | |
cell array with available edge preserving filters % {Bilateral , Anisotropic diffusion , '}; | |
ContrastFiltersList | |
cell array with available contrast adjustment filters | |
BinarizationFiltersList | |
cell array with available binarization filters | |
ImageFilters | |
a structure with parameters for the filter, taken from obj.mibModel.sessionSettings.ImageFilters | |
Filters3D | |
list of 3D compatible filters | |
MatlabR2019b | |
a logical switch indicating matlab version R2019b or newer | |
ParaHandles | |
a cell array with handles to the parameters widgets | |
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 | 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
mibImageFiltersController.mibImageFiltersController | ( | mibModel, | |
varargin ) |
get version of Matlab, important because not all widgets are available in R2019a and older
References handle.addlistener, mibModel, mibUpdateFontSize(), moveWindowOutside(), handle.notify, updateBatchOptCombineFields_Shared(), and updateGUIFromBatchOpt_Shared().
function mibImageFiltersController.closeWindow | ( | ) |
closing mibImageFiltersController window
References handle.isvalid, and handle.notify.
function mibImageFiltersController.FilterGroupValueChanged | ( | event | ) |
update gui upon press of FilterGroup dropout
function mibImageFiltersController.FilterNameValueChanged | ( | event | ) |
update gui upon press of FilterName dropdown
References handle.fieldnames.
function mibImageFiltersController.helpButton_Callback | ( | ) |
function mibImageFiltersController.Mode3DValueChanged | ( | ) |
callback for Mode3D press
References updateBatchOptFromGUI_Shared().
function mibImageFiltersController.PreviewButtonPushed | ( | ) |
generate filter preview for the currenly shown area
References max, min, and handle.notify.
function mibImageFiltersController.renderThumbnailPreview | ( | ) |
render an image for the thumbnail preview if ismember(obj.BatchOpt.FilterName{1}, {DNNdenoise
,FastLocalLaplacian
,FlatfieldCorrection
, LocalBrighten
, ReduceHaze
, UnsharpMask
}); return; end % do not render preview for these filters
function mibImageFiltersController.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.fieldnames, and handle.notify.
function mibImageFiltersController.scrollWheel_Callback | ( | event | ) |
function mibImageFiltersController.updateImageFiltersParameters | ( | hWidget, | |
event ) |
update obj.ImageFilters structure with parameters of filters
References updateBatchOptFromGUI_Shared().
function mibImageFiltersController.updateWidgets | ( | ) |
update widgets of this window
References updateBatchOptFromGUI_Shared(), and updateGUIFromBatchOpt_Shared().
|
static |
mibImageFiltersController.BasicFiltersList |
cell array with available basic filters % {Average
, Disk
};
mibImageFiltersController.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
mibImageFiltersController.BinarizationFiltersList |
cell array with available binarization filters
EVENT mibImageFiltersController.closeEvent |
> Description of events event firing when window is closed
mibImageFiltersController.ContrastFiltersList |
cell array with available contrast adjustment filters
mibImageFiltersController.EdgePreservingFiltersList |
cell array with available edge preserving filters % {Bilateral
, Anisotropic diffusion
, '};
mibImageFiltersController.Filters3D |
list of 3D compatible filters
mibImageFiltersController.ImageFilters |
a structure with parameters for the filter, taken from obj.mibModel.sessionSettings.ImageFilters
mibImageFiltersController.listener |
a cell array with handles to listeners
mibImageFiltersController.MatlabR2019b |
a logical switch indicating matlab version R2019b or newer
mibImageFiltersController.mibModel |
handles to mibModel
Referenced by mibImageFiltersController().
mibImageFiltersController.ParaHandles |
a cell array with handles to the parameters widgets
mibImageFiltersController.View |
handle to the view / mibImageFiltersGUI