> ## Documentation Index
> Fetch the complete documentation index at: https://docs.redbrickai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Instance vs. Semantic

**Semantic segmentation** treats multiple objects of the same class as a single entity. In the example below, you can see that the labeler is responsible for annotating a single structure ("Vertebrae"), regardless of the vertebrae's classification (e.g. L1, S1, etc.).&#x20;

<Frame caption="Semantic Segmentation">
  <img src="https://mintcdn.com/redbrickai-c2e4bc62/09_FiR9sdsjqKqIA/assets/images/annotation-and-viewer/segmentation/semantic-segmentation.png?fit=max&auto=format&n=09_FiR9sdsjqKqIA&q=85&s=cee79e3993eeabb374b2894cbf184bdc" alt="" width="2363" height="1679" data-path="assets/images/annotation-and-viewer/segmentation/semantic-segmentation.png" />
</Frame>

On the other hand, **instance segmentation** treats multiple objects of the same class as distinct individual objects (or instances). In the example below, the annotator must create a unique annotation (as represented by an Instance in RedBrick AI) for each specific vertebrae.

<Frame caption="Instance Segmentation">
  <img src="https://mintcdn.com/redbrickai-c2e4bc62/09_FiR9sdsjqKqIA/assets/images/annotation-and-viewer/segmentation/instance-segmentation.png?fit=max&auto=format&n=09_FiR9sdsjqKqIA&q=85&s=90aeadda584ccd7b4d5ff48eea336575" alt="" width="2363" height="1679" data-path="assets/images/annotation-and-viewer/segmentation/instance-segmentation.png" />
</Frame>

On RedBrick AI, you can **perform both semantic and instance segmentation** by controlling how many instances of a particular category you create on the left side bar. If you create more than one instance of a single category, on export, you will be able to correlate the instance IDs in your segmentation mask to your category names.&#x20;

Check out this video for an overview:

<Frame caption="Something">
  <iframe className="w-full aspect-video" src="https://www.loom.com/embed/a157d1c350a34192bb53a33c51488d09" alt="Something" />
</Frame>
