Image convolution

Discussion created by Manticore on Dec 11, 2010
Latest reply on Dec 11, 2010 by nou

     In all the presentations,the image's width and length are multiple of work group sizes. What do you do when this is not the case?Do you send all the image and process only the (height-height%work_size_y)*(width-width%work_size_x) part of the image?I ask because i want to optimise some of the functions in OpenCV,like cvSobel.If i apply the function on several adjacent ROIs there will be strips of pixels at the borders that haven't been processed.

Thank you