ing">'uint8'</span>}
0037         exclusionIdx = (imresize(params.exclusionMask,siz,<span class="string">'nearest'</span>) ~= 0);
0038       <span class="keyword">case</span> <span class="string">'logical'</span>
0039         exclusionIdx = imresize(params.exclusionMask,siz,<span class="string">'nearest'</span>);
0040       <span class="keyword">otherwise</span>
0041         error([<span class="string">'Unknown class type for params.exclusionMask: '</span> class(params.exclusionMask)]);
0042     <span class