The image of a segmented chromosome (top left) is thresholded (top right) then used to calculate a skeleton with mahotas.thin() (lower left). The skeleton branched points are detected by a hit-or-miss operator (lower right).
The python script depends on mahotas, pymorph, scipy.
4 comments:
sk=mah.thin(bi1) i got this error: ValueError: too many values to unpack
The script cannot be run "as is", you have to modify the path to an image stored on your hard disk
This code used a newer mahotas version :
http://dip4fish.blogspot.fr/2013/04/detecting-end-points-or-branched-points.html
Post a Comment