Understand the difference between instance and semantic segmentation in medical imaging and learn how to do both in RedBrick AI projects.
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.).
Semantic Segmentation
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.
Instance Segmentation
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. Check out this video for an overview:
Something
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"RedBrick AI Docs","colors":{"primary":"#1570EF","light":"#53B0FD","dark":"#155EEF"},"logo":{"light":"https://mintcdn.com/redbrickai-c2e4bc62/3dwXq5xbrfx8kdri/assets/logos/redbrick-logo.svg?fit=max\u0026auto=format\u0026n=3dwXq5xbrfx8kdri\u0026q=85\u0026s=a8ab7594502424b217853a6b70ddfd01","dark":"https://mintcdn.com/redbrickai-c2e4bc62/kyR1SMCBxx3NFyLR/assets/logos/rbai-dark.png?fit=max\u0026auto=format\u0026n=kyR1SMCBxx3NFyLR\u0026q=85\u0026s=9259a2827815f94e31a57627224c5d23"},"favicon":"https://mintcdn.com/redbrickai-c2e4bc62/3dwXq5xbrfx8kdri/assets/logos/favicon.png?fit=max\u0026auto=format\u0026n=3dwXq5xbrfx8kdri\u0026q=85\u0026s=6d6af508561cffcdfd9a1fde6dde3b5a","background":{"color":{"dark":"#0E1319"}},"integrations":{"posthog":{"apiKey":"phc_St8lMPvliritoEgwkadTckgf2n7OfBmQNUQjogHu0g","sessionRecording":true}},"contextual":{"options":["copy","view","assistant","chatgpt","claude","perplexity","grok","aistudio","devin","windsurf","mcp","cursor","vscode","devin-mcp","add-mcp","download-spec",{"title":"Email Support","description":"Contact RedBrick AI Support","icon":"envelope","href":"mailto:support@redbrickai.com"}],"display":"header"},"interaction":{"drilldown":true},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"redbrickai-c2e4bc62","hasAudioNarration":false,"actualSubdomain":"redbrickai-c2e4bc62","customDomains":["app.redbrickai.com"],"gitSource":{"type":"github","owner":"redbrick-ai","repo":"redbrick-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true,"contextualFeedback":{"allowEmail":true},"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aedd8721c1ad53e5000e168","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"Dashboard","count":18},{"language":"default","tag":"Annotation \u0026 Viewer","count":14},{"language":"default","tag":"Python SDK \u0026 CLI","count":13},{"language":"default","tag":"Project Pages","count":10},{"language":"default","tag":"Quick Start","count":7},{"language":"default","tag":"Importing Data","count":7},{"language":"default","tag":"Python SDK \u0026 CLI - Developer Documentation","count":7},{"language":"default","tag":"Viewer Basics","count":6},{"language":"default","tag":"Segmentation","count":5},{"language":"default","tag":"Import Cloud Data","count":5}]},"assistantConfig":{"enableStarterQuestions":false,"deflection":{"enabled":true,"email":"support@redbrickai.com","showHelpButton":true}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"annotation-and-viewer/segmentation/instance-vs-semantic","slug":"/annotation-and-viewer/segmentation/instance-vs-semantic","pageMetadata":{"title":"Instance vs. semantic segmentation","description":"Understand the difference between instance and semantic segmentation in medical imaging and learn how to do both in RedBrick AI projects.","href":"/annotation-and-viewer/segmentation/instance-vs-semantic"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Understand the difference between instance and semantic segmentation in medical imaging and learn how to do both in RedBrick AI projects.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Frame,OptimizedFrame,OptimizedImage}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!OptimizedFrame)_missingMdxReference(`OptimizedFrame`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`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.). `]}),`\n`,_jsx(Frame,{caption:`Semantic Segmentation`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/redbrickai-c2e4bc62/09_FiR9sdsjqKqIA/assets/images/annotation-and-viewer/segmentation/semantic-segmentation.png?fit=max\u0026auto=format\u0026n=09_FiR9sdsjqKqIA\u0026q=85\u0026s=cee79e3993eeabb374b2894cbf184bdc`,alt:``,\"data-og-width\":`2363`,width:`2363`,\"data-og-height\":`1679`,height:`1679`,\"data-path\":`assets/images/annotation-and-viewer/segmentation/semantic-segmentation.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/redbrickai-c2e4bc62/09_FiR9sdsjqKqIA/assets/images/annotation-and-viewer/segmentation/semantic-segmentation.png?w=280\u0026fit=max\u0026auto=format\u0026n=09_FiR9sdsjqKqIA\u0026q=85\u0026s=c8d031727a35e3cdb00fd6dbc2d02b5b 280w, https://mintcdn.com/redbrickai-c2e4bc62/09_FiR9sdsjqKqIA/assets/images/annotation-and-viewer/segmentation/semantic-segmentation.png?w=560\u0026fit=max\u0026auto=format\u0026n=09_FiR9sdsjqKqIA\u0026q=85\u0026s=f69835391a14f9a49cc57cb0b3a1c3c2 560w, https://mintcdn.com/redbrickai-c2e4bc62/09_FiR9sdsjqKqIA/assets/images/annotation-and-viewer/segmentation/semantic-segmentation.png?w=840\u0026fit=max\u0026auto=format\u0026n=09_FiR9sdsjqKqIA\u0026q=85\u0026s=c390b1370a9d1a90f95d9a1c9ea3115c 840w, https://mintcdn.com/redbrickai-c2e4bc62/09_FiR9sdsjqKqIA/assets/images/annotation-and-viewer/segmentation/semantic-segmentation.png?w=1100\u0026fit=max\u0026auto=format\u0026n=09_FiR9sdsjqKqIA\u0026q=85\u0026s=b0caec9abb26953471c128678508e2a6 1100w, https://mintcdn.com/redbrickai-c2e4bc62/09_FiR9sdsjqKqIA/assets/images/annotation-and-viewer/segmentation/semantic-segmentation.png?w=1650\u0026fit=max\u0026auto=format\u0026n=09_FiR9sdsjqKqIA\u0026q=85\u0026s=c8398011eb3271a30945c5d07a44ee40 1650w, https://mintcdn.com/redbrickai-c2e4bc62/09_FiR9sdsjqKqIA/assets/images/annotation-and-viewer/segmentation/semantic-segmentation.png?w=2500\u0026fit=max\u0026auto=format\u0026n=09_FiR9sdsjqKqIA\u0026q=85\u0026s=cfb151d953905c55c53c66e59af87764 2500w`})}),`\n`,_jsxs(_components.p,{children:[`On the other hand, `,_jsx(_components.strong,{children:`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.`]}),`\n`,_jsx(Frame,{caption:`Instance Segmentation`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/redbrickai-c2e4bc62/09_FiR9sdsjqKqIA/assets/images/annotation-and-viewer/segmentation/instance-segmentation.png?fit=max\u0026auto=format\u0026n=09_FiR9sdsjqKqIA\u0026q=85\u0026s=90aeadda584ccd7b4d5ff48eea336575`,alt:``,\"data-og-width\":`2363`,width:`2363`,\"data-og-height\":`1679`,height:`1679`,\"data-path\":`assets/images/annotation-and-viewer/segmentation/instance-segmentation.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/redbrickai-c2e4bc62/09_FiR9sdsjqKqIA/assets/images/annotation-and-viewer/segmentation/instance-segmentation.png?w=280\u0026fit=max\u0026auto=format\u0026n=09_FiR9sdsjqKqIA\u0026q=85\u0026s=98715cc72a9f4f0c457f8a09298366f2 280w, https://mintcdn.com/redbrickai-c2e4bc62/09_FiR9sdsjqKqIA/assets/images/annotation-and-viewer/segmentation/instance-segmentation.png?w=560\u0026fit=max\u0026auto=format\u0026n=09_FiR9sdsjqKqIA\u0026q=85\u0026s=55651706649eaf2ee2cbd14b41e948c2 560w, https://mintcdn.com/redbrickai-c2e4bc62/09_FiR9sdsjqKqIA/assets/images/annotation-and-viewer/segmentation/instance-segmentation.png?w=840\u0026fit=max\u0026auto=format\u0026n=09_FiR9sdsjqKqIA\u0026q=85\u0026s=6048f2af3fe6c7f4d8edf3fe00c59d9f 840w, https://mintcdn.com/redbrickai-c2e4bc62/09_FiR9sdsjqKqIA/assets/images/annotation-and-viewer/segmentation/instance-segmentation.png?w=1100\u0026fit=max\u0026auto=format\u0026n=09_FiR9sdsjqKqIA\u0026q=85\u0026s=9c771ed6771a4b0b28e1abbfb0913c7d 1100w, https://mintcdn.com/redbrickai-c2e4bc62/09_FiR9sdsjqKqIA/assets/images/annotation-and-viewer/segmentation/instance-segmentation.png?w=1650\u0026fit=max\u0026auto=format\u0026n=09_FiR9sdsjqKqIA\u0026q=85\u0026s=0f475c1c0e90a9280562807a612fbe9e 1650w, https://mintcdn.com/redbrickai-c2e4bc62/09_FiR9sdsjqKqIA/assets/images/annotation-and-viewer/segmentation/instance-segmentation.png?w=2500\u0026fit=max\u0026auto=format\u0026n=09_FiR9sdsjqKqIA\u0026q=85\u0026s=dbb337af580837c4188d039061a7939f 2500w`})}),`\n`,_jsxs(_components.p,{children:[`On RedBrick AI, you can `,_jsx(_components.strong,{children:`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. `]}),`\n`,_jsx(_components.p,{children:`Check out this video for an overview:`}),`\n`,_jsx(Frame,{caption:`Something`,children:_jsx(OptimizedFrame,{className:`mint-w-full mint-aspect-video`,src:`https://share.redbrickai.com/P5Qk2Mwr/embed`,alt:`Something`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Instance vs. semantic segmentation","description":"Understand the difference between instance and semantic segmentation in medical imaging and learn how to do both in RedBrick AI projects.","href":"/annotation-and-viewer/segmentation/instance-vs-semantic"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/redbrickai-c2e4bc62/8c934d5d1731f351/login.js"],"dynamicCss":".mint-aspect-video {\n aspect-ratio: 16 / 9\n}\n.mint-w-full {\n width: 100%\n}","subdomain":"redbrickai-c2e4bc62","siteName":"RedBrick AI Docs","title":"Instance vs. semantic segmentation - RedBrick AI Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T12:39:25.589Z","originalFileLocation":"annotation-and-viewer/segmentation/instance-vs-semantic.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Understand the difference between instance and semantic segmentation in medical imaging and learn how to do both in RedBrick AI projects.\">\u003cmeta data-mint-head name=\"application-name\" content=\"RedBrick AI Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/redbrickai-c2e4bc62/TsO7Zpiya72xbG95/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/redbrickai-c2e4bc62/TsO7Zpiya72xbG95/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/redbrickai-c2e4bc62/TsO7Zpiya72xbG95/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/redbrickai-c2e4bc62/TsO7Zpiya72xbG95/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/redbrickai-c2e4bc62/TsO7Zpiya72xbG95/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/redbrickai-c2e4bc62/TsO7Zpiya72xbG95/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/redbrickai-c2e4bc62/TsO7Zpiya72xbG95/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/redbrickai-c2e4bc62/TsO7Zpiya72xbG95/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/redbrickai-c2e4bc62/TsO7Zpiya72xbG95/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Instance vs. semantic segmentation - RedBrick AI Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Understand the difference between instance and semantic segmentation in medical imaging and learn how to do both in RedBrick AI projects.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"RedBrick AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://app.redbrickai.com/docs/annotation-and-viewer/segmentation/instance-vs-semantic\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://redbrickai-c2e4bc62.mintlify.site/docs/_mintlify/api/og/v2?division=Segmentation\u0026amp;title=Instance+vs.+semantic+segmentation\u0026amp;description=Understand+the+difference+between+instance+and+semantic+segmentation+in+medical+imaging+and+learn+how+to+do+both+in+RedBrick+AI+projects.\u0026amp;theme=bb3db0dbf63dfb48910f27ff\u0026amp;signature=7ff1f9160b1635b18f89dd793d83f906c0590984c1c645fa5d57fdf452a327b9\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Instance vs. semantic segmentation - RedBrick AI Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Understand the difference between instance and semantic segmentation in medical imaging and learn how to do both in RedBrick AI projects.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://redbrickai-c2e4bc62.mintlify.site/docs/_mintlify/api/og/v2?division=Segmentation\u0026amp;title=Instance+vs.+semantic+segmentation\u0026amp;description=Understand+the+difference+between+instance+and+semantic+segmentation+in+medical+imaging+and+learn+how+to+do+both+in+RedBrick+AI+projects.\u0026amp;theme=bb3db0dbf63dfb48910f27ff\u0026amp;signature=7ff1f9160b1635b18f89dd793d83f906c0590984c1c645fa5d57fdf452a327b9\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/redbrickai-c2e4bc62/TsO7Zpiya72xbG95/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"RedBrick AI Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1570EF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://app.redbrickai.com/docs/annotation-and-viewer/segmentation/instance-vs-semantic\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/annotation-and-viewer/segmentation/instance-vs-semantic.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://app.redbrickai.com/#organization\",\"name\":\"RedBrick AI Docs\",\"url\":\"https://app.redbrickai.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/redbrickai-c2e4bc62/3dwXq5xbrfx8kdri/assets/logos/redbrick-logo.svg?fit=max\u0026auto=format\u0026n=3dwXq5xbrfx8kdri\u0026q=85\u0026s=a8ab7594502424b217853a6b70ddfd01\"}},{\"@type\":\"WebSite\",\"@id\":\"https://app.redbrickai.com/docs#website\",\"name\":\"RedBrick AI Docs\",\"url\":\"https://app.redbrickai.com/docs\",\"publisher\":{\"@id\":\"https://app.redbrickai.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://app.redbrickai.com/docs/annotation-and-viewer/segmentation/instance-vs-semantic#webpage\",\"url\":\"https://app.redbrickai.com/docs/annotation-and-viewer/segmentation/instance-vs-semantic\",\"name\":\"Instance vs. semantic segmentation\",\"description\":\"Understand the difference between instance and semantic segmentation in medical imaging and learn how to do both in RedBrick AI projects.\",\"dateModified\":\"2026-11-02T12:39:25.589Z\",\"isPartOf\":{\"@id\":\"https://app.redbrickai.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://app.redbrickai.com/docs/annotation-and-viewer/segmentation/instance-vs-semantic#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://app.redbrickai.com/docs/annotation-and-viewer/segmentation/instance-vs-semantic#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Annotation \u0026 Viewer\",\"item\":\"https://app.redbrickai.com/docs/annotation-and-viewer/viewer-basics/home\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Segmentation\",\"item\":\"https://app.redbrickai.com/docs/annotation-and-viewer/segmentation/home\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Instance vs. semantic segmentation\",\"item\":\"https://app.redbrickai.com/docs/annotation-and-viewer/segmentation/instance-vs-semantic\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://app.redbrickai.com/docs/annotation-and-viewer/segmentation/instance-vs-semantic#article\",\"headline\":\"Instance vs. semantic segmentation\",\"name\":\"Instance vs. semantic segmentation\",\"description\":\"Understand the difference between instance and semantic segmentation in medical imaging and learn how to do both in RedBrick AI projects.\",\"url\":\"https://app.redbrickai.com/docs/annotation-and-viewer/segmentation/instance-vs-semantic\",\"mainEntityOfPage\":{\"@id\":\"https://app.redbrickai.com/docs/annotation-and-viewer/segmentation/instance-vs-semantic#webpage\"},\"dateModified\":\"2026-11-02T12:39:25.589Z\",\"publisher\":{\"@id\":\"https://app.redbrickai.com/#organization\"},\"isPartOf\":{\"@id\":\"https://app.redbrickai.com/docs#website\"}}]}\u003c/script>","agentPointerHref":"/docs/annotation-and-viewer/segmentation/instance-vs-semantic.md","siteName":"RedBrick AI Docs","nav":{"global":null,"groups":[{"group":"Quick Start","pages":[{"title":"RedBrick AI documentation and guides","href":"/home"},{"title":"Get started with a RedBrick AI project","href":"/quick-start/get-started-with-a-project"},{"group":"Getting Started with Workspace","pages":[{"title":"Get started with RedBrick AI workspaces","href":"/quick-start/get-started-with-workspace/home"},{"title":"Create cohorts in a workspace","href":"/quick-start/get-started-with-workspace/cohort-creation"},{"title":"Datapoint classification in workspaces","href":"/quick-start/get-started-with-workspace/datapoint-classification"},{"title":"Configure workspace metadata schema","href":"/quick-start/get-started-with-workspace/configuring-metadata-schema"}]},{"title":"Create a RedBrick AI account","href":"/quick-start/creating-a-redbrick-ai-account"}]},{"group":"Organizations","pages":[{"title":"Organizations, projects, and role permissions","href":"/organizations/what-is-an-organization"},{"title":"Single sign-on (SSO) for enterprise teams","href":"/organizations/single-sign-on"},{"title":"Organization billing and Stripe portal","href":"/organizations/billing"}]},{"group":"Dashboard","pages":[{"title":"Account settings and MFA","href":"/dashboard/account-settings"},{"title":"User preferences and custom shortcuts","href":"/dashboard/user-preferences"},{"title":"Billing page and seat management","href":"/dashboard/billing"},{"title":"Worklist for assigned and cached tasks","href":"/dashboard/worklist"},{"title":"Preview tool for images and annotations","href":"/dashboard/preview-tool"},{"title":"Desktop application (PWA install)","sidebarTitle":"Desktop Application","href":"/dashboard/pwa"},{"title":"Storage integrations and API keys","href":"/dashboard/integrations"},{"title":"Source Discovery","href":"/dashboard/source-discovery"},{"title":"Team page and member management","href":"/dashboard/team-page"},{"group":"Evaluation Tests","pages":[{"title":"Evaluate and rank annotation candidates","href":"/dashboard/evaluation-tests"},{"title":"Candidate Leaderboard","href":"/dashboard/evaluation-tests/candidate-leaderboard"},{"title":"Test Cases","href":"/dashboard/evaluation-tests/test-cases"},{"title":"Assess and compare candidate submissions","href":"/dashboard/evaluation-tests/reviewing-submissions"}]},{"title":"Taxonomies and labeling schemas","href":"/dashboard/taxonomies"},{"group":"Boost","pages":[{"title":"Boost AI-assisted segmentation engine","href":"/dashboard/boost/home"},{"title":"Auto Annotator AI pre-labeling","href":"/dashboard/boost/auto-annotator"}]},{"group":"Home","pages":[{"title":"Dashboard home page and navigation","href":"/dashboard/home/home"},{"title":"Sections for organizing projects","href":"/dashboard/home/sections"}]}]},{"group":"AltaDB","pages":[{"title":"AltaDB DICOM storage for medical imaging","href":"/altadb/getting-started"}]},{"group":"Importing Data","pages":[{"title":"Upload data directly to RedBrick AI","href":"/importing-data/uploading-data-to-redbrick"},{"group":"Import Cloud Data","pages":[{"title":"Import cloud data into RedBrick AI","href":"/importing-data/import-cloud-data/home"},{"title":"Configure AWS S3 storage for RedBrick AI","href":"/importing-data/import-cloud-data/configuring-aws-s3"},{"title":"Configure Azure Blob Storage for RedBrick AI","href":"/importing-data/import-cloud-data/configuring-azure-blob"},{"title":"Configure Google Cloud Storage for RedBrick AI","href":"/importing-data/import-cloud-data/configuring-gcs"},{"title":"Create an items list JSON for imports","href":"/importing-data/import-cloud-data/creating-an-items-list"}]},{"title":"Troubleshoot data loading and 404 errors","href":"/importing-data/troubleshooting"}]},{"group":"Projects","pages":[{"title":"Tasks and assignment in RedBrick AI","href":"/projects/tasks-and-assignment"},{"title":"Comments and raised issues on tasks","href":"/projects/comments-and-raised-issues"},{"title":"Reference standards for labelers","href":"/projects/reference-standards"},{"title":"Project and task analytics in RedBrick AI","href":"/projects/project-and-task-analytics"},{"title":"Labeler evaluation with ground truth","href":"/projects/labeler-evaluation"}]},{"group":"Project Pages","pages":[{"title":"Project data page for tasks and metrics","href":"/project-pages/data-page"},{"title":"Releases and point-in-time task snapshots","href":"/project-pages/releases"},{"group":"Settings Page","pages":[{"title":"Project settings and configuration","href":"/project-pages/settings-page/home"},{"title":"Custom label validation scripts","href":"/project-pages/settings-page/custom-label-validation"},{"title":"Custom hanging protocols for projects","href":"/project-pages/settings-page/custom-hanging-protocol"},{"title":"Webhooks for task events","href":"/project-pages/settings-page/webhooks"}]},{"group":"Multiple Labeling","pages":[{"title":"Multiple labeling and multi-reader projects","href":"/project-pages/multiple-labeling/home"},{"group":"Consensus","pages":[{"title":"Consensus projects and multi-reader studies","href":"/project-pages/multiple-labeling/consensus/home"},{"title":"Inter-annotator agreement calculation","href":"/project-pages/multiple-labeling/consensus/agreement-calculation"}]},{"title":"Task duplication for multi-reader studies","href":"/project-pages/multiple-labeling/task-duplication"}]}]},{"group":"Annotation \u0026 Viewer","pages":[{"group":"Viewer Basics","pages":[{"title":"Annotation tool and viewer basics","href":"/annotation-and-viewer/viewer-basics/home"},{"title":"Curved planar reconstruction (CPR) views","href":"/annotation-and-viewer/viewer-basics/cpr-views"},{"title":"Document viewer for text reports","href":"/annotation-and-viewer/viewer-basics/document-viewer"},{"title":"Annotate multiple modalities in one study","href":"/annotation-and-viewer/viewer-basics/multiple-modalities"},{"title":"IntelliSync scroll and reference line sync","href":"/annotation-and-viewer/viewer-basics/intellisync"},{"title":"Annotation mirroring across volumes","href":"/annotation-and-viewer/viewer-basics/annotation-mirroring"}]},{"title":"Create, edit, and delete annotations","href":"/annotation-and-viewer/creating-editing-and-deleting-annotations"},{"title":"Visualization and masking settings","href":"/annotation-and-viewer/visualization-and-masking"},{"group":"Segmentation","pages":[{"title":"Segmentation overview and toolkit","href":"/annotation-and-viewer/segmentation/home"},{"title":"Segmentation tools (brush, pen, contour, FAST)","description":"Reference for RedBrick AI segmentation tools including the brush, adaptive brush, pen, contour, mask propagation, and FAST AI-assisted segmentation.","href":"/annotation-and-viewer/segmentation/segmentation-tools"},{"title":"Instance vs. semantic segmentation","href":"/annotation-and-viewer/segmentation/instance-vs-semantic"},{"title":"Overlapping segmentations and masking","description":"Configure overlapping segmentation behavior in RedBrick AI using editable area and modify segment controls, and export each mask as a separate NIfTI file.","href":"/annotation-and-viewer/segmentation/overlapping-segmentations"},{"title":"Segmentation tips and tricks","href":"/annotation-and-viewer/segmentation/tips-tricks"}]},{"title":"Heat maps and scalar volume overlays","href":"/annotation-and-viewer/heat-maps"}]},{"group":"Python SDK \u0026 CLI","pages":[{"title":"Full RedBrick AI SDK reference","url":"https://sdk.redbrickai.com/","href":"/python-sdk/full-documentation"},{"title":"Install the SDK and generate API keys","href":"/python-sdk/installation-and-api-keys"},{"title":"Import annotations into RedBrick AI","href":"/python-sdk/importing-annotations-guide"},{"group":"SDK Overview","pages":[{"title":"RedBrick AI Python SDK overview","href":"/python-sdk/sdk-overview/home"},{"title":"Import data and annotations with the SDK","href":"/python-sdk/sdk-overview/importing-data-and-annotations"},{"title":"Programmatic labeling and review with put_tasks","href":"/python-sdk/sdk-overview/programmatic-label-and-review"},{"title":"Assign and query tasks with the SDK","href":"/python-sdk/sdk-overview/assigning-and-querying-tasks"},{"title":"Export annotations with the Python SDK","href":"/python-sdk/sdk-overview/exporting-annotations"}]},{"group":"CLI Overview","pages":[{"title":"RedBrick AI CLI overview and setup","href":"/python-sdk/cli-overview/home"},{"title":"Create and clone projects with the CLI","href":"/python-sdk/cli-overview/creating-and-cloning-projects"},{"title":"Export annotations with the RedBrick CLI","href":"/python-sdk/cli-overview/exporting-annotations"}]},{"group":"Formats Overview","pages":[{"title":"Items list and tasks.json format reference","href":"/python-sdk/formats/full-format-reference"},{"title":"Annotation export structure and folders","href":"/python-sdk/formats/export-structure"}]}]},{"group":"Python SDK \u0026 CLI - Developer Documentation","pages":[{"title":"RedBrick AI Python SDK developer reference","url":"https://sdk.redbrickai.com/sdk.html","href":"/sdk/sdk"},{"title":"Python SDK reference (legacy)","href":"/sdk/legacy-sdk"},{"title":"RedBrick AI CLI developer reference","url":"https://sdk.redbrickai.com/cli.html","href":"/sdk/cli"},{"title":"Legacy RedBrick AI CLI reference","href":"/sdk/legacy-cli"},{"group":"Formats Overview","pages":[{"title":"RedBrick AI import and export formats","href":"/sdk/formats/index"},{"title":"Taxonomy object format reference","href":"/sdk/formats/taxonomy"},{"title":"Annotation object type definitions","href":"/sdk/formats/annotations"}]}]},{"group":"Changelogs","pages":[{"title":"RedBrick AI application changelog","href":"/changelogs/redbrick-changelog"},{"title":"RedBrick AI Python SDK changelog","href":"/changelogs/redbrick-sdk-changelog"}]},{"group":"Useful Links","pages":[{"title":"RedBrick AI privacy policy","url":"https://redbrickai.com/policies/privacy.pdf","href":"/privacy-policy"},{"title":"RedBrick AI SDK on PyPI","url":"https://pypi.org/project/redbrick-sdk/","href":"/pypi"}]},{"group":"Troubleshooting","pages":[{"title":"Master troubleshooting guide for RedBrick AI","href":"/troubleshooting/master-guide"},{"title":"Performance Test","href":"/troubleshooting/performance-test"},{"title":"Occasionally asked questions about RedBrick AI","href":"/troubleshooting/occasionally-asked-questions"},{"title":"Reporting an issue","href":"/troubleshooting/reporting-an-issue"},{"title":"Requesting a feature","href":"/troubleshooting/requesting-a-feature"}]}]},"basePath":"","title":"Instance vs. semantic segmentation - RedBrick AI Docs","buildId":"dpl_FGqRJUoJWfds4SqdfFGJ2v1vVNSs","deploymentId":"dpl_FGqRJUoJWfds4SqdfFGJ2v1vVNSs","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-CmacjwX8.js","DynamicMarkdown-v9H593Hz.js","zoom-image-lightbox-w91LmHWE.js","lightbox-handle-r17bVUz3.js"]}