carlren / gSLICr

gSLICr: Real-time super-pixel segmentation
Other
336 stars 126 forks source link

Suggested minor bugfix? #19

Open aalapshah12297 opened 6 years ago

aalapshah12297 commented 6 years ago

IngSLICr_seg_engine_GPU.cu, line 67: max_xy_dist = 1.0f / (1.4242f * spixel_size); // sqrt(2) * spixel_size

Replace 1.4242f with 1.4142f Since sqrt(2) = 1.41421...