FINDCLASSES Fixed mapping for finding object indices of all classes
C = FINDCLASSES(A,NAME)
DescriptionC is a cell array such that C{I} contains all object indices to class I. A(C{I},:) is a subset of A that contains class I only. Use REMCLASS to remove empty classes. The order of classes can be found by CLASSNAMES. If the name of the class is known then GETCLASSI can be used to retrieved its index. If for A multiple sets of class names (label lists, see MULTI_LABELING) are defined, the desired label list can be set by NAME. See also GETLABLISTNAMES. If A has N classes then C has N+1 cells. In the last cell the indices to all unlabeled samples are collected. See alsodatasets, selclass, classnames, getclassi, remclass, getlablistnames, multi_labeling,
|