Skip to content

Instantly share code, notes, and snippets.

//example from http://fiji.sc/Morphological_Segmentation
// load the Blobs sample image
run("Blobs (25K)");
// run the plugin
run("Morphological Segmentation");
// wait for the plugin to load
wait(1000);
// select input image as "object"
call("inra.ijpb.plugins.MorphologicalSegmentation.setInputImageType", "object");
// set gradient radius as 1