Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set up your project

What you'll get: a project with your images in it, a segmentation type, a tile size and your first class, ready to label. About 5 minutes.

1. Create a project

On the Projects page, Create a new project is clicked, the project is named Nuclei counter and Create project is clicked; on the new project, Add images to begin opens the file picker, the sample data folder is ticked and Add 1 file to project is clicked
Create a new project → Create project → Add images to begin → tick a folder → Add 1 file to project.
  1. Click Projects in the sidebar, then the first tile, Create a new project.

  2. Under Project name, type a name you'll recognise, such as Nuclei counter. You can rename it later.

  3. In a workspace, choose Who can see it. Everyone in your workspace makes it an open project, where every member can label. Only people with access keeps it to you until you share it.

  4. Color and Pattern only set the project's thumbnail. Click Create project.

The Projects page with the Create a new project tile
The Projects page. The first tile is Create a new project.

2. Add your images

A project takes its images from Files, so upload them there first. Upload them into the place you will work in: files never move between your personal account and a workspace.

  1. On the project page, click Add images to begin. Later, use Add from files on the Data tab.

  2. Tick the files or folders you want. Ticking a folder takes everything inside it, sub-folders included. Click a folder's name to open it.

  3. Click the add button at the bottom, for example Add 1 file to project (a folder counts as one).

The Data tab now lists your images. The project gets its own copy of each one: the originals stay in Files.

Every image in a project needs the same number of channels. Train on images taken at the same zoom you will analyse later, with a mix of bright, dim, crowded and sparse.

3. Check your channels

Images with three channels or fewer need no setup: Biodock shows them together and the model learns from all of them.

With more than three channels, or if a channel is too dim, set up the channels first: on the project page, click Settings → Appearance & channels. See Project settings.

4. Tell Biodock what to look for

Label data is clicked, Detect each object (instance) is selected and Next is clicked, a tight box is dragged around one nucleus, the recommended tile size appears and Confirm is clicked, then the class is named Nucleus in Add your first class and Done is clicked
Label data → Detect each object (instance) → box one object → Confirm → Add your first class → Done.

On the project page, click Label data. The first time, Biodock asks three questions.

The segmentation type

In Select a segmentation type, choose one and click Next:

  • Detect each object (instance) for things you count and measure one by one: cells, nuclei, organoids. It is marked Most common.

  • Detect each region (semantic) for areas, where separate objects don't matter: inflamed tissue, or how much of the dish the cells cover.

The tile size

Biodock cuts every image into square tiles, and the model looks at one tile at a time. You label tile by tile too.

  • For objects: zoom in, find an average-sized example (not the biggest), and drag a tight box around it. Biodock shows the Recommended size and sets the Size dropdown to it. Clear selection lets you box another one.

  • For regions: hover the yellow circle in the centre of each tile to compare it with an average-sized region, and pick a Size.

Hold Space and drag to move around. If the grid is hard to see, change its Preview colour. Then click Confirm.

It is very important to get the tile size right: it lets the model see your objects at the right scale. You can change it later, but tiles you have already finished may need checking again.

Your first class

In Add your first class, type a Class name, such as Nucleus, and pick a Class color you can see on your images. Click Done.

The labeling screen

The labeler opens. On the left are the image picker, Channels, your size group with its classes, and Labeled objects. In the middle is your image, cut into tiles.

A size group is a tile size plus the classes that share it. Its type can't change later; to find regions as well as objects, add a second size group.

Continue to Label and train.

Last updated