PRTools contents

PRTools manual

im_stat

IM_STAT

Computation of some image statistics

   B = IM_STAT(A,STAT)
   B = A*IM_STAT([],STAT)

Input
 A Dataset with object images dataset (possibly multi-band)
 STAT String cell array or series of statistics

Output
 B Dataset with statistics replacing images (possibly multi-band)

Description

For all images in the dataset A the statistics as defined in the  cell array STAT are computed. The following statistics are supported
(order is arbitrary)

    'mean',  'row_mean',  'col_mean',  'std', 'row_std','col_std',
    'min',   'row_min',   'col_min,    'max', 'row_max','col_max,
    'median','row_median','col_median','size','sum'

Default STAT = {'mean','var','min','max','size'}

See also

datasets, datafiles,

PRTools contents

PRTools manual