Thanks for your reply. I appreciate your help. Since then, I was trying to run a simple function from a .net DLL in MATLAB. Not much success yet though. So, I am currently trying to take my code from MATLAB to Visual Studio. In the worse case, I ignore this part and simply use your code to process my images.
I downloaded Gazetracker code and went through it. I couldn't find a separate function that does the pupil detection. Ideally, I am searching for a function that gets a gray-scale eye image (monocular) as input and outputs the position of pupil-centre point as (x, y). Would you please help me on it?
Here I've attached a sample eye-image.