PRTools contents

PRTools manual

dataim

DATAIM

Image operation on dataset images (deprecated)

     B = DATAIM(A,'IMAGE_COMMAND',PAR1,PAR2,....)

Input
 A Dataset containing images
 IMAGE_COMMAND Function name
 PAR1, ... Optional parameters to IMAGE_COMMAND

Output
 B Dataset containing images processed by IMAGE_COMMAND

Description

For each image stored in A (as either feature or object), performs

      IMAGE_OUT = IMAGE_COMMAND(IMAGE_IN,PAR1,PAR2,....)

and stores the result in dataset B.

    This command is deprecated, use FILTIM instead.

Example(s)

 B = DATAIM (A,'CONV2',[-1 0 1; -1 0 1; -1 0 1],'same');
 Performs a convolution with a horizontal gradient filter (see CONV2).

See also

datasets, im2obj, data2im, im2feat, filtim,

PRTools contents

PRTools manual