lib 1010061 // OpenIMAJ feature extraction (1.3.5) lib 1009074 // trove import org.openimaj.image.segmentation.*; import org.openimaj.image.pixel.*; static float fhSegment_sigma = 0.5f; static float fhSegment_k = 2500f / 255f; static int fhSegment_minSize = 20; static L fhSegment(BufferedImage image) { ret fhSegment(readMBF(image)); } static L fhSegment(MBFImage image) { ret new FelzenszwalbHuttenlocherSegmenter(fhSegment_sigma, fhSegment_k, fhSegment_minSize) .segment(image); }