zamanianlab / wrmXpress

MIT License
2 stars 1 forks source link

Well detection using the Hough transformation is not robust. #11

Open wheelern opened 2 years ago

wheelern commented 2 years ago

We use the Hough transform to detect circles. It works well for test data, but will not be robust because of the following:

  1. Requires careful cropping of the input image
  2. Filters circle centers that don't fit within an opinionated grid
  3. Variation in the brightness of the well walls.

This the same general approach used in WormAssay, but his is more sophisticated and definitely more robust. Ideas to steal:

Another idea for filtration is to find more circles than needed, get the distribution, and only keep coordinates that lie within the peaks (number of peaks is the same as number of rows or columns) +/- some error.

wheelern commented 2 years ago

It might take awhile to get this right. An option until then is to only support 24-well plates and provide instructions for cropping.