Search in sources :

Example 1 with ResetViewAction

use of sc.fiji.labkit.ui.actions.ResetViewAction 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());
}
Also used : ResetViewAction(sc.fiji.labkit.ui.actions.ResetViewAction) LabelEditAction(sc.fiji.labkit.ui.actions.LabelEditAction) ColoredLabelsModel(sc.fiji.labkit.ui.models.ColoredLabelsModel) BatchSegmentAction(sc.fiji.labkit.ui.actions.BatchSegmentAction) SegmentationExportAction(sc.fiji.labkit.ui.actions.SegmentationExportAction) ClassifierIoAction(sc.fiji.labkit.ui.actions.ClassifierIoAction) ClassifierSettingsAction(sc.fiji.labkit.ui.actions.ClassifierSettingsAction) ImageLabelingModel(sc.fiji.labkit.ui.models.ImageLabelingModel) AddLabelingIoAction(sc.fiji.labkit.ui.actions.AddLabelingIoAction) LabelingIoAction(sc.fiji.labkit.ui.actions.LabelingIoAction) AddLabelingIoAction(sc.fiji.labkit.ui.actions.AddLabelingIoAction) SegmentationItem(sc.fiji.labkit.ui.models.SegmentationItem) BitmapImportExportAction(sc.fiji.labkit.ui.actions.BitmapImportExportAction) SegmentationAsLabelAction(sc.fiji.labkit.ui.actions.SegmentationAsLabelAction) TrainClassifier(sc.fiji.labkit.ui.segmentation.TrainClassifier)

Aggregations

AddLabelingIoAction (sc.fiji.labkit.ui.actions.AddLabelingIoAction)1 BatchSegmentAction (sc.fiji.labkit.ui.actions.BatchSegmentAction)1 BitmapImportExportAction (sc.fiji.labkit.ui.actions.BitmapImportExportAction)1 ClassifierIoAction (sc.fiji.labkit.ui.actions.ClassifierIoAction)1 ClassifierSettingsAction (sc.fiji.labkit.ui.actions.ClassifierSettingsAction)1 LabelEditAction (sc.fiji.labkit.ui.actions.LabelEditAction)1 LabelingIoAction (sc.fiji.labkit.ui.actions.LabelingIoAction)1 ResetViewAction (sc.fiji.labkit.ui.actions.ResetViewAction)1 SegmentationAsLabelAction (sc.fiji.labkit.ui.actions.SegmentationAsLabelAction)1 SegmentationExportAction (sc.fiji.labkit.ui.actions.SegmentationExportAction)1 ColoredLabelsModel (sc.fiji.labkit.ui.models.ColoredLabelsModel)1 ImageLabelingModel (sc.fiji.labkit.ui.models.ImageLabelingModel)1 SegmentationItem (sc.fiji.labkit.ui.models.SegmentationItem)1 TrainClassifier (sc.fiji.labkit.ui.segmentation.TrainClassifier)1