penguinV icon indicating copy to clipboard operation
penguinV copied to clipboard

Add OpenCL implementation of Rotate function

Open ihhub opened this issue 7 years ago • 2 comments

We have Rotate function implementation which locates in src/image_function.h and src/image_function.cpp files:

void Rotate( const Image & in, double centerXIn, double centerYIn, Image & out, double centerXOut, double centerYOut, double angle );

We want to add OpenCL implementation of the same function. Please put this implementation into src/opencl/image_function_opencl.h and src/opencl/image_function_opencl.cpp Use an existing code style of format to do it so it should pretty straightforward.

ihhub avatar Nov 18 '18 06:11 ihhub

Hi, @MatthewMcGonagle would you like to implement this as well?

ihhub avatar Dec 22 '18 03:12 ihhub

By the way, @MatthewMcGonagle , have you tested Rotate function on some example? Ideal example is to have black image with white rectangle in the center. Rotate image to see the result which is visibly identify.

ihhub avatar Dec 22 '18 03:12 ihhub