Multi-Well plate

Description

This macro recognizes wells in a picture from a multi-well plate (it works also on a picture of a single well). It is used to segment a picture to determine the number of "Colony Forming Units" in each individual well of a plate.

The steps are the following:

  1. Makes a 8-bit B&W picture, inverts it (=> borders will look white instead of black), resizes it (optional, this is to speed-up convolution thereafter) and find edges.
  2. Convolves the obtained picture with a kernel corresponding to a thick white circle of the size of the wells. The resulting image has big "blobs" or "particles" corresponding roughly to the centers of the well.
  3. The image is thresholded to remove particles not corresponding to strong hits and "Analyze particle" is run.
  4. The measured parameter is the center of mass of the particles which gives the center of the well. These are saved in an array.
  5. Circles are drawn and added to the ROI manager. The centers of the circles are the identified centers of mass of the particles and their radius is the expected radius of the wells in the original image.
has function