How to load an image in matlab from java

Posted by Ian on Stack Overflow See other posts from Stack Overflow or by Ian
Published on 2012-04-10T11:22:14Z Indexed on 2012/04/10 11:29 UTC
Read the original article Hit count: 193

Filed under:
|

Basically I am trying to create a little program that will allow me to make calls in matlab from a jave GUI

It's mainly going to be used for image manipulation and deblurring but I am struggling to find a way that will effectively give me full matlab control from the java end

I am hoping to have it work like so:

{
    //create matlab execution call
    String loadImage = " image1 = imread ('imageOnComputer.jpg'); ";

    //send instruction to matlab and save the path to it so java can 
    //use the newly created variable
    resultingVariablePath = java.sendInstructionToMatlab(loadImage);

    //display on the screen
    java.displayImage(resultingVariablePath);
}

Basically I am just trying to find out if there is a plugin for matlab (or some java package) that will grant you (pretty much) full control over matlab.

© Stack Overflow or respective owner

Related posts about java

Related posts about matlab