how can I get specific image of the biggest size ??
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!