reading an image through cuda library

hi ,
currently i am working on CUDA by parallelizing some image processing applications in linux platform .
i am reading the image matrix through file operation. and i am getting the image matrix from the matlab in the text file format.
can i directly read an image by using some cuda library?or is there any way to read the image through the linux command
how can i get the matrix from the corresponding image.
if any solution is there ,plz help me.

You already asked same question, and I’ll just repeat my answer: CUDA doesn’t include any functions to read image files from disk so, depending of the format of images you are processing, either you’ll have to write corresponding code by yourself, or you’d have to employ one of numerous publicly available image reading/writing libraries.