PRTools Contents

PRTools User Guide

filtm

FILTM

Mapping to filter objects in datasets and datafiles

     B = FILTM(A,COMMAND,{PAR1,PAR2,....},SIZE)
     B = A*FILTM([],COMMAND,{PAR1,PAR2,....},SIZE)
     B = A*FILTM(COMMAND,{PAR1,PAR2,....},SIZE)

Input
 A Dataset or datafile or double
 COMMAND String with function name of command to be executed
 {PAR1,...} Cell array with optional parameters to COMMAND
 SIZE Output size of the mapping (default: input size)

Output
 B Dataset or datafile of images processed by COMMAND

Description

For each object stored in A a filter operation is performed as

      OBJECT_OUT = COMMAND(OBJECT_IN,PAR1,PAR2,....)

The results are collected and stored in B. In case A (and thereby B) is  a datafile, execution is postponed until conversion into a dataset, or a  call to SAVEDATAFILE or CREATEDATAFILE.

Example(s)

 B = A*filtm('histc',[1:256]);
 Computes for every object in A a histogram and stores it in B.

 A similar command FILTIM is recommended for handling multiband images.
 The more general command PROCM is useful for obtaining multiple outputs.

See also

datasets, datafiles, im2obj, data2im, im2feat, datgauss, datfilt, filtim, savedatafile, createdatafile, mapm, procm,

PRTools Contents

PRTools User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.