Tuesday, May 10, 2011

A better chromosomes gallery with size filtering

In a previous post, I tried to code using pylab/matplotlib an image gallery to get a result similar to make montage in imageJ.
I have written a python function called makeMosaic. It take three arguments:

  • a list of particules  consisting in monospectral images (a numpy array)
  • a minimal size (pixel)
  • a maximal size
In a python script the function is used like that:
makeMosaic(Particles,100,2000)

Two examples of result implemented in a script:
Gallery in the range 100-10000

Gallery in the range 100-2000
Original DAPI stained metaphase

No comments: