Histology: Analysis Protocol

Sasha Burwell

Published: 2024-04-16 DOI: 10.17504/protocols.io.kxygxye1kl8j/v1

Abstract

This protocol details the analysis of histology images, including usage of Matlab codes to draw regions of interest (ROIs) and ilastik software to perform pixel classification.

Steps

Analysis Protocol

1.

Go to the folder with all of the .vsi images from one brain.

2.

Use the

HistoROI
``` Matlab code to manually draw regions of interest (ROIs) of the left VTA and right VTA per section.

2.1.

Change the channels and intensities (top right table) as needed to visualize your signal.

2.2.

Make sure the tissue is oriented correctly (left hemisphere on the left) – use the “VS200” button to rotate, and the “FlipLR” button to flip horizontally, as necessary.

2.3.

Click the “PP” button to draw two polygons.

  1. Left VTA first, then right VTA.
  2. After both polygons are drawn, you can move points on the polygon to edit them.
3.

Repeat for each section with the VTA.

4.

These drawn ROIs automatically save in a

HistoROI.mat
``` structure, but you can click “SaveBkp” to create a backup if there are any issues.

5.

For pixel intensity calculation:

  • Run
HistoOfflineAnalysis
``` to calculate the fluorescence of the specified channels in your drawn ROIs.



* Then run

HistoVTASummaryDV

6.

For cell counting:

6.1.

Save the ROIs as jpg images by clicking “Export” in the

HistoROI
``` code GUI, making sure the contrast allows visualization of cells and color of cells and only channels of interest are turned on.

6.2.
6.3.

Perform Pixel Classification:

  • Load raw data (the previously created jpg images).
  • Feature selection:
  • Training: train the algorithm to detect a cell versus not-cell (background tissue) by manually labeling cell and background in various sections.
  • Once you are happy with the segmentation performed by the classifier, export all predictions.
7.

Perform Object Classification:

7.1.

Load raw data (jpg images) and prediction maps (the predictions from pixel classification).

7.2.

Use standard Threshold and Size Filter settings.

7.3.

Click “Select Features”.

7.4.

In Object Classification, create 3 label classes:

  • red only,
  • green only, and
  • both.
7.5.

Train the algorithm to classify these 3 classes by labeling different cells as having red only (ex, only dTomato), green only (ex, only TH or GCaMP), or both (yellow, both proteins).

7.6.

Once you are happy with the predictions from the classifier, export the Object Identities as .csv files.

8.

Use these .csv files to count how many cells were identified in each label class across all the sections.

推荐阅读

Nature Protocols
Protocols IO
Current Protocols
扫码咨询