Transforming Matlab application into PHP

makhan's Avatar, Join Date: May 2007
Newbie Member
Hi

I have an image processing application in matlab I want to create a webbased interface for this application. Can someone suggest whats the besst approach to do that. Either to convert the whole code of matlab into php or asp etc or there are tools which automatically do that conversion.

Thanks
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
I am not sure your complete code can be converted into PHP but what can be done is have an output (image or whatever) from the Matlab into some web location and then just display using the web interface. Thats the best that can be done.
0
pete_bisby's Avatar, Join Date: Nov 2007
Go4Expert Member
It depends what "image processing" Matlab actually does. How does Matlab get hold of the image? Does it have to be a certain type of image or a certain resolution?

The GD library plugin for PHP is quite powerful in image creation, manipulation and processing. There may be some functions within the GD library that can re-create the functionality you have within Matlab. Have a look at the following chapter in the PHP Manual (http://www.php.net/manual/en/ref.image.php) for installation of the GD library with PHP and the associated functions.
shabbir like this