This powerful tool allows to define a general constrained geometric model using a propertary XML extension, then allows to manipulate the model through parameters, and finally to synthetize the model's curves as pixel coordinates. This allows to define energy functions based on an image and a model instance, the energy function can be minimized using an optimization algorithm to fit the model on the object contained in the image, thus segmenting the object in the image.
The problem is that you have not added the required JAR files in the Matlab environment, you have to type:
> edit classpath.txt
and you have to add the required JAR files, in the Matlab file "demoGeoML.m" there is a brief about the GeoML installation in the section "Loading the tools". After the editing of the "classpath.txt" file, Matlab must be restarted. Try manually to import the included packages and to instantiate the classes, for example:
>> import com.dsi.libs.geoml.*;
>> n = Number('x');
n = x
ans = 1
If you get results like these, your installation is OK! If you have problems, contact me on "lombardi AT dsi.unimi.it".
??? Error: File: GeoMLParseModel.m Line: 39 Column: 8
Arguments to IMPORT must either end with ".*"
or else specify a fully qualified class name: "com.dsi.libs.geoml.matlab.GeoMLMatlabUtils" fails this test.
Error in ==> demoGeoML at 87
[model,free,freeMap] = GeoMLParseModel('spirals');
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.