1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Transforming Matlab application into PHP

Discussion in 'PHP' started by makhan, May 6, 2007.

  1. makhan

    makhan New Member

    Joined:
    May 6, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,292
    Likes Received:
    365
    Trophy Points:
    83
    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.
     
  3. pete_bisby

    pete_bisby New Member

    Joined:
    Nov 11, 2007
    Messages:
    48
    Likes Received:
    2
    Trophy Points:
    0
    Occupation:
    Software Developer/Analyst, PB
    Location:
    Manchester, England
    Home Page:
    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 likes this.

Share This Page