28 float u,
float v,
float scale,
35 point2d->scale = scale;
36 preprocessed = cvCreateImage(cvSize(patch_size, patch_size), IPL_DEPTH_8U, 1);
40 class_index = _class_index;
47 class_index = p_class_index;
50 original_image = cvCloneImage(image);
63 if (preprocessed) cvReleaseImage(&preprocessed);
64 if (original_image) cvReleaseImage(&original_image);
68 preprocessed = cvCreateImage(cvSize(sz, sz), IPL_DEPTH_8U, 1);