-
Notifications
You must be signed in to change notification settings - Fork 126
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
Implement Gradient operator #71
Comments
Aight, there seems to be a bug deeper in the alogrithm. We might put this process on hold and add it again after 6.0.0-rc.1. |
Make the |
I've got a preliminary version with the gradient operators listed. I was not entirely sure what Cubic Spline was intended to be, so I opted to go with a bicubic interpolation and calculate the gradient based on that. The original crasher was a bug in the constructor of an IMAGE_ORIENTED not having enough planes to support the data being inserted into it. I also am not 100% sure how these should operate if useOpenCv is not set. Fast gradient doesn't use OpenCV at all, where all the others do. Sobel is an opencv function, Roberts is implemented using filter2D(), and the Bicubic interpolation only uses the matrix multiply/dot operations from OpenCV. Here's a link to my branch with the code. I can create a pull request once I can incorporate some feedback on dealing with the OpenCV setting. |
A clarification for The user can set in the GUI if he prefers the opencv or the custom implementation, which is then passed to you as the parameter Additionally, each IPLProcess can specify In your case, the best way is to add in init(): And remove: |
Checking "Cubic Spline" simply connected to "Camera > Convert to Grey' consistently segfault. |
Do you see the same behaviour with Image > Convert to Grey > Cubic Spline ? |
Application instantly crashes when i drag arrow to the gradient operator.
The text was updated successfully, but these errors were encountered: