added assertion for small image sizes to SURF_GPU (ticket #1323)
This commit is contained in:
@@ -323,7 +323,7 @@ namespace cv { namespace gpu { namespace surf
|
||||
const int layer_rows = img_rows >> octave;
|
||||
const int layer_cols = img_cols >> octave;
|
||||
|
||||
int min_margin = ((calcSize(octave, 2) >> 1) >> octave) + 1;
|
||||
const int min_margin = ((calcSize(octave, 2) >> 1) >> octave) + 1;
|
||||
|
||||
dim3 threads(16, 16);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user