zveris Posted May 13, 2005 Share Posted May 13, 2005 I need to use hilbert transform on images. but it is rather large kernel, while cop's default kernel is 9 x 9. Is there a way to get a larger kernel (maybe with wex) without getting into sdk? Thanks Zveris There was no start for his talents.... (T.Pratchett) Quote Link to comment Share on other sites More sharing options...
edward Posted May 14, 2005 Share Posted May 14, 2005 Without knowing anything about hilbert transforms, fixed size kernels are doable in VEX. It's a bit annoying though since it has doesn't support arrays natively. Quote Link to comment Share on other sites More sharing options...
zveris Posted May 14, 2005 Author Share Posted May 14, 2005 well, i need something like that: -h4 0 -h3 0 -h2 0 -h1 0 h1 0 h2 0 h3 0 h4 it is simple single row, but 15 column kernel. How it would be possible to do it in vex? Thanks! Quote Link to comment Share on other sites More sharing options...
edward Posted May 14, 2005 Share Posted May 14, 2005 Sure. Again, I don't know what type of functions you need. Quote Link to comment Share on other sites More sharing options...
malexander Posted May 16, 2005 Share Posted May 16, 2005 The convolve COP also accepts an image as a second input for the kernel data. If you could make a 15x1 image of your kernel (in FP, likely, since it has negative components) , then you could feed it into the convolve COP to do the job. Even if you had to generate the kernel through a VEX generator, the convolve COP / kernel generator COP combination would likely be much faster than the 15 independent lookups that the Hilbert convolve VEX cop would need to perform. You could create a digital asset out of the small network to create a Hilbert Transform COP, if you needed this operation frequently. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.