Skip to content
Snippets Groups Projects
gt6DRecBlobsDefinition.m 453 B
Newer Older
function blobs = gt6DRecBlobsDefinition(num_dets)
    blobs = struct( ...
        'data', {[]}, ...
        'bbuims', zeros(0, 2), ...
        'bbvims', zeros(0, 2), ...
        'bbwims', zeros(0, 2), ...
        'size_uv', [0, 0], ...
        'sizes_w', [], ...
        'det_index', 1, ...
        'det_ss', 1, ...
        'psf', {[]} );

    if (exist('num_dets', 'var') && ~isempty(num_dets))
        blobs = repmat(blobs, [1 num_dets]);
    end
end