How to load an image in matlab from java
- by Ian
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.