Image aggregation

% AggregateIma resize an image to a smaller one
398 Downloads
Updated 30 Nov 2012

View License

% AggregateIma resample (or resize) an image to a smaller one using 6 possible function
% (Fct).
% in:
% - ImaIN: image N dimension
% - n: factor for aggregation.
% - Fct: type of aggregation (1=mean (default); 2=mode; 3=std; 4=min;
% 5=max; 6=median)
% out = ImaOUT: aggregated image.
% ex: if ImaIN is a 100 by 100 image and n=4, ImaOUT will be a 25*25 image
%
% Notice that it works with N dimension image and an extra dimension is
% temporally added to compute the aggregation. there is no pixel by pixel
% (time consuming) computation.

% Author: Martin Claverie, University of Maryland
% date: November 2012

Cite As

Martin Claverie (2024). Image aggregation (https://www.mathworks.com/matlabcentral/fileexchange/39243-image-aggregation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0