-
Notifications
You must be signed in to change notification settings - Fork 45
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
Read 0 outside image (instead of clamp-to-edge) #302
Comments
I think this should be an Issue for the kernel repo and be addressed in the preamble / OpenCL management, with possible an option defined at runtime. Right now, the border effect correspond to the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should be able to read pixels outside the image as 0 . Problem: This is not officially defined by the opencl standard. Furthermore, a code section relevant for this is commented out. I think I remember that this didn't work on specific hardware:
pyclesperanto_prototype/pyclesperanto_prototype/_tier0/preamble.cl
Line 36 in efb38e9
Anyway, it would be great to have some specific kernels read 0 outside the image.
The text was updated successfully, but these errors were encountered: