This tutorial describes how to create annotations which can be used to define a ROI (region of interest).
Suggested previous reading: Tissue Quantification.
1) Let’s open a small image (so that we can classify the whole image in a short time) and create a classification model. After clicking on classify and dragging the classification-image slider to the right (bottom of the image), we see that Orbit classified the whole image, thus the ROI was our complete image.
2) Now in the annotation tab  on the right side click on the Polygon annotation  and draw an annotation inside the image . When releasing the mouse the Polygon will be closed.
Then click on the annotation in the annotation list  and on the edit button (pencil) . In the annotation properties set the type to ROI . (A normal annotation is just a information with a description, but does not influence the ROI).
Now click on classify again . You should get s.th. like the following image:
As you can see, we just defined a ROI by drawing an annotation. All annotations are stored in the Orbit database – either on an image server or inside the local file database. Whenever you open the image again, you will see the annotations. When using an image server, other people can see the annotation as well.
3) Now let’s assume we want to exclude an area inside our ROI. For that we draw another annotation inside our outer ROI. In the annotation properties, we set the type to exclusion this time. After classifying we see an exclusion inside our outer ROI.
Now the valid ROI is just between our outer ROI annotation and the exclusion annotation. Only this area is used for classificaton, segmentation or object classification.
4) The last step now is to show how to include a part inside an exclusion annotation. For this we draw another annotation inside the exclusion part and set the type to inclusion. The result of the classification should be s.th. like this:
You can see that inclusion annotations have the highest priority and thus overrule exclusion annotations.
This annotation ROI technique is very powerful and be used in a collaborative way – e.g. one draws annotation, another one creates the classification model when using an image server.
Hint: You can combine several annotations to one. This is very helpful when drawing large annotations. For this first disable the closing of polygons: Option -> Close Annotation Polygon under the annotation tab. Draw several annotation parts. Now mark all parts in the annotation list and click on Option -> Combine Selected Polygons to merge the parts to one large annotation. You might want to open the annotation properties (pencil) of the newly created annotation and check the close polygon option.
Now you understand the basics of annotation ROIs. This technique can be combined with exclusion models. The idea is, that you can define a rough ROI in automated manner using an exclusion model and then e.g. exclude parts of it by manual drawn exclusion annotations. Annotations overrule the exclusion model logic.