Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggested minor bugfix? #19

Open
aalapshah12297 opened this issue Mar 2, 2018 · 0 comments
Open

Suggested minor bugfix? #19

aalapshah12297 opened this issue Mar 2, 2018 · 0 comments

Comments

@aalapshah12297
Copy link

aalapshah12297 commented Mar 2, 2018

In gSLICr_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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant