Image processing rgb to hsv

Hi

I wanted to do hue correction for the video stream. So the rgb2hsv api is used for the conversion. after that need to change the hue values and again needs to converted into rgb space. I tried for cuda implementation for this scenario.

Is there an any sample examples in which the above implementation was done?

Thanks in advance