I want to create array of MSERRegions class.Basically i have one array of same type returned by function detectMSERFeatures.See code snippet below
regions = detectMSERFeatures(gray_input)
%gray_input is any image in gray scall form
for (i =2:length(regions))
if(length(regions(i).PixelList)>100)
% Here i want to copy all such regions in new object array say of name regions_new
j=j+1;
end
end
How can this be done?