Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
matReadInstanceLabels.m File Reference

read preprocessed instance segmentation labels and return them as a cell array with 3 element. More...

Functions

function out = matReadInstanceLabels (filename, getImageOptions)
 read preprocessed instance segmentation labels and return them as a cell array with 3 element.
 

Detailed Description

read preprocessed instance segmentation labels and return them as a cell array with 3 element.

Function Documentation

◆ matReadInstanceLabels()

function out = matReadInstanceLabels ( filename,
getImageOptions )

read preprocessed instance segmentation labels and return them as a cell array with 3 element.

Parameters
filenamefull path to mat-file with preprocessed instance labels containing 3 variables - instanceBoxes, instanceNames, instanceMasks, instanceBoxes, matrix [N×4 double] containing bounding box coordinates of objects, where N is a number of objects on the image instanceName, 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
Return values
outcell array where the 1st element is instanceBoxes, 2nd - instanceName, 3rd - instanceMasks

References mibDeepStoreLoadImages().

Here is the call graph for this function: