Skip to content

Plates and where they come from

A plate reaches Baclan in one of three ways:

Source What it is Open it with
Folder A folder of PNG files and small tables, as BacBuster or Baclan export them Import Directory
.plt file One file holding the whole plate Add Plate, with the switch on files
Database A plate saved on a MySQL or MariaDB server Add Plate, with the switch on the database

The same buttons are on the Training Set toolbar, where the plate goes into the selected class, and on the Test Set toolbar, where it joins the plates to be classified.

What a plate folder holds

File Holds
<name>_N001.png, <name>_N002.png, ... The scatter image of each colony, 512 x 512 pixels, 8 bits. The number at the end of the name is the colony's number
SCV.txt One line per colony: index, X and Y of the centre in mm, diameter in mm, circularity
AIM.png The image of the whole plate. ...AIM.bmp and ...CMA.bmp are read as well
ColonyXY.csv The same table as SCV.txt, as comma-separated values
METADATA.txt Laboratory, experiment, device, user, date, incubation time, medium, source, exposure

Only the images are needed. Without SCV.txt the colonies have no positions, and so no circles on the plate image. Without a plate image Baclan draws a black dish.

ColonyXY.csv and METADATA.txt are written for you to use, and are not read back.

PNG files from elsewhere are refused

Baclan takes only the PNG files that BacBuster and Baclan write, which carry a tag of theirs. A folder of other PNG files gives Wrong File Format !, and no plate is opened. BMP files in the folder are passed over.

Plate.db

Save the report also leaves a file Plate.db in the plate's folder, with the plate as it was then. It is read instead of the images only when IgnoreDB on the Options tab is unticked.

Dots per millimetre

A plate imported from a folder starts with a scale of 5 dots per millimetre, which is often not the scale of its image. If the circles bunch together in the middle of the plate image, move the slider at the bottom of the Options tab until they sit on the colonies. It sets DPM, from 1 to 50 dots per millimetre, for the active plate. DPM is listed on the Info tab, and the first line of SCV.txt gives the size of the image in mm, from which the right value can be worked out.

.plt files

A .plt file holds one plate: images, table and details, as they were saved. Make one with Save Plate. Several can be selected at once in the open dialog. A plate already in the list is not added again: The Plate is in The List Already.

The database

With the file/database switch released, Add Plate opens the Database Control Panel. Select plates there and press Open, or double-click one.

Plates made for testing

The Test Samples tab can make plates of synthetic images and of rotated copies of real ones.