how can I get specific image of the biggest size ??

in that piece of code that I uses object recognition that is scale images according to the matched features I try to get specific image from here of the biggest size ?
for i = 1:numel(imageCollection) % Scale each image
newSize = round( counts(i) / max(counts) * imageScalingFactor) * 2 ...
+ minImageSize; % Compute a new size for display
scaledImage = imresize(imageCollection(i).thumbnail,[newSize,newSize]);
imageCollection(i).imageHistogramView = padarray(scaledImage,...
[(thumbnailSize-newSize)/2,(thumbnailSize-newSize)/2],...
whiteBackground);
end

Answers (0)

This question is closed.

Asked:

on 13 Mar 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!