Search in sources :

Example 1 with GlobalSettings

use of sc.fiji.labkit.pixel_classification.pixel_feature.settings.GlobalSettings in project labkit-ui by juglab.

the class TrainableSegmentationSegmenter method initFeatureSettings.

private void initFeatureSettings(List<Pair<ImgPlus<?>, Labeling>> trainingData) {
    if (this.featureSettings != null)
        return;
    final GlobalSettings globalSettings = initGlobalSettings(trainingData);
    this.featureSettings = new FeatureSettings(globalSettings, SingleFeatures.identity(), GroupedFeatures.gauss(), GroupedFeatures.differenceOfGaussians(), GroupedFeatures.gradient(), GroupedFeatures.laplacian(), GroupedFeatures.hessian());
}
Also used : FeatureSettings(sc.fiji.labkit.pixel_classification.pixel_feature.settings.FeatureSettings) GlobalSettings(sc.fiji.labkit.pixel_classification.pixel_feature.settings.GlobalSettings)

Aggregations

FeatureSettings (sc.fiji.labkit.pixel_classification.pixel_feature.settings.FeatureSettings)1 GlobalSettings (sc.fiji.labkit.pixel_classification.pixel_feature.settings.GlobalSettings)1