Create dataset from randomly selected windows in a given image
A = GENDATI(IMAGE,WSIZE,N,LABEL)
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.