Custom edge processor #1297
-
I need to detect edges but only want horizontal or vertical images but not both in the same image. Am I missing something or will I need to reimplement a lot of the infrastructure for what could be a pretty simple change. I would prefer not to reinvent the wheel here just to isolate the X and Y kernels. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Yeah, I think the API can be better here, it's not extensible at all. I think dropping the enum and creating methods for each edge detection type would be much better. It'll break binary compatibility but I think it's an important enough change to do so between the RC and V1. |
Beta Was this translation helpful? Give feedback.
-
@dalingrin I've just raised #1299 which will allow you to do what you wish. I'd really appreciate it if you could cast your eye over the new API to ensure it meets your requirements. |
Beta Was this translation helpful? Give feedback.
@dalingrin I've just raised #1299 which will allow you to do what you wish. I'd really appreciate it if you could cast your eye over the new API to ensure it meets your requirements.