PRTools Contents

PRTools User Guide

gendati

GENDATI

Create dataset from randomly selected windows in a given image

   A = GENDATI(IMAGE,WSIZE,N,LABEL)

Input
 IMAGE Image of any dimensionality
 WSIZE Vector with size of the window
 N Number windows to be generated
 LABEL Optional string or number with label for all objects

Output
 A Dataset of N objects and prod(WSIZE) features

Description

Windows of the specified size are arbitrarily positioned in the  image, converted to a row vector and stored in the dataset A.

If specified, all objects have label LABEL. Otherwise they are  unlabeled.

See also

datasets,

PRTools Contents

PRTools User Guide

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