![]() |
Microscopy Image Browser 2.91
MIB
|
saveInstanceLabelsParFor(fn, imageFilename, instanceBoxes, instanceNames, instanceMasks, compressModels) saving from parfor loop converted labels for training of 2D instance segmentation as it is not possible to use save directly inside parfor. This function is used in mibDeepController.processImagesForInstanceSegmentation to preprocess instance labels More...
Functions | |
function | saveInstanceLabelsParFor (fn, imageFilename, instanceBoxes, instanceNames, instanceMasks, compressModels) |
saveInstanceLabelsParFor(fn, imageFilename, instanceBoxes, instanceNames, instanceMasks, compressModels) saving from parfor loop converted labels for training of 2D instance segmentation as it is not possible to use save directly inside parfor. This function is used in mibDeepController.processImagesForInstanceSegmentation to preprocess instance labels | |
saveInstanceLabelsParFor(fn, imageFilename, instanceBoxes, instanceNames, instanceMasks, compressModels) saving from parfor loop converted labels for training of 2D instance segmentation as it is not possible to use save directly inside parfor. This function is used in mibDeepController.processImagesForInstanceSegmentation to preprocess instance labels
function saveInstanceLabelsParFor | ( | fn, | |
imageFilename, | |||
instanceBoxes, | |||
instanceNames, | |||
instanceMasks, | |||
compressModels ) |
saveInstanceLabelsParFor(fn, imageFilename, instanceBoxes, instanceNames, instanceMasks, compressModels) saving from parfor loop converted labels for training of 2D instance segmentation as it is not possible to use save directly inside parfor. This function is used in mibDeepController.processImagesForInstanceSegmentation to preprocess instance labels
fn | string with the full output filename |
imageFilename | string with the corresponding image filename |
instanceBoxes | matrix [N×4 double] containing bounding box coordinates of objects, where N is a number of objects on the image |
instanceNames | array [N×1 categorical] containing names of objects, currently the same name should be used for all objects, can be any string converted to categorical. |
instanceMasks | matrix [720×1280×N logical] binary masks where each slice represents individual object that should match the corresponding entry in instanceBoxes and instanceNames |
compressModels | logical switch to use of not compression for images |