![]() |
Microscopy Image Browser
1.233
|
Update the 2D slice of the dataset, the wrapper function. More...
Functions | |
function | ib_setSlice (type, slice, handles, slice_no, orient, col_channel, options) |
Update the 2D slice of the dataset, the wrapper function. More... | |
Update the 2D slice of the dataset, the wrapper function.
function ib_setSlice | ( | type, | |
slice, | |||
handles, | |||
slice_no, | |||
orient, | |||
col_channel, | |||
options | |||
) |
Update the 2D slice of the dataset, the wrapper function.
This is a wrapper function, it uses the functions of the imageData class to update a slice of the dataset. When ROIs regions are shown in the axes (handles.roiShowCheck checkbox) the function updates only those ROI areas.
type: a type of the image to update, 'image', 'model', 'selection', 'mask', 'everything' (for imageData.model_type=='uint6' only) slice: a cell array with the slice slice{roiId}(1:height, 1:width, 1:color); roiId=1 when one or no ROI handles: handles structure of im_browser.m slice_no: [optional], a number of the slice to update, when empty or NaN update the currently shown slice orient: [optional], update a slice of the desired orientation
image
, col_channel is a vector with color numbers to update, when NaN [default] update set the colors selected in the imageData.slices{3} variable; when 0 - update all colors of the dataset. model
col_channel may be 0 - to update all materioals of the model or an integer to update specific material. options: a structure with extra parameters Examples:
Referenced by ib_anisotropicDiffusion(), ib_contrastCLAHE(), ib_invertImage(), ib_linearContrast(), ib_maskGenerator(), ib_moveLayers(), ib_segmentation_SmartWatershed(), ib_sizeExclusionFilter(), imageFilterDoitBtn_Callback(), ibimageMorphOpsGui>continueBtn_Callback(), ibMorphOpsGui>continueBtn_Callback(), ManGridBW>startBtn_Callback(), and ManGridBW>thresholdsTable_CellEditCallback().