I intend to perform a panorama of 4 images. For this, I intend to process images 1 and 2, 2 and 3 and then 3 and 4 and get the homographies and then stitch the images.
Now, getting the SIFT features in each image can be parallelized. So, using CUDA on a GPU, I intend to call Surffeatureextractor and descriptor in each kernel after having passed the image to the kernel.
Now, I wish to know if it is possible to write an opencv function inside a cuda kernel? for example, if my kernel is
extract_sift(image, *keypoints, *descriptor)
{
//I want to call sift descriptor from an external opencv lib here }
Please let me know how to do that or direct me to certain links that help me do that.