{"id":5382,"date":"2025-11-17T10:04:55","date_gmt":"2025-11-17T15:04:55","guid":{"rendered":"https:\/\/az.research.umich.edu\/animalcare\/?post_type=document&#038;p=5382"},"modified":"2026-12-03T17:39:10","modified_gmt":"2026-12-03T22:39:10","slug":"qupath-image-analysis-information-document","status":"publish","type":"document","link":"https:\/\/az.research.umich.edu\/animalcare\/informational\/qupath-image-analysis-information-document\/","title":{"rendered":"ULAM Pathology Core QuPath Image Analysis Information Document"},"template":"","categories":[],"tags":[27],"content-type":[4],"topic":[],"update-type":[],"class_list":["post-5382","document","type-document","status-publish","hentry","tag-ulam-pathology-core","content-type-informational"],"acf":{"use_legacy_editor":true,"updated_date":"2025-12-24 00:00:00","update_notice":false,"author":"ULAM Pathology Core ","summary":"","button_links":null,"related_content":"","legacy_path":"","legacy_node_id":"","legacy_related_nids":"","legacy_content_section":[{"legacy_section_type":"heading","legacy_heading":"Responsibility","legacy_subheading":"","legacy_section_text":"","legacy_media_position":false,"legacy_media_file":null,"legacy_media_url":"","legacy_glossary_term":null,"legacy_glossary_nids":"","legacy_resource":null,"legacy_resource_nids":"","legacy_buttons":null},{"legacy_section_type":"text_area","legacy_heading":"","legacy_subheading":"","legacy_section_text":"<ul>\r\n \t<li>Investigative Personnel<\/li>\r\n<\/ul>\r\nNote: Please cite our <a href=\"https:\/\/scicrunch.org\/resolver\/SCR_018823\">Research Resource Identifier (RRID)<\/a> in your publications","legacy_media_position":false,"legacy_media_file":null,"legacy_media_url":"","legacy_glossary_term":null,"legacy_glossary_nids":"","legacy_resource":null,"legacy_resource_nids":"","legacy_buttons":null},{"legacy_section_type":"heading","legacy_heading":"Purpose","legacy_subheading":"","legacy_section_text":"","legacy_media_position":false,"legacy_media_file":null,"legacy_media_url":"","legacy_glossary_term":null,"legacy_glossary_nids":"","legacy_resource":null,"legacy_resource_nids":"","legacy_buttons":null},{"legacy_section_type":"text_area","legacy_heading":"","legacy_subheading":"","legacy_section_text":"This document is an introduction to the open-source program QuPath, as applied to pathology analysis of whole slide images. Additional online resources are also referenced.\r\n\r\nQuPath is an open-source image analysis program originally developed by Pete Bankhead while at the University of Edinburgh and now maintained as freely downloadable software on GitHub. If you use this tool for analysis, please help support open-source software development by citing the original QuPath publication.<a href=\"#QuPath-Reference1\"><sup>1<\/sup><\/a>","legacy_media_position":false,"legacy_media_file":null,"legacy_media_url":"","legacy_glossary_term":null,"legacy_glossary_nids":"","legacy_resource":null,"legacy_resource_nids":"","legacy_buttons":null},{"legacy_section_type":"heading","legacy_heading":"QuPath Installation","legacy_subheading":"","legacy_section_text":"","legacy_media_position":false,"legacy_media_file":null,"legacy_media_url":"","legacy_glossary_term":null,"legacy_glossary_nids":"","legacy_resource":null,"legacy_resource_nids":"","legacy_buttons":null},{"legacy_section_type":"text_area","legacy_heading":"","legacy_subheading":"","legacy_section_text":"<ol>\r\n \t<li>Installing <a href=\"https:\/\/qupath.github.io\/\">QuPath<\/a> (an open-source software for bioimage analysis). Use the latest stable release for your operating system. You will need administrative access on your computer to download \u2013 if you do not have this, you will need HITS or ITS help. We recommend installing on a computer that has a minimum of 32-64 RAM, depending on the complexity of your analysis needs.\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>If you are continuing a previous analysis, it is best to keep the same version for the entire analysis. It is possible to keep two versions QuPath on your computer.<\/li>\r\n \t<li>When upgrading to a new release \u2013 check your favorite script in the new version to ensure that it still works (may need some modifications).<\/li>\r\n \t<li>These directions are written for QuPath v 0.6.0 Any future upgrades may require modifications.<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>","legacy_media_position":false,"legacy_media_file":null,"legacy_media_url":"","legacy_glossary_term":null,"legacy_glossary_nids":"","legacy_resource":null,"legacy_resource_nids":"","legacy_buttons":null},{"legacy_section_type":"heading","legacy_heading":"Methods","legacy_subheading":"","legacy_section_text":"","legacy_media_position":false,"legacy_media_file":null,"legacy_media_url":"","legacy_glossary_term":null,"legacy_glossary_nids":"","legacy_resource":null,"legacy_resource_nids":"","legacy_buttons":null},{"legacy_section_type":"text_area_with_subheading","legacy_heading":"","legacy_subheading":"1. Starting and Opening Projects","legacy_section_text":"<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li><strong>Create a New Project folder locally<\/strong> (QuPath works best with local analysis)\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li><strong>Create a Parent folder <\/strong>locally (desktop, external drive, local network).<\/li>\r\n \t<li><strong>Create 2 subfolders<\/strong> inside this parent folder\r\n<ol>\r\n \t<li>An <strong>empty<\/strong> project folder: This folder <em><strong>must be empty <\/strong><\/em>- once you open QuPath the data files and results for your project will be generated here.<\/li>\r\n \t<li>A Digital Slides folder: this supplies the raw data images (.vsi, .svs, .czi, .tif, etc\u2026)<\/li>\r\n \t<li><em><strong>NOTE<\/strong>: You can move the Parent folder to a new location later, but <strong>you must keep the same relative path between the 2 subfolders <\/strong>(i.e., Keep these 2 subfolders together). If you move or rename the Parent folder, you will need to manually specify the new URI when you try to re-open them. Do not rename the 2 subfolders!<\/em><\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>Download your project digital slides<\/strong> to the Digital Slides folder\r\n<ol>\r\n \t<li>You will later drag these slides into the project<\/li>\r\n \t<li>For .svs files, just put the .svs file into the Digital slides folder<\/li>\r\n \t<li>For .vsi files, you must put BOTH the .vsi file and the accompanying data folder for each sample in the Digital slides folder. The data folder is needed to open the slide. <img class=\"alignnone\" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2025\/12\/QuPath1.png\" alt=\"QuPath file structure screenshot showing a data folder and a .vsi file. Import BOTH to your Digital Slides subfolder.\" width=\"1003\" height=\"191\" \/><\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>Open QuPath. View the PROJECT bar (top left).<\/strong>\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li><strong style=\"font-size: inherit;\">For New Projects<\/strong>\r\n<ol>\r\n \t<li><strong>Select File-Project-Create project from the upper toolbar<\/strong>\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>Select the EMPTY project subfolder you just created in Step 4<\/li>\r\n \t<li>This will create a new QuPath project in this folder and open it in the Viewer<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>Drag the images<\/strong> from the Digital slides subfolder (from step 1) to the open QuPath viewer window\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>In the ImagePaths submenu:\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li>Image Provider: most commonly use Default (let QuPath decide) for svs, Tiff, etc\u2026<\/li>\r\n \t<li>Set Image Type: (ex., brightfield HE, brightfield HE-DAB, or brightfield-other)<\/li>\r\n \t<li>Rotate image: No (unless you want to!)<\/li>\r\n \t<li>Click Auto-generate pyramids (this imports all magnification levels of the file)<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>Click Import<\/strong>\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li><strong>Note<\/strong>: for .vsi files (from a VS200 scanner), the slide label, overview, and the actual digital slide file will be imported as separate image files. If individual tissue sections are scanned, these also will be separate files. This is an unavoidable feature of the file structure. To avoid cluttering up your QuPath project, you can rightclick - delete any of the files that you do not want (e.g., label, overview). This will delete them from the QuPath project only (they are still accessible in the original Digital Slide folder). <img class=\"alignnone\" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2025\/12\/QuPath2.png\" alt=\"QuPath file structure showing slide label, overview (thumbnail) and .vsi file. Slide label and thumbnail can be deleted from the QuPath project to reduce clutter.\" width=\"979\" height=\"201\" \/><\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong style=\"font-size: inherit;\">For Existing Projects<\/strong>\r\n<ol>\r\n \t<li><strong>Select File-Project-Open Project<\/strong><\/li>\r\n \t<li>Select the file named <em>project.qpproj<\/em> from the project subfolder. Click this to open the project.<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>","legacy_media_position":false,"legacy_media_file":null,"legacy_media_url":"","legacy_glossary_term":null,"legacy_glossary_nids":"","legacy_resource":null,"legacy_resource_nids":"","legacy_buttons":null},{"legacy_section_type":"text_area_with_subheading","legacy_heading":"Starting Projects and Basic Tools ","legacy_subheading":"2. Basic QuPath Navigation","legacy_section_text":"<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li><strong>Main Viewer Window<\/strong>: Current image on right, tabs on left\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li>Project tab: shows images in the project as thumbnails, double-click on thumbnail to open in viewer<\/li>\r\n \t<li>Image tab: shows image properties of the selected (open) image<\/li>\r\n \t<li>Annotations: shows regions of interest (ROI) that you have drawn (top) and analysis results (bottom)<\/li>\r\n \t<li>Hierarchy: delineates \u201cparent-child\u201d relationships between objects\/annotations- most of the time can ignore<\/li>\r\n \t<li>Workflow: tracks command history: useful when writing scripts<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>Drawing Annotations<\/strong> around regions of interest (ROI): Use Magic Wand tool <img class=\"alignnone wp-image-5682 size-full\" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2026\/02\/WandTool30x30.svg\" alt=\"QuPath Magic Wand Tool. A red wand with a white tip and four rays emitting from the end\" width=\"30\" height=\"30\" \/> or Brush Tool <img class=\"alignnone\" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2026\/02\/BrushTool30x30.svg\" alt=\"QuPath Brush Tool icon. A red outline of a rounded, tilted hourglass shape.\" width=\"30\" height=\"30\" \/>\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li><strong>Use the Magic Wand first<\/strong> to make broad annotations: this tool makes a \u201creal-time\u201d assessment of similar pixels and enables quick annotation<\/li>\r\n \t<li><strong>Use the Brush tool<\/strong> to fine-tune or smooth the outline of annotations\r\n<ol>\r\n \t<li>With the cursor outside an annotation- holding down the Alt key will erase\/edit the edge of the annotation \u2013 use this to fine-tune the annotation area<\/li>\r\n \t<li>To make ONE annotation of two separated areas, draw an annotation around the whole region first, then erase the intervening tissue areas (as above)<\/li>\r\n \t<li>With the cursor inside an annotation- holding down the Alt key will create \u201cexclusion\u201d area<\/li>\r\n \t<li>To expand the annotation, make sure the annotation is selected (yellow outline) and place the cursor inside it before expanding it outward (fine-tune edges as above)<\/li>\r\n \t<li>Simple annotations (circle, rectangle, etc\u2026) are self-explanatory<\/li>\r\n \t<li>Watch <a href=\"https:\/\/www.youtube.com\/c\/QuPath\/featured\">examples of annotating on YouTube<\/a><\/li>\r\n \t<li>Active annotations are outlined in yellow; inactive ones in red: <strong>make sure you have the correct annotation selected before you edit or delete!<\/strong><\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>To switch from annotation mode back to navigation mode press the Move\u00a0<img class=\"alignnone\" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2026\/02\/Move30x30.svg \" alt=\"QuPath Move icon. A rounded rectangle with two double-ended arrows, crossing in the center at a right angle.\" width=\"30\" height=\"30\" \/>\u00a0icon\r\n<ol>\r\n \t<li>To switch quickly between annotation and navigation mode, hold the space bar down. This will keep you in Move mode for as long as you hold it down.<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>To move an annotation to a new location, position the cursor in the middle of the annotation and use the Move icon to move it around.<\/li>\r\n \t<li>To lock an annotation so it cannot be moved, select the annotation (in Annotation tab), right click and Select Properties (opens Set Annotation properties window). Click Lock. You can also put a label for the annotation, either directly on the annotation (\u2018Name\u2019 field) or as a hidden label (\u2018Description\u2019) that will print out with results on the data spreadsheet.<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>Setting Stain Vectors<\/strong>\u00a0(set the RGB values for the stains in your particular set of images)\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li><strong>Quick method (from ROI)<\/strong>\r\n<ol>\r\n \t<li><strong>Open<\/strong>\u00a0a representative image (click the thumbnail in QuPath viewer)<\/li>\r\n \t<li><strong>Select<\/strong>\u00a0Image tab (next to Project tab)<\/li>\r\n \t<li><strong>Set Stain Vectors from a Region of Interest<\/strong> (<strong>ROI<\/strong>)\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>Zoom in on the image (mouse wheel) to a high enough magnification to see individual cells<\/li>\r\n \t<li>Use the rectangular annotation tool\u00a0 <img class=\"alignnone\" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2026\/02\/Rectangular30x30.svg \" alt=\"QuPath Rectangular Annotation tool icon. A red rectangle.\" width=\"30\" height=\"30\" \/> in the Toolbar to draw a tiny square annotation in a region that includes JUST stain 1 (or as close as you can get)<\/li>\r\n \t<li>Under the Image tab, double-click on Stain 1 (the default for stain 1 is hematoxylin)<\/li>\r\n \t<li>In the pop-up window \u201cSet stain vector from ROI (region of interest)?\u201d Click Yes<\/li>\r\n \t<li>Rename the stain from the default to something that makes sense to you<\/li>\r\n \t<li>In the pop-up window \u201cSet stain vector\u201d Click OK<\/li>\r\n \t<li>This will change the RGB vectors for Stain 1 to the best match for your staining<\/li>\r\n \t<li>Follow the same steps as above to set the Stain 2 vector<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>OTHER method (more involved, but may be more precise in some instances): <a href=\"https:\/\/qupath.readthedocs.io\/en\/latest\/docs\/tutorials\/separating_stains.html\">Estimate stain vectors tutorial<\/a><\/li>\r\n \t<li><strong>Check Results<\/strong>: View (top toolbar) - Brightness &amp; Contrast\r\n<ol>\r\n \t<li>Select Original (full image) or one of your stains (to view only that stain)<\/li>\r\n \t<li>Adjust Min\/Max display to adjust the intensity you wish to see for each stain\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>This does NOT change features of the image! It only changes what appears visually to you on the screen. This helps you decide upon appropriate thresholds for pixel classifiers<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>Automate stain selection workflow<\/strong>\r\n<ol>\r\n \t<li>Select Automate - Create command history script (from top toolbar)(alternately, select the Workflow tab, pick Create script)<\/li>\r\n \t<li>Delete all but the lines you want: (example below) <img class=\"alignnone\" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2025\/12\/QuPath3.png\" alt=\"QuPath script example, showing edited workflow tailored to desired stains.\" width=\"639\" height=\"55\" \/><\/li>\r\n \t<li>Save the script with a unique name under your project folder (make a subfolder for scripts)<\/li>\r\n \t<li>Apply to individual slides or in batch\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>Select Automate- open script editor<\/li>\r\n \t<li>Load script<\/li>\r\n \t<li>Run for selected slide or run for project<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>NOTE: IF your slides have very different stain qualities<\/strong> (different scanner, different staining runs), you may have to optimize stain vectors and adjust Min\/Max for each different type of stain\r\n<ol>\r\n \t<li>You can save these as different scripts and run the appropriate ones for each slide\/slides<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>","legacy_media_position":false,"legacy_media_file":null,"legacy_media_url":"","legacy_glossary_term":null,"legacy_glossary_nids":"","legacy_resource":null,"legacy_resource_nids":"","legacy_buttons":null},{"legacy_section_type":"text_area_with_subheading","legacy_heading":"","legacy_subheading":"3. Viewing QuPath Results ","legacy_section_text":"Pathology Core pathologists may share with you a zip file, which contain all the settings (analyzed annotations, pixel classifications, etc.) that we have used to generate image analysis for you. You can open these files to view results. You can also apply the scripts and classifiers in the project to new slides imported to the project, or copy these scripts and classifiers into new QuPath projects.\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>Install QuPath as in Chapter 1 above. Ideally, use the same or later version of QuPath as the existing project.<\/li>\r\n \t<li>Download the zip file from Dropbox that the pathologist has shared with you.<\/li>\r\n \t<li>Unzip the file. This contains the <strong>parent folder<\/strong>.<\/li>\r\n \t<li>In the <strong>parent folder<\/strong> (see below), there should be:\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li>one folder for <strong>digital slides<\/strong> (This may be called \u201cExport\u201d or \u201cDigital Slides\u201d)<\/li>\r\n \t<li>one to multiple folders that are QuPath\u2019s <strong>data folders<\/strong> (\u201cQPProject\u201d in the picture below).<\/li>\r\n \t<li>You may change the name of the <strong>parent folder<\/strong> or the <strong>data folders,<\/strong> but DO NOT CHANGE the name of digital slide folder or any digital slide file names. <img class=\"alignnone\" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2025\/12\/QuPath4.png\" alt=\"QuPath folder structure showing one folder named 'Digital Slides' and one folder named 'QPProject'\" width=\"677\" height=\"83\" \/><\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Open a QuPath\u2019s <strong>data folder <\/strong>(QPProject). Double-click or drag and drop the file named \u201cproject.qpproj\u201d to an open QuPath window to open the project.\r\n<img class=\"alignnone\" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2025\/12\/QuPath5.png\" alt=\"Contents of QuPath data folder including folders named 'classifiers', 'data', and 'scripts.' A file named project.qpproj is highlighted and indicated as the file to open to interact with the project.\" width=\"651\" height=\"128\" \/><\/li>\r\n \t<li>A warning window pops up because the name of the drive and location of the files are different from the original (from the pathologist\u2019s computer). However, QuPath can usually find and suggest the new digital slide location (as long as all the names of the slides subfolder is not changed). Simply click \u201cApply changes\u201d. If you have changed the names of subfolders you will have to manually enter the new name and URI \u2013 this is prone to error and we don\u2019t recommend it.\r\n<img class=\"alignnone\" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2025\/11\/Downloading-an-Existing-QuPath-Project-Folder-3.png\" alt=\"Warning window pop up indicating movement of files.\" width=\"431\" height=\"421\" \/><\/li>\r\n \t<li>In QuPath, double-click one of the slides on left panel to actually see the file.<\/li>\r\n \t<li>In the project <strong>data folders<\/strong>, there are subfolders for the scripts and classifiers used in the original analysis. These can be opened in any common text editor (Notepad, Atom, etc.) to edit or view as plain text and can be imported and applied within the script editor or classifier window in QuPath. You can also export or copy-paste script or classifier files to new projects to apply the same analysis parameters to a different set of slides.<\/li>\r\n \t<li>To view existing analysis results, more instructions can be found on <a href=\"https:\/\/qupath.github.io\/\">QuPath\u2019s official website. <\/a>Familiarize yourself with different buttons for masks in order to visualize what annotations and detections have been performed.<\/li>\r\n<\/ol>\r\n<strong>Tips<\/strong>: With the slides open in QuPath, clicking \u201cA\u201d on\/off will show\/hide annotation objects (areas) and clicking \u201cD\u201d will show\/hide detection objects (cells). Fill and unfill the detection objects are also helpful to visualize the analysis (see picture below).\r\n\r\n<img class=\"aligncenter \" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2026\/01\/view-QuPath-with-Arrow.jpg\" width=\"729\" height=\"395\" \/>","legacy_media_position":false,"legacy_media_file":null,"legacy_media_url":"","legacy_glossary_term":null,"legacy_glossary_nids":"","legacy_resource":null,"legacy_resource_nids":"","legacy_buttons":null},{"legacy_section_type":"text_area_with_subheading","legacy_heading":"Pixel Classifiers ","legacy_subheading":"4. Pixel Classifiers ","legacy_section_text":"<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li><strong>What is a pixel classifier and when should we use it<\/strong>?\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li>A pixel classifier identifies and classifies different regions based on pixel color and texture. This allows you to automatically analyze and segment (outline) various tissue types and structures without having to annotate by hand.<\/li>\r\n \t<li>There are two main types of pixel classifiers in QuPath.\r\n<ol>\r\n \t<li>The first is a simple <strong>pixel thresholder<\/strong>, which segments tissues using simple user-defined rules about intensity or color. This is useful to identify the percent of total tissue area that is staining (e.g. the percent of blue area in a trichrome stain).<\/li>\r\n \t<li>The second is a trained pixel classifier that leverages <strong>machine learning or neural networks<\/strong>. This tool requires user-defined annotations as examples to train the neural network or machine learning algorithm to segment structures based on complex morphologic features (e.g lines, texture, shapes). This is useful for tasks like separating tumor from stroma or inflamed vs normal tissue.<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>This short tutorial is a basic introduction to the first tool, the simple pixel thresholder (for stain-based separations). For training a morphology-based pixel or object classifier, see the online <a style=\"font-size: inherit;\" href=\"https:\/\/qupath.readthedocs.io\/en\/latest\/docs\/tutorials\/pixel_classification.html\">readthedoc for QuPath<\/a><span style=\"font-size: inherit;\">.<\/span><\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong style=\"font-size: inherit;\">Steps for creating and using a pixel thresholder:<\/strong>\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li><strong>Basic Settin<\/strong><strong>g<\/strong>\r\n<ol>\r\n \t<li>Create (or load) a project<\/li>\r\n \t<li>Upload images into project<\/li>\r\n \t<li>Set stain vectors (use tiny ROI just including a representative nucleus for hematoxylin, use a tiny square just including representative DAB for DAB staining)<\/li>\r\n \t<li>Apply the stain vectors for the entire project (ctl + L -&gt; create command history script -&gt; the script editor will be opened -&gt; declutter irrelevant\/repetitive part and save the script -&gt; hit three dots on the bottom right beside the \u201cRun\u201d button -&gt; Run for project)<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>Creating a Pixel Classifier\u00a0\u00a0<\/strong>\r\n<ol>\r\n \t<li>Annotate (draw) a small square test area to optimize analysis: it should have areas fairly representative of the regions of interest. This will save time in optimizing your classifier rather than applying parameters to the whole image.<\/li>\r\n \t<li>Select the annotation area until the outline turns yellow (or click \u201cannotations\u201d on the left panel, then select the annotated region)<\/li>\r\n \t<li>At the top toolbar, select Classify- Pixel Classifier-Create Thresholder<\/li>\r\n \t<li>Adjust parameters as needed (see below):\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li><strong>Resolution<\/strong>: Choose the minimum resolution necessary to see the feature you are trying to classify. <em>\u2018Very Low (16.11 \u00b5m\/px)\u2019 for large structures and higher resolution for cell-based classifications. A laptop with lower CPU and large digital slides might restrict your ability to use high resolution<\/em>.<\/li>\r\n \t<li><strong>Channe<\/strong><strong>l<\/strong>: Choose the channel that best reflects the feature you are classifying. <em>For stain based classifications, choose the stain. For morphology-based classifications (like tissue selection) you might try \u2018Average channels\u2019 (average of RGB vectors for all stains). Use the Brightness\/Image window to separate channels and see what each stain looks like on its own<\/em>.<\/li>\r\n \t<li><strong>Prefilter<\/strong>: These filters group or separate adjacent pixels into regions based not only on the pixel itself but also \u201ccontext\u201d from adjacent pixels. The net effect is to provide \u2018smoothing\u2019 across pixels to allow them to be classified into a region. <em>The default filter is Gaussian but you may have to try different filters depending on the feature you are classifying. For Tissue thresholding we often use \u2018Morphological Closing\u2019 or \u2018Weighted Deviation\u2019. If you get a result of the entire image classed as one feature (a solid block of color in your test annotation), try adjusting either the smoothing sigma or the type of prefilter<\/em>.<\/li>\r\n \t<li><strong>Smoothing sigm<\/strong><strong>a<\/strong>: This provides a smoothing effect. Higher values close small holes in the image. Lower values will have more holes in the image. For Tissue Thresholding, we often use \u20181\u2019 but you may have to decrease this value considerably for thresholding fine features.<\/li>\r\n \t<li><strong>Threshold<\/strong>: This is the intensity value (within the specified Channel) for detection. For fine stain-based detections, the values may be lower. For tissue-level detections, you may be able to use a much higher threshold (we have used 3-4 for Tissue Detection).<\/li>\r\n \t<li><strong>Above Threshold<\/strong>: This is the class category where pixels above the intensity threshold will be classed.<\/li>\r\n \t<li><strong>Below Threshold<\/strong>: This is the class category where pixels below the intensity threshold will be classed. If you use a class with an asterisk*, these pixels will be ignored (no measurements will be made). If you want the areas below threshold to be measured (area), use Other or Background or Stroma or some other named class with no asterisk. You can add custom classes by going to the Annotations tab, selecting the Class Heading \u2018None\u2019 and right-clicking \u2013 then Add Class.<\/li>\r\n \t<li><strong>Region<\/strong>: The area to which you want your thresholder applied. Everywhere is the whole image and will take longer. If you want to apply a second thresholder AFTER a tissue thresholder (to classify regions within a tissue), you would select the Annotations that you created with your Tissue Thresholder.<\/li>\r\n \t<li><strong>Classifier Name<\/strong>: You must name your classifier before you can save it. Save will be greyed out until you put a name. It will be saved to your project. See comments below under SAVE the classifier.<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>You must name and save the classifier before running it or selecting Measure\/Create objects<\/strong>. See notes on <em><strong>Save Classifi<\/strong><strong>er<\/strong><\/em> below.<\/li>\r\n \t<li><strong>Create objects<\/strong>: This will allow you to create annotations or objects from your classifications.\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>New object type: Annotations or Detections\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li>If you just want to obtain area measurements for classes, use Annotations<\/li>\r\n \t<li>If you want to create objects and obtain a measurement of \u2018how MANY objects were detected,' use Objects. Don\u2019t use this for area measurements \u2013 it will take a long time.<\/li>\r\n \t<li>You can adjust the minimum size for objects (applies to annotations also) or holes. This is helpful to remove small tissue fragments that are not of interest from the detection or to close small holes (empty blood vessels) within a tissue selection.<\/li>\r\n \t<li>Split objects: only select this if you want separate tissue annotations to be considered as ONE object (i.e., if you have multiple tissue pieces on your image do you want to consider these as ONE entire tissue area or as separate tissue areas?<\/li>\r\n \t<li>Delete existing objects. If you are performing classification on an existing annotation, do you want to delete or retain the parent annotation?<\/li>\r\n \t<li>Create objects for ignored classes: Classes with an asterisk will be ignored unless you click this.<\/li>\r\n \t<li>Set new objects to selected: This is useful for creating a workflow pipeline. It selects the created objects for the next step in analysis.<\/li>\r\n \t<li>Click OK.<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>Measure<\/strong>: Use this if you wish to obtain area measurements for your classified regions.<\/li>\r\n \t<li><strong>Classify<\/strong>: This will apply the thresholder to the selected Region\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>Results will appear as overlay: Use\u00a0<img class=\"alignnone\" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2026\/02\/Overlays30x30.svg\" alt=\"QuPath Overlays on\/off icon. The letter 'C' in a grey square.\" width=\"30\" height=\"30\" \/> to toggle overlays on\/off<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>Save the Classifier<\/strong> before you close the Create Thresholder window! You will need to name it first. It will be saved to your QuPath project, and you can use it in subsequent analysis by using Classify-Pixel Classification - Load Pixel Classifier\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li><strong><em>Note<\/em><\/strong>: Unfortunately, once you close the Create Thresholder window, you cannot readjust parameters for an existing classifier. You can go back and adjust parameters by opening the classifier file itself in a text editor like Notepad or Atom and editing the values, OR you can create a new pixel thresholder and save it over the old one. It is a little hard to follow the script values as they appear in a text editor, so you may wish to save a screenshot of the Create thresholder window before closing it so that you have a quick record of the parameters you used.<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>Generate Script to Run Analysis<\/strong>\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li>Click the <strong>Workflow<\/strong> tab. Click <strong>Create script<\/strong> \u2013 this opens up script editor and records the workflow. (On QuPath v0.5.1 or above, Click Automate -&gt; Create command history script)<\/li>\r\n \t<li><strong>Edit<\/strong> the workflow in script editor until only the final, useful steps are present\r\nThis may look something like this: <img class=\"alignnone\" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2025\/11\/GENERATE-SCRIPT-TO-RUN-ANALYSIS.png\" alt=\"Example QuPath workflow script. Unused or not useful steps have been removed.\" width=\"730\" height=\"53\" \/><\/li>\r\n \t<li><strong>Save<\/strong> the script to your project<\/li>\r\n \t<li>You can use this script as part of a pipeline \u2013 you may need to add a line \u2018Select Annotations\u2019 if you have subsequent analysis steps. This line will automatically add if you use \u2018Set new objects to be Selected\u2019 under Create Objects option in the thresholder.<\/li>\r\n \t<li>To run across multiple slides Select <strong>Run - Run for Project<\/strong>\r\n<ol>\r\n \t<li>Select Project Images for analysis in the resulting window<\/li>\r\n \t<li>Select <strong>OK<\/strong> and project will run<\/li>\r\n \t<li>Review Images\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li style=\"list-style-type: none;\">\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>Click on <strong>Image<\/strong> to open<\/li>\r\n \t<li>Click <strong>Annotations<\/strong> tab to review results<\/li>\r\n \t<li><strong>Select an individual annotation to view measurements<\/strong> in the bottom viewer panel\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li>Measured area for the annotation and the number of detected objects (if part of the analysis) will appear in the bottom viewer panel<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>Open classifier to see image overlays<\/strong>\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li>Open Classify tab, load the correct Pixel Classifier. <em>Saved measurements for the selected annotation will always be in the viewer panel but overlays will not appear unless the classifier is loaded<\/em><\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Results will visually appear as overlay: Use space bar or\u00a0<img class=\"alignnone\" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2026\/02\/Overlays30x30.svg\" alt=\"QuPath Overlays on\/off icon. The letter 'C' in a grey square.\" width=\"30\" height=\"30\" \/> to toggle overlays on\/off. Use slider to adjust transparency.<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>","legacy_media_position":"media-full","legacy_media_file":5575,"legacy_media_url":"","legacy_glossary_term":null,"legacy_glossary_nids":"","legacy_resource":null,"legacy_resource_nids":"","legacy_buttons":null},{"legacy_section_type":"text_area_with_subheading","legacy_heading":"Making and Applying Pixel Classifiers for Stain-Based Analysis ","legacy_subheading":"5. Cell Detection Plug-Ins","legacy_section_text":"QuPath contains a general cell detection plug-ins (counts all cells based on hematoxylin staining) and a Positive Cell detection plug-in (based on immunostains). This tutorial will describe the Positive Cell detection plug-in.\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li><strong>Basic Setting<\/strong>\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li>Create (or load) a project<\/li>\r\n \t<li>Upload images into project<\/li>\r\n \t<li>Set stain vectors (use tiny ROI just including a representative nucleus for hematoxylin, use a tiny square just including representative DAB for DAB staining)<\/li>\r\n \t<li>Annotate regions of interest (areas of tissue in the slide where you want to quantify stain)<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>Positive Cell Detection<\/strong>\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li>Draw a small square test annotation area to optimize analysis: it should have areas fairly representative of positive and negative staining cells\r\n<ol>\r\n \t<li>Make sure this annotation area is selected (yellow outline) for adjusting parameters<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>\u00a0Select Analyze - Positive Cell Detection from the top toolbar<\/li>\r\n \t<li>Adjust parameters as needed (RUN analysis on small test area after each parameter change)\r\n<ol>\r\n \t<li>Results will appear as overlay: Use space bar or\u00a0<img class=\"alignnone\" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2026\/02\/CellDetection30x30.svg\" alt=\"QuPath Cell Detection Icon. Three green-outlined shapes: A square, a circle and an irregular polygon.\" width=\"30\" height=\"30\" \/> to toggle overlays on\/off<\/li>\r\n \t<li>For advice on parameter adjustment, see <em><strong>section 5.f (Parameter Adjustment)<\/strong><\/em><\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>Generate Script<\/strong>\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li>Click the Workflow tab (v0.5.1: Automate)<\/li>\r\n \t<li>Click Create script \u2013 this opens up script editor and records the workflow.<\/li>\r\n \t<li>Edit the workflow in script editor until only the final, useful steps are present\r\nThis may look something like this: <img class=\"alignnone\" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2025\/12\/QuPath6.png\" alt=\"Example QuPath script workflow. Unused or not useful steps have been removed.\" width=\"722\" height=\"69\" \/><\/li>\r\n \t<li>Save the script to your project<\/li>\r\n \t<li>When you are satisfied with the script, delete the test annotation.<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>Select Run - Run for Project<\/strong>\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li>Select Project Images for analysis in the resulting window<\/li>\r\n \t<li>Select OK and project will run<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>Review Images<\/strong>\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li>Click on Image to open<\/li>\r\n \t<li>Look under annotations to review results<\/li>\r\n \t<li>Results will visually appear as overlay: Use space bar or\u00a0<img class=\"alignnone\" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2026\/02\/CellDetection30x30.svg\" alt=\"QuPath Cell Detection Icon. Three green-outlined shapes: A square, a circle and an irregular polygon.\" width=\"30\" height=\"30\" \/> to toggle overlays on\/off<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>Parameter Adjustment<\/strong>\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li>Choosing the detection image and pixel size\r\n<ol>\r\n \t<li>Hematoxylin OD<span style=\"font-size: inherit;\">: detection based on stain; works less well with nuclei that are \u201cspeckled\u201d (gaps in staining)<\/span><\/li>\r\n \t<li>Optical density sum<span style=\"font-size: inherit;\">: detection based on intensity across the nucleus (skips over gaps)<\/span><\/li>\r\n \t<li>Pixel size<span style=\"font-size: inherit;\">: Try 1 um or 0.5 \u00b5m. This parameter should be larger than or equal to the pixel size in the scanned image. You can view the pixel size for your image under the Image Tab. (Note that 20X .svs scans are 0.50 um2\/pixel and 20X .vsi scans are 0.27 \u00b5m2\/pixel). The default pixel size for analysis is 0.5 \u00b5m\/pixel and is adequate for most of our projects; using a larger pixel size (1 \u00b5m) will make analysis go faster and may be adequate for your project (test empirically). Using a small pixel size will just slow things down.<\/span><\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Nucleus detection: for detecting all cells, not just positive ones\r\n<ol>\r\n \t<li>Background radius<span style=\"font-size: inherit;\">: used to subtract background staining before positive cell detection (default is 8 um); setting to 0 turns off background staining detection. Background is defined by looking for lowest intensity pixels in a circle of the radius specified (Default 8 \u00b5m)<\/span>\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>If you set the background radius as \u20180\u2019 then you will need to use a higher nucleus Threshold intensity (no background subtraction)<\/li>\r\n \t<li>If you set the background radius as lower than the nucleus radius, it will select a pixel within the nucleus as background \u2013 you will subtract too much background<\/li>\r\n \t<li>If you have many cells clustered together (overlapping), the background radius will need to be larger to avoid selecting a pixel within the nucleus as the lowest intensity (background)<\/li>\r\n \t<li>Background intensity is subtracted FIRST then the nuclear detection is applied based on the Threshold Intensity<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Median filter radius, sigma<span style=\"font-size: inherit;\">: smooth out stain intensity differences across the nucleus<\/span>\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>Increasing EITHER ONE of these values will merge a fragmented (or speckled) nucleus<\/li>\r\n \t<li>Decreasing EITHER ONE will increase nuclear fragmentation (for overlapping cells)<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Minimum\/Maximum area: for nuclei to detect<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Intensity parameters: this step refers to nuclear stain intensity for all cells, not just positive ones\r\n<ol>\r\n \t<li>Threshold<span style=\"font-size: inherit;\">: sets intensity (after background subtraction) for detection of NUCLEI (default is 0.1)<\/span>\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>If background radius is zero (background subtraction not applied), use a higher threshold intensity to avoid background<\/li>\r\n \t<li>If background radius is non-zero (background subtraction applied), use a lower threshold since background will be subtracted<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Max background intensity<span style=\"font-size: inherit;\">: defines the background pixel intensity. Useful if there is irrelevant background staining. If you set it to \u20180\u2019, there will be no background subtraction, and you should use a higher intensity threshold above.<\/span><\/li>\r\n \t<li>Split by shape<span style=\"font-size: inherit;\">: splitting nuclei based on roundness (watershed transform)<\/span><\/li>\r\n \t<li>Exclude DAB<span style=\"font-size: inherit;\">: Ignores hematoxylin staining where it is covered by higher intensity DAB stain (cytoplasm or membrane); use this where DAB staining outside the nucleus is erroneously detected as the nucleus<\/span><\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Cell parameters\r\n<ol>\r\n \t<li>Cell expansion<span style=\"font-size: inherit;\">: defines the cytoplasm by distance from nucleus (default is 5)<\/span><\/li>\r\n \t<li>Smooth boundaries<span style=\"font-size: inherit;\">: makes cells smoothed out and looks nicer<\/span><\/li>\r\n \t<li>Make measurements<span style=\"font-size: inherit;\">: turn off measurements per cell (would probably never use this)<\/span><\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Intensity threshold parameters: for positive cell detection\r\n<ol>\r\n \t<li>Select score compartment: <span style=\"font-size: inherit;\">nucleus, cytoplasm, cell (nucleus + cytoplasm)<\/span>\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>For nuclear marker- choose Nucleus: DAB OD mean<\/li>\r\n \t<li>For cytoplasmic markers that obscure the nucleus - choose Nucleus: DAB OD mean OR Cell: DAB OD mean<\/li>\r\n \t<li>For cytoplasmic\/membrane markers that are homogeneous and localized around the nucleus, keep the Cell expansion value low and use Cytoplasm: DAB OD mean<\/li>\r\n \t<li>For cytoplasmic markers that are punctate or diffuse, try Cytoplasm: DAB OD max or Cell: DAB OD mean<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Select type of measurement<span style=\"font-size: inherit;\">: mean, maximum.<\/span>\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>Choosing the mean indicates \u2018the staining should be found throughout in the cell compartment\u2019, whereas<\/li>\r\n \t<li>Choosing the maximum indicates \u2018the staining should be found somewhere in the cell compartment.\u2019<\/li>\r\n \t<li>The maximum is a less robust measurement, and more easily thrown off by artefacts or staining from neighboring cells. So if there is no compelling reason to use it (punctate staining would be one), the mean is probably best.<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Select threshold(s)\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>Intensity threshold sets the minimum intensity for positive cell detection (Default is 0.1)<\/li>\r\n \t<li>Single threshold makes the decision binary (stained or not stained); unchecking single threshold applies the three thresholds as low, medium, high staining<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>","legacy_media_position":false,"legacy_media_file":null,"legacy_media_url":"","legacy_glossary_term":null,"legacy_glossary_nids":"","legacy_resource":null,"legacy_resource_nids":"","legacy_buttons":null},{"legacy_section_type":"text_area_with_subheading","legacy_heading":"QuPath Plug Ins: Optimizing and Applying Positive Cell Detection plug-ins","legacy_subheading":"6. Exporting Results","legacy_section_text":"<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li><strong>Export Measument (for an individual slide)<\/strong>\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li>Select Measurement Table icon\u00a0<img class=\"alignnone\" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2026\/02\/MeasurementTable30x30.svg\" alt=\"QuPath Measurement table Icon. A three by three grid with a dark bar across the top row.\" width=\"30\" height=\"30\" \/><\/li>\r\n \t<li>Show annotation measurements<\/li>\r\n \t<li>Save (to QuPath project folder)<\/li>\r\n \t<li>Saves a tab-delimited file (tsv) or comma-delimited (csv) file that can be opened and resaved as an Excel file<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong style=\"font-size: inherit;\">Batch Export Measurements (for multiple slides)<\/strong><\/li>\r\n<\/ol>\r\n<ol>\r\n \t<li style=\"list-style-type: none;\">\r\n<ol style=\"list-style-type: lower-roman;\">\r\n \t<li>Measure - Export measurements (can also use Icon above to get to this option)<\/li>\r\n \t<li>Select images<\/li>\r\n \t<li>Output file (where you want to store the file)<\/li>\r\n \t<li>Export type (objects, cells, measurements, detections, annotations)\r\n<ol>\r\n \t<li>Most commonly, use annotations. Try this first (other options are high memory demand).<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Separator: (tab or comma)<\/li>\r\n \t<li>Columns to include (if you leave this blank, will export all): editing this tends to cause hang-ups. It is easier to export all and delete columns from the csv file<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>","legacy_media_position":false,"legacy_media_file":null,"legacy_media_url":"","legacy_glossary_term":null,"legacy_glossary_nids":"","legacy_resource":null,"legacy_resource_nids":"","legacy_buttons":null},{"legacy_section_type":"heading","legacy_heading":"Other Resources ","legacy_subheading":"6. Exporting Results","legacy_section_text":"<ol style=\"list-style-type: lower-alpha\">\r\n \t<li><strong>Export Measument (for an individual slide)<\/strong><\/li>\r\n \t<li style=\"list-style-type: none\">\r\n<ol style=\"list-style-type: lower-roman\">\r\n \t<li>Select Measurement Table icon\u00a0<img class=\"alignnone\" src=\"https:\/\/az.research.umich.edu\/animalcare\/wp-content\/uploads\/sites\/2\/2026\/02\/MeasurementTable30x30.svg\" alt=\"QuPath Measurement table Icon. A three by three grid with a dark bar across the top row.\" width=\"30\" height=\"30\" \/><\/li>\r\n \t<li>Show annotation measurements<\/li>\r\n \t<li>Save (to QuPath project folder)<\/li>\r\n \t<li>Saves a tab-delimited file (tsv) or comma-delimited (csv) file that can be opened and resaved as an Excel file<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong style=\"font-size: inherit\">Batch Export Measurements (for multiple slides)<\/strong><\/li>\r\n<\/ol>\r\n<ol>\r\n \t<li style=\"list-style-type: none\">\r\n<ol style=\"list-style-type: lower-roman\">\r\n \t<li>Measure- Export measurements (can also use Icon above to get to this option)<\/li>\r\n \t<li>Select images<\/li>\r\n \t<li>Output file (where you want to store the file)<\/li>\r\n \t<li>Export type (objects, cells, measurements, detections, annotations)\r\n<ol>\r\n \t<li>Most commonly, use annotations. Try this first (other options are high memory demand).<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>Separator: (tab or comma)<\/li>\r\n \t<li>Columns to include (if you leave this blank, will export all): editing this tends to cause hang-ups. It is easier to export all and delete columns from the csv file<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>","legacy_media_position":false,"legacy_media_file":null,"legacy_media_url":"","legacy_glossary_term":null,"legacy_glossary_nids":"","legacy_resource":null,"legacy_resource_nids":"","legacy_buttons":null},{"legacy_section_type":"text_area","legacy_heading":"Other Resources ","legacy_subheading":"","legacy_section_text":"This document covered only very basic tools within QuPath. Resources below provide more information.\r\n<ol>\r\n \t<li><a href=\"https:\/\/qupath.readthedocs.io\/en\/latest\/\">Overview\/intro to QuPath on github<\/a><\/li>\r\n \t<li><a href=\"https:\/\/www.youtube.com\/c\/QuPath\/featured\">QuPath YouTube channel tutorials<\/a><\/li>\r\n \t<li><a href=\"https:\/\/forum.image.sc\/tag\/qupath\/1025\">Scientific Community image forum (image.sc) QuPath subsection<\/a>\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>This forum allows you to ask specific questions about your project. Image.sc is also a good place to learn about other image analysis tool<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>The resources above will tell you about advanced analysis options in QuPath including:\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>Multiplex analysis for unmixed image files from immunofluorescence projects<\/li>\r\n \t<li>Training neural networks to create morphology-based pixel classifiers in QuPath<\/li>\r\n \t<li>Using QuPath extensions like InstanSeg<\/li>\r\n \t<li>Import\/export of annotations to Image J or other external image analysis tools<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>","legacy_media_position":false,"legacy_media_file":null,"legacy_media_url":"","legacy_glossary_term":null,"legacy_glossary_nids":"","legacy_resource":null,"legacy_resource_nids":"","legacy_buttons":null},{"legacy_section_type":"heading","legacy_heading":"References","legacy_subheading":"","legacy_section_text":"This document covered only very basic tools within QuPath. Resources below provide more information.\r\n<ol>\r\n \t<li><a href=\"https:\/\/qupath.readthedocs.io\/en\/latest\/\">Overview\/intro to QuPath on github<\/a><\/li>\r\n \t<li><a href=\"https:\/\/www.youtube.com\/c\/QuPath\/featured\">QuPath YouTube channel tutorials<\/a><\/li>\r\n \t<li><a href=\"https:\/\/forum.image.sc\/tag\/qupath\/1025\">Scientific Community image forum (image.sc) QuPath subsection<\/a>\r\n<ol style=\"list-style-type: lower-alpha\">\r\n \t<li>This forum allows you to ask specific questions about your project. Image.sc is also a good place to learn about other image analysis tool<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>The resources above will tell you about advanced analysis options in QuPath including:\r\n<ol style=\"list-style-type: lower-alpha\">\r\n \t<li>Multiplex analysis for unmixed image files from immunofluorescence projects<\/li>\r\n \t<li>Training neural networks to create morphology-based pixel classifiers in QuPath<\/li>\r\n \t<li>Using QuPath extensions like InstanSeg<\/li>\r\n \t<li>Import\/export of annotations to Image J or other external image analysis tools<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>","legacy_media_position":false,"legacy_media_file":null,"legacy_media_url":"","legacy_glossary_term":null,"legacy_glossary_nids":"","legacy_resource":null,"legacy_resource_nids":"","legacy_buttons":null},{"legacy_section_type":"text_area","legacy_heading":"References","legacy_subheading":"","legacy_section_text":"<ol>\r\n \t<li><a id=\"QuPath-Reference1\"><\/a>Bankhead, P., Loughrey, M.B., Fern\u00e1ndez, J.A. et al.QuPath: Open source software for digital pathology image analysis. Sci Rep 7, 16878 (2017). https:\/\/doi.org\/10.1038\/s41598-017-17204-5. <a href=\"https:\/\/pmc.ncbi.nlm.nih.gov\/articles\/PMC5715110\/\">PMC5715110.<\/a><\/li>\r\n \t<li>The official <a href=\"https:\/\/qupath.readthedocs.io\/en\/latest\/index.html\">documentation portal<\/a> for QuPath, an open-source software platform for digital pathology and whole-slide bioimage analysis.<\/li>\r\n \t<li>The official <a href=\"https:\/\/github.com\/qupath\/qupath\/releases\">GitHub Releases page<\/a> for QuPath, listing downloadable software builds<\/li>\r\n \t<li>The official <a href=\"https:\/\/www.youtube.com\/c\/qupath\">YouTube channel<\/a> for QuPath<\/li>\r\n \t<li>The <a href=\"https:\/\/forum.image.sc\/tag\/qupath\/1025\">qupath tag feed<\/a> on the Scientific Community Image Forum (image.sc), which serves as the primary community discussion hub and Q&amp;A space for QuPath users and developers<\/li>\r\n<\/ol>","legacy_media_position":false,"legacy_media_file":null,"legacy_media_url":"","legacy_glossary_term":null,"legacy_glossary_nids":"","legacy_resource":null,"legacy_resource_nids":"","legacy_buttons":null}],"update_notice_type":[58,53],"update_notice_start":"2025-12-31 00:00:00","update_notice_end":"2026-02-13 00:00:00","update_notice_text_blocks":[{"update_notice_text":"<h3><span style=\"color: #2f65a7\"><strong>Summary of Changes<\/strong><\/span><\/h3>\r\nThis is a new document"},{"update_notice_text":"<h3><span style=\"color: #2f65a7\"><strong>Who is Impacted<\/strong><\/span><\/h3>\r\nResearch Personnel"},{"update_notice_text":"<h3><span style=\"color: #2f65a7\"><strong>Impact<\/strong><\/span><\/h3>\r\nA full document review is strongly recommended"}],"global_contact_block":true,"contact_name":"","contact_email":"","contact_additional_info":"Questions or concerns about the content of this document should be directed to the ULAM Pathology Core at <a href=\"mailto:ULAM-PathologyCore@umich.edu\">ULAM-PathologyCore@umich.edu<\/a>","global_contact_block_select":[6402]},"permalink_manager":null,"_links":{"self":[{"href":"https:\/\/az.research.umich.edu\/animalcare\/wp-json\/wp\/v2\/document\/5382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/az.research.umich.edu\/animalcare\/wp-json\/wp\/v2\/document"}],"about":[{"href":"https:\/\/az.research.umich.edu\/animalcare\/wp-json\/wp\/v2\/types\/document"}],"version-history":[{"count":79,"href":"https:\/\/az.research.umich.edu\/animalcare\/wp-json\/wp\/v2\/document\/5382\/revisions"}],"predecessor-version":[{"id":6604,"href":"https:\/\/az.research.umich.edu\/animalcare\/wp-json\/wp\/v2\/document\/5382\/revisions\/6604"}],"acf:post":[{"embeddable":true,"href":"https:\/\/az.research.umich.edu\/animalcare\/wp-json\/wp\/v2\/contact-block\/6402"}],"acf:term":[{"embeddable":true,"taxonomy":"update-type","href":"https:\/\/az.research.umich.edu\/animalcare\/wp-json\/wp\/v2\/update-type\/53"},{"embeddable":true,"taxonomy":"update-type","href":"https:\/\/az.research.umich.edu\/animalcare\/wp-json\/wp\/v2\/update-type\/58"}],"wp:attachment":[{"href":"https:\/\/az.research.umich.edu\/animalcare\/wp-json\/wp\/v2\/media?parent=5382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/az.research.umich.edu\/animalcare\/wp-json\/wp\/v2\/categories?post=5382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/az.research.umich.edu\/animalcare\/wp-json\/wp\/v2\/tags?post=5382"},{"taxonomy":"content-type","embeddable":true,"href":"https:\/\/az.research.umich.edu\/animalcare\/wp-json\/wp\/v2\/content-type?post=5382"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/az.research.umich.edu\/animalcare\/wp-json\/wp\/v2\/topic?post=5382"},{"taxonomy":"update-type","embeddable":true,"href":"https:\/\/az.research.umich.edu\/animalcare\/wp-json\/wp\/v2\/update-type?post=5382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}