function label_per_comp = get_groundtruth_label_per_component( obj )

% inds_per_comp = obj.m_inds_per_component;
% inds_per_dblbs = obj.m_inds_per_dblbs;
% 
% label_per_comp = zeros(1,length(inds_per_comp));
% for i=1:length(inds_per_comp)
%     scorelist = zeros(1,length(inds_per_dblbs));
%     for j=1:length(inds_per_dblbs)
%         ins = intersect(inds_per_comp{i},inds_per_dblbs{j});
%         scorelist(j) = length(ins);
%     end
%     [~,idxlb] = max(scorelist);
%     label_per_comp(i) = obj.m_dblbs(idxlb);
% end
assert(~isempty(obj.m_label_per_component),'ground truth labeling not existing');
label_per_comp = obj.m_label_per_component;

end

