Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
mibCropController Class Reference

class is responsible for showing the dataset crop window, available from MIB->Menu->Dataset->Crop More...

Inheritance diagram for mibCropController:
Collaboration diagram for mibCropController:

Public Member Functions

 mibCropController (mibModel, mibImageAxes, varargin)
 
function  closeWindow ()
 closing mibCropController 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  updateBatchOptFromGUI (hObject)
 
function  updateWidgets ()
 update all widgets of the current window
 
function  radio_Callback (hObject)
 callback for selection of crop mode
 
function  editboxes_Callback ()
 update parameters of obj.roiPos based on provided values
 
function  SelectROI_Callback ()
 callback for change of obj.View.handles.SelectROI with the list of ROIs
 
function  resetBtn_Callback ()
 reset widgets based on current image sizes
 
function  cropToBtn_Callback ()
 select destination buffer for the cropping
 
function  cropBtn_Callback (hObject)
 make the crop
 

Static Public Member Functions

static function  ViewListner_Callback2 (obj, src, evnt)
 

Public Attributes

 mibModel
 handles to the model
 
 View
 handle to the view
 
 listener
 a cell array with handles to listeners
 
 roiPos
 a cell array with position of the ROI for crop obj.roiPos{1} = [1, width, 1, height, 1, depth, 1, time];
 
 mibImageAxes
 handle to mibView. mibImageAxes, main image axes of MIB
 
 currentMode
 a string with the selected crop mode: Interactive,Manual,ROI
 
 BatchOpt
 a structure compatible with batch operation, see details in the contsructor
 
 batchProcessingSwitch
 logical indicating whether the batch processing mode is used
 
EVENT closeEvent
 > Description of events event firing when window is closed
 
- Public Attributes inherited from handle
 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.
 

Detailed Description

class is responsible for showing the dataset crop window, available from MIB->Menu->Dataset->Crop

Constructor & Destructor Documentation

◆ mibCropController()

mibCropController.mibCropController ( mibModel,
mibImageAxes,
varargin )

References handle.addlistener, mibImageAxes, mibModel, handle.notify, and updateBatchOptCombineFields_Shared().

Here is the call graph for this function:

Member Function Documentation

◆ closeWindow()

function mibCropController.closeWindow ( )

closing mibCropController window

References handle.isvalid, and handle.notify.

◆ cropBtn_Callback()

function mibCropController.cropBtn_Callback ( hObject)

make the crop

Parameters
hObjecthandle to the pressed button, handles.croptoBtn or handles.cropBtn
Required fields of hObject:

References max, min, and handle.notify.

◆ cropToBtn_Callback()

function mibCropController.cropToBtn_Callback ( )

select destination buffer for the cropping

References mibInputMultiDlg(), and handle.notify.

Here is the call graph for this function:

◆ editboxes_Callback()

function mibCropController.editboxes_Callback ( )

update parameters of obj.roiPos based on provided values

References max, and min.

◆ radio_Callback()

function mibCropController.radio_Callback ( hObject)

callback for selection of crop mode

Parameters
hObjecta handle to selected radio button to choose the crop mode
  • handles.Interactive - interactive
  • handles.Manual - manual
  • handles.ROI - from selected ROI
Required fields of hObject:

◆ resetBtn_Callback()

function mibCropController.resetBtn_Callback ( )

reset widgets based on current image sizes

◆ returnBatchOpt()

function mibCropController.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.

◆ SelectROI_Callback()

function mibCropController.SelectROI_Callback ( )

callback for change of obj.View.handles.SelectROI with the list of ROIs

References max, and min.

◆ updateBatchOptFromGUI()

function mibCropController.updateBatchOptFromGUI ( hObject)

References updateBatchOptFromGUI_Shared().

Here is the call graph for this function:

◆ updateWidgets()

function mibCropController.updateWidgets ( )

update all widgets of the current window

References max.

◆ ViewListner_Callback2()

static function mibCropController.ViewListner_Callback2 ( obj,
src,
evnt )
static

Member Data Documentation

◆ BatchOpt

mibCropController.BatchOpt

a structure compatible with batch operation, see details in the contsructor

◆ batchProcessingSwitch

mibCropController.batchProcessingSwitch

logical indicating whether the batch processing mode is used

◆ closeEvent

EVENT mibCropController.closeEvent

> Description of events event firing when window is closed

Events
closeEvent

◆ currentMode

mibCropController.currentMode

a string with the selected crop mode: Interactive,Manual,ROI

◆ listener

mibCropController.listener

a cell array with handles to listeners

◆ mibImageAxes

mibCropController.mibImageAxes

handle to mibView. mibImageAxes, main image axes of MIB

Referenced by mibCropController().

◆ mibModel

mibCropController.mibModel

handles to the model

Referenced by mibCropController().

◆ roiPos

mibCropController.roiPos

a cell array with position of the ROI for crop obj.roiPos{1} = [1, width, 1, height, 1, depth, 1, time];

◆ View

mibCropController.View

handle to the view


The documentation for this class was generated from the following file: