Baclan¶
Baclan identifies bacterial colonies from their scatter patterns. A BARDOT instrument, driven by the BacBuster program, finds the colonies on a Petri dish, shines a laser through each of them and photographs the pattern of light scattered forward. Baclan takes those images, turns each one into a vector of numeric features, trains a support vector machine on colonies of known organisms, and then says to which class each colony of a new plate belongs, and how probable that is. Its title bar calls it BacteriumAnalyzer.
This manual describes Baclan version 12.22 (Windows 64-bit).

What Baclan does¶
Keeps colonies in plates and plates in classes. A plate is the picture of a dish with the
scatter images of its colonies. A class is a named list of plates. Plates come from folders,
from .plt files or from a database.
Turns images into numbers. Filters prepare each image, then extractors calculate Zernike moments, Haralick textures and other features from it. The list of filters and features, with their settings, is up to you.
Trains and checks a classifier. A grid search finds the best SVM parameters, and a cross-validation matrix shows how well the classes can be told apart.
Classifies new plates. Every colony of a test plate gets a class and a probability. The plate image shows them as coloured circles, and a report goes to the plate's folder.
Looks at data without a model. Colonies can be clustered, and mapped in two dimensions with PCA, tSNE, UMAP or an autoencoder.
Keeps everything in a database, if you want. Plates, classes and models can live on a MySQL or MariaDB server instead of in files, where they can be searched and shared.
Where to start¶
-
New to Baclan? Read A tour of the window, then work through Your first classification.
-
Have plates to load? Plates and where they come from explains what a plate folder holds.
-
Building a model? Start with Classes and plates, then Filters and features.
-
Using a database? See Connecting and the Database Control Panel.
Words used in this manual¶
| Word | Meaning |
|---|---|
| Colony | One scatter image, with the position and size of the colony on the plate. Also called a sample |
| Plate | The image of a dish and its colonies |
| Class | A named list of plates, all of whose ticked colonies are taken to be one kind of organism |
| Model | The classes, the filters and features chosen, and the trained SVM, saved together |
| Training Set | The classes of the model |
| Test Set | The plates to be classified |
Conventions used in this manual¶
| Convention | Meaning |
|---|---|
| Shift +click | Hold the key and click |
| Bold | A button, tab, menu item or check box you can see on screen |
Monospace |
A file name, folder name or literal value |
Asking for help inside Baclan
F1 opens the page of this manual about whatever is under the mouse. The Help button on the toolbar opens its front page. Toolbar buttons that show only an icon say what they do when you hover over them.