Searched refs:RS_PATCH_SZ (Results 1 – 1 of 1) sorted by relevance
277 const int RS_PATCH_SZ = 30; // ceil((PATCH_SZ+1)*sqrt_2); in cvExtractSURF() local348 uchar PATCH[PATCH_SZ+1][PATCH_SZ+1], RS_PATCH[RS_PATCH_SZ][RS_PATCH_SZ]; in cvExtractSURF()354 CvMat _rs_patch = cvMat(RS_PATCH_SZ, RS_PATCH_SZ, CV_8U, RS_PATCH); in cvExtractSURF()450 float scale = MIN(1.f,MIN((float)RS_PATCH_SZ/patch_rect0.width, in cvExtractSURF()451 (float)RS_PATCH_SZ/patch_rect0.height)); in cvExtractSURF()453 sr_patch_rect = cvRect(0,0, RS_PATCH_SZ, RS_PATCH_SZ); in cvExtractSURF()458 center.x = RS_PATCH_SZ*0.5f - (patch_rect.x - patch_rect0.x)*scale; in cvExtractSURF()459 center.y = RS_PATCH_SZ*0.5f - (patch_rect.y - patch_rect0.y)*scale; in cvExtractSURF()