Step-by-Step Protocol for Using Trackastra
Using APOC:
Object and semantic segmentation:
Access the object segmentation tool:
Go to Tools > Segmentation/labeling > Object segmentation(APOC).
Load necessary layers:
Image layer: the input image.
Labels layer: your annotations (ground truth).
Select training data:
Choose the image (or channels) you want to use for training the classifier.
Annotate classes:
Label 1: background.
Label 2: foreground.
Select labels:
Choose the labels layer with your annotated regions.
These annotations will be used as training data (ground truth) for the classifier.
Select features:
Choose image features for training.
Train the classifier:
Click Train.
The model will learn from your annotations.
Save the trained classifier:
Save the trained classifier as a .cl file.
This file is required to apply the model later to new images.
Applying a pretrained model:
Open the prediction tool:
Go to Tools > Segmentation/labeling > Object Segmentation (Apply pretrained APOC).
Load data:
Select the image layer you want to segment.
Select the saved .cl classifier file.
Run prediction:
Click Apply classifier/Predict segmentation
A new labels layer will be generated.
Save results:
Save the segmentation output as a TIFF file.
Probability maps:
Access the probability mapper tool:
Go to Tools > Filtering > Probability Mapper (APOC).
Annotate classes:
Label 1: background
Label 2: foreground
Label 3: edges
Generate the probability map:
The result will be an intensity image where pixel intensities represent the probability of belonging to each class (ranging from 0 to 1).