use of sc.fiji.labkit.ui.segmentation.TrainClassifier in project labkit-ui by juglab.
the class CustomizedSegmentationComponentDemo method initActions.
private void initActions() {
final Holder<SegmentationItem> selectedSegmenter = segmentationModel.segmenterList().selectedSegmenter();
final ImageLabelingModel labelingModel = segmentationModel.imageLabelingModel();
new TrainClassifier(extensible, segmentationModel.segmenterList());
new ClassifierSettingsAction(extensible, segmentationModel.segmenterList());
new ClassifierIoAction(extensible, segmentationModel.segmenterList());
new LabelingIoAction(extensible, labelingModel);
new AddLabelingIoAction(extensible, labelingModel.labeling());
new SegmentationExportAction(extensible, labelingModel);
new ResetViewAction(extensible, labelingModel);
new BatchSegmentAction(extensible, selectedSegmenter);
new SegmentationAsLabelAction(extensible, segmentationModel);
new BitmapImportExportAction(extensible, labelingModel);
new LabelEditAction(extensible, false, new ColoredLabelsModel(labelingModel));
MeasureConnectedComponents.addAction(extensible, labelingModel);
labelingComponent.addShortcuts(extensible.getShortCuts());
}
use of sc.fiji.labkit.ui.segmentation.TrainClassifier in project labkit-ui by juglab.
the class SegmentationComponent method initActions.
private void initActions() {
final Holder<SegmentationItem> selectedSegmenter = segmentationModel.segmenterList().selectedSegmenter();
final ImageLabelingModel labelingModel = segmentationModel.imageLabelingModel();
new TrainClassifier(extensible, segmentationModel.segmenterList());
new ClassifierSettingsAction(extensible, segmentationModel.segmenterList());
new ClassifierIoAction(extensible, segmentationModel.segmenterList());
new LabelingIoAction(extensible, labelingModel);
new AddLabelingIoAction(extensible, labelingModel.labeling());
new SegmentationExportAction(extensible, labelingModel);
new ResetViewAction(extensible, labelingModel);
new BatchSegmentAction(extensible, selectedSegmenter);
new SegmentationAsLabelAction(extensible, segmentationModel);
new BitmapImportExportAction(extensible, labelingModel);
new LabelEditAction(extensible, unmodifiableLabels, new ColoredLabelsModel(labelingModel));
MeasureConnectedComponents.addAction(extensible, labelingModel);
new ShowHelpAction(extensible);
labelingComponent.addShortcuts(extensible.getShortCuts());
}
Aggregations