![]() |
Microscopy Image Browser
1.233
|
Get the 2D slice from the dataset, the wrapper function. More...
Functions | |
| function slice = | ib_getSlice (type, handles, slice_no, orient, col_channel, options) |
| Get the 2D slice from the dataset, the wrapper function. More... | |
Get the 2D slice from the dataset, the wrapper function.
| function slice = ib_getSlice | ( | type, | |
| handles, | |||
| slice_no, | |||
| orient, | |||
| col_channel, | |||
| options | |||
| ) |
Get the 2D slice from the dataset, the wrapper function.
This is a wrapper function, it uses the functions of the imageData class to get a slice from the dataset. When ROIs regions are shown in the axes (handles.roiShowCheck checkbox) the function returns array of cells of only those ROI areas.
| type | a type of the image to update, 'image', 'model', 'selection', 'mask', 'everything' (for imageData.model_type=='uint6' only) |
| handles | handles structure of im_browser.m |
| slice_no | [optional], a number of the slice to get, when empty or NaN get the currently shown slice |
| orient | [optional], get a slice in the desired orientation
|
| col_channel | [optional],
|
| options | a structure with extra parameters
|
| slice | an array of cells with 2D slices, format - slice{roiId}(1:height, 1:width, 1:color); roiId=1 when one or no ROI |
Referenced by ib_anisotropicDiffusion(), ib_contrastCLAHE(), ib_invertImage(), ib_linearContrast(), ib_maskGenerator(), ib_moveLayers(), ib_removeBackground(), ib_segmentation_SmartWatershed(), ib_sizeExclusionFilter(), imageFilterDoitBtn_Callback(), ibimageMorphOpsGui>continueBtn_Callback(), ibMorphOpsGui>continueBtn_Callback(), ManGridBW>ManGridBW_OpeningFcn(), ManGridBW>startBtn_Callback(), and ManGridBW>thresholdsTable_CellEditCallback().
