How to read .dat image file with CUDA programming?

Hi,

I’m trying to read image files(dat format) using cuda programming.
And I want to use the image pixel information to process.(FFT, hilbert…)

I think that I have some choices such as opengl and MFC.
Is it good choice? or If there is a good way, I hope to know!
Also I really appreciate if example source code provided.

Thank you!