rtsEnviLoadClasses.m~ 204 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 function [F, C] = rtsEnviLoadClasses(filenames, classnames, ppc) Nc = size(filenames, 1); for c = 1:Nc %load the masks image = imread(filenames{c}); mask = image(:, :, 1)' > 0; end