Image problem on cuda 5 + visual studio 2008.

Hi, I’m new commers on CUDA technology.
my configuration is: Win7, Visual studio 2008, CUDA 5, on a GeoForce 210.

I want o developp a code for discrete wavelet transform, using lifting scheme on CUDA. can someone help me with opensources Libraries I can use to read/write image pixels values of .jpg file format in C++ with CUDA, and also by telling me how I can manage myself to compare elapsed time with parallel and sequential code without running 2different versions?

I also want to know How i can do if I want to separate my kernel file (.cu) with my other program files (.cpp) on cuda. how to include the .cu in the .cpp? what’s the main difference? has it several impacts on the speedup of my program?

Thank you.